copyWith method

WebApiModulesAgentOrderItemAddAListOfItemsResponse copyWith({
  1. int? status,
  2. bool? success,
  3. String? msg,
  4. List<String>? errors,
})

Implementation

WebApiModulesAgentOrderItemAddAListOfItemsResponse copyWith({
  int? status,
  bool? success,
  String? msg,
  List<String>? errors,
}) {
  return WebApiModulesAgentOrderItemAddAListOfItemsResponse(
    status: status ?? this.status,
    success: success ?? this.success,
    msg: msg ?? this.msg,
    errors: errors ?? this.errors,
  );
}