fix analysis

This commit is contained in:
Salvatore Giordano
2021-03-16 16:52:44 +01:00
parent c66212c37c
commit a14045a09d
5 changed files with 10 additions and 11 deletions
@@ -44,7 +44,6 @@ linter:
- avoid_private_typedef_functions
- avoid_redundant_argument_values
- avoid_return_types_on_setters
- avoid_returning_null
- avoid_returning_null_for_void
- avoid_shadowing_type_parameters
- avoid_single_cascade_in_expression_statements
@@ -1209,6 +1209,7 @@ class ChannelClientState {
ChannelClientState(
this._channel,
ChannelState channelState,
// ignore: unnecessary_parenthesis
) : _debouncedUpdatePersistenceChannelState = ((ChannelState state) {
_channel?._client?.chatPersistenceClient?.updateChannelState(state);
}).debounced(const Duration(seconds: 1)) {