realm_dart 3.1.0 realm_dart: ^3.1.0 copied to clipboard
The official Realm SDK for Dart. Realm is a mobile database - an alternative to SQLite and key-value stores.
A simple command-line application using Realm Dart SDK #
Setup #
Run these commands to setup the application
-
Get all dependencies
dart pub get
-
Install the
realm_dart
package into the application. This downloads and copies the required native binaries to the app directory.dart run realm_dart install
-
To generate RealmObject classes with realm_dart use this command.
On Dart use
dart run realm_dart
to runrealm_dart
package commandsdart run realm_dart generate
A new file
bin/myapp.g.dart
will be created next to thebin/myapp.dart
. -
Run the application
dart run