@override Map<String, dynamic> toMap() { var json = super.toMap(); json['brush'] = brush.toMap(); json['icon'] = icon?.toMap(); return json; }