Method.fromValue constructor Null safety
- String value
Returns the method class from the name of the method
Implementation
factory Method.fromValue(final String value) => values.singleWhere((method) => method.name == value);
Returns the method class from the name of the method
factory Method.fromValue(final String value) => values.singleWhere((method) => method.name == value);