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,
        dataAccessConfig: json_.containsKey('dataAccessConfig')
            ? PartnerDataAccessConfig.fromJson(json_['dataAccessConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        displayName: json_.containsKey('displayName')
            ? json_['displayName'] as core.String
            : null,
        entityStatus: json_.containsKey('entityStatus')
            ? json_['entityStatus'] as core.String
            : null,
        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_.containsKey('name') ? json_['name'] as core.String : null,
        partnerId: json_.containsKey('partnerId')
            ? json_['partnerId'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
      );