toJson method
Implementation
@override
Object toJson() => {
'select': ?select?.toJson(),
if (from.isNotDefault) 'from': [for (final i in from) i.toJson()],
'where': ?where?.toJson(),
if (orderBy.isNotDefault) 'orderBy': [for (final i in orderBy) i.toJson()],
'startAt': ?startAt?.toJson(),
'endAt': ?endAt?.toJson(),
if (offset.isNotDefault) 'offset': offset,
'limit': ?limit?.toJson(),
'findNearest': ?findNearest?.toJson(),
};