registerForPush method Null safety

Future<void> registerForPush()

Only for iOS - Registers the application to receive push notifications

Implementation

static Future<void> registerForPush() async {
  return await _channel.invokeMethod('registerForPush', {});
}