operator * method
Multiplies this number by other
.
The result is an Obj of double, as described by double.*,
if both this
and other
is an Obj of double,
otherwise the result is a Obj of int.
Implementation
Obj<num> operator *(Obj<num> other) => (value * other.value).obj;