DocumentTransform constructor

DocumentTransform({
  1. String? document,
  2. Iterable<DocumentTransform_FieldTransform>? fieldTransforms,
})

Implementation

factory DocumentTransform({
  $core.String? document,
  $core.Iterable<DocumentTransform_FieldTransform>? fieldTransforms,
}) {
  final _result = create();
  if (document != null) {
    _result.document = document;
  }
  if (fieldTransforms != null) {
    _result.fieldTransforms.addAll(fieldTransforms);
  }
  return _result;
}