We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b8dcb5 commit 8fda051Copy full SHA for 8fda051
example/test/utils/pdf_test_utils.dart
@@ -20,11 +20,11 @@ class PdfTestUtils {
20
{TestDocInfo? info}) async {
21
final pdf = Optional.ofNullable(info)
22
.map((i) => pw.Document(
23
- title: i.title!,
24
- author: i.author!,
25
- creator: i.creator!,
26
- subject: i.subject!,
27
- keywords: i.keywords!))
+ title: i.title,
+ author: i.author,
+ creator: i.creator,
+ subject: i.subject,
+ keywords: i.keywords))
28
.orElse(pw.Document());
29
30
final pdfPages = pages
0 commit comments