Map<String, dynamic> toMap() { return <String, dynamic>{ 'enumStrings': enumStrings, 'filterType': filterType, }; }