TautulliGraphData class
Model to store graph data from Tautulli.
Graph data includes the category, and a list of "series". A series ([]) contains the title (name) and an array of data. The array of data matches in position to the category.
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
TautulliGraphData({List<
String?> ? categories, List<TautulliSeriesData> ? series}) -
TautulliGraphData.fromJson(Map<
String, dynamic> json) -
Deserialize a JSON map to a TautulliGraphData object.
factory
Properties
-
categories
→ List<
String?> ? -
The category header for the series.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
series
→ List<
TautulliSeriesData> ? -
List of
TautulliSeriesData
, each storing a series for the graph data.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Serialize a TautulliGraphData to a JSON map.
-
toString(
) → String -
Returns a JSON-encoded string version of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited