retrieveAgentProfileIds method

  1. @override
Future<LRSResponse<List<String>>> retrieveAgentProfileIds(
  1. Agent? agent, {
  2. DateTime? since,
})
override

Retrieve the list of profileIds for an agent profile

Implementation

@override
Future<LRSResponse<List<String>>> retrieveAgentProfileIds(Agent? agent,
    {DateTime? since}) async {
  final params = {
    'agent': _agentToString(agent!),
  };
  if (since != null) {
    params['since'] = since.toIso8601String();
  }
  return _getProfileKeys('agents/profile', params);
}