toJson method

Map<String, dynamic> toJson()

Returns a JSON representation of DiscUsage.

Implementation

Map<String, dynamic> toJson() {
  return {'UsedSize': usedSize, 'TotalSize': totalSize};
}