NamedType<T> class abstract

abstract named avro type Record, enum and fixed

Inheritance
Implementers

Constructors

NamedType.new({required String name, required String? namespace, required List<String> aliases})
const

Properties

aliases List<String>
Aliases for backward schema compatibility
final
hashCode int
The hash code for this object.
no setterinherited
name String
Name of schema
final
namespace String?
namespace of schema
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(DataBuffer data) → T
Decode data for current type
inherited
encode(T payload) Uint8List
Encode payload for current type
inherited
isType(dynamic payload) bool
Is payload of current type
inherited
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