toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.cold != null) {
json[r'cold'] = this.cold;
} else {
json[r'cold'] = null;
}
json[r'completions'] = this.completions;
json[r'diagnostics'] = this.diagnostics;
if (this.hover != null) {
json[r'hover'] = this.hover;
} else {
json[r'hover'] = null;
}
if (this.lang != null) {
json[r'lang'] = this.lang;
} else {
json[r'lang'] = null;
}
json[r'locations'] = this.locations;
if (this.op != null) {
json[r'op'] = this.op;
} else {
json[r'op'] = null;
}
if (this.path != null) {
json[r'path'] = this.path;
} else {
json[r'path'] = null;
}
if (this.repo != null) {
json[r'repo'] = this.repo;
} else {
json[r'repo'] = null;
}
if (this.rev != null) {
json[r'rev'] = this.rev;
} else {
json[r'rev'] = null;
}
json[r'symbols'] = this.symbols;
return json;
}