checkCode method
- CheckCodeRequest checkCodeRequest
override
Implementation
@override
Future<Either<Failure, AuthenticationInfoEntity>> checkCode(
CheckCodeRequest checkCodeRequest,
) =>
request<AuthenticationInfoEntity>(
() async {
final CheckCodeResponse response = await dataSource.checkCode(
checkCodeRequest,
);
final AuthenticationInfoEntity authInfoEntity =
CheckCodeMapper.fromResponse(
response: response,
);
return authInfoEntity;
},
);