ChatPhotoSticker.fromJson constructor

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

Parse from a json

Implementation

factory ChatPhotoSticker.fromJson(Map<String, dynamic> json) =>
    ChatPhotoSticker(
      type: ChatPhotoStickerType.fromJson(json['type']),
      backgroundFill: BackgroundFill.fromJson(json['background_fill']),
    );