You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've noticed that there is no a return type in the default_extension_map.dart for blob files, therefore I'm always getting null while bringing a blob file to lookupMimeType
The text was updated successfully, but these errors were encountered:
I did a workaround for it, I just returned the extension and then adding the right type as the library does, I did it this way because I knew I will always have images
final parts = preSignedUrl.split('?');
final extension = parts[parts.length - 2].split(".").last.toLowerCase();
if(extension.contains('blob')){
return extension;
}
return lookupMimeType(extension);
I haven't move my code since I did it, not sure if the library got updates
I've noticed that there is no a return type in the default_extension_map.dart for blob files, therefore I'm always getting null while bringing a blob file to lookupMimeType
The text was updated successfully, but these errors were encountered: