AppWidgetData.fromJson constructor

AppWidgetData.fromJson(
  1. Map json
)

Implementation

factory AppWidgetData.fromJson(Map json) {
  return AppWidgetData(
    json["date"],
    json["id"],
    json["background"],
    json["foreground"],
  );
}