Identity class

Inheritance

Constructors

Identity(ApillonConfig? config)

Properties

apiPrefix String
Base API url for identity.
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

Methods

generateSigningMessage([String customText = 'Please sign this message']) Map<String, dynamic>
Generate a message presented to the user when requested to sign using their wallet @param {string} customText='Please sign this message' @returns Generated message and timestamp
getWalletIdentity(String walletAddress) Future<WalletIdentityData>
Get a wallet's on-chain identity data, including Subsocial and Polkadot Identity data @param {string} walletAddress - Wallet address to retreive data for @returns Identity data fetched from Polkadot Identity and Subsocial
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validateEvmWalletSignature(IValidateEvmWalletSignature data) VerifySignedMessageResult
Check if a signed message from an EVM wallet address is valid @param {IValidateWalletSignature} data - The data used to validate the EVM signature @returns {VerifySignedMessageResult}

Operators

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