ConversationLifeCycle class

Constructors

ConversationLifeCycle({ConversationListFunction conversationListWillMount = DefaultLifeCycle.defaultConversationListSolution, FutureBool shouldClearHistoricalMessageForConversation(String conversationID) = DefaultLifeCycle.defaultAsyncBooleanSolution, FutureBool shouldDeleteConversation(String conversationID) = DefaultLifeCycle.defaultAsyncBooleanSolution})

Properties

conversationListWillMount ConversationListFunction
Before conversation list will mount or update to conversation page.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldClearHistoricalMessageForConversation FutureBool Function(String conversationID)
Before clearing the historical message for a specific conversation, provided in parameter, true means can clear continually, while false will not clear. You can make a second confirmation here by a modal, etc.
getter/setter pair
shouldDeleteConversation FutureBool Function(String conversationID)
Before deleting a conversation, or a channel, from the conversation list, true means can delete continually, while false will not delete. You can make a second confirmation here by a modal, etc.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited