toJson method
Implementation
Map<String, Object?> toJson() {
return {
'params': params,
'logoPosition': logoPosition,
'zOrderOnTop': zOrderOnTop,
'mapType': mapType,
'camera': camera?.toJson(),
'scaleControlsEnabled': scaleControlsEnabled,
'zoomControlsEnabled': zoomControlsEnabled,
'compassEnabled': compassEnabled,
'scrollGesturesEnabled': scrollGesturesEnabled,
'zoomGesturesEnabled': zoomGesturesEnabled,
'tiltGesturesEnabled': tiltGesturesEnabled,
'rotateGesturesEnabled': rotateGesturesEnabled,
};
}