copyWith method

WebApiLogicSortItemsResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
})

Implementation

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