getContentWidget static method

dynamic getContentWidget(
  1. dynamic content
)

Implementation

static getContentWidget(dynamic content) {
  if (content is List) {
    return JsonArrayViewer(content, notRoot: true);
  } else {
    return JsonObjectViewer(content, notRoot: true);
  }
}