GeolayerdataCommon.fromJson constructor

GeolayerdataCommon.fromJson(
  1. Map json_
)

Implementation

GeolayerdataCommon.fromJson(core.Map json_)
    : this(
        lang: json_.containsKey('lang') ? json_['lang'] as core.String : null,
        previewImageUrl: json_.containsKey('previewImageUrl')
            ? json_['previewImageUrl'] as core.String
            : null,
        snippet: json_.containsKey('snippet')
            ? json_['snippet'] as core.String
            : null,
        snippetUrl: json_.containsKey('snippetUrl')
            ? json_['snippetUrl'] as core.String
            : null,
        title:
            json_.containsKey('title') ? json_['title'] as core.String : null,
      );