toResolverQueryLogConfigAssociationError method

ResolverQueryLogConfigAssociationError toResolverQueryLogConfigAssociationError()

Implementation

ResolverQueryLogConfigAssociationError
    toResolverQueryLogConfigAssociationError() {
  switch (this) {
    case 'NONE':
      return ResolverQueryLogConfigAssociationError.none;
    case 'DESTINATION_NOT_FOUND':
      return ResolverQueryLogConfigAssociationError.destinationNotFound;
    case 'ACCESS_DENIED':
      return ResolverQueryLogConfigAssociationError.accessDenied;
    case 'INTERNAL_SERVICE_ERROR':
      return ResolverQueryLogConfigAssociationError.internalServiceError;
  }
  throw Exception(
      '$this is not known in enum ResolverQueryLogConfigAssociationError');
}