toStringifyPretty method
Implementation
Future<String> toStringifyPretty([int space = 2]) async {
dynamic data_ = await this;
if (data_ is Map || data_ is List) {
return JsonEncoder.withIndent(" " * space).convert(data_);
} else {
return data_.toString();
}
}