This plugin is created for those who would like to have extra data manipulation methods in their data classes without having to write boilerplate code.
Check out Dart Data Class Pro, the improved version of this plugin.
This plugin can generate the following code:
copyWith: copies the instance and overrides the given parameterstoMap: converts your class into a map of Map<String, dynamic>fromMap: constructs your class from a Map<String, dynamic> using the named argument constructortoString, equals (== operator), hashcodeFind out more on the project's Github page.
Not an official plugin.