Merge branch 'ChristianPauly-master-patch-59640' into 'master'
Update lib/src/utils/pusher.dart See merge request famedly/famedlysdk!286
This commit is contained in:
commit
2525b3d9f1
|
@ -47,16 +47,19 @@ class Pusher {
|
|||
|
||||
class PusherData {
|
||||
String url;
|
||||
String format;
|
||||
|
||||
PusherData({this.url});
|
||||
PusherData({this.url, this.format});
|
||||
|
||||
PusherData.fromJson(Map<String, dynamic> json) {
|
||||
url = json['url'];
|
||||
format = json['format'];
|
||||
}
|
||||
|
||||
Map<String, dynamic> toJson() {
|
||||
final data = <String, dynamic>{};
|
||||
data['url'] = url;
|
||||
data['format'] = format;
|
||||
return data;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue