copyWith method

ConversationHistoryErrorCommonModel copyWith({
  1. int? code,
  2. dynamic reason,
})

Implementation

ConversationHistoryErrorCommonModel copyWith({int? code, dynamic reason}) {
  return ConversationHistoryErrorCommonModel(
      code: code ?? this.code, reason: reason ?? this.reason);
}