name property
String
get
name
Implementation
String get name => _name;
set
name
(String? value)
Implementation
set name(String? value) {
if (value == null || value.isEmpty) {
throw ArgumentError('name must not be null or an empty string');
}
_name = value;
}