copyWith method

DeleteMessageResponse copyWith({
  1. String? status,
  2. int? message,
  3. int? code,
  4. String? data,
})

Implementation

DeleteMessageResponse copyWith({
  String? status,
  int? message,
  int? code,
  String? data,
}) {
  return DeleteMessageResponse(
    status: status ?? this.status,
    message: message ?? this.message,
    code: code ?? this.code,
    data: data ?? this.data,
  );
}