getEdits method
get a Edit as EditsResponse object
Implementation
Future<EditsResponse> getEdits(
{required String input, required String instruction}) async {
try {
_checkApi(values: [input, instruction]);
final map = {'input': input, 'instruction': instruction};
final response = await service.getEdits(
apiKey: _apiKey, config: _configEdits, inputWithInstruction: map);
return response;
} catch (e) {
throw _exceptionCheck(e);
}
}