doImport method

  1. @override
Bip32Key doImport(
  1. String key
)
override

Implementation

@override
Bip32Key doImport(String key) {
  try {
    return Bip32VerifyKey.decode(key);
  } catch (e) {
    return Bip32SigningKey.decode(key);
  }
}