CacheCompatibilityTester class
Tests whether a DrawableRoot should be cache invalidated given old and new external parameter changes.
For example, an SVG needs to be invalidated if it actually uses em
units
and the font size changes, but not if it only uses px
units.
Constructors
- CacheCompatibilityTester()
-
Creates a tester that always returns true.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
isCompatible(
Object oldData, Object newData) → bool - Determine whether a cached DrawableRoot should be invalidated given old and new data.
-
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