firstError property
String?
get
firstError
Returns the first error message, or null if valid.
Implementation
String? get firstError => errors.isEmpty ? null : errors.first;
Returns the first error message, or null if valid.
String? get firstError => errors.isEmpty ? null : errors.first;