timeToLive property
How long (in seconds) the message should be kept in FCM storage if the device is offline. The maximum time to live supported is four weeks, and the default value is also four weeks. For more information, see Setting the lifespan of a message.
Default value: 2419200
(representing four weeks, in seconds)
Implementation
final int? timeToLive;