copyWith method

DialoguewiseResponse copyWith({
  1. int? statusCode,
  2. String? reasonPhrase,
  3. Map<String, dynamic>? response,
})

Implementation

DialoguewiseResponse copyWith({
  int? statusCode,
  String? reasonPhrase,
  Map<String, dynamic>? response,
}) {
  return DialoguewiseResponse(
    statusCode: statusCode ?? this.statusCode,
    reasonPhrase: reasonPhrase ?? this.reasonPhrase,
    response: response ?? this.response,
  );
}