add stream_chat_error_test.dart

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-06-04 17:09:41 +05:30
parent b64aa70b73
commit bdfbc27917
3 changed files with 130 additions and 0 deletions
@@ -45,6 +45,9 @@ class StreamWebSocketError extends StreamChatError {
/// Response body. please refer to [ErrorResponse].
final ErrorResponse? data;
@override
List<Object?> get props => [...super.props, code];
@override
String toString() {
var params = 'message: $message';
@@ -1,4 +1,5 @@
// ignore_for_file: lines_longer_than_80_chars
// coverage:ignore-file
import 'dart:math' as math;