DynamicLinkInfo.fromJson constructor

DynamicLinkInfo.fromJson(
  1. Map _json
)

Implementation

DynamicLinkInfo.fromJson(core.Map _json)
    : this(
        analyticsInfo: _json.containsKey('analyticsInfo')
            ? AnalyticsInfo.fromJson(
                _json['analyticsInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        androidInfo: _json.containsKey('androidInfo')
            ? AndroidInfo.fromJson(
                _json['androidInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        desktopInfo: _json.containsKey('desktopInfo')
            ? DesktopInfo.fromJson(
                _json['desktopInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        domainUriPrefix: _json.containsKey('domainUriPrefix')
            ? _json['domainUriPrefix'] as core.String
            : null,
        dynamicLinkDomain: _json.containsKey('dynamicLinkDomain')
            ? _json['dynamicLinkDomain'] as core.String
            : null,
        iosInfo: _json.containsKey('iosInfo')
            ? IosInfo.fromJson(
                _json['iosInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        link: _json.containsKey('link') ? _json['link'] as core.String : null,
        navigationInfo: _json.containsKey('navigationInfo')
            ? NavigationInfo.fromJson(_json['navigationInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
        socialMetaTagInfo: _json.containsKey('socialMetaTagInfo')
            ? SocialMetaTagInfo.fromJson(_json['socialMetaTagInfo']
                as core.Map<core.String, core.dynamic>)
            : null,
      );