OperationList constructor

OperationList({
  1. String? branch,
  2. Iterable<Operation>? operations,
})

Implementation

factory OperationList({
  $core.String? branch,
  $core.Iterable<Operation>? operations,
}) {
  final _result = create();
  if (branch != null) {
    _result.branch = branch;
  }
  if (operations != null) {
    _result.operations.addAll(operations);
  }
  return _result;
}