5package io.flutter.plugin.common;
7import androidx.annotation.NonNull;
8import androidx.annotation.Nullable;
9import io.flutter.BuildConfig;
11import org.json.JSONObject;
36 throw new AssertionError(
"Parameter method must not be null.");
48 @SuppressWarnings(
"unchecked")
66 @SuppressWarnings(
"unchecked")
73 }
else if (
arguments instanceof JSONObject) {
76 throw new ClassCastException();
96 }
else if (
arguments instanceof JSONObject) {
99 throw new ClassCastException();
static final boolean DEBUG
public< T > T arguments()
boolean hasArgument(@NonNull String key)
public< T > T argument(@NonNull String key)
MethodCall(@NonNull String method, @Nullable Object arguments)