Skip to content

Commit

Permalink
Add missing nullable annotation (flutter#20505)
Browse files Browse the repository at this point in the history
  • Loading branch information
jiahaog committed Aug 14, 2020
1 parent 022058f commit 9c99bf7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ public void invokeMethod(@NonNull String method, @Nullable Object arguments) {
* @param callback a {@link Result} callback for the invocation result, or null.
*/
@UiThread
public void invokeMethod(String method, @Nullable Object arguments, Result callback) {
public void invokeMethod(String method, @Nullable Object arguments, @Nullable Result callback) {
messenger.send(
name,
codec.encodeMethodCall(new MethodCall(method, arguments)),
Expand Down

0 comments on commit 9c99bf7

Please sign in to comment.