fromJson static method
Implementation
static DiffRect fromJson(Map<String, Object?> json) => DiffRect(
x: json['x'] as int? ?? 0,
y: json['y'] as int? ?? 0,
width: json['width'] as int? ?? 0,
height: json['height'] as int? ?? 0,
pixels: json['pixels'] as int? ?? 0,
);