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

XUnionType<T extends XUnion> class

Inheritance

Constructors

XUnionType ({Map<int, FidlType> members, XUnionFactory<T> ctor, bool nullable, bool flexible})

const

Properties

ctorXUnionFactory<T>

final

flexiblebool

final

hashCodeint

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

inlineSizeint

final, inherited

membersMap<int, FidlType>

final

nullablebool

final, inherited

runtimeTypeType

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, List<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