DEV Community

Discussion on: Do I really need to create classes in two places?

Collapse
 
5422m4n profile image
Sven Kanoldt

For Android and iOS you cannot really avoid it, since there are different Languages involved.

But regarding Flutter, you would write your models in Dart (as a separate library for instance) that you would use in your WebApp (via AngularDart for instance) and in your both Mobile Apps in Flutter.