UnionType<T extends XUnion> class

*<Null safety>*

Inheritance

Constructors

UnionType ({required Map<int, FidlType<dynamic, Iterable>> members, required XUnionFactory<T> ctor, required bool flexible, required bool resource})

const

Properties

ctorXUnionFactory<T>

final

flexible → bool

final

hashCode → int

The hash code for this object. ...
read-only, inherited

inlineSize → int

final, inherited

members → Map<int, FidlType<dynamic, Iterable>>

final

resource → bool

final

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

Methods

decode(Decoder decoder, int offset) T

override

decodeArray(Decoder decoder, int count, int offset) List<T>

inherited

decodingInlineSize() int

inherited

encode(Encoder encoder, T value, int offset) void

override

encodeArray(Encoder encoder, Iterable<T> value, int offset) void

inherited

encodingInlineSize() int

inherited

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

toString() String

Returns a string representation of this object.
inherited

Operators

operator ==(Object other) bool

The equality operator. ...
inherited