fromJson static method

ImageUpload? fromJson(
  1. dynamic jsonObject
)

Implementation

static ImageUpload? fromJson(jsonObject) {
  if (jsonObject == null) return null;
  var result = new ImageUpload();

  result.imageData = jsonObject["imageData"];
  result.imageUrl = jsonObject["imageUrl"];

  return result;
}