toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'icon': toResolutionAware(icon!),
    'icons': icons?.map((it) => toResolutionAware(it)).toList(),
    'alpha': alpha,
    'anchorU': anchorU,
    'anchorV': anchorV,
    'draggable': draggable,
    'infoWindowEnable': infoWindowEnable,
    'period': period,
    'position': position,
    'rotateAngle': rotateAngle,
    'isFlat': isFlat,
    'isGps': isGps,
    'infoWindowOffsetX': infoWindowOffsetX,
    'infoWindowOffsetY': infoWindowOffsetY,
    'snippet': snippet,
    'title': title,
    'visible': visible,
    'autoOverturnInfoWindow': autoOverturnInfoWindow,
    'zIndex': zIndex,
    'displayLevel': displayLevel,
    'belowMaskLayer': belowMaskLayer,
    'lockedToScreen': lockedToScreen,
    'lockedScreenPoint': lockedScreenPoint,
    'customCalloutView': customCalloutView,
    'enabled': enabled,
    'highlighted': highlighted,
    'selected': selected,
    'leftCalloutAccessoryView': leftCalloutAccessoryView,
    'rightCalloutAccessoryView': rightCalloutAccessoryView,
    'haveBubble': haveBubble,
    'haveAddressLabel': haveAddressLabel,
    'bubbleContent': bubbleContent,
    'addressLabelContent': addressLabelContent,
  };
}