DiagnosticGetServerPortResult.fromResponse constructor

DiagnosticGetServerPortResult.fromResponse(
  1. Response response
)

Implementation

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