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

args ↔ Args
The built arguments, available after buildArgs is called.
latefinal
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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