copyWith method

ProductStatusResponse copyWith({
  1. String? status,
  2. dynamic message,
  3. ProductStatusData? data,
  4. String? objectStatus,
})

Implementation

ProductStatusResponse copyWith({
  String? status,
  dynamic message,
  ProductStatusData? data,
  String? objectStatus,
}) =>
    ProductStatusResponse(
      status: status ?? this.status,
      message: message ?? this.message,
      data: data ?? this.data,
      objectStatus: objectStatus ?? this.objectStatus,
    );