Wallet constructor

Wallet({
  1. SigningKey? signingKey,
  2. Mnemonic? mnemonic,
  3. Provider? walletProvider,
  4. String? address,
  5. String? privateKey,
  6. String? publicKey,
})

Implementation

Wallet({
  this.signingKey,
  this.mnemonic,
  this.walletProvider,
  this.address,
  this.privateKey,
  this.publicKey,
})  : assert(privateKey != null),
      walletPrivateKey = privateKey!;