copyWith method

LostReasonResponse copyWith({
  1. List<LostReasonData>? data,
  2. num? success,
  3. String? message,
})

Implementation

LostReasonResponse copyWith({  List<LostReasonData>? data,
  num? success,
  String? message,
}) => LostReasonResponse(  data: data ?? _data,
  success: success ?? _success,
  message: message ?? _message,
);