StoredFileModel class

Annotations
  • @JsonSerializable(ignoreUnannotated: true)

Constructors

StoredFileModel({double? createdAt, StoredFile_StoredFileState? state, String? ownerPath, Map<String, StoredFileSubscriber>? stateSubscribers, Map<String, dynamic>? metaData, String? uid, DocumentSnapshot<Object?>? snapshot, double? updatedAt, String? filePath, String? fileExtension, String? contentType})
StoredFileModel.fromDocumentSnapshot(DocumentSnapshot<Map<String, dynamic>> snapshot)
Connect the generated _$StoredFileModelFromJson function to the fromJson factory.
factory
StoredFileModel.fromJson(Map<String, dynamic> json)
Connect the generated _$StoredFileModelFromJson function to the fromJson factory.
factory

Properties

contentType String?
final
createdAt double?
final
fileExtension String?
final
filePath String?
final
hashCode int
The hash code for this object.
no setterinherited
metaData Map<String, dynamic>?
final
ownerPath String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snapshot ↔ DocumentSnapshot<Object?>?
getter/setter pair
state StoredFile_StoredFileState?
final
stateSubscribers Map<String, StoredFileSubscriber>?
final
uid String?
getter/setter pair
updatedAt double?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Connect the generated _$StoredFileModelToJson function to the toJson method.
toString() String
A string representation of this object.
inherited

Operators

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