DATA_REF_FIELDS top-level constant

Set<FieldModel> const DATA_REF_FIELDS

Implementation

const DATA_REF_FIELDS = {
  Field(
    fieldPath: ['id'],
    fieldType: String,
    nullable: true,
    description:
        'The document ID within the database. If null, the reference points to a collection instead of a specific document.',
  ),
  Field(
    fieldPath: ['collection'],
    fieldType: List<String>,
    nullable: false,
    description:
        'A list representing the hierarchical path where the document or collection resides.',
  ),
};