FileVersion class
- Annotations
-
- @JsonSerializable(checked: true, createToJson: true, disallowUnrecognizedKeys: false, explicitToJson: true)
Constructors
- FileVersion({required DateTime createdAt, bool? deleted = true, FileData? delta, FileData? file, FileData? signature, required FileStatus status, int version = 0})
- Returns a new FileVersion instance.
-
FileVersion.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdAt → DateTime
-
final
- deleted → bool?
-
Usually only present if
true
final - delta → FileData?
-
final
- file → FileData?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature → FileData?
-
final
- status → FileStatus
-
final
- version → int
-
Incremental version counter, can only be increased.
final
Methods
-
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.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override