name property

String get name

The name of the property. Except if isRelation, this is also the name of the associated Dart field. If isRelation use relationField to get the name of the ToOne field.

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;
}