RevisionPath constructor

RevisionPath({
  1. Iterable<PathStep>? steps,
  2. int? totalDepth,
})

Implementation

factory RevisionPath({
  $core.Iterable<PathStep>? steps,
  $core.int? totalDepth,
}) {
  final result = create();
  if (steps != null) result.steps.addAll(steps);
  if (totalDepth != null) result.totalDepth = totalDepth;
  return result;
}