From 9277f7f5ef50d59d110e0ee2b673749b54793a10 Mon Sep 17 00:00:00 2001 From: Remi Rousselet Date: Thu, 26 Oct 2023 12:51:22 +0200 Subject: [PATCH] Typos --- .vscode/settings.json | 5 +++++ packages/freezed_annotation/lib/freezed_annotation.dart | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..15af7a1 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,5 @@ +{ + "cSpell.words": [ + "unfreezed" + ] +} \ No newline at end of file diff --git a/packages/freezed_annotation/lib/freezed_annotation.dart b/packages/freezed_annotation/lib/freezed_annotation.dart index 6e13747..c4f23c5 100644 --- a/packages/freezed_annotation/lib/freezed_annotation.dart +++ b/packages/freezed_annotation/lib/freezed_annotation.dart @@ -555,7 +555,7 @@ class Default { } /// Marks a union type to implement the interface [stringType] or type T. -/// In the case below `City` will implement `AdministrativeArea`. +/// In the case below `City` will implement `AdministrativeArea`. /// ```dart /// @freezed /// abstract class Example with _$Example { @@ -567,7 +567,7 @@ class Default { /// ``` /// /// If interface is generic the `Implements.fromString` constructor must be used -/// otherwise freezed will generate correct codee but dart will throw a load +/// otherwise freezed will generate correct code but dart will throw a load /// error on the annotation declaration. /// /// Note: You need to make sure that you comply with the interface requirements