NvCubitTesting class

A wrapper to increase discoverability should more methods be added in the future.

Constructors

NvCubitTesting()

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

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

collectCubitStates<C extends Cubit<T>, T>({required C build(), Future<void> act(C cubit)?}) Future<List<T>>
Method to collect all states emitted by the actions performed on the cubit and cleans everything up. Returns a List of states.