ChatInviteLinks.fromJson constructor
Parse from a json
Implementation
factory ChatInviteLinks.fromJson(Map<String, dynamic> json) =>
ChatInviteLinks(
totalCount: json['total_count'],
inviteLinks: List<ChatInviteLink>.from((json['invite_links'] ?? [])
.map((item) => ChatInviteLink.fromJson(item))
.toList()),
extra: json['@extra'],
clientId: json['@client_id'],
);