BatchWriteRequest constructor

BatchWriteRequest({
  1. String? database,
  2. Iterable<Write>? writes,
  3. Map<String, String>? labels,
})

Implementation

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