FirebaseMessagingWeb constructor
FirebaseMessagingWeb({
- String? publicVapidKey,
If the publicVapidKey
is specified, the init function will be call in
the constructor. If not, then the init method should be called before using
any other function related to FCM
Implementation
FirebaseMessagingWeb({String? publicVapidKey}) {
if (publicVapidKey != null) {
init(publicVapidKey);
}
}