buildId property

  1. @override
String? get buildId

Implementation

@override
String? get buildId {
  final sections = namedSections(constants.buildIdSectionName);
  if (sections.isEmpty) return null;
  final note = sections.single as Note;
  if (note.type != constants.buildIdNoteType) return null;
  if (note.name != constants.buildIdNoteName) return null;
  return note.description
      .map((i) => i.toRadixString(16).padLeft(2, '0'))
      .join();
}