toJson method
Converts the MPHighlightBehavior to a JSON representation that can be parsed by the MapsIndoors Platform SDK
Implementation
@override
Map<String, dynamic> toJson() {
return {
"allowFloorChange": allowFloorChange,
"moveCamera": moveCamera,
"animationDuration": animationDuration,
"zoomToFit": zoomToFit,
"showInfoWindow": showInfoWindow
};
}