fromJson static method

TMeUrlTypeChatInvite? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static TMeUrlTypeChatInvite? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return TMeUrlTypeChatInvite(
    info: ChatInviteLinkInfo.fromJson(json['info'] as Map<String, dynamic>?)!,
  );
}