StorageSize.fromJson constructor

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

Implementation

factory StorageSize.fromJson(Map<String, dynamic> json) {
  return StorageSize(
    totalSize: json['totalSize'] as int?,
    availableSize: json['availableSize'] as int?,
  );
}