We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I have this on flutter:
_socket.timeout(5000).emitWithAck(event, data, ack: (dynamic result) { if (kDebugMode) { print('ack $result'); } if (result != null) { if (kDebugMode) { print('from server $result'); return result; } } else { if (kDebugMode) { print("Null"); } return null; } });
without the timeout, everything works fine. With the timeout, I receive this error: Unhandled Exception: type 'Null' is not a subtype of type 'bool'
The text was updated successfully, but these errors were encountered:
any reproducible example? or please test with the latest 3.0.0-beta.4 version to give it a try.
Sorry, something went wrong.
No branches or pull requests
Hi,
I have this on flutter:
_socket.timeout(5000).emitWithAck(event, data, ack: (dynamic result) { if (kDebugMode) { print('ack $result'); } if (result != null) { if (kDebugMode) { print('from server $result'); return result; } } else { if (kDebugMode) { print("Null"); } return null; } });
without the timeout, everything works fine.
With the timeout, I receive this error:
Unhandled Exception: type 'Null' is not a subtype of type 'bool'
The text was updated successfully, but these errors were encountered: