MerchantCenterDestination.fromJson constructor

MerchantCenterDestination.fromJson(
  1. Map json_
)

Implementation

MerchantCenterDestination.fromJson(core.Map json_)
    : this(
        attributionSettings: json_.containsKey('attributionSettings')
            ? AttributionSettings.fromJson(json_['attributionSettings']
                as core.Map<core.String, core.dynamic>)
            : null,
        currencyCode: json_.containsKey('currencyCode')
            ? json_['currencyCode'] as core.String
            : null,
        destinationId: json_.containsKey('destinationId')
            ? json_['destinationId'] as core.String
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
      );