ScreenshotClip.fromJson constructor

ScreenshotClip.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ScreenshotClip.fromJson(Map<String, dynamic> json) {
  return ScreenshotClip(
    scale: json['scale'],
    width: json['width'],
    height: json['height'],
    x: json['x'],
    y: json['y'],
  );
}