color property Null safety

String color
override

Gets the value of "color"

Implementation

String get color => this._color;
void color= (String? value)
override

Sets the value of "color"

Implementation

set color(String? value) {
  _color = value == null ? '' : value;
}