Index_IndexField constructor

Index_IndexField({
  1. String? fieldPath,
  2. Index_IndexField_Order? order,
  3. Index_IndexField_ArrayConfig? arrayConfig,
})

Implementation

factory Index_IndexField({
  $core.String? fieldPath,
  Index_IndexField_Order? order,
  Index_IndexField_ArrayConfig? arrayConfig,
}) {
  final _result = create();
  if (fieldPath != null) {
    _result.fieldPath = fieldPath;
  }
  if (order != null) {
    _result.order = order;
  }
  if (arrayConfig != null) {
    _result.arrayConfig = arrayConfig;
  }
  return _result;
}