toJson method
Implementation
Map<String, Object?> toJson() {
var expand = this.expand;
var startAt = this.startAt;
var maxResults = this.maxResults;
var total = this.total;
var issues = this.issues;
var warningMessages = this.warningMessages;
var names = this.names;
var schema = this.schema;
final json = <String, Object?>{};
if (expand != null) {
json[r'expand'] = expand;
}
if (startAt != null) {
json[r'startAt'] = startAt;
}
if (maxResults != null) {
json[r'maxResults'] = maxResults;
}
if (total != null) {
json[r'total'] = total;
}
json[r'issues'] = issues.map((i) => i.toJson()).toList();
json[r'warningMessages'] = warningMessages;
if (names != null) {
json[r'names'] = names;
}
if (schema != null) {
json[r'schema'] = schema;
}
return json;
}