FileVersion class
Constructors
-
FileVersion({required int ts, CID? plaintextCID, EncryptedCID? encryptedCID, FileVersionThumbnail? thumbnail, List<
Multihash> ? hashes, Map<String, dynamic> ? ext}) -
FileVersion.decode(Map<
int, dynamic> data) -
factory
Properties
- cid → CID
-
no setter
- encryptedCID → EncryptedCID?
-
final
-
ext
↔ Map<
String, dynamic> ? -
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
hashes
→ List<
Multihash> ? -
final
- plaintextCID → CID?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- thumbnail → FileVersionThumbnail?
-
final
- ts → int
-
in millis
final
Methods
-
encode(
) → Map< int, dynamic> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited