PotOverride<T> class

The signature of the pair of a pot and its factory used for LocalPottery.

Implementers

Constructors

PotOverride({required Pot<T> pot, required PotObjectFactory<T> factory})
Creates PotOverride that has the pair of a pot and its factory used for LocalPottery.
const

Properties

factory PotObjectFactory<T>
A factory function used by LocalPottery to create an object for the pot.
final
hashCode int
The hash code for this object.
no setterinherited
pot Pot<T>
A Pot used as the key for an object created by the associated factory and stored/provided by LocalPottery to the widget subtree.
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.
inherited