json_conversion library

Contains tools to convert JSON to Dart Object and vice versa, utilizing the json_serializable package.

Classes

BoolJsonConverter
CityKeyListJsonConverter
CityWidgetMapJsonConverter
CustomJsonSerializable
Custom JsonSerializable class that uses custom converters to parse JSON objects consistently and robustly.
DateTimeJsonConverter
Expects seconds since epoch
DateTimeSecondsParser
A class that provides a method to parse a date time from seconds since epoch.
DoubleJsonConverter
DurationJsonConverter
IntJsonConverter
LatLngJsonConverter
LatLongParser
Parses a JSON object to a LatLng object.
ListJsonConverter<T>
MapToSunPerDayListJsonConverter
ScaleJsonConverter
StringJsonConverter
UriJsonConverter

Functions

parseList<T>(dynamic values, T fromJson(dynamic)) List<T>?