operator - method
Implementation
@override
Arithmetic operator -(Arithmetic other) {
if (other is OffsetIns) {
return OffsetIns(
Offset(offset.dx - other.offset.dx, offset.dy - other.offset.dy));
}
throw UnimplementedError();
}
@override
Arithmetic operator -(Arithmetic other) {
if (other is OffsetIns) {
return OffsetIns(
Offset(offset.dx - other.offset.dx, offset.dy - other.offset.dy));
}
throw UnimplementedError();
}