deleteAttribute method

Future<StatusResponse> deleteAttribute(
  1. String kref,
  2. String key
)
inherited

Deletes a single metadata attribute.

kref is the entity's kref URI. key is the attribute key to delete.

No error is thrown if the key doesn't exist.

Implementation

Future<StatusResponse> deleteAttribute(
  String kref,
  String key,
) async {
  final request = DeleteAttributeRequest()
    ..kref = Kref(uri: kref)
    ..key = key;
  return stub.deleteAttribute(request, options: callOptions);
}