coreLauncherRetrieveWithHttpInfo method

Future<Response> coreLauncherRetrieveWithHttpInfo(
  1. String key, {
  2. int? userId,
})

GET Launch status Params: key user_id: Optional

Note: This method returns the HTTP Response.

Parameters:

Implementation

Future<Response> coreLauncherRetrieveWithHttpInfo(String key, { int? userId, }) async {
  // ignore: prefer_const_declarations
  final path = r'/api/core/launcher/';

  // ignore: prefer_final_locals
  Object? postBody;

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

    queryParams.addAll(_queryParams('', 'key', key));
  if (userId != null) {
    queryParams.addAll(_queryParams('', 'user_id', userId));
  }

  const contentTypes = <String>[];


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