fromJson static method
Implementation
static ExportedRect? fromJson(Object? json) => switch (json) {
Map json => ExportedRect(
x: _int(json['x']),
y: _int(json['y']),
width: _int(json['width']),
height: _int(json['height']),
),
_ => null,
};