hasErrorForKey method Null safety

bool hasErrorForKey(
  1. Object key
)

Returns a boolean that indicates if the ViewModel has an error for the key

Implementation

bool hasErrorForKey(Object key) => error(key) != null;