Map<String, dynamic> toJson() { final fabric = this.fabric; return { if (fabric != null) 'Fabric': fabric, }; }