fromJson static method
Implementation
static Bounds? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new Bounds();
result.x = jsonObject["x"];
result.y = jsonObject["y"];
result.width = jsonObject["width"];
result.height = jsonObject["height"];
return result;
}