AspectOverride<A, T> class abstract

Constructors

AspectOverride(InheritableAspect<T> aspect, A value)
Override the given aspect to always produce value
const
factory
AspectOverride.constant(A override)
Constant constructor for sub-classes
const
AspectOverride.key(Key key, A override, {bool mutation})
Override any InheritableAspect of T that has the same key.
const
factory

Properties

hashCode int
The hash code for this object.
no setteroverride
override → A
Value which will be provided by Inheritable of T
final
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.
override

Static Methods

mutation<T>(MutableInheritableAspect<T> aspect, ValueChanged<T> onMutate) AspectOverride<ValueChanged<T>, T>
Override onMutate for aspect