DeleteFieldIndexCollection constructor

DeleteFieldIndexCollection({
  1. String? collectionName,
  2. bool? wait,
  3. String? fieldName,
  4. WriteOrdering? ordering,
})

Implementation

factory DeleteFieldIndexCollection({
  $core.String? collectionName,
  $core.bool? wait,
  $core.String? fieldName,
  WriteOrdering? ordering,
}) {
  final $result = create();
  if (collectionName != null) {
    $result.collectionName = collectionName;
  }
  if (wait != null) {
    $result.wait = wait;
  }
  if (fieldName != null) {
    $result.fieldName = fieldName;
  }
  if (ordering != null) {
    $result.ordering = ordering;
  }
  return $result;
}