DbNip05Schema top-level constant
IsarGeneratedSchema
const DbNip05Schema
Implementation
const DbNip05Schema = IsarGeneratedSchema(
schema: IsarSchema(
name: 'DbNip05',
idName: 'id',
embedded: false,
properties: [
IsarPropertySchema(
name: 'id',
type: IsarType.string,
),
IsarPropertySchema(
name: 'pubKey',
type: IsarType.string,
),
IsarPropertySchema(
name: 'nip05',
type: IsarType.string,
),
IsarPropertySchema(
name: 'valid',
type: IsarType.bool,
),
IsarPropertySchema(
name: 'networkFetchTime',
type: IsarType.long,
),
IsarPropertySchema(
name: 'relays',
type: IsarType.stringList,
),
],
indexes: [],
),
converter: IsarObjectConverter<String, DbNip05>(
serialize: serializeDbNip05,
deserialize: deserializeDbNip05,
deserializeProperty: deserializeDbNip05Prop,
),
embeddedSchemas: [],
);