toResolverQueryLogConfigStatus method

ResolverQueryLogConfigStatus toResolverQueryLogConfigStatus()

Implementation

ResolverQueryLogConfigStatus toResolverQueryLogConfigStatus() {
  switch (this) {
    case 'CREATING':
      return ResolverQueryLogConfigStatus.creating;
    case 'CREATED':
      return ResolverQueryLogConfigStatus.created;
    case 'DELETING':
      return ResolverQueryLogConfigStatus.deleting;
    case 'FAILED':
      return ResolverQueryLogConfigStatus.failed;
  }
  throw Exception('$this is not known in enum ResolverQueryLogConfigStatus');
}