operator + method
Addition operator for Half or num left operands.
Implementation
Half operator +(dynamic f) {
final d = (f is Half)
? f.toDouble()
: (f is num)
? f.toDouble()
: 0;
return Half(toDouble() + d);
}
Addition operator for Half or num left operands.
Half operator +(dynamic f) {
final d = (f is Half)
? f.toDouble()
: (f is num)
? f.toDouble()
: 0;
return Half(toDouble() + d);
}