MyObj_c<T> class

套娃类,用于包裹某元素,方便进行类似c++引用传递修改

Constructors

MyObj_c(T value)

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value ↔ T
getter/setter pair

Methods

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

Operators

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

Static Methods

autoFromJson<T1>(dynamic json, T1 fromJson(Map<String, dynamic>), T1 fromJsonStr(String)) → T1?