atn832 / firebase_storage_mocks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The getter 'onComplete' was called on null

noelmathewisaac opened this issue · comments

When I run the example code, the putFile method always returns null. I also tried using the putData method instead but it results in the same error which is:

NoSuchMethodError: The getter 'onComplete' was called on null.
Receiver: null
Tried calling: onComplete

Any help will be appreciated.
Thank you.

Any progress???

Would you mind sharing the exact code you tried to run, and which version of the firebase_storage_mocks you used? The unit tests at https://github.com/atn832/firebase_storage_mocks/blob/master/test/firebase_storage_mocks_test.dart still run fine.

Please feel free to reopen with failing test code if it still happens.