toJson method
Implementation
Map<String, dynamic> toJson() => {
'bg': background,
'items': this.items.map((DashboardItem item) => item.toJson()).toList(),
'flows': this.flows.map((DashboardItem item) => item.toJson()).toList()
};