fromJson static method
Returns a new ProvidedSeriesModel instance and imports its values from
value
if it's a Map, null otherwise.
Implementation
// ignore: prefer_constructors_over_static_methods
static ProvidedSeriesModel fromJson(dynamic value) {
final json = value.cast<String, dynamic>();
return ProvidedSeriesModel(
from: mapDateTime(json, r'from', '')!,
to: mapDateTime(json, r'to', '')!,
recurrenceId: mapValueOfType<int>(json, r'recurrenceId')!,
);
}