value property
T
get
value
Return current primitive value of type T
Implementation
T get value {
if (_value is T && _value != null) return _value!;
throw Exception('Value of type ${T.toString()} is not set');
}
set
value
(T value)
Set current primitive value of type T
Implementation
set value(T value) {
set(value);
}