error property

String? error

Error message if value invalid, otherwise is null

Implementation

String? get error {
  value;
  return _error;
}