Map to Class in Dart

Viewed 20947

Is there a standard way to convert a map to an object of a user defined class?

In Python you can do MyClass(**map) which basically unwraps the map into named arguments of the constructor of the class.

Any pointers/help would be appreciated.

3 Answers
Related