class_to_map library Null safety

This packages provides two extensions, for converting a class to a Map

class Test{
  String name = 'name';
  int age = 20;
}
Test().toMap();

{"name": 'name', "age": 20}.toClass<Test>();

Classes

Activator

Extensions

ClassFromMapExtension
This converts a Map<String, dynamic> to the given class For example
ClassToMapExtension
This converts the give class to a Map representation of its values For exampe