Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sendAsync fails if the args is null #4

Open
ArinFaraj opened this issue Apr 2, 2023 · 1 comment
Open

sendAsync fails if the args is null #4

ArinFaraj opened this issue Apr 2, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ArinFaraj
Copy link

in line 268 the 'args' is required but it's nullable in the method parameters
and when it's null it fails without throwing errors.

@override
Future<void> sendAsync(String methodName, [List<dynamic>? args]) {
final streams = _replaceStreamingParams(args!);
final message = _createInvocation(methodName, args, true, streams.item2);
final sendFuture = _sendWithProtocolAsync(message);

@Dimolll Dimolll added the bug Something isn't working label Apr 3, 2023
@Dimolll
Copy link
Owner

Dimolll commented Apr 3, 2023

@ArinFaraj hi!
Thanks for your issue
It will be fixed in next version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants