getChildEntities method

  1. @override
Future<List<ThermionEntity>> getChildEntities(
  1. ThermionEntity parent,
  2. bool renderableOnly
)
override

Returns all child entities under parent.

Implementation

@override
Future<List<ThermionEntity>> getChildEntities(
    ThermionEntity parent, bool renderableOnly) async {
  final children =
      await _shim.getChildEntities(parent, renderableOnly).toDart;
  return children.toDart
      .map((js) => js.toDartInt)
      .cast<ThermionEntity>()
      .toList();
}