diff --git a/lib/src/utils/pusher.dart b/lib/src/utils/pusher.dart index b4283ca..810afd8 100644 --- a/lib/src/utils/pusher.dart +++ b/lib/src/utils/pusher.dart @@ -47,16 +47,19 @@ class Pusher { class PusherData { String url; + String format; - PusherData({this.url}); + PusherData({this.url, this.format}); PusherData.fromJson(Map json) { url = json['url']; + format = json['format']; } Map toJson() { final data = {}; data['url'] = url; + data['format'] = format; return data; } }