MessagesMixin mixin
For group discussions, a dedicated transaction chain will contain a smart contract and its updates, as well as the discussion's rules and description. The messages will be contained in the inputs of the smart contracts in the chain. A general public key for accessing messages is made available.
- Mixin Applications
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildMessageSendTransaction(
{required Keychain keychain, required ApiService apiService, required String discussionSCAddress, required String messageContent, required String senderAddress, required String senderServiceName, required KeyPair senderKeyPair}) → Future< ({KeyPair previousKeyPair, Transaction transaction})> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
read(
{required ApiService apiService, required String discussionSCAddress, required KeyPair readerKeyPair, int limit = 0, int pagingOffset = 0}) → Future< List< AEMessage> > -
send(
{required Keychain keychain, required ApiService apiService, required String discussionSCAddress, required String messageContent, required String senderAddress, required String senderServiceName, required KeyPair senderKeyPair}) → Future< ({KeyPair previousKeyPair, Address transactionAddress})> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited