toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'filename'] = this.filename;
if (this.contentType != null) {
json[r'content_type'] = this.contentType;
} else {
json[r'content_type'] = null;
}
return json;
}