operator - method

  1. @override
Arithmetic operator -(
  1. Arithmetic other
)
override

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();
}