PushMessageContentDocument.fromJson constructor

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

Parse from a json

Implementation

PushMessageContentDocument.fromJson(Map<String, dynamic> json) {
  this.document = Document.fromJson(json['document'] ?? <String, dynamic>{});
  this.isPinned = json['is_pinned'];
}