MapPolygonModel.fromJson constructor
Implementation
MapPolygonModel.fromJson(Map<String, dynamic> json) {
if (json['source'] != null) {
source = <Source>[];
json['source'].forEach((v) {
source!.add(Source.fromJson(v));
});
}
strokeColor = json['strokeColor'];
fillColor = json['fillColor'];
strokeWidth = json['strokeWidth'];
}