Created
January 7, 2023 13:38
-
-
Save FlutterWiz/3644569d4a7bdb36bb0d35b971d20f40 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
abstract class IChatService { | |
Stream<ChatUserModel> get chatAuthStateChanges; | |
Stream<List<Channel>> get channelsThatTheUserIsIncluded; | |
Future<void> disconnectUser(); | |
Future<void> connectTheCurrentUser(); | |
Future<void> createNewChannel({ | |
required List<String> listOfMemberIDs, | |
required String channelName, | |
required String channelImageUrl, | |
}); | |
Future<void> sendPhotoAsMessageToTheSelectedUser({ | |
required int sizeOfTheTakenPhoto, | |
required String channelId, | |
required String pathOfTheTakenPhoto, | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment