toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var complexity = this.complexity;
  var issues = this.issues;

  final json = <String, Object?>{};
  if (complexity != null) {
    json[r'complexity'] = complexity.toJson();
  }
  if (issues != null) {
    json[r'issues'] = issues.toJson();
  }
  return json;
}