getInterestGroupDetails method

Future<Map<String, dynamic>> getInterestGroupDetails(
  1. String ownerOrigin,
  2. String name
)

Gets details for a named interest group. Returns: This largely corresponds to: https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup but has absolute expirationTime instead of relative lifetimeMs and also adds joiningOrigin.

Implementation

Future<Map<String, dynamic>> getInterestGroupDetails(
    String ownerOrigin, String name) async {
  var result = await _client.send('Storage.getInterestGroupDetails', {
    'ownerOrigin': ownerOrigin,
    'name': name,
  });
  return result['details'] as Map<String, dynamic>;
}