AptosAccount.fromAptosAccountObject constructor

AptosAccount.fromAptosAccountObject(
  1. AptosAccountObject obj
)

Implementation

factory AptosAccount.fromAptosAccountObject(AptosAccountObject obj) {
  return AptosAccount(HexString.ensure(obj.privateKeyHex!).toUint8Array(), obj.address);
}