SonarrUtilities class

SonarrUtilities gives access to static, functional operations. These are mainly used for the (de)serialization of received JSON data.

SonarrUtilities cannot be initialized, all available functions are available statically.

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

dateTimeFromJson(String? date) DateTime?
dateTimeToJson(DateTime? date) String?
historyEventTypeFromJson(String? type) SonarrHistoryEventType?
Converts a string to a SonarrHistoryEventType object.
historyEventTypeToJson(SonarrHistoryEventType? type) String?
Converts a SonarrHistoryEventType object back to its string representation.
historySortKeyFromJson(String? key) SonarrHistorySortKey?
Converts a string to a SonarrHistorySortKey object.
historySortKeyToJson(SonarrHistorySortKey? key) String?
Converts a SonarrHistorySortKey object back to its string representation.
seriesTypeFromJson(String? type) SonarrSeriesType?
Converts a string to a SonarrSeriesType object.
seriesTypeToJson(SonarrSeriesType? type) String?
Converts a SonarrSeriesType object back to its string representation.
wantedMissingSortKeyFromJson(String? key) SonarrWantedMissingSortKey?
Converts a string to a SonarrWantedMissingSortKey object.
wantedMissingSortKeyToJson(SonarrWantedMissingSortKey? key) String?
Converts a SonarrWantedMissingSortKey object back to its string representation.