shareableLogs static method

String shareableLogs({
  1. bool csv = false,
})

Returns a shareable content payload. Host app can pass this to share_plus.

Implementation

static String shareableLogs({bool csv = false}) {
  return csv ? exportLogsAsCsv() : exportLogsAsJson();
}