factory Query.fromMap(Map<String, dynamic> map) { return Query( fields: map["fields"], sort: map["sort"], offset: map["offset"], limit: map["limit"], selector: map["selector"], ); }