PathStep constructor

PathStep({
  1. Kref? revisionKref,
  2. String? edgeType,
  3. int? depth,
})

Implementation

factory PathStep({
  Kref? revisionKref,
  $core.String? edgeType,
  $core.int? depth,
}) {
  final result = create();
  if (revisionKref != null) result.revisionKref = revisionKref;
  if (edgeType != null) result.edgeType = edgeType;
  if (depth != null) result.depth = depth;
  return result;
}