fromValue static method

AptSettingsType fromValue(
  1. String value
)

Implementation

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