fromValue static method

RatePlanRevenueShareType fromValue(
  1. String value
)

Implementation

static RatePlanRevenueShareType fromValue(String value) {
  for (final item in RatePlanRevenueShareType.values) {
    if (item.wireValue == value) {
      return item;
    }
  }
  throw ArgumentError('Unknown RatePlanRevenueShareType value: $value');
}