I got this when I was using Hive Database in Flutter. Find out answer below
I was getting the same error. when I was trying to add data into hive database using putAt()
, but from documantion i found out that putAt()
can only be used for the existing index. so switch putAt()
instruction with add()
. That solved the error.
I know the question is old, but I hope it could help someone.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With