registerForRemoteNotifications static method

Future<void> registerForRemoteNotifications()

Implementation

static Future<void> registerForRemoteNotifications() async {
  if (!Platform.isIOS) {
    log("It's supported only on the iOS platform");
    return;
  }

  await _channel.invokeMethod('registerForRemoteNotifications');
}