ThirdPartyLinkSnippet.fromJson constructor

ThirdPartyLinkSnippet.fromJson(
  1. Map json_
)

Implementation

ThirdPartyLinkSnippet.fromJson(core.Map json_)
    : this(
        channelToStoreLink: json_.containsKey('channelToStoreLink')
            ? ChannelToStoreLinkDetails.fromJson(json_['channelToStoreLink']
                as core.Map<core.String, core.dynamic>)
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );