getFlagsActivityWithHttpInfo method

Future<Response> getFlagsActivityWithHttpInfo({
  1. int? limit,
})

Returns the caller's flag change log newest-first: every create, update and delete, with the actor and the time.

Returns the caller's flag change log newest-first: every create, update and delete, with the actor and the time.

Note: This method returns the HTTP Response.

Parameters:

  • int limit: Limit caps the rows returned. 1–500; anything else takes the default 100.

Implementation

Future<Response> getFlagsActivityWithHttpInfo({ int? limit, }) async {
  // ignore: prefer_const_declarations
  final path = r'/v1/flags/activity';

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

  if (limit != null) {
    queryParams.addAll(_queryParams('', 'limit', limit));
  }

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}