toReplicationRuleStatus method

ReplicationRuleStatus toReplicationRuleStatus()

Implementation

ReplicationRuleStatus toReplicationRuleStatus() {
  switch (this) {
    case 'Enabled':
      return ReplicationRuleStatus.enabled;
    case 'Disabled':
      return ReplicationRuleStatus.disabled;
  }
  throw Exception('$this is not known in enum ReplicationRuleStatus');
}