copyWith method

BodyComponentsCreateInitialised copyWith({
  1. List<BodyComponentModel>? bodyComponentModels,
  2. List<PluginWithComponents>? pluginWithComponents,
  3. BodyComponentModel? currentlySelected,
})

Implementation

BodyComponentsCreateInitialised copyWith(
    {List<BodyComponentModel>? bodyComponentModels,
    List<PluginWithComponents>? pluginWithComponents,
    BodyComponentModel? currentlySelected}) {
  return BodyComponentsCreateInitialised(
      bodyComponentModels: bodyComponentModels ?? this.bodyComponentModels,
      pluginWithComponents: pluginWithComponents ?? this.pluginWithComponents,
      currentlySelected: currentlySelected);
}