toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'myLocationIcon': myLocationIcon,
    'anchorU': anchorU,
    'anchorV': anchorV,
    'radiusFillColor': radiusFillColor?.value.toRadixString(16),
    'strokeColor': strokeColor?.value.toRadixString(16),
    'strokeWidth': strokeWidth,
    'myLocationType': myLocationType,
    'interval': interval,
    'showMyLocation': showMyLocation,
    'showsAccuracyRing': showsAccuracyRing,
    'showsHeadingIndicator': showsHeadingIndicator,
    'locationDotBgColor': locationDotBgColor?.value.toRadixString(16),
    'locationDotFillColor': locationDotFillColor?.value.toRadixString(16),
    'enablePulseAnnimation': enablePulseAnnimation,
    'image': image,
  };
}