read static method

ReleaseType? read(
  1. String? appleValue
)

Implementation

static ReleaseType? read(String? appleValue) => appleValue == null
    ? null
    : values.firstWhere(
        (t) => t.appleValue == appleValue,
        orElse: () => unknown,
      );