Bip32KeyNetVersions constructor
constractur for Bip32KeyNetVersions
Implementation
factory Bip32KeyNetVersions(List<int> pubNetVer, List<int> privNetVer) {
if (pubNetVer.length != length || privNetVer.length != length) {
throw const ArgumentException("Invalid key net version length");
}
return Bip32KeyNetVersions._(
pubNetVer.asImmutableBytes, privNetVer.asImmutableBytes);
}