getFlagsDefsByKeyWithHttpInfo method
Returns one flag definition by key, or 404 when the caller's store has none under that key.
Returns one flag definition by key, or 404 when the caller's store has none under that key.
Note: This method returns the HTTP Response.
Parameters:
- String key (required): Key is the flag key to act on, from the path.
Implementation
Future<Response> getFlagsDefsByKeyWithHttpInfo(String key,) async {
// ignore: prefer_const_declarations
final path = r'/v1/flags/defs/{key}'
.replaceAll('{key}', key);
// ignore: prefer_final_locals
Object? postBody;
final queryParams = <QueryParam>[];
final headerParams = <String, String>{};
final formParams = <String, String>{};
const contentTypes = <String>[];
return apiClient.invokeAPI(
path,
'GET',
queryParams,
postBody,
headerParams,
formParams,
contentTypes.isEmpty ? null : contentTypes.first,
);
}