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