DeepLink.fromJson constructor

DeepLink.fromJson(
  1. Map json_
)

Implementation

DeepLink.fromJson(core.Map json_)
    : this(
        appUrl: json_.containsKey('appUrl')
            ? json_['appUrl'] as core.String
            : null,
        fallbackUrl: json_.containsKey('fallbackUrl')
            ? json_['fallbackUrl'] as core.String
            : null,
        kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
        mobileApp: json_.containsKey('mobileApp')
            ? MobileApp.fromJson(
                json_['mobileApp'] as core.Map<core.String, core.dynamic>)
            : null,
        remarketingListIds: json_.containsKey('remarketingListIds')
            ? (json_['remarketingListIds'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );