You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 11, 2024. It is now read-only.
When I am debugging.
getting null typedResult.
@optionalTypeArgs
Future invokeMethod(String method, [ dynamic arguments ]) async {
print('inside invoke method $method');
assert(method != null);
final ByteData result = await binaryMessenger.send(
name,
codec.encodeMethodCall(MethodCall(method, arguments)),
);
print('result $result');
if (result == null) {
print('result is null');
throw MissingPluginException('No implementation found for method $method on channel $name');
}
final T typedResult = codec.decodeEnvelope(result);
}
The text was updated successfully, but these errors were encountered: