fromJson static method
Implementation
static StickerSets? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return StickerSets(
totalCount: (json['total_count'] as int?) ?? 0,
sets: List<StickerSetInfo>.from(
tdListFromJson(json['sets'])
.map((item) => StickerSetInfo.fromJson(tdMapFromJson(item)))
.whereType<StickerSetInfo>(),
),
);
}