TargetRange class

TargetRange is a class implementing the data model of an element of the targetRanges array of a StatisticsRequest.

Constructors

TargetRange({required String name, required DateTime startTime, required DateTime endTime, required List<EGVRange> egvRanges})
TargetRange.fromJson({required Map<String, dynamic> json})
Generates an TargetRange obtained from a json.
factory

Properties

egvRanges List<EGVRange>
An containing the minimum and maximum EGV defining the target ranges.
getter/setter pair
endTime DateTime
The end of the time window
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
name String
The name of the TargetRange
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime DateTime
The beginning of the time window
getter/setter pair

Methods

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

Operators

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