mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Add missing nullable annotation (flutter/engine#20505)
This commit is contained in:
parent
9e4375fa54
commit
89e5cf3dba
@ -90,7 +90,7 @@ public class MethodChannel {
|
||||
* @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)),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user