SubscriptionState constructor
const
SubscriptionState({})
Creates a new SubscriptionState.
conninfo The connection string to the publisher. It should follow the keyword/value format
createSlot Specifies whether the command should create the replication slot on the publisher. Default behavior is true
database Which database to create the subscription on. Defaults to provider database.
name The name of the publication.
publications Names of the publications on the publisher to subscribe to
slotName Name of the replication slot to use. The default behavior is to use the name of the subscription for the slot name
Implementation
const SubscriptionState({
this.conninfo,
this.createSlot,
this.database,
this.name,
this.publications,
this.slotName,
});