From 2a7f14e7a91e2c9278fd9a424b43ccb434fb8bfc Mon Sep 17 00:00:00 2001 From: Rexios Date: Sat, 19 Oct 2024 20:16:50 -0400 Subject: [PATCH] ... --- hive/README.md | 2 ++ hive/readme/store_objects/hive_adapters.dart | 2 ++ hive/readme/store_objects/hive_adapters.hive.dart | 1 + 3 files changed, 5 insertions(+) create mode 100644 hive/readme/store_objects/hive_adapters.hive.dart diff --git a/hive/README.md b/hive/README.md index 75d51594..0cf48831 100644 --- a/hive/README.md +++ b/hive/README.md @@ -178,6 +178,8 @@ class Person extends HiveObject { import 'package:hive_ce/hive.dart'; import 'person.dart'; +part 'hive_adapters.hive.dart'; + @GenerateAdapters([AdapterSpec()]) // Annotations must be on some element // ignore: unused_element diff --git a/hive/readme/store_objects/hive_adapters.dart b/hive/readme/store_objects/hive_adapters.dart index 74a9d223..38064af7 100644 --- a/hive/readme/store_objects/hive_adapters.dart +++ b/hive/readme/store_objects/hive_adapters.dart @@ -1,6 +1,8 @@ import 'package:hive_ce/hive.dart'; import 'person.dart'; +part 'hive_adapters.hive.dart'; + @GenerateAdapters([AdapterSpec()]) // Annotations must be on some element // ignore: unused_element diff --git a/hive/readme/store_objects/hive_adapters.hive.dart b/hive/readme/store_objects/hive_adapters.hive.dart new file mode 100644 index 00000000..eb4cd482 --- /dev/null +++ b/hive/readme/store_objects/hive_adapters.hive.dart @@ -0,0 +1 @@ +part of 'hive_adapters.dart';