AuthenticationServiceMock class

Implemented types

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

deleteAccount(String userId, {Map<String, dynamic>? body}) Future<Either<Failure, User?>>
inherited
fetchAuthUserData() Future<Either<Failure, User>>
override
getAuthenticatedSession() Future<Either<Failure, AuthenticationData?>>
override
loginWithCredentials(String? username, String? password) Future<Either<Failure, AuthenticationData>>
override
logout() Future<Either<Failure, Unit>>
override
noSuchMethod(Invocation invocation, {Object? returnValue, Object? returnValueForMissingStub = deferToDefaultResponse}) → dynamic
Handles method stubbing, method call verification, and real method calls.
inherited
refreshSession() Future<Either<Failure, AuthenticationData>>
inherited
signupWithCredentials(AuthSignUpPayload? payload) Future<Either<Failure, AuthenticationData?>>
override
stbFetchUser(Either<Failure, User>? response) → dynamic
storeAuthDataSession(AuthenticationData authData) Future<Either<Failure, Unit>>
inherited
stubFailure() → dynamic
stubGetSessionData([Either<Failure, AuthenticationData?>? response]) → dynamic
stubLoginWithCredentials([Either<Failure, AuthenticationData>? response]) → dynamic
stubLogoutSuccess([Either<Failure, Unit>? response]) → dynamic
toString() String
A string representation of this object.
inherited

Operators

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