core.Map<core.String, core.dynamic> toJson() { final locations = this.locations; final name = this.name; return {'locations': ?locations, 'name': ?name}; }