toResolverRuleAssociationStatus method

ResolverRuleAssociationStatus toResolverRuleAssociationStatus()

Implementation

ResolverRuleAssociationStatus toResolverRuleAssociationStatus() {
  switch (this) {
    case 'CREATING':
      return ResolverRuleAssociationStatus.creating;
    case 'COMPLETE':
      return ResolverRuleAssociationStatus.complete;
    case 'DELETING':
      return ResolverRuleAssociationStatus.deleting;
    case 'FAILED':
      return ResolverRuleAssociationStatus.failed;
    case 'OVERRIDDEN':
      return ResolverRuleAssociationStatus.overridden;
  }
  throw Exception('$this is not known in enum ResolverRuleAssociationStatus');
}