FillLayerProperties.fromJson constructor

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

Implementation

factory FillLayerProperties.fromJson(Map<String, dynamic> json) {
  return FillLayerProperties(
    fillAntialias: json['fill-antialias'],
    fillOpacity: json['fill-opacity'],
    fillColor: json['fill-color'],
    fillOutlineColor: json['fill-outline-color'],
    fillTranslate: json['fill-translate'],
    fillTranslateAnchor: json['fill-translate-anchor'],
    fillPattern: json['fill-pattern'],
    fillSortKey: json['fill-sort-key'],
    visibility: json['visibility'],
  );
}