Partner.fromJson constructor

Partner.fromJson(
  1. Map json_
)

Implementation

Partner.fromJson(core.Map json_)
    : this(
        adServerConfig: json_.containsKey('adServerConfig')
            ? PartnerAdServerConfig.fromJson(json_['adServerConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        billingConfig: json_.containsKey('billingConfig')
            ? PartnerBillingConfig.fromJson(
                json_['billingConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        dataAccessConfig: json_.containsKey('dataAccessConfig')
            ? PartnerDataAccessConfig.fromJson(json_['dataAccessConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        displayName: json_['displayName'] as core.String?,
        entityStatus: json_['entityStatus'] as core.String?,
        exchangeConfig: json_.containsKey('exchangeConfig')
            ? ExchangeConfig.fromJson(json_['exchangeConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        generalConfig: json_.containsKey('generalConfig')
            ? PartnerGeneralConfig.fromJson(
                json_['generalConfig'] as core.Map<core.String, core.dynamic>)
            : null,
        name: json_['name'] as core.String?,
        partnerId: json_['partnerId'] as core.String?,
        updateTime: json_['updateTime'] as core.String?,
      );