toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final color = this.color;
  final colorStyle = this.colorStyle;
  final type = this.type;
  final value = this.value;
  return {
    'color': ?color,
    'colorStyle': ?colorStyle,
    'type': ?type,
    'value': ?value,
  };
}