fromValue static method

Implementation

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