IntegrationMocks class
Used to store mocks that stay persistent throughout the whole IntegrationScenario.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
clear(
) → void -
Clears all values of the
_mocksMap
. -
delete(
Type type) → void -
Deletes a value from the box based on
type
. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read<
T extends Object> (Type type) → T -
Reads a value from the box based on
type
. -
toString(
) → String -
A string representation of this object.
inherited
-
write(
Object mock) → void -
Writes a value to the box based on the runtimeType of
mock
.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited