NullaryStub<T, Z extends Nullary<T>> class

a NULLARY implementation of StubMethod

Inheritance

Constructors

NullaryStub()

Properties

count int
exposes the count
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stub ← Z
set the stubbed method
no getteroverride

Methods

call() → T
increase() → void
increses the count by one, it's meant for internal use
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
set the count to 0
inherited
toString() String
A string representation of this object.
inherited

Operators

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