tomodels 1.0.0 copy "tomodels: ^1.0.0" to clipboard
tomodels: ^1.0.0 copied to clipboard

outdated

A simple json to dart models generator

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate tomodels

Use it

The package has the following executables:

$ tomodels

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add tomodels

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

dependencies:
  tomodels: ^1.0.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:tomodels/javiercbk/helpers.dart';
import 'package:tomodels/javiercbk/json_to_dart.dart';
import 'package:tomodels/javiercbk/model_generator.dart';
import 'package:tomodels/javiercbk/syntax.dart';
import 'package:tomodels/javiercbk/warning.dart';
import 'package:tomodels/json_to_models.dart';
1
likes
0
points
1
downloads

Publisher

verified publisheralphacsoft.com

Weekly Downloads

A simple json to dart models generator

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

convert, dart_style, http, json_ast, path, process_run

More

Packages that depend on tomodels