OneCallAlertsWeather class

This is the class that handles JSON deserialization and makes data for alerts received from queries to the OneCall API endpoint accessible.

Constructors

OneCallAlertsWeather({String? senderName, String? alertName, DateTime? startTime, DateTime? endTime, String? description})
OneCallAlertsWeather.fromJson(Map<String, dynamic> json, UnitSettings settings)
factory

Properties

alertName String?
The name of the alert
getter/setter pair
description String?
A large description of the alert
getter/setter pair
endTime DateTime?
The send time of the alert, in UTC time
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
senderName String?
The name of the alert source
getter/setter pair
startTime DateTime?
The start time of the alert, in UTC time
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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