RxCubitTester class

This class functions as an aggregation for all functions related to testing RxCubits.

Constructors

RxCubitTester()

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

getRxCubitStates<C extends RxCubit<T>, T>({required C build(), Future<void> act(C cubit)?}) Future<List<T>>
This function collections all state emitted by the cubit and returns them. build is a closure returning the cubit act is a callback which receives the cubit as an argument and performs actions on the cubit.