CommitInfo constructor

CommitInfo({
  1. Int64? version,
  2. Iterable<StoreInfo>? storeInfos,
})

Implementation

factory CommitInfo({
  $fixnum.Int64? version,
  $core.Iterable<StoreInfo>? storeInfos,
}) {
  final _result = create();
  if (version != null) {
    _result.version = version;
  }
  if (storeInfos != null) {
    _result.storeInfos.addAll(storeInfos);
  }
  return _result;
}