fromJson method

Implementation

@override
UProfileAssociatedChatAllowIncoming fromJson(String json) {
  final knownValue = KnownProfileAssociatedChatAllowIncoming.valueOf(json);

  return knownValue != null
      ? UProfileAssociatedChatAllowIncoming.knownValue(data: knownValue)
      : UProfileAssociatedChatAllowIncoming.unknownValue(data: json);
}