flutter_mongodb_realm 1.2.0+2 flutter_mongodb_realm: ^1.2.0+2 copied to clipboard
Unofficial plugin for using services of the serverless platform MongoDB Realm (previously MongoDB Stitch).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_mongodb_realm
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_mongodb_realm: ^1.2.0+2
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_mongodb_realm/auth/auth.dart';
import 'package:flutter_mongodb_realm/auth/core_realm_user.dart';
import 'package:flutter_mongodb_realm/auth/credentials/anonymous_credential.dart';
import 'package:flutter_mongodb_realm/auth/credentials/credentials.dart';
import 'package:flutter_mongodb_realm/auth/credentials/custom_function_credential.dart';
import 'package:flutter_mongodb_realm/auth/credentials/custom_jwt_credential.dart';
import 'package:flutter_mongodb_realm/auth/credentials/facebook_credential.dart';
import 'package:flutter_mongodb_realm/auth/credentials/google_credential.dart';
import 'package:flutter_mongodb_realm/auth/credentials/stitch_credential.dart';
import 'package:flutter_mongodb_realm/auth/credentials/user_password_credentinal.dart';
import 'package:flutter_mongodb_realm/auth/mongo_realm_auth.dart';
import 'package:flutter_mongodb_realm/bson_document.dart';
import 'package:flutter_mongodb_realm/database/database.dart';
import 'package:flutter_mongodb_realm/database/mongo_collection.dart';
import 'package:flutter_mongodb_realm/database/mongo_databsase.dart';
import 'package:flutter_mongodb_realm/database/mongo_document.dart';
import 'package:flutter_mongodb_realm/database/pipeline_stage.dart';
import 'package:flutter_mongodb_realm/database/query_operator.dart';
import 'package:flutter_mongodb_realm/database/update_operator.dart';
import 'package:flutter_mongodb_realm/flutter_mongo_realm.dart';
import 'package:flutter_mongodb_realm/google_sign_in_git_mock/google_sign_in.dart';
import 'package:flutter_mongodb_realm/google_sign_in_git_mock/src/common.dart';
import 'package:flutter_mongodb_realm/google_sign_in_git_mock/testing.dart';
import 'package:flutter_mongodb_realm/google_sign_in_git_mock/widgets.dart';
import 'package:flutter_mongodb_realm/mongo_realm_client.dart';
import 'package:flutter_mongodb_realm/plugin.dart';
import 'package:flutter_mongodb_realm/realm_app.dart';
import 'package:flutter_mongodb_realm/stream_interop/mobile.dart';
import 'package:flutter_mongodb_realm/stream_interop/stream_interop.dart';
import 'package:flutter_mongodb_realm/stream_interop/unsupported.dart';
import 'package:flutter_mongodb_realm/stream_interop/web.dart';