toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {'latLngList': latLngList.map((it) => it.toJson()).toList(), 'width': width, 'color': color.value.toRadixString(16), 'zIndex': zIndex, 'isVisible': isVisible, 'isDottedLine': isDottedLine, 'isGeodesic': isGeodesic, 'dottedLineType': dottedLineType, 'lineCapType': lineCapType, 'lineJoinType': lineJoinType, 'isUseGradient': isUseGradient, 'isUseTexture': isUseTexture, 'customTexture': customTexture};
}