PushMessageContentText.fromJson constructor

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

Parse from a json

Implementation

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