OneCallAlertsWeather class Null safety

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
read / write
description String?
A large description of the alert
read / write
endTime DateTime?
The send time of the alert, in UTC time
read / write
hashCode int
The hash code for this object.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
senderName String?
The name of the alert source
read / write
startTime DateTime?
The start time of the alert, in UTC time
read / write

Methods

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

Operators

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