buildIdOf static method

String? buildIdOf(
  1. List<int> symbolsFile
)

The ELF build id of a symbols file, as lowercase hex, or null when it is not one this can read. What a bundle's manifest records, so a stack is matched to the file of the build that printed it.

Implementation

static String? buildIdOf(List<int> symbolsFile) {
  try {
    final Dwarf? dwarf = Dwarf.fromBytes(Uint8List.fromList(symbolsFile));
    return dwarf?.buildId()?.toLowerCase();
  } on Object {
    return null;
  }
}