yust library
Support for doing something awesome.
More dartdocs go here.
Classes
- GoogleCloudHelpers
- Google Cloud (incl. Firebase) specific helpers used in other modules.
- ServerNow
- ServerNow is a DateTime extension that returns the current date and time and uses a FieldValue.serverTimestamp() for the server.
- TraversalCurrentNode
- TraversalInfo
- TraverseObject
- Yust
- Yust is the easiest way to connect full stack Dart app to Firebase.
- YustDatabaseService
- Handles database requests for Cloud Firestore.
- YustDatabaseServiceMocked
- A mock database service for storing docs.
- YustDoc
- A document, what can be saved to the Firestore database.
-
YustDocSetup<
T extends YustDoc> - The setup for a YustDoc is needed to read or save a document to the database.
- YustFieldTransform
- YustFile
- A binary file handled by database and file storage. A file is stored in Firebase Storeage and linked to a document in the database. For offline caching a file can also be stored on the device.
- YustFilter
- The Filter class represents a document filter
- YustHelpers
- Yust helpers
- YustNotification
- A representation of a push notification.
- YustOrderBy
- The OrderBy class holds a field name and whether the sorting should be decreasing
-
YustSnapshot<
T extends YustDoc> - YustUser
- The user model.
Enums
- AggregationType
- AuthState
- Represents the state of the user authentication.
- DatabaseLogAction
- GoogleCloudPlatform
- SnapshotState
- YustAuthenticationMethod
- YustFilterComparator
- All types a filter can compare a brick value with a constant
- YustGender
Extensions
- DateTimeExtension on DateTime
-
ListExtension
on List<
T> - StringExtension on String
Constants
- firestoreApiUrl → const String
Functions
-
dataFromJson(
dynamic data) → dynamic
Typedefs
-
DatabaseLogCallback
= void Function(DatabaseLogAction action, String documentPath, int count, {num? aggregationResult, String? id, List<
String> ? updateMask}) -
MockDB
= Map<
String, List< Map< >String, dynamic> > -
OnChangeCallback
= Future<
void> Function(String docPath, Map<String, dynamic> ? oldDocument, Map<String, dynamic> ? newDocument) - TraversalCallback = dynamic Function(TraversalCurrentNode currentNode)
-
YustAggregatedStatisticsMap
= Map<
DatabaseLogAction, int> -
YustEnhancedStatisticsMap
= Map<
String, int> -
YustFileJson
= Map<
String, dynamic> -
YustFilesJson
= List<
YustFileJson> -
YustStatisticsMap
= Map<
String, Map< DatabaseLogAction, int> >