toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (advertiserId != null) 'advertiserId': advertiserId!,
      if (customBiddingAlgorithmId != null)
        'customBiddingAlgorithmId': customBiddingAlgorithmId!,
      if (customBiddingAlgorithmType != null)
        'customBiddingAlgorithmType': customBiddingAlgorithmType!,
      if (displayName != null) 'displayName': displayName!,
      if (entityStatus != null) 'entityStatus': entityStatus!,
      if (modelDetails != null) 'modelDetails': modelDetails!,
      if (name != null) 'name': name!,
      if (partnerId != null) 'partnerId': partnerId!,
      if (sharedAdvertiserIds != null)
        'sharedAdvertiserIds': sharedAdvertiserIds!,
    };