restoreFactoryDefaults method

  1. @override
Future<void> restoreFactoryDefaults({
  1. required String devId,
})
override

Restore factory defaults for a specific device devId is passed on to native restoreFactoryDefaults function of native is invoked

Implementation

@override
Future<void> restoreFactoryDefaults({required String devId}) async {
  await methodChannel.invokeMethod<void>(
    "restoreFactoryDefaults",
    <String, dynamic>{'devId': devId},
  );
}