unloadInstance method

Future unloadInstance(
  1. int id
)

Implementation

Future<dynamic> unloadInstance(int id) async {
  if (!_isFrameWorkInit) {
    return;
  }

  LogUtils.i(_kTag, "unloadInstance($id) start");
  var map = VoltronMap();
  map.push("id", id);

  await VoltronApi.unloadInstance(_engineId, map);
}