Skip to content

Commit a5cef53

Browse files
Add default values to FCXCallUpdate constructor
1 parent 26fc167 commit a5cef53

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

lib/src/call_update.dart

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,11 +65,11 @@ class FCXCallUpdate {
6565
FCXCallUpdate({
6666
this.remoteHandle,
6767
this.localizedCallerName,
68-
required this.supportsHolding,
69-
required this.supportsGrouping,
70-
required this.supportsUngrouping,
71-
required this.supportsDTMF,
72-
required this.hasVideo,
68+
this.supportsHolding = false,
69+
this.supportsGrouping = false,
70+
this.supportsUngrouping = false,
71+
this.supportsDTMF = false,
72+
this.hasVideo = false,
7373
});
7474

7575
Map<String, dynamic> _toMap() => {

0 commit comments

Comments
 (0)