DiscUsage.fromJson constructor

DiscUsage.fromJson(
  1. Map<String, dynamic> json
)

Creates a DiscUsage instance from a JSON representation.

Implementation

DiscUsage.fromJson(Map<String, dynamic> json) {
  usedSize = json['usedSize'];
  totalSize = json['totalSize'];
}