@@ -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 =>
|
||||
|
||||
Reference in New Issue
Block a user