nestedTypes method

Iterable<TypeDef> nestedTypes(
  1. TypeDef parent
)

Enumerates the nested types defined under the given parent type.

Implementation

Iterable<TypeDef> nestedTypes(TypeDef parent) =>
    _nestedTypeMap[_ReaderAndTypeDefIndex(parent.readerIndex, parent.index)]
        ?.map((index) => TypeDef(this, parent.readerIndex, index)) ??
    const Iterable.empty();