processedContent property
String
get
processedContent
When isJson is true, the content will be using Extension prettify
which
has default empty value 'N/A', but when isJson is false the default value
is using defaultEmptyContent
constant.
Implementation
String get processedContent {
final nonJsonContent = (content ?? defaultEmptyContent);
return (isJson) ? content.prettify : nonJsonContent;
}