sum_data_types_generator 0.1.0 copy "sum_data_types_generator: ^0.1.0" to clipboard
sum_data_types_generator: ^0.1.0 copied to clipboard

Automatically generates immutable data classes based on a "blueprint" mixin.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add sum_data_types_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  sum_data_types_generator: ^0.1.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:sum_data_types_generator/common.dart';
import 'package:sum_data_types_generator/data_classes.dart';
import 'package:sum_data_types_generator/main.dart';
import 'package:sum_data_types_generator/sum_types.dart';
0
likes
110
points
31
downloads

Publisher

unverified uploader

Weekly Downloads

Automatically generates immutable data classes based on a "blueprint" mixin.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

analyzer, build, meta, pedantic, source_gen, sum_data_types

More

Packages that depend on sum_data_types_generator