LazyBox corrupts data when saving List<dynamic>
Open
problem
- Dominant language
- Dart
- Stars
- 4.4k
- Forks
- 449
- PR merge metrics
- No merged PRs in 30d
Description
**Steps to Reproduce**
Having a box of `LazyBox>` and storing a list objects, where an object can store a list of dynamic inside
```
@HiveType(typeId: HiveTypeIds.LIST_DATA)
class ListLayout {
@HiveField(0)
final List datas;
ListLayout(this.datas);
}
```
Reading the data after storing gives back a type of `CastList` with some elements missing (having null value) inside it.
**Code sample**
```
Provide a few simple lines of code to show your problem.
```
**Version**
- Platform: iOS, Android
- Flutter version: 2.5.2
- Hive version: 2.0.4
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.