Address.fromAlgorandAddress constructor

Address.fromAlgorandAddress({
  1. required String address,
})

Create a new Address from a given Algorand address. This decodes the uppercased Algorand address to its raw bytes and validating the address.

Throws AlgorandException if unable to decode the address.

Implementation

Address.fromAlgorandAddress({required String address})
    : this(publicKey: decodeAddress(address));