SchemaSettings class Null safety

Settings for validating messages published against a schema.

Constructors

SchemaSettings({String? encoding, String? firstRevisionId, String? lastRevisionId, String? schema})
SchemaSettings.fromJson(Map json_)

Properties

encoding String?
The encoding of messages validated against schema. Possible string values are:
read / write
firstRevisionId String?
The minimum (inclusive) revision allowed for validating messages.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
lastRevisionId String?
The maximum (inclusive) revision allowed for validating messages.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
schema String?
The name of the schema that messages published should be validated against.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited