getContentWidget static method

StatefulWidget getContentWidget(
  1. dynamic content
)

Implementation

static StatefulWidget getContentWidget(dynamic content) {
  if (content is List) {
    return JsonArrayViewerWidget(content, notRoot: true);
  } else {
    return JsonView(content, notRoot: true);
  }
}