Dashboard constructor

Dashboard({
  1. int? automaticRefreshMs,
  2. String? description,
  3. List<SharePermission>? editPermissions,
  4. String? id,
  5. bool? isFavourite,
  6. bool? isWritable,
  7. String? name,
  8. UserBean? owner,
  9. int? popularity,
  10. int? rank,
  11. String? self,
  12. List<SharePermission>? sharePermissions,
  13. bool? systemDashboard,
  14. String? view,
})

Implementation

Dashboard(
    {this.automaticRefreshMs,
    this.description,
    List<SharePermission>? editPermissions,
    this.id,
    bool? isFavourite,
    bool? isWritable,
    this.name,
    this.owner,
    this.popularity,
    this.rank,
    this.self,
    List<SharePermission>? sharePermissions,
    bool? systemDashboard,
    this.view})
    : editPermissions = editPermissions ?? [],
      isFavourite = isFavourite ?? false,
      isWritable = isWritable ?? false,
      sharePermissions = sharePermissions ?? [],
      systemDashboard = systemDashboard ?? false;