Closed taciomedeiros closed 9 months ago
Describe the bug After send data to socket systems stop executing method lines without throws any error
Reproduction Code
Example:
Future<void> sendData() async { print('befor send data'); await socket!.sendMatchData( matchId: match.matchId, opCode: Int64(data.opCode), data: jsonEncode({}).codeUnits, ); print("after send data");
Expected behavior print("after send data"); should be called
Screenshots
Flutter Doctor
pubspec.yaml
Additional context
There is no data returned from sendMatchData - so changed return type to void. Thanks for reporting.
Describe the bug After send data to socket systems stop executing method lines without throws any error
Reproduction Code
Example:
Expected behavior print("after send data"); should be called
Screenshots
Flutter Doctor
pubspec.yaml
Additional context