setInitialData method
void
setInitialData({
- required String projectId,
- required String tenantId,
- required String actionPath,
- required String appVersion,
- required ProjectModel selectedProject,
- DashboardConfigSchema? dashboardConfig,
Implementation
void setInitialData({
required String projectId,
required String tenantId,
required String actionPath,
required String appVersion,
required ProjectModel selectedProject,
DashboardConfigSchema? dashboardConfig,
}) {
_projectId = projectId;
_tenantId = tenantId;
_actionPath = actionPath.trim().isNotEmpty
? actionPath
: dashboardAPIPath; //[TODO: To be added to MDMS Service registry
_appVersion = appVersion;
_selectedProject = selectedProject;
_dashboardConfig = dashboardConfig;
}