toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'fileName'] = this.fileName;
json[r'totalSize'] = this.totalSize;
json[r'mimeType'] = this.mimeType;
json[r'expectedBlocks'] = this.expectedBlocks;
if (this.folderId != null) {
json[r'folderId'] = this.folderId;
} else {
json[r'folderId'] = null;
}
if (this.workspaceId != null) {
json[r'workspaceId'] = this.workspaceId;
} else {
json[r'workspaceId'] = null;
}
if (this.organizationId != null) {
json[r'organizationId'] = this.organizationId;
} else {
json[r'organizationId'] = null;
}
return json;
}