AptosAccount<PUBLICKEY extends AptosAccountPublicKey, AUTHENTICATOR extends AptosAccountAuthenticator, SIGNATURE extends AptosSignature> constructor

const AptosAccount<PUBLICKEY extends AptosAccountPublicKey, AUTHENTICATOR extends AptosAccountAuthenticator, SIGNATURE extends AptosSignature>({
  1. required AptosSigningScheme scheme,
  2. required PUBLICKEY publicKey,
})

Constructor to initialize the Aptos account with a scheme and public key.

Implementation

const AptosAccount({required this.scheme, required this.publicKey});