Dart Data Class

Генерация методов для Dart-классов: copyWith, toMap, fromMap, toString, equals и hashCode

andrasferencziРедактор91 загрузка

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:

  • Named Argument Constructor
  • copyWith: copies the instance and overrides the given parameters
  • toMap: converts your class into a map of Map<String, dynamic>
  • fromMap: constructs your class from a Map<String, dynamic> using the named argument constructor
  • all of the above with toString, equals (== operator), hashcode

Find out more on the project's Github page.

Not an official plugin.

ВерсияOpenIDEДатаРазмер
2024.3+16.04.2025224,7 КБСкачать
2024.3+29.03.2025223,2 КБСкачать
Любая версия05.08.20211,4 МБСкачать