Future<void> abortOTA(int type) async { await mConnMethodChannel .invokeMethod('abortOTA', <String, int>{"type": type}); }