TypeAndArg class Null safety

Acts as a key for bloc container cache

For cache to return cache value, both type and arg must match with a stored version

Constructors

TypeAndArg(Type type, dynamic arg)

Properties

arg → dynamic
final
hashCode int
The hash code for this object.
read-onlyoverride
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
type Type
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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