isValid property

bool get isValid

Implementation

bool get isValid => _errorMessage == null || _errorMessage.isEmpty;