errorFor method

String? errorFor(
  1. Object key
)

Returns the error by key

Implementation

String? errorFor(Object key) => _errorStates[key]?.toString();