toJson method
Converts the MPQuery to a JSON representation that can be parsed by the MapsIndoors Platform SDK
Implementation
@override
Map<String, dynamic> toJson() {
return {
"query": query,
"near": near?.toJson(),
"queryProperties": queryProperties,
};
}