valueFrom method

T? valueFrom(
  1. Map<String, String> groupMap
)

Extracts the value from groupMap, fallback to initialValue if not found.

Implementation

T? valueFrom(Map<String, String> groupMap) {
  return codec.toValue(groupMap[name]) ?? initialValue;
}