valueOf static method

Implementation

static HostingGetAccountHistoryEvents? valueOf(final String? value) {
  if (value == null) return null;
  final knownValue = KnownHostingGetAccountHistoryEvents.valueOf(value);

  return knownValue != null
      ? HostingGetAccountHistoryEvents.knownValue(data: knownValue)
      : HostingGetAccountHistoryEvents.unknown(data: value);
}