ArgsBuilder<Args> mixin
A mixin that provides functionality for managing and building arguments in test scenarios.
This mixin is typically used in conjunction with TestDirector to create flexible and reusable test setups, especially for Flutter widget tests.
The Args type parameter represents the type of arguments used to construct the unit under test.
- Mixin applications
Properties
Methods
-
buildArgs(
) → Args - Builds the arguments using either the set args or the args factory.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setArgs(
Args args) → void - Sets the arguments directly.
-
setArgsFactory(
covariant ArgsFactory< Args> argsFactory) → void - Sets the factory function used to create arguments.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited