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(((json['sets'] as List<dynamic>?) ??
<dynamic>[])
.map((item) => StickerSetInfo.fromJson(item as Map<String, dynamic>?))
.toList()),
);
}