InvalidationMixin class abstract

A mixin providing a simple validation lifecycle.

Call invalidate to mark class as needing to be validated. Implement validate to specify logic that should happen when the class is validated. Validation is scheduled using animationFrame on window.

Constructors

InvalidationMixin()

Properties

hashCode int
The hash code for this object.
no setterinherited
invalid bool
A boolean reflection of the current validity.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelInvalidation() → void
Cancels the current validation attempt.
invalidate() Future<ValidationStatus>
Mark this as invalid to be validated at a later time.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
validate() → void
Abstract method to be implemented as means of performing validation.

Operators

operator ==(Object other) bool
The equality operator.
inherited