copyWith method

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

Implementation

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