toJson method
Returns a JSON presentation of the object.
Implementation
@override
Map<String, Object> toJson() {
var result = <String, Object>{};
result['file'] = file;
var kind = this.kind;
if (kind != null) {
result['kind'] = kind.toJson();
}
var referencedFiles = this.referencedFiles;
if (referencedFiles != null) {
result['referencedFiles'] = referencedFiles;
}
return result;
}