ListItemViewModel.copy constructor

ListItemViewModel.copy(
  1. int id,
  2. int instanceId,
  3. String className,
  4. bool shouldSticky,
  5. RenderContext<LoadInstanceContext> context,
  6. ListItemViewModel viewModel,
)

Implementation

ListItemViewModel.copy(
  int id,
  int instanceId,
  String className,
  this.shouldSticky,
  RenderContext context,
  ListItemViewModel viewModel,
) : super.copy(id, instanceId, className, context, viewModel) {
  shouldSticky = viewModel.shouldSticky;
}