toAppReplicationConfigurationStatus method

AppReplicationConfigurationStatus toAppReplicationConfigurationStatus()

Implementation

AppReplicationConfigurationStatus toAppReplicationConfigurationStatus() {
  switch (this) {
    case 'NOT_CONFIGURED':
      return AppReplicationConfigurationStatus.notConfigured;
    case 'CONFIGURED':
      return AppReplicationConfigurationStatus.configured;
  }
  throw Exception(
      '$this is not known in enum AppReplicationConfigurationStatus');
}