Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lohanidamodar committed Sep 18, 2024
1 parent b6446a7 commit 29ca251
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/dart/lib/payload.dart.twig
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class Payload {
String? filename,
}) {
final jsonString = jsonEncode(data);
return Payload.fromString(jsonString, filename: filename);
return Payload.fromString(string: jsonString, filename: filename);
}

// Create a Payload from a string
Expand Down

0 comments on commit 29ca251

Please sign in to comment.