SqfEntitySequence constructor

const SqfEntitySequence({
  1. String? sequenceName,
  2. int? startWith,
  3. int? incrementBy,
  4. int? minValue,
  5. int? maxValue,
  6. bool? cycle,
  7. String? modelName,
})

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});