Skip to content
PluginStats

Dart Data Class Generator installs statistics

By hzgood · VS Code Marketplace · Programming Languages

Create dart data classes easily, fast and without writing boilerplate or running code generation.

View on VS Code Marketplace Fresh · Oct 20, 2026

Dart Data Class Generator has 382,165 recorded installs on VS Code Marketplace, ranking #990 of 2,501 tracked listings.

Installs
382,165
Official API · Oct 20, 2026
7-day growth
—
Insufficient history
30-day growth
—
Insufficient history
90-day growth
—
Insufficient history
Rank
#990
Among tracked VS Code Marketplace listings

Rating: 4.14 / 5 from 7 ratings

About Dart Data Class Generator

Dart Data Class Generator

GitHub Stars Downloads

Create dart data classes easily, fast and without writing boilerplate or running code generation.

Features

The generator can generate the constructor, copyWith, toMap, fromMap, toJson, fromJson, toString, operator == and hashCode methods for a class based on class properties or raw JSON.

Additionally the generator has a couple of useful quickfixes to speed up your development process. See the Additional Features Section for more.

If this extension is helpful to you, consider giving it a star on GitHub or leave a review on the Visual Studio Marketplace :heart:

Create Data Classes Based on Class Properties

Usage

You can generate data classes either by the quick fix dialog or by running a command. In the quick fix dialog you have the option to not only generate whole data classes but also only specific methods. The command has the advantage of being able to generate multiple classes at the same time.

Quick fix
  • Create a class with properties.
  • Place your cursor on the first line of the class, the constructor or a field.
  • Hit CTRL + . to open the quick fix dialog.
  • Choose one of the available options.
Command
  • Create a class with properties.
  • Hit CTRL + P to open the command dialog.
  • Search for Dart Data Class Generator: Generate from class properties and hit enter.
  • When there are multiple classes in the current file, choose the ones you'd like to create data classes of in the dialog.

It is also possible to run the generator on an existing data class (e.g. when some parameters changed). The generator will then try to find the changes and replace the class with its updated version. Note that custom changes to generated functions may be overriden.

You can also customize the generator for example to use Equatable for value equality. See the Settings section for more options.

Enums

In order for enums to be correctly serialized from and to JSON, please annotate them using a comment like so:

// enum
final Enum myEnum;
Usage with Equatable

Although using the generator is fast, it still doesn't spare you from all the boiler plate necessary, which can be visually distracting. To reduce the amount of boiler plate needed, the generator works with Equatable. Just extend the class with Equatable or mix with EquatableMixin and the generator will use Equatable for value equality.

<img width="512" src="https://github.com/huang12zheng/Dart-Data-Class-Generator/raw/HEAD/assets/equatable_demo.gif"/>

You can also use the setting dart_data_class_generator.useEquatable, if you always want to use Equatable for value equality.

Create Data Classes Based on JSON (Beta)

Usage
  • Create an empty dart file.
  • Paste the raw JSON without modifying it into the otherwise empty file.
  • Hit CTRL + P to open the command dialog.
  • Search for Dart Data Class Generator: Generate from JSON and hit enter.
  • Type in a class name in the input dialog. This will be the name of the top level class if the JSON contains nested objects, all other class names will be infered from the JSON keys.
  • When there are nested objects in the JSON, a dialog will be appear if you want to seperate the classes into multiple files or if all classes should be in the same file.

Note:
This feature is still in beta!
Many API's return numbers like 0 or 1 as an integer and not as a double even when they otherwise are. Thus the generator may confuse a value that is usually a double as an int.

Additional Features

The extension includes some additional quick fixes that might be useful to you:

Import refactoring

Sort imports alphabetically and bring them into the correct format easily.

<img width="512" src="https://github.com/huang12zheng/Dart-Data-Class-Generator/raw/HEAD/assets/import_demo.gif"/>

Settings

You can customize the generator to only generate the functions you want in your settings file.…

Description from the VS Code Marketplace listing.

  • dart
  • dart data
  • dart data class
  • dart data class generator
  • data class generator

README badge

Show your rank in a README or on your website. The badge updates automatically.

Charts

Images: 30d · 1y · all time · 1600×900 dark

Adoption over time

Dart Data Class Generator installs on VS Code Marketplace, last 90 days: 382,165 installs as of Oct 20, 2026.Dart Data Class GeneratorInstalls on VS Code Marketplace · Last 90 days382,165installs381.8K381.9K381.9K382K382K382.1K382.1K382.2K382.2KJul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20installsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
Dart Data Class Generator installs on VS Code Marketplace, last 90 days: 382,165 installs as of Oct 20, 2026.

7/30/90-day growth

Dart Data Class Generator installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.Dart Data Class GeneratorInstalls growth on VS Code Marketplace382,165installs now7-day growthinsufficient historyInsufficient history30-day growthinsufficient historyInsufficient history90-day growthinsufficient historyInsufficient historyGrowth vs. nearest observation to each baseline date · Updated Oct 20, 2026pluginstats.com
Dart Data Class Generator installs growth on VS Code Marketplace: 7-day growth unavailable, 30-day growth unavailable, 90-day growth unavailable.

Ranking history

Dart Data Class Generator VS Code Marketplace ranking history: currently #990 (by installs).Dart Data Class GeneratorVS Code Marketplace ranking · by installs · Last 90 days#990current rank#988#989#990#991#992Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20rankOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct 20, 2026pluginstats.com
Dart Data Class Generator VS Code Marketplace ranking history: currently #990 (by installs).

Ratings over time

Dart Data Class Generator ratings on VS Code Marketplace, last 90 days: 7 ratings as of Oct 20, 2026.Dart Data Class GeneratorRatings on VS Code Marketplace · Last 90 days7ratings6.26.46.66.877.27.47.67.8Jul 22Aug 6Aug 21Sep 5Sep 20Oct 5Oct 20ratingsobservedarchived (Internet Archive)no observationsOct 16, 2026 – Oct 20, 2026 · 5 observations · Updated Oct…pluginstats.com
Dart Data Class Generator ratings on VS Code Marketplace, last 90 days: 7 ratings as of Oct 20, 2026.

Listing placement

All VS Code Marketplace2,501 listings · 126 pages · 1,252 shown · page 50, #10 (overall #990)
All VS Code Marketplace: every listing in installs order

Listing placement

Programming Languages792 listings · 40 pages · page 18, #19 (overall #359)
Programming Languages: every listing in installs order

Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.

Each band is one page of 20. Installs on a linear scale. Placement is projected from installs, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.

Recent observations

Full history (5)
Recent installs observations for Dart Data Class Generator
Date (UTC)InstallsChange vs. previous
382,165+98
382,067+75
381,992+78
381,914+77
381,837—

Similar VS Code Marketplace Programming Languages plugins

All 20 Dart Data Class Generator alternatives

Data source

Install counts, average rating, and rating counts come from the public Visual Studio Marketplace gallery API. Installs are cumulative and exclude updates.

Listing: https://marketplace.visualstudio.com/items?itemName=hzgood.dart-data-class-generator. First seen Oct 16, 2026; last successful collection Oct 20, 2026. See the methodology.