realm-dart
realm-dart copied to clipboard
Generator should not remove nullability from lists
When generating a model like
class _Foo {
late List<int?> ints;
}
The generator succeeds but removes the nullability of the int? argument to my list:
class Foo extends _Foo{
@override
RealmList<int> get ints =>
RealmObject.get<int>(this, 'ints') as RealmList<int>;
}
We second this.