responsesMap property
Map<dynamic, Map<FormRule, FormValidationResponse> >
get
responsesMap
Get a map of responses with the rule as the key and the response as the value.
Implementation
Map<dynamic, Map<FormRule, FormValidationResponse>> get responsesMap {
return {
data: Map.fromIterable(
responses,
key: (response) => response.rule,
value: (response) => response,
),
};
}