copyWith method
GetConversationsPageResponseModel
copyWith({
- List<
ConversationSummaryResponseModel> ? conversations, - dynamic nextCursor,
- bool? hasMore,
Implementation
GetConversationsPageResponseModel copyWith(
{List<ConversationSummaryResponseModel>? conversations,
dynamic nextCursor,
bool? hasMore}) {
return GetConversationsPageResponseModel(
conversations: conversations ?? this.conversations,
nextCursor: nextCursor ?? this.nextCursor,
hasMore: hasMore ?? this.hasMore);
}