Map<String, dynamic> toMap() { return <String, dynamic>{ 'parentId': parentId, 'pathPart': pathPart, 'region': ?region, 'restApi': restApi, }; }