DocumentVersionInfo class
One kept version of a document. content is set only when a single version is fetched; a listing carries size instead.
Constructors
- DocumentVersionInfo({required int versionNumber, required String contentHash, required String contentType, required int createdAt, required int size, Uint8List? content})
-
const
-
DocumentVersionInfo.fromJson(Map<
String, dynamic> json) -
One entry of a HISTORY listing. createdAt is Unix ms; servers before
history could be turned on sent RFC 3339, which is read too.
factory
Properties
- content → Uint8List?
-
final
- contentHash → String
-
final
- contentType → String
-
final
- createdAt → int
-
Unix milliseconds.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size → int
-
final
- versionNumber → 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