toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final adSegmentUrlPrefix = this.adSegmentUrlPrefix;
  final contentSegmentUrlPrefix = this.contentSegmentUrlPrefix;
  return {
    if (adSegmentUrlPrefix != null) 'AdSegmentUrlPrefix': adSegmentUrlPrefix,
    if (contentSegmentUrlPrefix != null)
      'ContentSegmentUrlPrefix': contentSegmentUrlPrefix,
  };
}