toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (active != null) 'active': active!,
      if (createTime != null) 'createTime': createTime!,
      if (customBiddingAlgorithmId != null)
        'customBiddingAlgorithmId': customBiddingAlgorithmId!,
      if (customBiddingAlgorithmRulesId != null)
        'customBiddingAlgorithmRulesId': customBiddingAlgorithmRulesId!,
      if (error != null) 'error': error!,
      if (name != null) 'name': name!,
      if (rules != null) 'rules': rules!,
      if (state != null) 'state': state!,
    };