ParamsStateModel.from constructor

ParamsStateModel.from(
  1. {required bool isEmptyModule,
  2. required bool isPersonalizedConfig,
  3. required String featureName,
  4. required String moduleName,
  5. String? personalizedConfigPath}
)

Implementation

factory ParamsStateModel.from({
  required bool isEmptyModule,
  required bool isPersonalizedConfig,
  required String featureName,
  required String moduleName,
  String? personalizedConfigPath,
}) {
  return ParamsStateModel(
    isEmptyModule: isEmptyModule,
    isPersonalizedConfig: isPersonalizedConfig,
    personalizedConfigPath: personalizedConfigPath,
    featureName: featureName,
    moduleName: moduleName,
  );
}