toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'name': name,
'url': baseUrl,
'filePath': fileLocalPath,
'assetsPath': assetsPath,
'bytes': bytes,
'mimeType': getMimeType,
'fileSize': fileSize,
'fileHash': fileHash,
};
}