toMap method
- @override
model -> map
Implementation
@override
Map<String, Object?> toMap() {
return {
'locationViewOffsetX': this.locationViewOffsetX,
'locationViewOffsetY': this.locationViewOffsetY,
'userTrackingMode': this.userTrackingMode!.index,
'enableDirection': this.enableDirection,
'isAccuracyCircleShow': this.isAccuracyCircleShow,
'accuracyCircleFillColor':
this.accuracyCircleFillColor?.value.toRadixString(16),
'accuracyCircleStrokeColor':
this.accuracyCircleStrokeColor?.value.toRadixString(16),
'accuracyCircleBorderWidth': this.accuracyCircleBorderWidth,
'isRotateAngleValid': this.isRotateAngleValid,
'locationViewImage': this.locationViewImage,
'canShowCallOut': this.canShowCallOut,
'locationViewHierarchy': this.locationViewHierarchy!.index,
'locationViewImageNew': this.locationViewImageNew,
'locationViewGifImageFilePath': this.locationViewGifImageFilePath,
'locationViewImageSizeScale': this.locationViewImageSizeScale,
'breatheEffectOpenForWholeStyle': this.breatheEffectOpenForWholeStyle,
'locationViewCenterImage': this.locationViewCenterImage,
'locationViewCenterGifImageFilePath':
this.locationViewCenterGifImageFilePath,
'locationViewCenterImageSizeScale': this.locationViewCenterImageSizeScale,
'locationViewAroundArrowsImage': this.locationViewAroundArrowsImage,
'locationViewAroundArrowsImageSizeScale':
this.locationViewAroundArrowsImageSizeScale,
'breatheEffectOpenForArrowsStyle': this.breatheEffectOpenForArrowsStyle,
'isLocationArrowStyleCustom': this.isLocationArrowStyleCustom,
};
}