toEventFilterType method

EventFilterType toEventFilterType()

Implementation

EventFilterType toEventFilterType() {
  switch (this) {
    case 'SIGN_IN':
      return EventFilterType.signIn;
    case 'PASSWORD_CHANGE':
      return EventFilterType.passwordChange;
    case 'SIGN_UP':
      return EventFilterType.signUp;
  }
  throw Exception('$this is not known in enum EventFilterType');
}