ConversionSource.fromJson constructor

ConversionSource.fromJson(
  1. Map json_
)

Implementation

ConversionSource.fromJson(core.Map json_)
    : this(
        conversionSourceId: json_.containsKey('conversionSourceId')
            ? json_['conversionSourceId'] as core.String
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        googleAnalyticsLink: json_.containsKey('googleAnalyticsLink')
            ? GoogleAnalyticsLink.fromJson(json_['googleAnalyticsLink']
                as core.Map<core.String, core.dynamic>)
            : null,
        merchantCenterDestination:
            json_.containsKey('merchantCenterDestination')
                ? MerchantCenterDestination.fromJson(
                    json_['merchantCenterDestination']
                        as core.Map<core.String, core.dynamic>)
                : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
      );