toJson method
Returns the JSON representation of the File object.
Implementation
Map<String, dynamic> toJson() {
return {
'file_id': fileId,
'file_unique_id': fileUniqueId,
'file_size': fileSize,
'file_path': filePath,
}..removeWhere(_nullFilter);
}