Skip to content

Commit a971ad1

Browse files
committed
feat: add notifyOnMissedCall configuration flag
1 parent 015c1d0 commit a971ad1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/src/models/config/ck_configuration.dart

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class CKConfiguration {
1111
final Set<CKCallAttributes> attributes;
1212
final CKTimer timer;
1313
final bool notifyOnCallEnd;
14+
final bool notifyOnMissedCall;
1415
final Map<CKCallAction, String> icons;
1516
final bool strictMode;
1617
// final bool repostOnClick;
@@ -21,6 +22,7 @@ class CKConfiguration {
2122
this.attributes = const {},
2223
this.timer = const CKTimer(),
2324
this.notifyOnCallEnd = true,
25+
this.notifyOnMissedCall = true,
2426
this.icons = const {},
2527
this.strictMode = true,
2628
// this.repostOnClick = true,
@@ -29,6 +31,6 @@ class CKConfiguration {
2931
@override
3032
String toString() {
3133
// return 'CKConfiguration{sounds: $sounds, capabilities: $capabilities, attributes: $attributes, timer: $timer, notifyOnCallEnd: $notifyOnCallEnd, repostOnClick: $repostOnClick}';
32-
return 'CKConfiguration{sounds: $sounds, capabilities: $capabilities, attributes: $attributes, timer: $timer, notifyOnCallEnd: $notifyOnCallEnd, icons: $icons, strictMode: $strictMode}';
34+
return 'CKConfiguration{sounds: $sounds, capabilities: $capabilities, attributes: $attributes, timer: $timer, notifyOnCallEnd: $notifyOnCallEnd, icons: $icons, strictMode: $strictMode, notifyOnMissedCall: $notifyOnMissedCall}';
3335
}
3436
}

0 commit comments

Comments
 (0)