deleteDevice method
Delete/unbind a specific device. This calls the native deleteDevice
handler which in turn calls the Tuya SDK removeDevice.
Implementation
@override
Future<void> deleteDevice({required String devId}) async {
await methodChannel.invokeMethod<void>("deleteDevice", <String, dynamic>{
'devId': devId,
});
}