offset method

Offset offset()

Implementation

Offset offset(){
  return Offset(x.toDouble(),y.toDouble());
}