Schema class
Avro parsed schema
Constructors
- Schema.new({required AvroType type})
-
const
-
Schema.fromJson(Map<
String, dynamic> json) -
Parse schema from decoded json
factory
- Schema.parse(String schema)
-
Parse schema from json string
Can also parse raw string type like
string
factory
Properties
Methods
-
decode(
Uint8List data) → dynamic - Decode data with current schema
-
encode(
dynamic payload) → Uint8List - Encode payload with current schema
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited