Storage class

Constructors

Storage({required String uuid, required String contentType, required String type, required DateTime createAt, required int usageCount})
const
Storage.fromJson(String source)
factory
Storage.fromMap(Map<String, dynamic> map)
factory

Properties

contentType String
final
createAt DateTime
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
final
usageCount int
final
uuid String
final

Methods

copyWith({String? uuid, String? contentType, String? type, DateTime? createAt, int? usageCount}) Storage
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toMap() Map<String, dynamic>
toString() String
A string representation of this object.
override

Operators

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

Static Methods

getByUUID(String uuid) Future<Storage>
getDownloadUrl(String uuid, {String? apiBaseUrl}) String
Get download url of the storage