LocalModelAdapter class

Inheritance
Annotations

Constructors

LocalModelAdapter()
const

Properties

email String
You can get the Email after authentication is completed.
no setteroverride
enabled bool
true if Module is enabled.
finalinherited
enabledAuth bool
Return true If authentication is enabled.
final
hashCode int
The hash code for this object.
no setterinherited
id String?
ID of the module.
finalinherited
isAnonymously bool
For anonymous logged in users, True.
final
isSignedIn bool
True if you are signed in.
final
isVerified bool
You can get the status that user email is verified after authentication is completed.
final
name String
You can get the Display Name after authentication is completed.
no setteroverride
phoneNumber String
You can get the PhoneNumber after authentication is completed.
no setteroverride
photoURL String
You can get the PhotoURL after authentication is completed.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
Module Type.
no setterinherited
userId String
You can get the UID after authentication is completed.
no setteroverride

Methods

collectionProvider(String path) ModelProvider<LocalDynamicCollectionModel>
Performs the process of loading a document.
override
createDocument(LocalDynamicCollectionModel collection, [String? id]) LocalDynamicDocumentModel
Performs the process of loading a collection.
override
deleteDocument(LocalDynamicDocumentModel document) Future<void>
Deletes information associated with a document.
override
documentProvider(String path) ModelProvider<LocalDynamicDocumentModel>
Gets the provider of the Document.
override
fromMap(dynamic map) LocalModelAdapter?
Convert the module information from DynamicMap.
override
loadCollection(LocalDynamicCollectionModel collection, [bool once = false]) LocalDynamicCollectionModel
Performs the process of loading a collection.
override
loadDocument(LocalDynamicDocumentModel document, [bool once = false]) LocalDynamicDocumentModel
Performs the process of loading a document.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerInEmailAndPassword({required String email, required String password}) Future<void>
Register as a user using your email and password.
override
saveDocument(LocalDynamicDocumentModel document) Future<void>
Save the data in the document so that you can use it after restarting the app.
override
sendPasswordResetEmail({required String email}) Future<void>
Email for password reset will be sent to the specified email.
override
signInAnonymously() Future<void>
Guest login.
override
signInEmailAndPassword({required String email, required String password}) Future<void>
Login using your email and password.
override
signOut() Future<void>
Log out.
override
toMap() → dynamic
Convert the module information to DynamicMap.
override
toString() String
A string representation of this object.
inherited
tryRestoreAuth() Future<void>
Used to restore your login information.
override
uploadMedia(String path) Future<String>
Upload your media.
override

Operators

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