PackageSchema top-level constant
CollectionSchema<Package>
const PackageSchema
Implementation
const PackageSchema = CollectionSchema(
name: r'Package',
id: 6192244575192772594,
properties: {
r'arch': PropertySchema(id: 0, name: r'arch', type: IsarType.stringList),
r'channel': PropertySchema(id: 1, name: r'channel', type: IsarType.string),
r'defaults': PropertySchema(id: 2, name: r'defaults', type: IsarType.stringList),
r'desc': PropertySchema(id: 3, name: r'desc', type: IsarType.string),
r'installed': PropertySchema(id: 4, name: r'installed', type: IsarType.string),
r'isNative': PropertySchema(id: 5, name: r'isNative', type: IsarType.bool),
r'method': PropertySchema(id: 6, name: r'method', type: IsarType.string),
r'methods': PropertySchema(id: 7, name: r'methods', type: IsarType.stringList),
r'name': PropertySchema(id: 8, name: r'name', type: IsarType.string),
r'script': PropertySchema(id: 9, name: r'script', type: IsarType.string),
r'title': PropertySchema(id: 10, name: r'title', type: IsarType.string),
r'url': PropertySchema(id: 11, name: r'url', type: IsarType.string),
r'version': PropertySchema(id: 12, name: r'version', type: IsarType.string),
},
estimateSize: _packageEstimateSize,
serialize: _packageSerialize,
deserialize: _packageDeserialize,
deserializeProp: _packageDeserializeProp,
idName: r'id',
indexes: {
r'name': IndexSchema(
id: 879695947855722453,
name: r'name',
unique: false,
replace: false,
properties: [IndexPropertySchema(name: r'name', type: IndexType.hash, caseSensitive: false)],
),
r'desc': IndexSchema(
id: 2795170529049215929,
name: r'desc',
unique: false,
replace: false,
properties: [IndexPropertySchema(name: r'desc', type: IndexType.hash, caseSensitive: false)],
),
r'title': IndexSchema(
id: -7636685945352118059,
name: r'title',
unique: false,
replace: false,
properties: [IndexPropertySchema(name: r'title', type: IndexType.hash, caseSensitive: false)],
),
r'arch': IndexSchema(
id: -7338939058228875704,
name: r'arch',
unique: false,
replace: false,
properties: [IndexPropertySchema(name: r'arch', type: IndexType.hash, caseSensitive: false)],
),
r'methods': IndexSchema(
id: -8295275548635774836,
name: r'methods',
unique: false,
replace: false,
properties: [IndexPropertySchema(name: r'methods', type: IndexType.hash, caseSensitive: false)],
),
r'defaults': IndexSchema(
id: -2394386331792021166,
name: r'defaults',
unique: false,
replace: false,
properties: [IndexPropertySchema(name: r'defaults', type: IndexType.hash, caseSensitive: false)],
),
r'installed': IndexSchema(
id: -2396502518995561215,
name: r'installed',
unique: false,
replace: false,
properties: [IndexPropertySchema(name: r'installed', type: IndexType.hash, caseSensitive: false)],
),
r'isNative': IndexSchema(
id: -8873014192892976863,
name: r'isNative',
unique: false,
replace: false,
properties: [IndexPropertySchema(name: r'isNative', type: IndexType.value, caseSensitive: false)],
),
},
links: {r'repo': LinkSchema(id: 1196525232780566038, name: r'repo', target: r'Repo', single: true)},
embeddedSchemas: {},
getId: _packageGetId,
getLinks: _packageGetLinks,
attach: _packageAttach,
version: '3.1.0+1',
);