copyWith method

GetCurrentWeather copyWith({
  1. Location? location,
})

Implementation

GetCurrentWeather copyWith({
  Location? location,
}) =>
    GetCurrentWeather(
      location: location ?? this.location,
    );