Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 9c99bf7

Browse files
authored
Add missing nullable annotation (#20505)
1 parent 022058f commit 9c99bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shell/platform/android/io/flutter/plugin/common/MethodChannel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public void invokeMethod(@NonNull String method, @Nullable Object arguments) {
9090
* @param callback a {@link Result} callback for the invocation result, or null.
9191
*/
9292
@UiThread
93-
public void invokeMethod(String method, @Nullable Object arguments, Result callback) {
93+
public void invokeMethod(String method, @Nullable Object arguments, @Nullable Result callback) {
9494
messenger.send(
9595
name,
9696
codec.encodeMethodCall(new MethodCall(method, arguments)),

0 commit comments

Comments
 (0)