AssetTouch class
One asset touch — derived from a single pointer in a CanonicalChange.changedPointers list.
Constructors
- AssetTouch({required AssetCategory category, required String? id, required String pointer, required CanonicalChangeKind kind, required DateTime timestamp})
-
const
Properties
- category → AssetCategory
-
Category that the touched pointer falls under.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String?
-
Resolved asset id when extractable from the pointer + current bundle,
else
null(e.g. RFC 6902addto-with empty list, or pointer landing on a section root rather than a specific asset).final - kind → CanonicalChangeKind
-
The originating change kind. Defaults exclude open/saveAs/revert.
final
- pointer → String
-
The raw JSON pointer that produced this touch.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
Timestamp inherited from the CanonicalChange.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited