8000 fix: Fix compiler errors for web. · flutter-robert/flutter-webrtc@41aa90f · GitHub
[go: up one dir, main page]

Skip to content

Commit 41aa90f

Browse files
committed
fix: Fix compiler errors for web.
1 parent 2a45f7b commit 41aa90f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/src/web/utils.dart

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,8 @@ class WebRTC {
1212
static bool get platformIsAndroid => false;
1313

1414
static bool get platformIsWeb => true;
15+
16+
static Future<T?> invokeMethod<T, P>(String methodName,
17+
[dynamic param]) async =>
18+
throw UnimplementedError();
1519
}

0 commit comments

Comments
 (0)
0