toSequence method
Convert sent constant sequences into SqfEntitySequenceBase
Implementation
SqfEntitySequenceBase? toSequence(SqfEntitySequence? seq) {
if (seq == null) {
return null;
} else {
final retVal = SqfEntitySequenceBase()
..sequenceName = seq.sequenceName
..modelName = seq.modelName
..minValue = seq.minValue == null ? 0 : seq.minValue!
..maxValue = seq.maxValue == null ? 999999999999999 : seq.maxValue!
..startWith = seq.startWith == null ? 1 : seq.startWith!
..incrementBy = seq.incrementBy == null ? 1 : seq.incrementBy!
..cycle = seq.cycle
..init();
print('toSequence:$retVal');
return retVal;
}
}