restartInitialTriple method
- @visibleForTesting
- Triple<
S> triple
Implementation
@visibleForTesting
void restartInitialTriple(Triple<S> triple) {
when(() => state).thenReturn(triple.state);
when(() => error).thenReturn(triple.error);
when(() => isLoading).thenReturn(triple.isLoading);
when(() => this.triple).thenReturn(triple);
}