readBlobDataStatic static method
Implementation
@pragma('vm:entry-point')
static Future<Object?> readBlobDataStatic(IWayholderCollection wayholderCollection) async {
List<Wayholder> result = await _pbfReader!.prepareWays(wayholderCollection);
if (result.length > 10000) {
for (var wayholder in result) {
wayholder.clearCaches();
}
}
// free the filehandler in the isolate to being able to delete the file later on.
await wayholderCollection.freeRessources();
return result;
}