PublicStorage.fromJson constructor

PublicStorage.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory PublicStorage.fromJson(Map<String, Object?> json) => PublicStorage(
      encoding: StorageEncoding.fromJson(json["encoding"]),
      storedSize: (json["stored_size"] as num).toInt(),
    );