AppLinkDataAppLinkInfo.fromJson constructor

AppLinkDataAppLinkInfo.fromJson(
  1. Map json_
)

Implementation

AppLinkDataAppLinkInfo.fromJson(core.Map json_)
    : this(
        appLogoImage: json_.containsKey('appLogoImage')
            ? Image.fromJson(
                json_['appLogoImage'] as core.Map<core.String, core.dynamic>)
            : null,
        appTarget: json_.containsKey('appTarget')
            ? AppLinkDataAppLinkInfoAppTarget.fromJson(
                json_['appTarget'] as core.Map<core.String, core.dynamic>)
            : null,
        description: json_.containsKey('description')
            ? LocalizedString.fromJson(
                json_['description'] as core.Map<core.String, core.dynamic>)
            : null,
        title: json_.containsKey('title')
            ? LocalizedString.fromJson(
                json_['title'] as core.Map<core.String, core.dynamic>)
            : null,
      );