copyWith method

RefusalContent copyWith({
  1. String? refusal,
})

Creates a copy with replaced values.

Implementation

RefusalContent copyWith({String? refusal}) {
  return RefusalContent(refusal: refusal ?? this.refusal);
}