MediaAssetRecord class final

Everything an asset is, as a value.

Constructors

MediaAssetRecord({required String id, required String filename, required String folder, required String blobKey, required int sizeInBytes, required String contentType, required String hash, required MediaState state, required List<String> tags, required String url, required int usageCount, required DateTime createdAt, required DateTime updatedAt})
const
MediaAssetRecord.fromJson(Map<String, Object?> json)
factory

Properties

blobKey → String
final
contentType → String
final
createdAt → DateTime
final
filename → String
final
folder → String
final
hash → String
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sizeInBytes → int
final
state → MediaState
final
tags → List<String>
final
updatedAt → DateTime
final
url → String
final
usageCount → int
final

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