getMembershipHistory method

Future<GetBundleHistoryResponse> getMembershipHistory(
  1. Kref memberKref
)

Gets the membership history for a specific member.

Returns the history of when the member was added/removed from this bundle, including the metadata captured at each change. This is useful for audits and debugging automation.

final history = await bundle.getMembershipHistory(hero.kref);

Implementation

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