ResolvedDocument class

Result of resolving a document URI

Constructors

ResolvedDocument({required Uint8List content, required String contentType, required String etag, required DateTime lastModified, required PeerId resolvedFromServer, required RicochetUri originalUri})

Properties

content → Uint8List
Document content bytes
final
contentType → String
MIME content type
final
etag → String
ETag for caching/versioning
final
hashCode → int
The hash code for this object.
no setterinherited
lastModified → DateTime
Last modification timestamp
final
optimizedUri → RicochetUri
Get optimized URI with successful server prioritized
no setter
originalUri → RicochetUri
Original URI that was resolved
final
resolvedFromServer → PeerId
Which server successfully provided the document
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