value property
Implementation
@override
dynamic get value {
if (lateFinalize && !_isInitialized) {
throw HTError.uninitialized(id!);
}
if (!isExternal) {
if (_value == null && (definitionIp != null)) {
initialize();
}
return _value;
} else {
final externalClass = interpreter.fetchExternalClass(classId!);
final value = externalClass.memberGet(id!);
return value;
}
}
Assign a new value to this variable.
Implementation
@override
set value(dynamic value) {
if (!isMutable && _isInitialized) {
throw HTError.immutable(id!);
}
_value = value;
_isInitialized = true;
}