dart_mem_annotation_generator 0.1.0 dart_mem_annotation_generator: ^0.1.0 copied to clipboard
A Code Generator Plugin to Generate Models, Entities and Mappers base on Annotation. (Generator)
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dart_mem_annotation_generator
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
dart_mem_annotation_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:dart_mem_annotation_generator/builder.dart';
import 'package:dart_mem_annotation_generator/builders/annotation_builder.dart';
import 'package:dart_mem_annotation_generator/components/add_class.dart';
import 'package:dart_mem_annotation_generator/components/add_mapper.dart';
import 'package:dart_mem_annotation_generator/components/debugger.dart';
import 'package:dart_mem_annotation_generator/components/descriptions_generator.dart';
import 'package:dart_mem_annotation_generator/components/log.dart';
import 'package:dart_mem_annotation_generator/extensions/annotation_type.dart';
import 'package:dart_mem_annotation_generator/extensions/constant_reader.dart';
import 'package:dart_mem_annotation_generator/extensions/dart_type.dart';
import 'package:dart_mem_annotation_generator/extensions/generator_data.dart';
import 'package:dart_mem_annotation_generator/extensions/string.dart';
import 'package:dart_mem_annotation_generator/extensions/variable.dart';
import 'package:dart_mem_annotation_generator/functions/add_code.dart';
import 'package:dart_mem_annotation_generator/functions/prints.dart';
import 'package:dart_mem_annotation_generator/models/generator_data.dart';
import 'package:dart_mem_annotation_generator/models/variable.dart';
import 'package:dart_mem_annotation_generator/resources/config.dart';
import 'package:dart_mem_annotation_generator/resources/constants.dart';
import 'package:dart_mem_annotation_generator/resources/enums.dart';
import 'package:dart_mem_annotation_generator/resources/info.dart';
import 'package:dart_mem_annotation_generator/resources/strings.dart';
import 'package:dart_mem_annotation_generator/resources/types_library.dart';