AdoptionFile class final
One file applying writes, by its project-relative POSIX path. sha256 and size describe the bytes the file holds once applied. content is the text adoption composes: the whole file, or for AdoptionFileAction.append the text appended. A skill file, copied from the Profile's locked commit, carries only its digest.
Constructors
- AdoptionFile({required String path, required AdoptionFileKind kind, required AdoptionFileAction action, required String sha256, required int size, String? content})
-
const
Properties
- action → AdoptionFileAction
-
final
- content → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- kind → AdoptionFileKind
-
final
- path → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sha256 → String
-
The SHA-256 of the bytes applying writes.
final
- size → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited