copyWith method

LceContent<DATA> copyWith({
  1. DATA? data,
  2. bool? dataIsValid,
})

Implementation

LceContent<DATA> copyWith({ DATA? data, bool? dataIsValid }) {
  return LceContent(
      data ?? this.data,
      dataIsValid ?? this.dataIsValid
  );
}