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, 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, int depth) T

override

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

inherited

decodingInlineSize() int

inherited

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

override

encodeArray(Encoder encoder, Iterable<T> value, int offset, int depth) 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