copyWithCompanion method

ChatCredentialsRow copyWithCompanion(
  1. ChatCredentialsCompanion data
)

Implementation

ChatCredentialsRow copyWithCompanion(ChatCredentialsCompanion data) {
  return ChatCredentialsRow(
    chatId: data.chatId.present ? data.chatId.value : this.chatId,
    credentials:
        data.credentials.present ? data.credentials.value : this.credentials,
  );
}