factory S3Destination.fromJson(Map<String, dynamic> json) { return S3Destination( bucket: json['bucket'] as String?, prefix: json['prefix'] as String?, ); }