eloquent_flutter 0.1.2
eloquent_flutter: ^0.1.2 copied to clipboard
Laravel Eloquent-style ORM for Flutter and Dart on top of Drift. Chainable queries, casts, soft deletes, relationships, observers, pagination, and a schema DSL.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add eloquent_flutterWith Flutter:
$ flutter pub add eloquent_flutterThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
eloquent_flutter: ^0.1.2Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:eloquent_flutter/eloquent_flutter.dart';