Map<String, dynamic> toMap() { return <String, dynamic>{ 'asLists': ?asLists, 'pathSegmentType': ?pathSegmentType, }; }