SqfEntitySequence constructor
const
SqfEntitySequence({})
This class is required for SEQUENCE definitions using in /lib/model/model.dart file Simple sequence definition must be below:
const mySequence = SqfEntitySequence(
sequenceName: 'identity',
//maxValue: 10000, /* optional. default is max int (9.223.372.036.854.775.807) */
//modelName: 'SQEidentity',
/* optional. SqfEntity will set it to sequenceName automatically when the modelName is null*/
//cycle : false, /* optional. default is false; */
//minValue = 0; /* optional. default is 0 */
//incrementBy = 1; /* optional. default is 1 */
// startWith = 0; /* optional. default is 0 */
);
Implementation
const SqfEntitySequence({this.sequenceName, this.startWith, this.incrementBy, this.minValue, this.maxValue, this.cycle, this.modelName});