toAggregatedSourceType method

AggregatedSourceType toAggregatedSourceType()

Implementation

AggregatedSourceType toAggregatedSourceType() {
  switch (this) {
    case 'ACCOUNT':
      return AggregatedSourceType.account;
    case 'ORGANIZATION':
      return AggregatedSourceType.organization;
  }
  throw Exception('$this is not known in enum AggregatedSourceType');
}