copyWith method

IACoordinate copyWith({
  1. double? latitude,
  2. double? longitude,
})

Implementation

IACoordinate copyWith({
  double? latitude,
  double? longitude,
}) {
  return IACoordinate(
    latitude ?? this.latitude,
    longitude ?? this.longitude,
  );
}