Json-to-Dart-Model
Json-to-Dart-Model copied to clipboard
[BUG] r@ doesnt work with object property
Is there an existing issue for this?
- [X] I have searched the existing issues
Current Behavior
using decorators with object properties, doesn't create dart models, removing r@ in "[email protected]" works, but settings member is not required in that instance
Expected Behavior
using @ decorators should work
Steps To Reproduce
No response
Version
v3.5.8
Relevant JSON syntax
{
"__className": "test.model", // <- The base class name of the object.
"r@id": "lib_c1u6t4p45c35rf0nzd",
"r@name": "Main",
"[email protected]": [{
"id": "fol_bev1zuxhb0j0s1wehr"
}],
"[email protected]": {
"r@coverAspectRatio": 1
}
}
Anything else?
No response