toResolverRuleStatus method

ResolverRuleStatus toResolverRuleStatus()

Implementation

ResolverRuleStatus toResolverRuleStatus() {
  switch (this) {
    case 'COMPLETE':
      return ResolverRuleStatus.complete;
    case 'DELETING':
      return ResolverRuleStatus.deleting;
    case 'UPDATING':
      return ResolverRuleStatus.updating;
    case 'FAILED':
      return ResolverRuleStatus.failed;
  }
  throw Exception('$this is not known in enum ResolverRuleStatus');
}