Mockitory mixin

Properties

hashCode int
The hash code for this object.
no setterinherited
initialMockValues Map<String, MockValue>
Map of named MockValue with initial values. This map never changes.
no setter
mockValues Map<String, MockValue>
Map of named MockValue objects with updated values.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getValue<T>(String name) → T
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
observeMockValueUpdates<T>(String name) Stream<MockValue<T>>
observeValues<T>(String name) Stream<T>
Emits changes of MockValue's value. The difference between observeMockValueUpdates is that observeValues emits error if MockValue's error is not null
toString() String
A string representation of this object.
inherited
updateValue<T>(String name, MockValue<T> value) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited