toAuthTokenUpdateStatus method

AuthTokenUpdateStatus toAuthTokenUpdateStatus()

Implementation

AuthTokenUpdateStatus toAuthTokenUpdateStatus() {
  switch (this) {
    case 'SETTING':
      return AuthTokenUpdateStatus.setting;
    case 'ROTATING':
      return AuthTokenUpdateStatus.rotating;
  }
  throw Exception('$this is not known in enum AuthTokenUpdateStatus');
}