Map<String, Object?> toJson() { var color = this.color; final json = <String, Object?>{}; json[r'color'] = color; return json; }