Future<void> abortOTA(int type) { return mConnconst.invokeMethod('abortOTA', <String, int>{"type": type}); }