DbContactListSchema top-level constant

IsarGeneratedSchema const DbContactListSchema

Implementation

const DbContactListSchema = IsarGeneratedSchema(
  schema: IsarSchema(
    name: 'DbContactList',
    idName: 'id',
    embedded: false,
    properties: [
      IsarPropertySchema(
        name: 'id',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'pubKey',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'contacts',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'contactRelays',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'petnames',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'followedTags',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'followedCommunities',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'followedEvents',
        type: IsarType.stringList,
      ),
      IsarPropertySchema(
        name: 'createdAt',
        type: IsarType.long,
      ),
      IsarPropertySchema(
        name: 'loadedTimestamp',
        type: IsarType.long,
      ),
      IsarPropertySchema(
        name: 'sources',
        type: IsarType.stringList,
      ),
    ],
    indexes: [],
  ),
  converter: IsarObjectConverter<String, DbContactList>(
    serialize: serializeDbContactList,
    deserialize: deserializeDbContactList,
    deserializeProperty: deserializeDbContactListProp,
  ),
  embeddedSchemas: [],
);