operator + method
- dynamic other
Dynamically adds exactly natively.
Implementation
dynamic operator +(dynamic other) {
if (!_hasValue) {
throw StateError('Any is empty!');
}
return (_value as dynamic) + (other is Any ? other.get() : other);
}