AdvertiserAndBrand.fromJson constructor

AdvertiserAndBrand.fromJson(
  1. Map json_
)

Implementation

AdvertiserAndBrand.fromJson(core.Map json_)
    : this(
        advertiserId: json_.containsKey('advertiserId')
            ? json_['advertiserId'] as core.String
            : null,
        advertiserName: json_.containsKey('advertiserName')
            ? json_['advertiserName'] as core.String
            : null,
        brandId: json_.containsKey('brandId')
            ? json_['brandId'] as core.String
            : null,
        brandName: json_.containsKey('brandName')
            ? json_['brandName'] as core.String
            : null,
      );