Skip to content

Commit

Permalink
added comment
Browse files Browse the repository at this point in the history
  • Loading branch information
escamoteur committed Nov 14, 2024
1 parent 63103fe commit d0720bd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/flutter_command.dart
Original file line number Diff line number Diff line change
Expand Up @@ -368,6 +368,8 @@ abstract class Command<TParam, TResult> extends CustomValueNotifier<TResult> {
/// wrapped in an `CommandError`
ValueListenable<CommandError<TParam>?> get errors => _errors;

/// Same as [errors] but with a dynamic error type. This is useful if you have
/// want to merge different error types in one listener.
ValueListenable<CommandError<dynamic>?> get errorsDynamic => _errors;

/// clears the error state of the command. This will trigger any listeners
Expand Down

0 comments on commit d0720bd

Please sign in to comment.