MsgModelSchema top-level constant
CollectionSchema<MsgModel>
const MsgModelSchema
Implementation
const MsgModelSchema = CollectionSchema(
name: 'MsgModel',
schema:
'{"name":"MsgModel","idName":"id","properties":[{"name":"clientMsgID","type":"String"},{"name":"clientTime","type":"Long"},{"name":"content","type":"String"},{"name":"contentType","type":"Long"},{"name":"convID","type":"String"},{"name":"msgOptions","type":"String"},{"name":"offlinePush","type":"String"},{"name":"sendStatus","type":"Long"},{"name":"senderID","type":"String"},{"name":"seq","type":"Long"},{"name":"serverMsgID","type":"String"},{"name":"serverTime","type":"Long"}],"indexes":[{"name":"clientMsgID","unique":false,"properties":[{"name":"clientMsgID","type":"Hash","caseSensitive":true}]},{"name":"content","unique":false,"properties":[{"name":"content","type":"Hash","caseSensitive":true}]},{"name":"contentType","unique":false,"properties":[{"name":"contentType","type":"Value","caseSensitive":false}]},{"name":"convID","unique":false,"properties":[{"name":"convID","type":"Hash","caseSensitive":true}]},{"name":"senderID","unique":false,"properties":[{"name":"senderID","type":"Hash","caseSensitive":true}]}],"links":[]}',
idName: 'id',
propertyIds: {
'clientMsgID': 0,
'clientTime': 1,
'content': 2,
'contentType': 3,
'convID': 4,
'msgOptions': 5,
'offlinePush': 6,
'sendStatus': 7,
'senderID': 8,
'seq': 9,
'serverMsgID': 10,
'serverTime': 11
},
listProperties: {},
indexIds: {
'clientMsgID': 0,
'content': 1,
'contentType': 2,
'convID': 3,
'senderID': 4
},
indexValueTypes: {
'clientMsgID': [
IndexValueType.stringHash,
],
'content': [
IndexValueType.stringHash,
],
'contentType': [
IndexValueType.long,
],
'convID': [
IndexValueType.stringHash,
],
'senderID': [
IndexValueType.stringHash,
]
},
linkIds: {},
backlinkLinkNames: {},
getId: _msgModelGetId,
setId: _msgModelSetId,
getLinks: _msgModelGetLinks,
attachLinks: _msgModelAttachLinks,
serializeNative: _msgModelSerializeNative,
deserializeNative: _msgModelDeserializeNative,
deserializePropNative: _msgModelDeserializePropNative,
serializeWeb: _msgModelSerializeWeb,
deserializeWeb: _msgModelDeserializeWeb,
deserializePropWeb: _msgModelDeserializePropWeb,
version: 3,
);