Skip to content

Commit 904a08a

Browse files
committed
refactor: linting & cleanup
1 parent a57e4c0 commit 904a08a

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/src/managers/notifications/notification_manager_impl_web.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import 'package:web_callkit/src/managers/managers.dart';
66
import 'package:web_callkit/src/models/ck_notification_action.dart';
77

88
import '../../models/models.dart';
9-
import '../../utils/utils.dart';
109

1110
/// Notification Manager implementation for Web
1211
/// Obfuscates dependency on [JsNotificationsPlatform], specifically [JSNotification]

lib/src/method_channel/web_callkit_method_channel.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -675,6 +675,7 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
675675
required CKCall call,
676676
Set<CallKitCapability>? capabilities,
677677
Map<String, dynamic>? metadata,
678+
//ignore: unused_element
678679
Duration? offset,
679680
bool? silent,
680681
}) {
@@ -784,12 +785,10 @@ class MethodChannelWebCallkit extends WebCallkitPlatform {
784785
return [
785786
CKNotificationAction.fromNotificationAction(CKCallAction.hangUp),
786787
];
787-
throw UnimplementedError();
788788
case CallState.reconnecting:
789789
return [
790790
CKNotificationAction.fromNotificationAction(CKCallAction.hangUp),
791791
];
792-
throw UnimplementedError();
793792
case CallState.disconnecting:
794793
return [
795794
CKNotificationAction.fromNotificationAction(CKCallAction.hangUp),

0 commit comments

Comments
 (0)