flamingo library Null safety

Classes

Batch
BatchRepository
Blob
Represents binary data stored in Uint8List.
Collection<T extends Document<DocumentType>>
CollectionPaging<T extends Document<T>>
CollectionPagingListener<T extends Document<T>>
CollectionPagingListener is SnapshotListener + Paging features.
CollectionReference<T extends Object?>
Counter
DistributedCounter
DistributedCounterRepository
Document<T>
DocumentAccessor
DocumentAccessorRepository
DocumentChange<T extends Object?>
A DocumentChange represents a change to the documents matching a query. [...]
DocumentChangeData<T extends Document<T>>
DocumentReference<T extends Object?>
A DocumentReference refers to a document location in a FirebaseFirestore database and can be used to write, read, or listen to the location. [...]
DocumentSnapshot<T extends Object?>
A DocumentSnapshot contains data read from a document in your FirebaseFirestore database. [...]
DocumentType
DownloadTask
A class which indicates an on-going download task.
FieldPath
A FieldPath refers to a field in a document. [...]
FieldValue
Sentinel values that can be used when writing document fields with set() or update(). [...]
FirebaseFirestore
The entry point for accessing a FirebaseFirestore. [...]
FirebaseStorage
The entrypoint for FirebaseStorage.
Flamingo
Flamingo
FullMetadata
The result of calling getMetadata on a storage object reference.
GeoPoint
Represents a geographical point by its longitude and latitude
GetOptions
An options class that configures the behavior of get() calls on DocumentReference and Query. [...]
Helper
Increment<T extends num>
ListEquality<E>
Equality on lists. [...]
ListOptions
The options FirebaseStoragePlatform.list accepts.
ListResult
Class returned as a result of calling a list method (list or listAll) on a Reference.
Model
Query<T extends Object?>
Represents a Query over the data at a particular location. [...]
QueryDocumentSnapshot<T extends Object?>
A QueryDocumentSnapshot contains data read from a document in your FirebaseFirestore database as part of a query. [...]
QuerySnapshot<T extends Object?>
Contains the results of a query. It can contain zero or more DocumentSnapshot objects.
Reference
Represents a reference to a Google Cloud Storage object. Developers can upload, download, and delete objects, as well as get/set object metadata.
RunTransaction
SetOptions
An options class that configures the behavior of set() calls in DocumentReference, WriteBatch and Transaction.
SettableMetadata
The settable metadata a storage object reference can be set with.
Settings
Specifies custom configurations for your Cloud Firestore instance. [...]
SnapshotMetadata
Metadata about a snapshot, describing the state of the snapshot.
SnapshotOptions
Options that configure how data is retrieved from a DocumentSnapshot (e.g. the desired behavior for server timestamps that have not yet been set to their final value). [...]
Storage
StorageFile
StorageRepository
Task
A class representing an on-going storage task that additionally delegates to a Future.
TaskSnapshot
A TaskSnapshot is returned as the result or on-going process of a Task.
Timestamp
A Timestamp represents a point in time independent of any time zone or calendar, represented as seconds and fractions of seconds at nanosecond resolution in UTC Epoch time. It is encoded using the Proleptic Gregorian Calendar which extends the Gregorian calendar backwards to year one. It is encoded assuming all minutes are 60 seconds long, i.e. leap seconds are "smeared" so that no leap second table is needed for interpretation. Range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By restricting to that range, we ensure that we can convert to and from RFC 3339 date strings. [...]
Transaction
Transaction class which is created from a call to runTransaction().
UploadTask
A class which indicates an on-going upload task.
WriteBatch
A WriteBatch is a series of write operations to be performed as one unit. [...]

Constants

documentCreatedAtKey → const String
'createdAt'
documentUpdatedAtKey → const String
'updatedAt'
mimeTypeApplicationOctetStream → const String
'application/octet-stream'
mimeTypeGif → const String
'image/gif'
mimeTypeJpeg → const String
'image/jpeg'
mimeTypeMov → const String
'video/quicktime'
mimeTypeMp4 → const String
'video/mp4'
mimeTypeMpeg → const String
'audio/mpeg'
mimeTypePdf → const String
'application/pdf'
mimeTypePng → const String
https://asahi-net.jp/support/guide/homepage/0017.html File mimeType
'image/png'
mimeTypeZip → const String
'application/zip'

Properties

firestoreInstance FirebaseFirestore
Firestore Instance
read-only
rootReference DocumentReference<Map<String, dynamic>>
RootReference
read-only
storageInstance FirebaseStorage
FirebaseStorage Instance
read-only

Functions

collectionReference(String path) CollectionReference<Object?>
CollectionReference

Enums

DocumentChangeType
An enumeration of document change types.
ExecuteType
PutStringFormat
The format in which a string can be uploaded to the storage bucket via Reference.putString.
Source
An enumeration of firestore source types.
TaskState
Represents the state of an on-going Task. [...]

Typedefs

FromFirestore<T>(DocumentSnapshot<Map<String, dynamic>> snapshot, SnapshotOptions? options) → T
ToFirestore<T>(T value, SetOptions? options) Map<String, Object?>
TransactionHandler<T>(Transaction transaction) Future<T>
The TransactionHandler may be executed multiple times; it should be able to handle multiple executions.

Exceptions / Errors

FirebaseException
A generic class which provides exceptions in a Firebase-friendly format to users. [...]