toEventType method

EventType toEventType()

Implementation

EventType toEventType() {
  switch (this) {
    case 'SignIn':
      return EventType.signIn;
    case 'SignUp':
      return EventType.signUp;
    case 'ForgotPassword':
      return EventType.forgotPassword;
  }
  throw Exception('$this is not known in enum EventType');
}