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 (customBiddingScriptId != null)
        'customBiddingScriptId': customBiddingScriptId!,
      if (errors != null) 'errors': errors!,
      if (name != null) 'name': name!,
      if (script != null) 'script': script!,
      if (state != null) 'state': state!,
    };