@@ -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.values.where((dynamic val) => val is Map || val is List).isEmpty &&
|
||||||
map.toString().length < maxWidth;
|
map.toString().length < maxWidth;
|
||||||
|
|
||||||
bool _canFlattenList(List list) =>
|
bool _canFlattenList(List list) =>
|
||||||
list.length < 10 && list.toString().length < maxWidth;
|
list.length < 10 && list.toString().length < maxWidth;*/
|
||||||
|
|
||||||
void _printMapAsTable(
|
void _printMapAsTable(
|
||||||
void Function(Object) logPrint,
|
void Function(Object) logPrint,
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import 'dart:async';
|
import 'dart:async';
|
||||||
import 'dart:math';
|
|
||||||
|
|
||||||
import 'package:dio/dio.dart';
|
import 'package:dio/dio.dart';
|
||||||
import 'package:logging/logging.dart';
|
import 'package:logging/logging.dart';
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ class WebSocket with TimerHelper {
|
|||||||
_connectionStatusController.add(status);
|
_connectionStatusController.add(status);
|
||||||
|
|
||||||
/// The current connection status value
|
/// The current connection status value
|
||||||
ConnectionStatus get connectionStatus => _connectionStatusController.value!;
|
ConnectionStatus get connectionStatus => _connectionStatusController.value;
|
||||||
|
|
||||||
/// This notifies of connection status changes
|
/// This notifies of connection status changes
|
||||||
Stream<ConnectionStatus> get connectionStatusStream =>
|
Stream<ConnectionStatus> get connectionStatusStream =>
|
||||||
|
|||||||
Reference in New Issue
Block a user