toSequence function
convert dartObject to SqfEntitySequenceBase
Implementation
SqfEntitySequenceBase toSequence(DartObject obj) {
return SqfEntitySequenceBase()
..sequenceName = getStringValue(obj, 'sequenceName')
..modelName = getStringValue(obj, 'modelName')
..minValue = getIntValue(obj, 'minValue') ?? 0
..maxValue = getIntValue(obj, 'maxValue') ?? 9007199254740991
..incrementBy = getIntValue(obj, 'incrementBy') ?? 1
..cycle = getBoolValue(obj, 'cycle')
..startWith = getIntValue(obj, 'startWith') ?? 0
..init();
}