registerForPushNotifications method

Future<String> registerForPushNotifications ()

Registers device for push notifications

Implementation

Future<String> registerForPushNotifications() async {
  String token = await _channel.invokeMethod('registerForPushNotifications');
  return token;
}