toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  json[r'errors'] = errors.map((i) => i.toJson()).toList();
  json[r'issues'] = issues.map((i) => i.toJson()).toList();
  return json;
}