copyWith method
- BaseMessageFetchParams other
override
Implementation
@override
void copyWith(BaseMessageFetchParams other) {
super.copyWith(other);
if (other is MessageListParams) {
previousResultSize = other.previousResultSize;
nextResultSize = other.nextResultSize;
inclusive = other.inclusive;
reverse = other.reverse;
messageType = other.messageType;
customTypes = other.customTypes;
senderIds = other.senderIds;
showSubChannelMessagesOnly = other.showSubChannelMessagesOnly;
}
}