copyWith method

FwStandardModelsCheckBoxListItem copyWith({
  1. String? value,
  2. String? text,
  3. bool? selected,
})

Implementation

FwStandardModelsCheckBoxListItem copyWith({
  String? value,
  String? text,
  bool? selected,
}) {
  return FwStandardModelsCheckBoxListItem(
    value: value ?? this.value,
    text: text ?? this.text,
    selected: selected ?? this.selected,
  );
}