PushMessageContentSticker.fromJson constructor

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

Parse from a json

Implementation

factory PushMessageContentSticker.fromJson(Map<String, dynamic> json) => PushMessageContentSticker(
  sticker: json['sticker'] == null ? null : Sticker.fromJson(json['sticker']),
  emoji: json['emoji'],
  isPinned: json['is_pinned'],
);