usePublicVapidKey method

void usePublicVapidKey(
  1. String key
)

To set your own server application key, you can specify here the public key you set up from the Firebase Console under the Settings options.

Implementation

void usePublicVapidKey(String key) {
  jsObject.usePublicVapidKey(key);
}