fromJson static method
Implementation
static ExportedShot fromJson(Map<String, Object?> json) => ExportedShot(
image: json['image'] as String? ?? '',
scenario: json['scenario'] as String? ?? '',
step: json['step'] as String? ?? '',
stepIndex: _int(json['stepIndex']),
rect: ExportedRect.fromJson(json['rect']),
charStart: json['charStart'] as int?,
charEnd: json['charEnd'] as int?,
locale: json['locale'] as String?,
device: json['device'] as String?,
offstage: json['offstage'] as bool? ?? false,
overflowed: json['overflowed'] as bool? ?? false,
);