Created
June 15, 2020 18:58
-
-
Save ookami-kb/3be842f7f442d9d8ddcd1c2af56bdbbe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class AuthenticationManager { | |
AuthenticationManager(this._restClient); | |
final RestClient _restClient; | |
Future<Either<Exception, void>> logOut() => | |
_restClient.signOut(SignOutRequest()).toEither(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment