toUserProfileSortKey method
Implementation
UserProfileSortKey toUserProfileSortKey() {
switch (this) {
case 'CreationTime':
return UserProfileSortKey.creationTime;
case 'LastModifiedTime':
return UserProfileSortKey.lastModifiedTime;
}
throw Exception('$this is not known in enum UserProfileSortKey');
}