operator + method

GpsCoordinates operator +(
  1. GpsCoordinates other
)

Implementation

GpsCoordinates operator +(GpsCoordinates other) => GpsCoordinates(
  latitude: latitude + other.latitude,
  longitude: longitude + other.longitude,
);