create static method

Future<Scanner> create(
  1. List<SensorFamily> filters
)

Implementation

static Future<Scanner> create(List<SensorFamily> filters) async {
  String? guid =
      await _api.createScanner(filters.map((it) => it.index).toList());

  return Scanner._(guid);
}