Map<String, dynamic> toMap() { return <String, dynamic>{ 'description': ?description, 'hosts': hosts, 'pathMatcher': pathMatcher, }; }