currentError function

CommonError? currentError(
  1. ErrorState state
)

Implementation

CommonError? currentError(ErrorState state) {
  BuiltList<CommonError> _e = state.errors;
  return _e.isEmpty ? null : _e.last;
}