Unlikely that many people structure their data like below.
But I stumpled upon it.
@MappableClass()
class Outer with OuterMappable {
Map<Inner, int> map;
Outer(this.map);
}
@MappableClass()
class Inner with InnerMappable {}
main() {
final o = Outer({Inner(): 10});
print(o.toJson());
}
Unlikely that many people structure their data like below.
But I stumpled upon it.