ChatService class
Constructors
- ChatService.new()
-
factory
Properties
- atClientInstance ↔ AtClientImpl
-
getter/setter pair
-
chatHistory
↔ List<
Message> -
getter/setter pair
- chatHistoryMessages ↔ List?
-
getter/setter pair
- chatKey → String
-
final
- chatSink → Sink
-
no setter
-
chatStream
→ Stream<
List< Message> > -
no setter
-
chatStreamController
↔ StreamController<
List< Message> > -
getter/setter pair
- chatWithAtSign ↔ String?
-
getter/setter pair
- currentAtSign ↔ String?
-
getter/setter pair
- groupChatId ↔ String?
-
getter/setter pair
-
groupChatMembers
↔ List<
String> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- isGroupChat ↔ bool
-
getter/setter pair
- rootDomain ↔ String?
-
getter/setter pair
- rootPort ↔ int?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageKey → String
-
final
Methods
-
checkForMissedMessages(
String referenceKey) → Future< void> -
disposeControllers(
) → void -
getChatHistory(
{String? atsign}) → Future< void> -
getMissingKey(
String missingKey) → Future< void> -
getPrivateKey(
String atsign) → Future< String> -
Fetches privatekey for
atsign
from device keychain. -
initChatService(
AtClientImpl atClientInstanceFromApp, String currentAtSignFromApp, String rootDomainFromApp, int rootPortFromApp) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sendMessage(
String? message) → Future< void> -
setAtsignToChatWith(
String? chatWithAtSignFromApp, bool isGroup, String? groupId, List< String> ? groupMembers) → void -
setChatHistory(
Message message) → Future< void> -
startMonitor(
) → Future< bool> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited