fromJson static method

Image? fromJson(
  1. dynamic jsonObject
)

Implementation

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

  result.imageType = jsonObject["imageType"];
  result.bitmap = jsonObject["bitmap"];
  result.tag = jsonObject["tag"];
  result.imageData = jsonObject["imageData"];

  return result;
}