copyWith method

SearchConversation copyWith({
  1. String? status,
  2. String? message,
  3. List<SearchConversationDatum>? data,
})

Implementation

SearchConversation copyWith({
  String? status,
  String? message,
  List<SearchConversationDatum>? data,
}) {
  return SearchConversation(
    status: status ?? this.status,
    message: message ?? this.message,
    data: data ?? this.data,
  );
}