toString method

String toString()
override

The weather data formatted as a string with newlines

Implementation

String toString() {
  return '''
  Place Name: $_areaName [$_country] ($latitude, $longitude)
  Date: $_date
  Weather: $_weatherMain, $_weatherDescription
  Temp: $_temperature, Temp (min): $_tempMin, Temp (max): $_tempMax,  Temp (feels like): $_tempFeelsLike
  Sunrise: $_sunrise, Sunset: $_sunset
  Wind: speed $_windSpeed, degree: $_windDegree, gust $_windGust
  Weather Condition code: $_weatherConditionCode
  ''';
}