parse static method
- String value
Implementation
static ArrowTimeUnit parse(String value) => values.firstWhere(
(unit) => unit.jsonName == value || unit.name == value,
orElse: () => throw FormatException('Unknown time unit: $value'),
);
static ArrowTimeUnit parse(String value) => values.firstWhere(
(unit) => unit.jsonName == value || unit.name == value,
orElse: () => throw FormatException('Unknown time unit: $value'),
);