formatJsonLeaf function
Text used for a non-expandable JSON value in the tree.
Implementation
String formatJsonLeaf(dynamic value) {
if (value == null) return 'null';
if (value is String) return '"$value"';
return value.toString();
}
Text used for a non-expandable JSON value in the tree.
String formatJsonLeaf(dynamic value) {
if (value == null) return 'null';
if (value is String) return '"$value"';
return value.toString();
}