toAnthropicQueryParameters method

Map<String, String> toAnthropicQueryParameters()

Convert to Anthropic query parameters

Implementation

Map<String, String> toAnthropicQueryParameters() {
  final params = <String, String>{};

  if (beforeId != null) params['before_id'] = beforeId!;
  if (afterId != null) params['after_id'] = afterId!;
  if (limit != null) params['limit'] = limit.toString();

  return params;
}