SubscriptionState constructor

const SubscriptionState({
  1. Input<String>? conninfo,
  2. Input<bool>? createSlot,
  3. Input<String>? database,
  4. Input<String>? name,
  5. Input<List<String>>? publications,
  6. Input<String>? slotName,
})

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,
});