valueFrom method
Extracts the value from groupMap
,
fallback to initialValue if not found.
Implementation
T? valueFrom(Map<String, String> groupMap) {
return codec.toValue(groupMap[name]) ?? initialValue;
}
Extracts the value from groupMap
,
fallback to initialValue if not found.
T? valueFrom(Map<String, String> groupMap) {
return codec.toValue(groupMap[name]) ?? initialValue;
}