fix analysis

This commit is contained in:
Salvatore Giordano
2021-03-16 17:00:46 +01:00
parent 90136c5174
commit fc1fec0695
2 changed files with 1 additions and 2 deletions
@@ -1209,7 +1209,7 @@ class ChannelClientState {
ChannelClientState(
this._channel,
ChannelState channelState,
// ignore: unnecessary_parenthesis
//ignore: unnecessary_parenthesis
) : _debouncedUpdatePersistenceChannelState = ((ChannelState state) {
_channel?._client?.chatPersistenceClient?.updateChannelState(state);
}).debounced(const Duration(seconds: 1)) {
@@ -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