Path constructor

Path({
  1. required List<SolAddress> proof,
  2. required int index,
  3. required SolAddress leaf,
  4. required int padding,
})

Implementation

Path(
    {required List<SolAddress> proof,
    required this.index,
    required this.leaf,
    required this.padding})
    : proof = List<SolAddress>.unmodifiable(proof);