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