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
You're right. We could either make getData look at storedFilesMap and storedStringMap like the rest of the code, or consolidate all 3 maps into one Map<String, Uint8List> storedData. If we consolidate all 3 maps into one, putFile, putData and putString would store into that and it simplifies the rest of the code. The latter seems cleaner, but would require a bit more work.
I'm not sure when I could tackle this. If you can propose a PR though, I'll be happy to review it and publish it!
It looks like the current getData method mock_storage_reference.dart only looks at the storedDataMap.
Shouldn't this method look similar to the
delete
method and also check storedFilesMap?I've run into some issues when trying to use
putFile
instead ofputData
.The text was updated successfully, but these errors were encountered: