GetTopicSchemaSetting constructor
const
GetTopicSchemaSetting({})
Creates a new GetTopicSchemaSetting.
encoding The encoding of messages validated against schema. Default value: "ENCODING_UNSPECIFIED" Possible values: "ENCODING_UNSPECIFIED", "JSON", "BINARY"
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 GetTopicSchemaSetting({
required this.encoding,
required this.firstRevisionId,
required this.lastRevisionId,
required this.schema,
});