fromJson static method
- String value
Returns the unit whose protocol name is value.
Implementation
static TimeUnit fromJson(String value) =>
values.firstWhere((unit) => unit.json == value);
Returns the unit whose protocol name is value.
static TimeUnit fromJson(String value) =>
values.firstWhere((unit) => unit.json == value);