setTimeToLiveAsInteger method
- int? timeToLive
Sets the android.ttl
field with an integer value.
timeToLive
An integer to be used for theandroid.ttl
field 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;
}