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