fromValue static method
Implementation
static ASDiscoveryDescriptorRange fromValue(int value) => switch (value) {
0 => ASDiscoveryDescriptorRangeDefault,
10 => ASDiscoveryDescriptorRangeImmediate,
_ => throw ArgumentError("Unknown value for ASDiscoveryDescriptorRange: $value"),
};