Field_IndexConfig constructor

Field_IndexConfig({
  1. Iterable<Index>? indexes,
  2. bool? usesAncestorConfig,
  3. String? ancestorField,
  4. bool? reverting,
})

Implementation

factory Field_IndexConfig({
  $core.Iterable<$28.Index>? indexes,
  $core.bool? usesAncestorConfig,
  $core.String? ancestorField,
  $core.bool? reverting,
}) {
  final _result = create();
  if (indexes != null) {
    _result.indexes.addAll(indexes);
  }
  if (usesAncestorConfig != null) {
    _result.usesAncestorConfig = usesAncestorConfig;
  }
  if (ancestorField != null) {
    _result.ancestorField = ancestorField;
  }
  if (reverting != null) {
    _result.reverting = reverting;
  }
  return _result;
}