MapType class

Map avro type

Inheritance

Constructors

MapType.new({required AvroType values})
const
MapType.fromJson(Map<String, dynamic> json)
Create map from json schema
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values AvroType
Type of map value Dart equivalent of T in Map<String, T>
final

Methods

decode(DataBuffer data) Map<String, dynamic>
Decode data for current type
override
encode(Map<String, dynamic> 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