register static method
Register the app to the saved distributor with a specified token identified with the instance parameter This method needs to be called at every app startup with the same distributor and token.
Implementation
static Future<void> register({
String instance = defaultInstance,
List<String>? features = const [],
String? messageForDistributor,
String? vapid,
}) async {
await UnifiedPushPlatform.instance.register(
instance,
features ?? [],
messageForDistributor,
vapid,
);
}