SchemaId class
A schema identifier. It consists of a namespace, a name, and a version. A schema identifier unambiguously identifies a single, immutable schema. The namespace is used to avoid naming collisions in schemas written by different groups or organisations.
Version 1.0 See schema-id
- Implemented types
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.snake, includeIfNull: false)
Constructors
- SchemaId({required String namespace, required String name, required String version})
-
SchemaId.fromJson(Map<
String, dynamic> json) -
factory
- SchemaId.withVersion(String namespace, String name, SchemaVersion schemaVersion)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- namespace → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schemaVersion → SchemaVersion
-
final
- version → String
-
final
Methods
-
compareTo(
SchemaId other) → int -
Compares this object to another object.
override
-
getSchemaId(
) → SchemaId -
The schema this class corresponds to
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited