toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.content != null) {
json[r'content'] = this.content;
} else {
json[r'content'] = null;
}
if (this.encoding != null) {
json[r'encoding'] = this.encoding;
} else {
json[r'encoding'] = null;
}
if (this.path != null) {
json[r'path'] = this.path;
} else {
json[r'path'] = null;
}
if (this.size != null) {
json[r'size'] = this.size;
} else {
json[r'size'] = null;
}
if (this.truncated != null) {
json[r'truncated'] = this.truncated;
} else {
json[r'truncated'] = null;
}
return json;
}