toServiceType method

ServiceType toServiceType()

Implementation

ServiceType toServiceType() {
  switch (this) {
    case 'RDS':
      return ServiceType.rds;
  }
  throw Exception('$this is not known in enum ServiceType');
}