Bip32KeyIndex constructor

Bip32KeyIndex(
  1. int index
)

Implementation

Bip32KeyIndex(int index) {
  if (index < 0 || index > Bip32KeyDataConst.keyIndexMaxVal) {
    throw ArgumentException("Invalid key index ($index)");
  }
  _index = index;
}