extract method

Reads the private key into memory.

Throws UnsupportedError if extraction is not possible.

Implementation

@override
// ignore: use_to_and_as_if_applicable, overridden method
Future<Ed25519HDKeyPairData> extract() async {
  if (hasBeenDestroyed) throw _destroyedError();

  return this;
}