OrderCustomerMarketingRightsInfo.fromJson constructor

OrderCustomerMarketingRightsInfo.fromJson(
  1. Map json_
)

Implementation

OrderCustomerMarketingRightsInfo.fromJson(core.Map json_)
    : this(
        explicitMarketingPreference:
            json_.containsKey('explicitMarketingPreference')
                ? json_['explicitMarketingPreference'] as core.String
                : null,
        lastUpdatedTimestamp: json_.containsKey('lastUpdatedTimestamp')
            ? json_['lastUpdatedTimestamp'] as core.String
            : null,
        marketingEmailAddress: json_.containsKey('marketingEmailAddress')
            ? json_['marketingEmailAddress'] as core.String
            : null,
      );