hasNotError property

bool get hasNotError

Returns true if error is null, otherwise false.

Implementation

bool get hasNotError => !hasError;