DirtyKind class abstract

Base class for describing why a value is considered "dirty".

Built-in kinds:

  • EditedDirty — value was modified locally (unsaved/unsynced).
  • ValidatedDirty — value comes from cache and may be stale.
  • CachedDirty — value comes from cache and may be stale.

Apps may extend this class to add project-specific kinds:

class ConflictDirty extends DirtyKind { const ConflictDirty(); }

Implementers

Constructors

DirtyKind()
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

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