PushMessageContentGame.fromJson constructor

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

Parse from a json

Implementation

factory PushMessageContentGame.fromJson(Map<String, dynamic> json) => PushMessageContentGame(
  title: json['title'],
  isPinned: json['is_pinned'],
);