stubLogoutSuccess method
dynamic
stubLogoutSuccess([
- Either<
Failure, Unit> ? response
Implementation
stubLogoutSuccess([Either<Failure, Unit>? response]) {
when(logout()).thenAnswer(
(realInvocation) async => response ?? right<Failure, Unit>(unit),
);
}