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