Map<String, dynamic> toJson() { final json = <String, dynamic>{}; json[r'routes'] = this.routes; return json; }