encodeAnother method

  1. @override
String encodeAnother(
  1. HeapSample sample
)
override

More than one Encoded Heap Sample, add a comma and the Encoded Heap Sample.

Implementation

@override
String encodeAnother(HeapSample sample) => ',\n${jsonEncode(sample)}';