copyWith method

TileLocation copyWith({
  1. double? lat,
  2. double? lng,
})

Implementation

TileLocation copyWith({
  double? lat,
  double? lng,
}) {
  return TileLocation(
    lat: lat ?? this.lat,
    lng: lng ?? this.lng,
  );
}