valueOf static method

Implementation

static ProfileAssociatedChatAllowGroupInvites? valueOf(final String? value) {
  if (value == null) return null;
  final knownValue = KnownProfileAssociatedChatAllowGroupInvites.valueOf(
    value,
  );

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