toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final adDecisionServerUrl = this.adDecisionServerUrl;
  final maxDurationSeconds = this.maxDurationSeconds;
  return {
    if (adDecisionServerUrl != null)
      'AdDecisionServerUrl': adDecisionServerUrl,
    if (maxDurationSeconds != null) 'MaxDurationSeconds': maxDurationSeconds,
  };
}