getNameForEntity method

  1. @override
String? getNameForEntity(
  1. ThermionEntity entity
)
override

Implementation

@override
String? getNameForEntity(ThermionEntity entity) {
  final result = get_name_for_entity(_sceneManager!, entity);
  if (result == nullptr) {
    return null;
  }
  return result.cast<Utf8>().toDartString();
}