open static method
The existing key for label; throws not_found when absent.
Implementation
static Future<HardwareKey> open(
String label, {
HardwareBackend? backend,
}) async {
final b = backend ?? createPlatformBackend();
if (!await b.exists(label)) {
throw HardwareKeyException('not_found', 'no key named $label');
}
return HardwareKey._(label, await b.backing(label), b);
}