refreshDeviceToken static method

Future<String> refreshDeviceToken({
  1. bool force = false,
})

Implementation

static Future<String> refreshDeviceToken({bool force = false}) async {
  String deviceToken =
      await DeviceRegistration().registerDevice(force: force);
  return deviceToken;
}