DictionarySearchResultSchema top-level constant

CollectionSchema<DictionarySearchResult> const DictionarySearchResultSchema

Implementation

const DictionarySearchResultSchema = CollectionSchema(
  name: r'DictionarySearchResult',
  id: -3666556092569216780,
  properties: {
    r'bestLength': PropertySchema(
      id: 0,
      name: r'bestLength',
      type: IsarType.long,
    ),
    r'headingIds': PropertySchema(
      id: 1,
      name: r'headingIds',
      type: IsarType.longList,
    ),
    r'scrollPosition': PropertySchema(
      id: 2,
      name: r'scrollPosition',
      type: IsarType.long,
    ),
    r'searchTerm': PropertySchema(
      id: 3,
      name: r'searchTerm',
      type: IsarType.string,
    )
  },
  estimateSize: _dictionarySearchResultEstimateSize,
  serialize: _dictionarySearchResultSerialize,
  deserialize: _dictionarySearchResultDeserialize,
  deserializeProp: _dictionarySearchResultDeserializeProp,
  idName: r'id',
  indexes: {
    r'searchTerm': IndexSchema(
      id: 6747083501682260651,
      name: r'searchTerm',
      unique: true,
      replace: true,
      properties: [
        IndexPropertySchema(
          name: r'searchTerm',
          type: IndexType.hash,
          caseSensitive: true,
        )
      ],
    )
  },
  links: {
    r'headings': LinkSchema(
      id: -7187889133092877001,
      name: r'headings',
      target: r'DictionaryHeading',
      single: false,
    )
  },
  embeddedSchemas: {},
  getId: _dictionarySearchResultGetId,
  getLinks: _dictionarySearchResultGetLinks,
  attach: _dictionarySearchResultAttach,
  version: '3.1.0+1',
);