Skip to content

Commit

Permalink
analyzer fix
Browse files Browse the repository at this point in the history
  • Loading branch information
escamoteur committed Nov 27, 2024
1 parent f0feecc commit abf2385
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flutter_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ abstract class Command<TParam, TResult> extends CustomValueNotifier<TResult> {
/// isExecuting which also blocks execution if true
_canExecute = (_restriction == null)
? _isExecuting.map((val) => !val) as ValueNotifier<bool>
: _restriction!.combineLatest<bool, bool>(
: _restriction.combineLatest<bool, bool>(
_isExecuting,
(restriction, isExecuting) => !restriction && !isExecuting,
) as ValueNotifier<bool>;
Expand Down

0 comments on commit abf2385

Please sign in to comment.