getAttribute method
inherited
Gets a single metadata attribute.
kref is the entity's kref URI.
key is the attribute key to retrieve.
Returns a response with exists: false if the key is not found.
Implementation
Future<GetAttributeResponse> getAttribute(
String kref,
String key,
) async {
final request = GetAttributeRequest()
..kref = Kref(uri: kref)
..key = key;
return stub.getAttribute(request, options: callOptions);
}