Lock_Commitment constructor

Lock_Commitment({
  1. AccumulatorRootId? root,
  2. int? threshold,
})

Implementation

factory Lock_Commitment({
  $2.AccumulatorRootId? root,
  $core.int? threshold,
}) {
  final _result = create();
  if (root != null) {
    _result.root = root;
  }
  if (threshold != null) {
    _result.threshold = threshold;
  }
  return _result;
}