isSuccess property
bool
get
isSuccess
Returns true if this result contains a successfully converted value.
When true, value and valueOrNull are safe to access without throwing.
Implementation
bool get isSuccess => _error == null;