toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var destinationId = this.destinationId;
  var destinationUrl = this.destinationUrl;
  var totalPageNeedToCopy = this.totalPageNeedToCopy;
  var additionalProperties = this.additionalProperties;

  final json = <String, Object?>{};
  if (destinationId != null) {
    json[r'destinationId'] = destinationId;
  }
  if (destinationUrl != null) {
    json[r'destinationUrl'] = destinationUrl;
  }
  if (totalPageNeedToCopy != null) {
    json[r'totalPageNeedToCopy'] = totalPageNeedToCopy;
  }
  if (additionalProperties != null) {
    json[r'additionalProperties'] = additionalProperties;
  }
  return json;
}