TimeLine.fromJson constructor
TimeLine.fromJson(
- Map json
Implementation
factory TimeLine.fromJson(Map json) {
return TimeLine(
type: json["type"],
id: json["id"],
data: (json["data"] as List?)
?.map((item) => AppWidgetData.fromJson(item))
.toList() ??
[],
);
}