DeviceTokenHuaweiPush.fromJson constructor
Parses a DeviceTokenHuaweiPush from TDLib JSON.
Implementation
factory DeviceTokenHuaweiPush.fromJson(Map<String, dynamic> json) =>
DeviceTokenHuaweiPush(
token: _readString(json['token']),
encrypt: _readBool(json['encrypt']),
);