Sticker.fromJson constructor

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

Implementation

factory Sticker.fromJson(Map<String, dynamic> json) {
  return Sticker(
      modifiedAt: json['modifiedAt'],
      stickerOrder: int.parse(json['stickerOrder']),
      stickerSetId: json['stickerSetId'],
      stickerUrl: json['stickerUrl'],
      createdAt: json['createdAt'],
      stickerSetName: json['stickerSetName'],
      id: json['id'],
      stickerSetOrder: int.parse(json['stickerSetOrder']),
      stickerName: json['stickerName']);
}