DbRelaySetSchema top-level constant
IsarGeneratedSchema
const DbRelaySetSchema
Implementation
const DbRelaySetSchema = IsarGeneratedSchema(
schema: IsarSchema(
name: 'DbRelaySet',
idName: 'id',
embedded: false,
properties: [
IsarPropertySchema(
name: 'id',
type: IsarType.string,
),
IsarPropertySchema(
name: 'name',
type: IsarType.string,
),
IsarPropertySchema(
name: 'pubKey',
type: IsarType.string,
),
IsarPropertySchema(
name: 'direction',
type: IsarType.byte,
enumMap: {"inbox": 0, "outbox": 1},
),
IsarPropertySchema(
name: 'relayMinCountPerPubkey',
type: IsarType.long,
),
IsarPropertySchema(
name: 'items',
type: IsarType.objectList,
target: 'DbRelaySetItem',
),
],
indexes: [],
),
converter: IsarObjectConverter<String, DbRelaySet>(
serialize: serializeDbRelaySet,
deserialize: deserializeDbRelaySet,
deserializeProperty: deserializeDbRelaySetProp,
),
embeddedSchemas: [DbRelaySetItemSchema, DbPubkeyMappingSchema],
);