MapSettings.fromJson constructor

MapSettings.fromJson(
  1. Map<String, dynamic> json
)

Implementation

MapSettings.fromJson(Map<String, dynamic> json)
    : this.markerIcon = ifNullReturnEmpty(json['marker_icon']),
      this.feedbackIcon = ifNullReturnEmpty(json['feedback_icon']),
      this.showFeedback = json['show_feedback'] == true,
      this.locationSource = ifNullReturnEmpty(json['location_source']);