copyWith method

RefundResponse copyWith({
  1. String? id,
  2. String? type,
  3. RefundResponseAttributes? attributes,
})

Implementation

RefundResponse copyWith({
  String? id,
  String? type,
  RefundResponseAttributes? attributes,
}) {
  return RefundResponse(
    id: id ?? this.id,
    type: type ?? this.type,
    attributes: attributes ?? this.attributes,
  );
}