TopicSchemaSettings constructor
const
TopicSchemaSettings({})
Creates a new TopicSchemaSettings.
encoding The encoding of messages validated against schema.
firstRevisionId The minimum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against lastRevision or any revision created before.
lastRevisionId The maximum (inclusive) revision allowed for validating messages. If empty or not present, allow any revision to be validated against firstRevision or any revision created after.
schema The name of the schema that messages published should be
Implementation
const TopicSchemaSettings({
this.encoding,
this.firstRevisionId,
this.lastRevisionId,
required this.schema,
});