toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var customFieldReplacementList = this.customFieldReplacementList;
  var moveAffectedIssuesTo = this.moveAffectedIssuesTo;
  var moveFixIssuesTo = this.moveFixIssuesTo;

  final json = <String, Object?>{};
  json[r'customFieldReplacementList'] =
      customFieldReplacementList.map((i) => i.toJson()).toList();
  if (moveAffectedIssuesTo != null) {
    json[r'moveAffectedIssuesTo'] = moveAffectedIssuesTo;
  }
  if (moveFixIssuesTo != null) {
    json[r'moveFixIssuesTo'] = moveFixIssuesTo;
  }
  return json;
}