abortOTA method

Future<void> abortOTA(
  1. int type
)

Implementation

Future<void> abortOTA(int type) {
  switch (type) {
    case 6:
      return jieliAbortOTA;
    case 5:
      return Future(() => null);
    default :
      return mConnconst.invokeMethod('abortOTA', <String, int>{"type": type});
  }
}