Stream Chatty added as example (#21)

* app updated

* readme updated

* rename base folder

* update chatty's readme

Co-authored-by: Neevash Ramdial <[email protected]>
This commit is contained in:
Diego Velásquez López
2021-03-10 14:53:20 -04:00
committed by GitHub
co-authored by Neevash Ramdial
parent c86652dcfc
commit bd6bb66279
111 changed files with 3806 additions and 0 deletions
@@ -0,0 +1,13 @@
import 'package:stream_chatter/data/auth_repository.dart';
import 'package:stream_chatter/data/stream_api_repository.dart';
class LogoutUseCase {
LogoutUseCase(this.streamApiRepository, this.authRepository);
final StreamApiRepository streamApiRepository;
final AuthRepository authRepository;
Future<void> logout() async {
await streamApiRepository.logout();
await authRepository.logout();
}
}