Parse from a json
factory DeviceTokenHuaweiPush.fromJson(Map<String, dynamic> json) => DeviceTokenHuaweiPush( token: json['token'], encrypt: json['encrypt'], );