imagePackUsageFromJson function
Implementation
List<ImagePackUsage>? imagePackUsageFromJson(List<String>? json) => json
?.map((v) => {
'sticker': ImagePackUsage.sticker,
'emoticon': ImagePackUsage.emoticon,
}[v])
.whereType<ImagePackUsage>()
.toList();