getMembershipHistory method

Future<GetBundleHistoryResponse> getMembershipHistory()

Gets the full membership history of this bundle.

Returns the complete chronological history of membership changes (additions and removals), including the metadata captured at each change. Useful for audits and debugging automation.

Mirrors the Python SDK's Bundle.get_history(): the GetBundleHistory RPC returns the entire audit trail for the bundle and has no per-member filter.

final history = await bundle.getMembershipHistory();

Implementation

Future<pb.GetBundleHistoryResponse> getMembershipHistory() async {
  return client.getBundleHistory(kref.uri);
}