uuids static method

List<String> uuids(
  1. Object? value
)

Implementation

static List<String> uuids(Object? value) {
  if (value is! List || value.length > 16) {
    throw const FormatException('Expected at most 16 BLE service UUIDs.');
  }
  return value.map(uuid).toSet().toList(growable: false);
}