StickerSets.fromJson constructor

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

Parse from a json

Implementation

factory StickerSets.fromJson(Map<String, dynamic> json) => StickerSets(
  totalCount: json['total_count'],
  sets: List<StickerSetInfo>.from((json['sets'] ?? []).map((item) => StickerSetInfo.fromJson(item)).toList()),
  extra: json['@extra'],
  clientId: json['@client_id'],
);