getCapabilityHash method

Future<String> getCapabilityHash()

Computes, if required, the capability hash of the data provided by the DiscoManager.

Implementation

Future<String> getCapabilityHash() async {
  _capabilityHash ??= await calculateCapabilityHash(
    HashFunction.sha1,
    getAttributes()
        .getManagerById<DiscoManager>(discoManager)!
        .getDiscoInfo(null),
  );

  return _capabilityHash!;
}