Rain class

Rain information.

Constructors

Rain({double? lastHour, double? lastThreeHours})
Define a Rain class
const
Rain.fromJson(Map<String, dynamic> json)
Factory that returns a Rain class from json Map.
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
lastHour double?
Rain volume for the last 1 hour, mm.
final
lastThreeHours double?
Rain volume for the last 3 hours, mm.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Returns a map of the class.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited