CommitID constructor

CommitID({
  1. Int64? version,
  2. List<int>? hash,
})

Implementation

factory CommitID({
  $fixnum.Int64? version,
  $core.List<$core.int>? hash,
}) {
  final _result = create();
  if (version != null) {
    _result.version = version;
  }
  if (hash != null) {
    _result.hash = hash;
  }
  return _result;
}