fromJson static method
Implementation
@visibleForTesting
static PrepareProgress? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  return PrepareProgress(
    jsonObject["downloadedBytes"],
    jsonObject["totalBytes"],
    jsonObject["progress"],
  );
}