jsonToDartModel icon indicating copy to clipboard operation
jsonToDartModel copied to clipboard

Can support the attribute declaration as final?

Open zero20172017 opened this issue 3 years ago • 3 comments

class MyModel { { final String appName; final Int age; }

zero20172017 avatar Dec 31 '21 09:12 zero20172017

What is the usage scenario?Seems unnecessary.

ashamp avatar Jan 01 '22 12:01 ashamp

The data is passed from native, only as a read-only attribute, cannot be modified, must be declared as final

zero20172017 avatar Jan 05 '22 02:01 zero20172017

sorry,no plan support this feature.

ashamp avatar Jan 26 '22 07:01 ashamp