FirebaseStorageDataEndPoint class
Specify a Google Firebase Storage file endpoint.
See Firebase Storage for description of Firebase file storage.
- Inheritance
-
- Object
- Serializable
- DataEndPoint
- FileDataEndPoint
- FirebaseStorageDataEndPoint
- Mixed in types
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- FirebaseStorageDataEndPoint(FirebaseEndPoint firebaseEndPoint, {required String path, required dynamic bufferSize, dynamic zip = false, dynamic encrypt = false, dynamic publicKey})
- Creates a FirebaseStorageDataEndPoint.
-
FirebaseStorageDataEndPoint.fromJson(Map<
String, dynamic> json) -
factory
Properties
- $type ↔ String?
-
The runtime class name (type) of this object.
Used for deserialization from JSON objects.
getter/setter pairinherited
- bufferSize ↔ int
-
The buffer size of the raw JSON file in bytes.
getter/setter pairinherited
- dataFormat ↔ String
-
The preferred format of the data to be uploaded according to
NameSpace
. Default using theNameSpace.CARP
.getter/setter pairinherited - encrypt ↔ bool
-
Is data to be encrypted before storing. False as default.
getter/setter pairinherited
- firebaseEndPoint ↔ FirebaseEndPoint
-
The Firebase endpoint.
getter/setter pairinherited
- fromJsonFunction → Function
-
The function which can transform this
FileDataEndPoint
into JSON.no setteroverride - hashCode → int
-
The hash code for this object.
no setterinherited
- jsonType → String
-
Return the $type to be used for JSON serialization of this class.
Default is runtimeType. Only specify this if you need another type.
no setterinherited
- path ↔ String
-
When uploading to the Firebase Storage using the FirebaseStorageDataManager,
path hold the folder path where to store files. May contain sub-folders
separated with
/
.getter/setter pair - publicKey ↔ String?
-
If encrypt is true, this should hold the public key in a RSA KPI
encryption of data.
getter/setter pairinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
The type of endpoint as enumerated in
DataEndPointTypes
.getter/setter pairinherited - zip ↔ bool
-
Is data to be compressed (zipped) before storing in a file.
True as default.
getter/setter pairinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serialize this
FileDataEndPoint
as a JSON map.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited