v1ModelsGet method

Future<Response<List<ModelResponseModel>>> v1ModelsGet({
  1. String? xiApiKey,
})

Get Models @param xi-api-key Your API key. This is required by most endpoints to access our API programatically. You can view your xi-api-key using the 'Profile' tab on the website.

Implementation

Future<chopper.Response<List<ModelResponseModel>>> v1ModelsGet({
  String? xiApiKey,
}) {
  generatedMapping.putIfAbsent(
    ModelResponseModel,
    () => ModelResponseModel.fromJsonFactory,
  );

  return _v1ModelsGet(xiApiKey: xiApiKey?.toString());
}