hasError property Null safety

bool hasError

True if an error has been received, see lastError for details

Implementation

bool get hasError => null != lastError;