readClass static method
读取target
的对应包装类
Implementation
static VmClass readClass(dynamic target, {String? type}) {
if (type == null) {
return target is VmObject ? target.getClass() : VmClass._getClassByInstance(target);
} else {
return VmClass._getClassByTypeName(type);
}
}