Google is committed to advancing racial equity for Black communities. See how.

UnionType<T extends XUnion> class

*<Null safety>*

Inheritance

Constructors

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

const

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

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

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(Decoder decoder) int

inherited

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

override

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

inherited

encodingInlineSize(Encoder encoder) 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