Revert "Enable avoid_redundant_argument_values lint (#91409)" (#91461)

This reverts commit 5fd259be24.
This commit is contained in:
Zachary Anderson
2021-10-07 21:11:07 -07:00
committed by GitHub
parent 5fd259be24
commit b9d2177da0
667 changed files with 3385 additions and 1693 deletions

View File

@@ -44,7 +44,7 @@ void main() {
TestPlugin.calledMethods.clear();
const MethodChannel frameworkChannel =
MethodChannel('test_plugin');
MethodChannel('test_plugin', StandardMethodCodec());
frameworkChannel.invokeMethod<void>('test1');
expect(TestPlugin.calledMethods, equals(<String>['test1']));
@@ -57,7 +57,7 @@ void main() {
ServicesBinding.instance!.defaultBinaryMessenger
.setMessageHandler('test_send', (ByteData? data) {
loggedMessages.add(codec.decodeMessage(data)! as String);
return Future<ByteData?>.value();
return Future<ByteData?>.value(null);
});
await pluginBinaryMessenger.send(