valueOf<TField> method
Decodes the value of the Field with name
from the query group
using the FieldCodec.toValue from Field.codec.
Implementation
TField? valueOf<TField>(String name, Map<String, String> group) {
final field = fields.firstWhere(
(field) => field.name == name,
) as Field<TField>;
return field.valueFrom(group);
}