FcmTokenManager.initialize constructor
FcmTokenManager.initialize({
- required FcmAppBackendInterface apiInterface,
- required Duration tokenTtl,
Call this to initialize manager before calling other methods
Implementation
factory FcmTokenManager.initialize({
required FcmAppBackendInterface apiInterface,
required Duration tokenTtl,
}) {
_instance._api = apiInterface;
_instance._tokenTtl = tokenTtl;
return _instance;
}