getDeviceToken static method

Future<String> getDeviceToken()

Implementation

static Future<String> getDeviceToken() async {
  final deviceToken = Platform.isAndroid
      ? await PushNotifAndroid.getDeviceToken()
      : await VoipPushIOS.getVoipDeviceToken();
  return deviceToken;
}