Notification.fromJson constructor
Parses a Notification from TDLib JSON.
Implementation
factory Notification.fromJson(Map<String, dynamic> json) => Notification(
id: _readInt(json['id']),
date: _readInt(json['date']),
isSilent: _readBool(json['is_silent']),
type: _readObject(json['type'], NotificationType.fromJson),
);