fromJson static method
- String value
Returns the width whose protocol name is value.
Throws a FormatException for unknown names.
Implementation
static CategoricalPhysical fromJson(String value) => values.firstWhere(
(physical) => physical.json == value,
orElse: () => throw FormatException('Unknown categorical physical: $value'),
);