UnionType class
Union avro type
Constructors
-
UnionType.new({required List<
AvroType> type}) -
const
-
UnionType.fromJson(Map<
String, dynamic> json) -
Create union from json schema
factory
Properties
Methods
-
decode(
DataBuffer data) → dynamic -
Decode data for current type
override
-
encode(
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