TypedKey<T> class

以泛型类型和 key 参数作为索引

Constructors

TypedKey.new([Object? key])

Properties

hashCode int
The hash code for this object.
latefinal
key Object?
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

genKey<T extends Object>({Object? key}) Object
产生一个泛型类型的key 如果不指定参数key 则直接以参数的 Type作为key