LabelValue<T> class
@author: slc 定义一个泛型类 LabelValue,用于存储标签和对应的值 其中 T 是值的类型,可以是任意类型
Constructors
- LabelValue([String? label, T? value])
-
构造函数,用于创建 LabelValue 实例
label可选参数,用于初始化标签字段value可选参数,用于初始化值字段
Properties
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