fromJson static method
Implementation
@visibleForTesting
static PersonImage? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = PersonImage._privateConstructor();
  result._path = jsonObject["path"];
  result._url = jsonObject["url"];
  result._contentType = jsonObject["contentType"];
  result._id = jsonObject["id"];
  result._metadata = jsonObject["metadata"];
  result._createdAt = DateTime.parse(jsonObject["createdAt"]);
  return result;
}