CommitRequest constructor

CommitRequest({
  1. String? database,
  2. Iterable<Write>? writes,
  3. List<int>? transaction,
})

Implementation

factory CommitRequest({
  $core.String? database,
  $core.Iterable<$5.Write>? writes,
  $core.List<$core.int>? transaction,
}) {
  final $result = create();
  if (database != null) {
    $result.database = database;
  }
  if (writes != null) {
    $result.writes.addAll(writes);
  }
  if (transaction != null) {
    $result.transaction = transaction;
  }
  return $result;
}