BMFArcline.withMap constructor
- Map map
Implementation
BMFArcline.withMap(Map map) {
if (null == map) {
return;
}
List list = map['coordinates'] as List;
super.fromMap(map);
this.coordinates = list
?.map((c) => BMFCoordinate.coordinate().fromMap(c) as BMFCoordinate)
?.toList();
this.width = map['width'];
this.strokeColor = ColorUtil.hexToColor(map['strokeColor']);
this.lineDashType = BMFLineDashType.values[map['lineDashType'] as int];
}