owl 0.2.3
owl: ^0.2.3 copied to clipboard
Client libraries (annotations and utilities) for the owl source code generator. It supports JSON serialization, HTTP APIs and SQL CRUD.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add owl
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
owl: ^0.2.3
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:owl/annotation/http.dart';
import 'package:owl/annotation/json.dart';
import 'package:owl/annotation/sql.dart';
import 'package:owl/util/http/webapp.dart';
import 'package:owl/util/json/core.dart';
import 'package:owl/util/sql/postgresql.dart';