CompletionGetSuggestionsResult.fromResponse constructor

CompletionGetSuggestionsResult.fromResponse(
  1. Response response
)

Implementation

factory CompletionGetSuggestionsResult.fromResponse(Response response) {
  return CompletionGetSuggestionsResult.fromJson(
      ResponseDecoder(REQUEST_ID_REFACTORING_KINDS.remove(response.id)),
      'result',
      response.result);
}