sum_data_types_generator 0.1.0 icon indicating copy to clipboard operation
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
90
pub points
0%
popularity

Publisher

unverified uploader

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

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

analyzer, build, meta, pedantic, source_gen, sum_data_types

More

Packages that depend on sum_data_types_generator