listVariables method
List variables
Get a list of all variables of a specific function.
Implementation
Future<models.VariableList> listVariables(
{required String functionId}) async {
final String apiPath = '/functions/{functionId}/variables'
.replaceAll('{functionId}', functionId);
final Map<String, dynamic> apiParams = {};
final Map<String, String> apiHeaders = {
'content-type': 'application/json',
};
final res = await client.call(HttpMethod.get,
path: apiPath, params: apiParams, headers: apiHeaders);
return models.VariableList.fromMap(res.data);
}