restartInitialTriple method

  1. @visibleForTesting
void restartInitialTriple(
  1. 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);
}