copyWith method

RowData copyWith({
  1. String? key,
  2. dynamic value,
  3. bool? isExpanded,
})

Implementation

RowData copyWith({
  String? key,
  dynamic? value,
  bool? isExpanded,
}) {
  return RowData(
    key: key ?? this.key,
    value: value ?? this.value,
    isExpanded: isExpanded ?? this.isExpanded,
  );
}