valueOf static method

Implementation

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

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