toJson method

Map<String, dynamic> toJson()

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()
    };