getCreators method
Retrieves a list of creators.
params - Parameters for the request.
Implementation
Future<GetCreatorsResponse> getCreators([PaginationParams? params]) async {
return _retryPolicy.execute(() async {
final queryParams = params?.toQueryParameters() ?? {};
final json = await _apiClient.get(
'/v1/creators',
queryParams: queryParams,
);
return GetCreatorsResponse.fromJson(json);
});
}