FeatureDescription.fromJson constructor

FeatureDescription.fromJson(
  1. Map _json
)

Implementation

FeatureDescription.fromJson(core.Map _json) {
  if (_json.containsKey("headline")) {
    headline = _json["headline"];
  }
  if (_json.containsKey("image")) {
    image = new Image.fromJson(_json["image"]);
  }
  if (_json.containsKey("text")) {
    text = _json["text"];
  }
}