copyWithCompanion method

MonologRow copyWithCompanion(
  1. MonologsCompanion data
)

Implementation

MonologRow copyWithCompanion(MonologsCompanion data) {
  return MonologRow(
    identifier: data.identifier.present
        ? data.identifier.value
        : this.identifier,
    chatId: data.chatId.present ? data.chatId.value : this.chatId,
  );
}