toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final blue = this.blue;
  final green = this.green;
  final red = this.red;
  return {'blue': ?blue, 'green': ?green, 'red': ?red};
}