importIdentityAsync method

Future<void> importIdentityAsync(
  1. Uint8List identity
)

Loads an identity export into the current SDK instance. This function can only be called if the current SDK instance does not have an account yet.

identity - The identity export that this SDK instance should import.

Implementation

Future<void> importIdentityAsync(Uint8List identity) {
  return compute(importIdentity, identity);
}