merge fixes

Signed-off-by: Sahil Kumar <[email protected]>
This commit is contained in:
Sahil Kumar
2021-05-27 20:10:45 +05:30
parent 5cada0ce49
commit 73aa8f58e3
3 changed files with 3 additions and 4 deletions
@@ -309,12 +309,12 @@ class LoggingInterceptor extends Interceptor {
});
}
bool _canFlattenMap(Map map) =>
/* bool _canFlattenMap(Map map) =>
map.values.where((dynamic val) => val is Map || val is List).isEmpty &&
map.toString().length < maxWidth;
bool _canFlattenList(List list) =>
list.length < 10 && list.toString().length < maxWidth;
list.length < 10 && list.toString().length < maxWidth;*/
void _printMapAsTable(
void Function(Object) logPrint,
@@ -1,5 +1,4 @@
import 'dart:async';
import 'dart:math';
import 'package:dio/dio.dart';
import 'package:logging/logging.dart';
@@ -99,7 +99,7 @@ class WebSocket with TimerHelper {
_connectionStatusController.add(status);
/// The current connection status value
ConnectionStatus get connectionStatus => _connectionStatusController.value!;
ConnectionStatus get connectionStatus => _connectionStatusController.value;
/// This notifies of connection status changes
Stream<ConnectionStatus> get connectionStatusStream =>