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