PluginVersionCheckResult.fromResponse constructor

PluginVersionCheckResult.fromResponse(
  1. Response response, {
  2. ClientUriConverter? clientUriConverter,
})

Implementation

factory PluginVersionCheckResult.fromResponse(Response response,
    {ClientUriConverter? clientUriConverter}) {
  return PluginVersionCheckResult.fromJson(
      ResponseDecoder(REQUEST_ID_REFACTORING_KINDS.remove(response.id)),
      'result',
      response.result,
      clientUriConverter: clientUriConverter);
}