Bip32Depth constructor

Bip32Depth(
  1. int depth
)

Implementation

Bip32Depth(int depth) {
  /// Construct class.

  if (depth < 0) {
    throw ArgumentException("Invalid depth ($depth)");
  }
  _depth = depth;
}