DbRelayListItemSchema top-level constant

IsarGeneratedSchema const DbRelayListItemSchema

Implementation

const DbRelayListItemSchema = IsarGeneratedSchema(
  schema: IsarSchema(
    name: 'DbRelayListItem',
    embedded: true,
    properties: [
      IsarPropertySchema(
        name: 'url',
        type: IsarType.string,
      ),
      IsarPropertySchema(
        name: 'marker',
        type: IsarType.byte,
        enumMap: {"readOnly": 0, "writeOnly": 1, "readWrite": 2},
      ),
    ],
    indexes: [],
  ),
  converter: IsarObjectConverter<void, DbRelayListItem>(
    serialize: serializeDbRelayListItem,
    deserialize: deserializeDbRelayListItem,
  ),
);