StorageField class

Document Field for Storage Model isWriteNotNull true: It's not saved if data is null. false: It's also saved if data is null. folderName This is field name for Firestore and Cloud Storage. isSetNull true: It's will be set to null if data is null. false: It's will be execute FieldValue.delete() if data is null.

Constructors

StorageField({bool isWriteNotNull = true, String? folderName, bool isSetNull = true})
const

Properties

folderName String?
final
hashCode int
The hash code for this object.
no setterinherited
isSetNull bool
final
isWriteNotNull bool
final
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