From 32c136a7e9835c2c558a5ba572c050c99122beba Mon Sep 17 00:00:00 2001 From: Liam Appelbe Date: Wed, 18 Dec 2024 13:36:16 +1100 Subject: [PATCH] Make Duration a keyword --- pkgs/ffigen/lib/src/code_generator/dart_keywords.dart | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/ffigen/lib/src/code_generator/dart_keywords.dart b/pkgs/ffigen/lib/src/code_generator/dart_keywords.dart index 93d5877ad..5ec6e453b 100644 --- a/pkgs/ffigen/lib/src/code_generator/dart_keywords.dart +++ b/pkgs/ffigen/lib/src/code_generator/dart_keywords.dart @@ -21,6 +21,7 @@ const keywords = { 'default', 'deferred', 'do', + 'Duration', 'dynamic', 'else', 'enum',