FlutterGetWidgetDescriptionResult.fromResponse constructor

FlutterGetWidgetDescriptionResult.fromResponse(
  1. Response response
)

Implementation

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