memberStateFilterEnumForQuery function
Implementation
String memberStateFilterEnumForQuery(MemberStateFilter filter) {
switch (filter) {
case MemberStateFilter.all:
return 'all';
case MemberStateFilter.invited:
return 'invited_only';
case MemberStateFilter.joined:
return 'joined_only';
case MemberStateFilter.invitedByFriend:
return 'invited_by_friend';
case MemberStateFilter.invitedByNonFriend:
return 'invited_by_non_friend';
}
}