toGrowthType method

GrowthType toGrowthType()

Implementation

GrowthType toGrowthType() {
  switch (this) {
    case 'LINEAR':
      return GrowthType.linear;
    case 'EXPONENTIAL':
      return GrowthType.exponential;
  }
  throw Exception('$this is not known in enum GrowthType');
}