type property

int get type

Implementation

int get type => _type;
set type (int? value)

Implementation

set type(int? value) {
  if (value == null || value < 0) {
    throw ArgumentError('type must be defined and may not be < 0');
  }
  _type = value;
}