fromJson static method

IsoCode? fromJson(
  1. String value
)

Constructs an IsoCode from the provided value.

Implementation

static IsoCode? fromJson(String value) {
  return values.firstWhereOrNull((e) => e.name == value);
}