copyWith method

WebApiLogicSortItemsResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. DateTime? sortStartDateTime,
  5. DateTime? itemDateStamp,
})

Implementation

WebApiLogicSortItemsResponse copyWith({
  int? status,
  bool? success,
  String? msg,
  DateTime? sortStartDateTime,
  DateTime? itemDateStamp,
}) {
  return WebApiLogicSortItemsResponse(
    status: status ?? this.status,
    success: success ?? this.success,
    msg: msg ?? this.msg,
    sortStartDateTime: sortStartDateTime ?? this.sortStartDateTime,
    itemDateStamp: itemDateStamp ?? this.itemDateStamp,
  );
}