unregisterDevice method

Future<String?> unregisterDevice()
override

Implementation

Future<String?> unregisterDevice() async {
  try {
    return await methodChannel.invokeMethod<String>('unregisterDevice');
  } on PlatformException catch (e) {
    return "Device unregistration failed: ${e.message}";
  }
}