realm_generator 2.1.0 copy "realm_generator: ^2.1.0" to clipboard
realm_generator: ^2.1.0 copied to clipboard

Generates RealmObject classes from Realm data model classes. 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_generator

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

dependencies:
  realm_generator: ^2.1.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:realm_generator/realm_generator.dart';
3
likes
120
pub points
55%
popularity

Publisher

verified publisherrealm.io

Generates RealmObject classes from Realm data model classes. This package is part of the official Realm Flutter and Realm Dart SDKs.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

analyzer, build, build_resolvers, collection, dart_style, realm_common, source_gen, source_span

More

Packages that depend on realm_generator