copyWith method

ConversationModel copyWith({
  1. String? status,
  2. String? message,
  3. SingleConversationData? data,
})

Implementation

ConversationModel copyWith({
  String? status,
  String? message,
  SingleConversationData? data,
}) {
  return ConversationModel(
    status: status ?? this.status,
    message: message ?? this.message,
    data: data ?? this.data,
  );
}