toJson method
Converts the MPFilter to a JSON representation that can be parsed by the MapsIndoors Platform SDK
Implementation
@override
Map<String, dynamic> toJson() {
return {
"take": take,
"skip": skip,
"depth": depth,
"floorIndex": floorIndex,
"categories": categories,
"locations": locations,
"types": types,
"parents": parents,
"mapExtend": mapExtend?.toJson(),
"geometry": geometry?.toJson(),
"ignoreLocationSearchableStatus": ignoreLocationSearchableStatus,
"ignoreLocationActiveStatus": ignoreLocationActiveStatus,
};
}