setTimeToLiveAsInteger method
- int? timeToLive
Sets the android.ttl field with an integer value.
timeToLiveAn integer to be used for theandroid.ttlfield value, or null to clear it.
Returns this MpnBuilder object, for fluent use.
Implementation
FirebaseMpnBuilder setTimeToLiveAsInteger(int? timeToLive) {
_timeToLive = timeToLive == null ? null : '$timeToLive';
return this;
}