fromJson static method
- dynamic jsonObject
Allows you to deserialize object.
Implementation
static CameraSize? fromJson(jsonObject) {
if (jsonObject == null) return null;
var result = new CameraSize();
result.width = jsonObject["width"];
result.height = jsonObject["height"];
return result;
}