DashboardItem.fromJson constructor
DashboardItem.fromJson(
- Map<String, dynamic> json
)
Implementation
factory DashboardItem.fromJson(Map<String, dynamic> json) {
return DashboardItem(
id: json['id'],
name: json['name'],
type: json['type'],
dashboard: json['dashboard'],
created: json['created'],
contentCount: json['contentCount'],
interpretationCount: json['interpretationCount'],
interpretationLikeCount: json['interpretationLikeCount'],
chart: json['chart'],
report: json['report'],
dirty: json['dirty']);
}