getDeviceToken function

Future<String?> getDeviceToken()

Implementation

Future<String?> getDeviceToken() async {
  return await MethodChannel('firebase_device_id').invokeMethod('getDeviceToken');
}