FlutterMongoRealm class

Constructors

FlutterMongoRealm()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

aggregate({required String collectionName, required String databaseName, required List<String> pipeline}) → dynamic
authListener() Stream
callFunction(String name, {List? args, int? requestTimeout}) Future
connectToMongo(String appId) Future
countDocuments({required String collectionName, required String databaseName, required dynamic filter}) Future
deleteDocument({required String collectionName, required String databaseName, required dynamic filter}) Future
deleteDocuments({required String collectionName, required String databaseName, required dynamic filter}) Future
findDocuments({required String collectionName, required String databaseName, required dynamic filter, String? projection, required int limit, String? sort}) Future
findFirstDocument({required String collectionName, required String databaseName, required dynamic filter, String? projection}) Future
getAccessToken() Future<String>
getRefreshToken() Future<String>
getUser() Future<CoreRealmUser?>
getUserId() Future
insertDocument({required String collectionName, required String databaseName, required Map<String, Object?> data}) Future
insertDocuments({required String collectionName, required String databaseName, required List<String> list}) Future
isLoggedIn() Future<bool>
linkCredentials(Map<String, Object> json) Future<CoreRealmUser?>
logout() Future
registerWithEmail(String email, String password) Future<bool>
sendResetPasswordEmail(String? email) Future<bool>
setupWatchCollection(String collectionName, String databaseName, {List<String>? ids, bool? asObjectIds, String? filter}) Future
signInAnonymously() Future
signInWithApple(String idToken) Future<CoreRealmUser?>
signInWithCustomFunction(String json) Future<CoreRealmUser?>
signInWithCustomJwt(String token) Future<CoreRealmUser?>
signInWithFacebook(String accessToken) Future<CoreRealmUser?>
signInWithGoogle(String authCode) Future<CoreRealmUser?>
signInWithUsernamePassword(String username, String password) Future<CoreRealmUser?>
updateDocument({required String collectionName, required String databaseName, required String filter, required String update}) Future
updateDocuments({required String collectionName, required String databaseName, required String filter, required String update}) Future
watchCollection({required String collectionName, required String databaseName, List<String>? ids, String? filter, bool asObjectIds = true}) Stream