Skip to content

Commit

Permalink
refactor(firebase_auth_platform_interface): fix analyzer issues intro…
Browse files Browse the repository at this point in the history
…duced in Flutter 3.0.0 (#8653)
  • Loading branch information
nilsreichardt committed May 12, 2022
1 parent b781153 commit 74e5817
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -72,7 +72,7 @@ Future<void> injectEventChannelResponse(
String channelName,
Map<String, dynamic> event,
) async {
await ServicesBinding.instance!.defaultBinaryMessenger.handlePlatformMessage(
await ServicesBinding.instance.defaultBinaryMessenger.handlePlatformMessage(
channelName,
MethodChannelFirebaseAuth.channel.codec.encodeSuccessEnvelope(event),
(_) {},
Expand All @@ -85,7 +85,7 @@ void handleMethodCall(MethodCallCallback methodCallCallback) =>
});

Future<void> simulateEvent(String name, Map<String, dynamic>? user) async {
await ServicesBinding.instance!.defaultBinaryMessenger.handlePlatformMessage(
await ServicesBinding.instance.defaultBinaryMessenger.handlePlatformMessage(
MethodChannelFirebaseAuth.channel.name,
MethodChannelFirebaseAuth.channel.codec.encodeMethodCall(
MethodCall(
Expand Down

0 comments on commit 74e5817

Please sign in to comment.