toAuthTokenUpdateStrategyType method

AuthTokenUpdateStrategyType toAuthTokenUpdateStrategyType()

Implementation

AuthTokenUpdateStrategyType toAuthTokenUpdateStrategyType() {
  switch (this) {
    case 'SET':
      return AuthTokenUpdateStrategyType.set;
    case 'ROTATE':
      return AuthTokenUpdateStrategyType.rotate;
    case 'DELETE':
      return AuthTokenUpdateStrategyType.delete;
  }
  throw Exception('$this is not known in enum AuthTokenUpdateStrategyType');
}