Ignore upcoming warning for unnecessary override (#93353)

This commit is contained in:
Nate Bosch
2021-11-10 07:33:05 -08:00
committed by GitHub
parent 858a328712
commit 4aad63a63d
2 changed files with 2 additions and 0 deletions

View File

@@ -346,6 +346,7 @@ class FlutterPlatform extends PlatformPlugin {
}
@override
// ignore: override_on_non_overriding_member
StreamChannel<dynamic> loadChannel(String path, SuitePlatform platform) {
if (_testCount > 0) {
// Fail if there will be a port conflict.

View File

@@ -485,6 +485,7 @@ class FlutterWebPlatform extends PlatformPlugin {
}
@override
// ignore: override_on_non_overriding_member
StreamChannel<dynamic> loadChannel(String path, SuitePlatform platform) =>
throw UnimplementedError();