ChatInviteLinkCount.fromJson constructor

ChatInviteLinkCount.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory ChatInviteLinkCount.fromJson(Map<String, dynamic> json) =>
    ChatInviteLinkCount(
      userId: json['user_id'],
      inviteLinkCount: json['invite_link_count'],
      revokedInviteLinkCount: json['revoked_invite_link_count'],
    );