addProvidedAddress method

Future<Address> addProvidedAddress (
  1. Address x,
  2. int index
)

Calls addAddress with settings for a user-provided address.

Implementation

Future<Address> addProvidedAddress(Address x, int index) => addAddress(
    x
      ..accountId = 0
      ..chainIndex = index
      ..state = AddressState.used,
    load: false);