encodeStats static method

Map<String, dynamic> encodeStats(
  1. DownloadStats stats
)

Encodes DownloadStats for the wire.

Implementation

static Map<String, dynamic> encodeStats(DownloadStats stats) =>
    stats.toJson();