Backfill constructor

Backfill({
  1. String? id,
  2. SearchFields? searchFields,
  3. Map<String, Any>? extensions,
  4. Map<String, Any>? persistentField,
  5. Timestamp? createTime,
  6. Int64? generation,
})

Implementation

factory Backfill({
  $core.String? id,
  SearchFields? searchFields,
  $core.Map<$core.String, $8.Any>? extensions,
  $core.Map<$core.String, $8.Any>? persistentField,
  $7.Timestamp? createTime,
  $fixnum.Int64? generation,
}) {
  final _result = create();
  if (id != null) {
    _result.id = id;
  }
  if (searchFields != null) {
    _result.searchFields = searchFields;
  }
  if (extensions != null) {
    _result.extensions.addAll(extensions);
  }
  if (persistentField != null) {
    _result.persistentField.addAll(persistentField);
  }
  if (createTime != null) {
    _result.createTime = createTime;
  }
  if (generation != null) {
    _result.generation = generation;
  }
  return _result;
}