fromJson static method
Implementation
static ChatPhotoSticker? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return ChatPhotoSticker(
type:
ChatPhotoStickerType.fromJson(json['type'] as Map<String, dynamic>?)!,
backgroundFill: BackgroundFill.fromJson(
json['background_fill'] as Map<String, dynamic>?)!,
);
}