copyWith method

  1. @override
void copyWith(
  1. 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;
  }
}