realm_common 0.5.0+beta realm_common: ^0.5.0+beta copied to clipboard
Hosts the common code shared between realm, realm_dart and realm_generator packages. This package is part of the official Realm Flutter and Realm Dart SDKs.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add realm_common
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
realm_common: ^0.5.0+beta
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:realm_common/realm_common.dart';