cmds method

  1. @override
Future<List<CmdEntity>?> cmds(
  1. int handware
)
override

获取检测项的 指令列表

Implementation

@override
Future<List<CmdEntity>?> cmds(int handware) async {
  final maps = await methodChannel.invokeListMethod("cmds",handware);
  return maps?.map((e) => CmdEntity.fromJson(e.cast<String,dynamic>())).toList() ?? [];
}