Map<String, dynamic> toJson() { final name = this.name; final description = this.description; return { 'Name': name, if (description != null) 'Description': description, }; }