FeatureDescription.fromJson constructor

FeatureDescription.fromJson(
  1. Map json_
)

Implementation

FeatureDescription.fromJson(core.Map json_)
    : this(
        headline: json_.containsKey('headline')
            ? json_['headline'] as core.String
            : null,
        image: json_.containsKey('image')
            ? Image.fromJson(
                json_['image'] as core.Map<core.String, core.dynamic>)
            : null,
        text: json_.containsKey('text') ? json_['text'] as core.String : null,
      );