FixedType class

Fixed avro type

Inheritance

Constructors

FixedType.new({required String name, required String? namespace, required List<String> aliases, required int size})
const
FixedType.fromJson(Map<String, dynamic> json)
Create fixed from json schema
factory

Properties

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

Methods

decode(DataBuffer data) Uint8List
Decode data for current type
override
encode(Uint8List payload) Uint8List
Encode payload for current type
override
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