toMap method
Return Map
representation of SQLQuery
for communication to native platform.
Implementation
Map<String, dynamic> toMap() {
Map<String, dynamic> query = {};
if (this.start != null) query["start"] = this.start!.millisecondsSinceEpoch;
if (this.end != null) query["end"] = this.end!.millisecondsSinceEpoch;
if (this.limit != null) query["limit"] = this.limit;
if (this.order != null) query["order"] = this.order;
return query;
}