diff --git a/CHANGELOG.md b/CHANGELOG.md index cc7a8e4..69144cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +## 0.0.2 + +- chore: migrate from `package:data_class_macro` to `package:data_class` + +## 0.0.1 + +- chore: initial version of `package:data_class` + ## 0.0.0-dev.12 - feat: improve hash to use jenkins hash diff --git a/README.md b/README.md index b05406b..aa296d2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # data_class [![build](https://github.com/felangel/data_class/actions/workflows/main.yaml/badge.svg)](https://github.com/felangel/data_class/actions/workflows/main.yaml) -[![pub package](https://img.shields.io/pub/v/data_class_macro.svg)](https://pub.dev/packages/data_class_macro) +[![pub package](https://img.shields.io/pub/v/data_class.svg)](https://pub.dev/packages/data_class) [![License: MIT](https://img.shields.io/badge/license-MIT-purple.svg)](https://opensource.org/licenses/MIT) **🚧 Experimental** support for data classes in Dart using [macros](https://dart.dev/language/macros). @@ -19,7 +19,7 @@ ## 🧑‍💻 Example ```dart -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; @Data() class Person { @@ -48,11 +48,11 @@ void main() { 1. Switch to the Flutter `master` channel `flutter channel master` -1. Add `package:data_class_macro` to your `pubspec.yaml` +1. Add `package:data_class` to your `pubspec.yaml` ```yaml dependencies: - data_class_macro: ^0.0.0-dev.1 + data_class: any ``` 1. Enable experimental macros in `analysis_options.yaml` diff --git a/example/main.dart b/example/main.dart index 0db9326..eb5eab1 100644 --- a/example/main.dart +++ b/example/main.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; @Data() class Person { diff --git a/lib/data_class_macro.dart b/lib/data_class.dart similarity index 92% rename from lib/data_class_macro.dart rename to lib/data_class.dart index 98c2097..25e08af 100644 --- a/lib/data_class_macro.dart +++ b/lib/data_class.dart @@ -1,5 +1,5 @@ /// Experimental support for data classes in Dart using package:macros. -library data_class_macro; +library data_class; export 'src/constructable_macro.dart' show Constructable; export 'src/copyable_macro.dart' show Copyable; diff --git a/lib/src/_data_class_macro.dart b/lib/src/_data_class.dart similarity index 93% rename from lib/src/_data_class_macro.dart rename to lib/src/_data_class.dart index a8021ff..fbb33d4 100644 --- a/lib/src/_data_class_macro.dart +++ b/lib/src/_data_class.dart @@ -2,9 +2,7 @@ import 'package:collection/collection.dart'; // Libraries used in augmented code. final dartCore = Uri.parse('dart:core'); -final dataClassMacro = Uri.parse( - 'package:data_class_macro/src/_data_class_macro.dart', -); +final dataClassMacro = Uri.parse('package:data_class/src/_data_class.dart'); // Methods used in augmented code. const undefined = Object(); diff --git a/lib/src/constructable_macro.dart b/lib/src/constructable_macro.dart index 0d007f3..39782da 100644 --- a/lib/src/constructable_macro.dart +++ b/lib/src/constructable_macro.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/src/macro_extensions.dart'; +import 'package:data_class/src/macro_extensions.dart'; import 'package:macros/macros.dart'; /// {@template constructable} diff --git a/lib/src/copyable_macro.dart b/lib/src/copyable_macro.dart index e2d0934..690a78f 100644 --- a/lib/src/copyable_macro.dart +++ b/lib/src/copyable_macro.dart @@ -1,8 +1,8 @@ import 'dart:core'; import 'package:collection/collection.dart'; -import 'package:data_class_macro/src/_data_class_macro.dart'; -import 'package:data_class_macro/src/macro_extensions.dart'; +import 'package:data_class/src/_data_class.dart'; +import 'package:data_class/src/macro_extensions.dart'; import 'package:macros/macros.dart'; /// {@template copyable} diff --git a/lib/src/data_macro.dart b/lib/src/data_macro.dart index a4267f9..7cddb03 100644 --- a/lib/src/data_macro.dart +++ b/lib/src/data_macro.dart @@ -1,6 +1,6 @@ import 'dart:core'; -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:macros/macros.dart'; /// {@template data} diff --git a/lib/src/equatable_macro.dart b/lib/src/equatable_macro.dart index 096299f..b8478c9 100644 --- a/lib/src/equatable_macro.dart +++ b/lib/src/equatable_macro.dart @@ -1,6 +1,6 @@ import 'package:collection/collection.dart'; -import 'package:data_class_macro/src/_data_class_macro.dart'; -import 'package:data_class_macro/src/macro_extensions.dart'; +import 'package:data_class/src/_data_class.dart'; +import 'package:data_class/src/macro_extensions.dart'; import 'package:macros/macros.dart'; /// {@template equatable} diff --git a/lib/src/stringable_macro.dart b/lib/src/stringable_macro.dart index 5877a33..5199662 100644 --- a/lib/src/stringable_macro.dart +++ b/lib/src/stringable_macro.dart @@ -1,8 +1,8 @@ import 'dart:core'; import 'package:collection/collection.dart'; -import 'package:data_class_macro/src/_data_class_macro.dart'; -import 'package:data_class_macro/src/macro_extensions.dart'; +import 'package:data_class/src/_data_class.dart'; +import 'package:data_class/src/macro_extensions.dart'; import 'package:macros/macros.dart'; /// {@template stringable} diff --git a/pubspec.yaml b/pubspec.yaml index 245909a..2d2cdeb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ -name: data_class_macro +name: data_class description: Experimental support for data classes in Dart using pkg:macros -version: 0.0.0-dev.12 +version: 0.0.2 repository: https://github.com/felangel/data_class topics: [macros, data-class] diff --git a/test/src/constructable_macro/empty_class_test.dart b/test/src/constructable_macro/empty_class_test.dart index c1676b0..bd14b1e 100644 --- a/test/src/constructable_macro/empty_class_test.dart +++ b/test/src/constructable_macro/empty_class_test.dart @@ -1,13 +1,13 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Constructable() class EmptyClass {} -void main() { +void main() { group(EmptyClass, () { test('has a const constructor', () { expect(const EmptyClass(), isA()); }); }); -} \ No newline at end of file +} diff --git a/test/src/constructable_macro/empty_nested_subclass_test.dart b/test/src/constructable_macro/empty_nested_subclass_test.dart index 0e91b90..daf43ba 100644 --- a/test/src/constructable_macro/empty_nested_subclass_test.dart +++ b/test/src/constructable_macro/empty_nested_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_of_named_multi_field_class_test.dart b/test/src/constructable_macro/empty_subclass_of_named_multi_field_class_test.dart index ced9600..1117b60 100644 --- a/test/src/constructable_macro/empty_subclass_of_named_multi_field_class_test.dart +++ b/test/src/constructable_macro/empty_subclass_of_named_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_of_named_single_field_class_test.dart b/test/src/constructable_macro/empty_subclass_of_named_single_field_class_test.dart index f21bac0..7319894 100644 --- a/test/src/constructable_macro/empty_subclass_of_named_single_field_class_test.dart +++ b/test/src/constructable_macro/empty_subclass_of_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart b/test/src/constructable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart index 51454ce..4995c07 100644 --- a/test/src/constructable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart +++ b/test/src/constructable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart b/test/src/constructable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart index a850099..8e0017f 100644 --- a/test/src/constructable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart +++ b/test/src/constructable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart b/test/src/constructable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart index 0c572a6..fea9637 100644 --- a/test/src/constructable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart +++ b/test/src/constructable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart b/test/src/constructable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart index 636cc07..b4b9f55 100644 --- a/test/src/constructable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart +++ b/test/src/constructable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_of_positional_multi_field_class_test.dart b/test/src/constructable_macro/empty_subclass_of_positional_multi_field_class_test.dart index d27066b..14d7853 100644 --- a/test/src/constructable_macro/empty_subclass_of_positional_multi_field_class_test.dart +++ b/test/src/constructable_macro/empty_subclass_of_positional_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_of_positional_single_field_class_test.dart b/test/src/constructable_macro/empty_subclass_of_positional_single_field_class_test.dart index f2f55a9..0205f3c 100644 --- a/test/src/constructable_macro/empty_subclass_of_positional_single_field_class_test.dart +++ b/test/src/constructable_macro/empty_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/empty_subclass_test.dart b/test/src/constructable_macro/empty_subclass_test.dart index 3fb06f3..08a394f 100644 --- a/test/src/constructable_macro/empty_subclass_test.dart +++ b/test/src/constructable_macro/empty_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/nullable_single_field_class_test.dart b/test/src/constructable_macro/nullable_single_field_class_test.dart index ed2bdc8..29e7332 100644 --- a/test/src/constructable_macro/nullable_single_field_class_test.dart +++ b/test/src/constructable_macro/nullable_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Constructable() diff --git a/test/src/constructable_macro/single_field_class_test.dart b/test/src/constructable_macro/single_field_class_test.dart index 5bc3915..94314c2 100644 --- a/test/src/constructable_macro/single_field_class_test.dart +++ b/test/src/constructable_macro/single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Constructable() diff --git a/test/src/constructable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart b/test/src/constructable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart index dc329ec..2b45cf3 100644 --- a/test/src/constructable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart +++ b/test/src/constructable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/single_field_subclass_of_positional_single_field_class_test.dart b/test/src/constructable_macro/single_field_subclass_of_positional_single_field_class_test.dart index df09668..88cd5d2 100644 --- a/test/src/constructable_macro/single_field_subclass_of_positional_single_field_class_test.dart +++ b/test/src/constructable_macro/single_field_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/constructable_macro/static_field_class_test.dart b/test/src/constructable_macro/static_field_class_test.dart index 6b33601..9d3bdf5 100644 --- a/test/src/constructable_macro/static_field_class_test.dart +++ b/test/src/constructable_macro/static_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Constructable() diff --git a/test/src/copyable_macro/empty_class_test.dart b/test/src/copyable_macro/empty_class_test.dart index 447050d..63357e2 100644 --- a/test/src/copyable_macro/empty_class_test.dart +++ b/test/src/copyable_macro/empty_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Copyable() diff --git a/test/src/copyable_macro/empty_nested_subclass_test.dart b/test/src/copyable_macro/empty_nested_subclass_test.dart index 3f4ae4e..d4f115a 100644 --- a/test/src/copyable_macro/empty_nested_subclass_test.dart +++ b/test/src/copyable_macro/empty_nested_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_of_named_multi_field_class_test.dart b/test/src/copyable_macro/empty_subclass_of_named_multi_field_class_test.dart index a0ce428..ef41506 100644 --- a/test/src/copyable_macro/empty_subclass_of_named_multi_field_class_test.dart +++ b/test/src/copyable_macro/empty_subclass_of_named_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_of_named_single_field_class_test.dart b/test/src/copyable_macro/empty_subclass_of_named_single_field_class_test.dart index 75128f7..73fa14e 100644 --- a/test/src/copyable_macro/empty_subclass_of_named_single_field_class_test.dart +++ b/test/src/copyable_macro/empty_subclass_of_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart b/test/src/copyable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart index 89c1a90..1140da9 100644 --- a/test/src/copyable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart +++ b/test/src/copyable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart b/test/src/copyable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart index 0b4c5d8..64a5444 100644 --- a/test/src/copyable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart +++ b/test/src/copyable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart b/test/src/copyable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart index 0dcb367..90777cb 100644 --- a/test/src/copyable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart +++ b/test/src/copyable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart b/test/src/copyable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart index 4b90ff9..c73cf38 100644 --- a/test/src/copyable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart +++ b/test/src/copyable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_of_positional_multi_field_class_test.dart b/test/src/copyable_macro/empty_subclass_of_positional_multi_field_class_test.dart index b9b9fc6..24abc42 100644 --- a/test/src/copyable_macro/empty_subclass_of_positional_multi_field_class_test.dart +++ b/test/src/copyable_macro/empty_subclass_of_positional_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_of_positional_single_field_class_test.dart b/test/src/copyable_macro/empty_subclass_of_positional_single_field_class_test.dart index c3c699b..a143299 100644 --- a/test/src/copyable_macro/empty_subclass_of_positional_single_field_class_test.dart +++ b/test/src/copyable_macro/empty_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/empty_subclass_test.dart b/test/src/copyable_macro/empty_subclass_test.dart index cf70456..5c7d6e5 100644 --- a/test/src/copyable_macro/empty_subclass_test.dart +++ b/test/src/copyable_macro/empty_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/nullable_single_field_class_test.dart b/test/src/copyable_macro/nullable_single_field_class_test.dart index 8a5e900..164aa62 100644 --- a/test/src/copyable_macro/nullable_single_field_class_test.dart +++ b/test/src/copyable_macro/nullable_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Copyable() diff --git a/test/src/copyable_macro/single_field_class_test.dart b/test/src/copyable_macro/single_field_class_test.dart index 4e10bfe..afa5dd4 100644 --- a/test/src/copyable_macro/single_field_class_test.dart +++ b/test/src/copyable_macro/single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Copyable() diff --git a/test/src/copyable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart b/test/src/copyable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart index 8c15be4..b501095 100644 --- a/test/src/copyable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart +++ b/test/src/copyable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/copyable_macro/single_field_subclass_of_positional_single_field_class_test.dart b/test/src/copyable_macro/single_field_subclass_of_positional_single_field_class_test.dart index f6f9d83..6bd0c1d 100644 --- a/test/src/copyable_macro/single_field_subclass_of_positional_single_field_class_test.dart +++ b/test/src/copyable_macro/single_field_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { @@ -8,7 +8,8 @@ abstract class BaseClass { @Copyable() class SingleFieldSubClass extends BaseClass { - const SingleFieldSubClass({required String baseField, required this.field}) : super(baseField); + const SingleFieldSubClass({required String baseField, required this.field}) + : super(baseField); final String field; } diff --git a/test/src/copyable_macro/static_field_class_test.dart b/test/src/copyable_macro/static_field_class_test.dart index 2e6e188..e03a7bd 100644 --- a/test/src/copyable_macro/static_field_class_test.dart +++ b/test/src/copyable_macro/static_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Copyable() diff --git a/test/src/data_macro/empty_class_test.dart b/test/src/data_macro/empty_class_test.dart index cf5cedf..671307a 100644 --- a/test/src/data_macro/empty_class_test.dart +++ b/test/src/data_macro/empty_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Data() diff --git a/test/src/data_macro/empty_nested_subclass_test.dart b/test/src/data_macro/empty_nested_subclass_test.dart index 7bfc288..8a55030 100644 --- a/test/src/data_macro/empty_nested_subclass_test.dart +++ b/test/src/data_macro/empty_nested_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { @@ -32,7 +32,8 @@ void main() { }); test('hashCode is correct', () { - expect(EmptyNestedSubClass().hashCode, equals(EmptyNestedSubClass().hashCode)); + expect(EmptyNestedSubClass().hashCode, + equals(EmptyNestedSubClass().hashCode)); }); test('toString is correct', () { diff --git a/test/src/data_macro/empty_subclass_of_named_multi_field_class_test.dart b/test/src/data_macro/empty_subclass_of_named_multi_field_class_test.dart index 9ffe11c..1461fc1 100644 --- a/test/src/data_macro/empty_subclass_of_named_multi_field_class_test.dart +++ b/test/src/data_macro/empty_subclass_of_named_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/empty_subclass_of_named_single_field_class_test.dart b/test/src/data_macro/empty_subclass_of_named_single_field_class_test.dart index 3a43238..0861eac 100644 --- a/test/src/data_macro/empty_subclass_of_named_single_field_class_test.dart +++ b/test/src/data_macro/empty_subclass_of_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/empty_subclass_of_nullable_named_single_field_class_test.dart b/test/src/data_macro/empty_subclass_of_nullable_named_single_field_class_test.dart index f2a3ed4..74b2765 100644 --- a/test/src/data_macro/empty_subclass_of_nullable_named_single_field_class_test.dart +++ b/test/src/data_macro/empty_subclass_of_nullable_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart b/test/src/data_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart index f390721..13845cc 100644 --- a/test/src/data_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart +++ b/test/src/data_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart b/test/src/data_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart index 8f200f2..2ac5da7 100644 --- a/test/src/data_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart +++ b/test/src/data_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/empty_subclass_of_optional_positional_single_field_class_test.dart b/test/src/data_macro/empty_subclass_of_optional_positional_single_field_class_test.dart index 3500329..726975c 100644 --- a/test/src/data_macro/empty_subclass_of_optional_positional_single_field_class_test.dart +++ b/test/src/data_macro/empty_subclass_of_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/empty_subclass_of_positional_multi_field_class_test.dart b/test/src/data_macro/empty_subclass_of_positional_multi_field_class_test.dart index 78bdc54..77a9f94 100644 --- a/test/src/data_macro/empty_subclass_of_positional_multi_field_class_test.dart +++ b/test/src/data_macro/empty_subclass_of_positional_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/empty_subclass_of_positional_single_field_class_test.dart b/test/src/data_macro/empty_subclass_of_positional_single_field_class_test.dart index 9842391..8f4b7e3 100644 --- a/test/src/data_macro/empty_subclass_of_positional_single_field_class_test.dart +++ b/test/src/data_macro/empty_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/empty_subclass_test.dart b/test/src/data_macro/empty_subclass_test.dart index acb1c1d..27f904a 100644 --- a/test/src/data_macro/empty_subclass_test.dart +++ b/test/src/data_macro/empty_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/nullable_single_field_class_test.dart b/test/src/data_macro/nullable_single_field_class_test.dart index 405f071..1a6285a 100644 --- a/test/src/data_macro/nullable_single_field_class_test.dart +++ b/test/src/data_macro/nullable_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Data() diff --git a/test/src/data_macro/single_field_class_test.dart b/test/src/data_macro/single_field_class_test.dart index b977caa..bb415b7 100644 --- a/test/src/data_macro/single_field_class_test.dart +++ b/test/src/data_macro/single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Data() diff --git a/test/src/data_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart b/test/src/data_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart index 25cf1cc..866eb4f 100644 --- a/test/src/data_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart +++ b/test/src/data_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/data_macro/single_field_subclass_of_positional_single_field_class_test.dart b/test/src/data_macro/single_field_subclass_of_positional_single_field_class_test.dart index 638c18b..40e11b6 100644 --- a/test/src/data_macro/single_field_subclass_of_positional_single_field_class_test.dart +++ b/test/src/data_macro/single_field_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_class_test.dart b/test/src/equatable_macro/empty_class_test.dart index 205723e..3f05c50 100644 --- a/test/src/equatable_macro/empty_class_test.dart +++ b/test/src/equatable_macro/empty_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Equatable() diff --git a/test/src/equatable_macro/empty_nested_subclass_test.dart b/test/src/equatable_macro/empty_nested_subclass_test.dart index 9a0e403..4326f20 100644 --- a/test/src/equatable_macro/empty_nested_subclass_test.dart +++ b/test/src/equatable_macro/empty_nested_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass {} @@ -15,7 +15,8 @@ void main() { }); test('hashCode is correct', () { - expect(EmptyNestedSubClass().hashCode, equals(EmptyNestedSubClass().hashCode)); + expect(EmptyNestedSubClass().hashCode, + equals(EmptyNestedSubClass().hashCode)); }); }); } diff --git a/test/src/equatable_macro/empty_subclass_of_named_multi_field_class_test.dart b/test/src/equatable_macro/empty_subclass_of_named_multi_field_class_test.dart index b28e8d5..cba00dd 100644 --- a/test/src/equatable_macro/empty_subclass_of_named_multi_field_class_test.dart +++ b/test/src/equatable_macro/empty_subclass_of_named_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_subclass_of_named_single_field_class_test.dart b/test/src/equatable_macro/empty_subclass_of_named_single_field_class_test.dart index c3657a7..7aac21d 100644 --- a/test/src/equatable_macro/empty_subclass_of_named_single_field_class_test.dart +++ b/test/src/equatable_macro/empty_subclass_of_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart b/test/src/equatable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart index dead454..2a0fbd1 100644 --- a/test/src/equatable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart +++ b/test/src/equatable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart b/test/src/equatable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart index 0429bbe..e8ec49c 100644 --- a/test/src/equatable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart +++ b/test/src/equatable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart b/test/src/equatable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart index 89bc3d3..34497aa 100644 --- a/test/src/equatable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart +++ b/test/src/equatable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart b/test/src/equatable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart index b0abd38..1af48d6 100644 --- a/test/src/equatable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart +++ b/test/src/equatable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_subclass_of_positional_multi_field_class_test.dart b/test/src/equatable_macro/empty_subclass_of_positional_multi_field_class_test.dart index bfffe73..7a04958 100644 --- a/test/src/equatable_macro/empty_subclass_of_positional_multi_field_class_test.dart +++ b/test/src/equatable_macro/empty_subclass_of_positional_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_subclass_of_positional_single_field_class_test.dart b/test/src/equatable_macro/empty_subclass_of_positional_single_field_class_test.dart index 3781599..ba001b8 100644 --- a/test/src/equatable_macro/empty_subclass_of_positional_single_field_class_test.dart +++ b/test/src/equatable_macro/empty_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/empty_subclass_test.dart b/test/src/equatable_macro/empty_subclass_test.dart index 702b678..1b20bc0 100644 --- a/test/src/equatable_macro/empty_subclass_test.dart +++ b/test/src/equatable_macro/empty_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/nullable_single_field_class_test.dart b/test/src/equatable_macro/nullable_single_field_class_test.dart index fc4c9c5..865e128 100644 --- a/test/src/equatable_macro/nullable_single_field_class_test.dart +++ b/test/src/equatable_macro/nullable_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Equatable() diff --git a/test/src/equatable_macro/single_field_class_test.dart b/test/src/equatable_macro/single_field_class_test.dart index f65ac64..72b1a24 100644 --- a/test/src/equatable_macro/single_field_class_test.dart +++ b/test/src/equatable_macro/single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Equatable() diff --git a/test/src/equatable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart b/test/src/equatable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart index 8ed38aa..c21a947 100644 --- a/test/src/equatable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart +++ b/test/src/equatable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/single_field_subclass_of_positional_single_field_class_test.dart b/test/src/equatable_macro/single_field_subclass_of_positional_single_field_class_test.dart index cc82a67..791cc2b 100644 --- a/test/src/equatable_macro/single_field_subclass_of_positional_single_field_class_test.dart +++ b/test/src/equatable_macro/single_field_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/equatable_macro/static_field_class_test.dart b/test/src/equatable_macro/static_field_class_test.dart index 5f089a2..6f468c2 100644 --- a/test/src/equatable_macro/static_field_class_test.dart +++ b/test/src/equatable_macro/static_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Equatable() diff --git a/test/src/stringable_macro/empty_class_test.dart b/test/src/stringable_macro/empty_class_test.dart index 87644a1..4a3c2af 100644 --- a/test/src/stringable_macro/empty_class_test.dart +++ b/test/src/stringable_macro/empty_class_test.dart @@ -1,13 +1,13 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Stringable() class EmptyClass {} -void main() { +void main() { group(EmptyClass, () { test('toString is correct', () { expect(EmptyClass().toString(), equals('EmptyClass()')); }); }); -} \ No newline at end of file +} diff --git a/test/src/stringable_macro/empty_nested_subclass_test.dart b/test/src/stringable_macro/empty_nested_subclass_test.dart index 9bf9a50..27a490b 100644 --- a/test/src/stringable_macro/empty_nested_subclass_test.dart +++ b/test/src/stringable_macro/empty_nested_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass {} diff --git a/test/src/stringable_macro/empty_subclass_of_named_multi_field_class_test.dart b/test/src/stringable_macro/empty_subclass_of_named_multi_field_class_test.dart index 03ed718..49951ba 100644 --- a/test/src/stringable_macro/empty_subclass_of_named_multi_field_class_test.dart +++ b/test/src/stringable_macro/empty_subclass_of_named_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/empty_subclass_of_named_single_field_class_test.dart b/test/src/stringable_macro/empty_subclass_of_named_single_field_class_test.dart index ff90750..7359489 100644 --- a/test/src/stringable_macro/empty_subclass_of_named_single_field_class_test.dart +++ b/test/src/stringable_macro/empty_subclass_of_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart b/test/src/stringable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart index ce28508..291defb 100644 --- a/test/src/stringable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart +++ b/test/src/stringable_macro/empty_subclass_of_nullable_named_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart b/test/src/stringable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart index 89cfdf4..707600c 100644 --- a/test/src/stringable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart +++ b/test/src/stringable_macro/empty_subclass_of_nullable_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart b/test/src/stringable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart index 79bb2fb..e087b87 100644 --- a/test/src/stringable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart +++ b/test/src/stringable_macro/empty_subclass_of_nullable_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart b/test/src/stringable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart index acecfcf..07bef58 100644 --- a/test/src/stringable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart +++ b/test/src/stringable_macro/empty_subclass_of_optional_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/empty_subclass_of_positional_multi_field_class_test.dart b/test/src/stringable_macro/empty_subclass_of_positional_multi_field_class_test.dart index 8c7794b..3ab719a 100644 --- a/test/src/stringable_macro/empty_subclass_of_positional_multi_field_class_test.dart +++ b/test/src/stringable_macro/empty_subclass_of_positional_multi_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/empty_subclass_of_positional_single_field_class_test.dart b/test/src/stringable_macro/empty_subclass_of_positional_single_field_class_test.dart index 25a759f..4472f2b 100644 --- a/test/src/stringable_macro/empty_subclass_of_positional_single_field_class_test.dart +++ b/test/src/stringable_macro/empty_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/empty_subclass_test.dart b/test/src/stringable_macro/empty_subclass_test.dart index ef28187..26c6422 100644 --- a/test/src/stringable_macro/empty_subclass_test.dart +++ b/test/src/stringable_macro/empty_subclass_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/nullable_single_field_class_test.dart b/test/src/stringable_macro/nullable_single_field_class_test.dart index 01c42e6..eaa56be 100644 --- a/test/src/stringable_macro/nullable_single_field_class_test.dart +++ b/test/src/stringable_macro/nullable_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Stringable() diff --git a/test/src/stringable_macro/single_field_class_test.dart b/test/src/stringable_macro/single_field_class_test.dart index 75a1be5..8f8356a 100644 --- a/test/src/stringable_macro/single_field_class_test.dart +++ b/test/src/stringable_macro/single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Stringable() diff --git a/test/src/stringable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart b/test/src/stringable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart index 3f54b80..3e079af 100644 --- a/test/src/stringable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart +++ b/test/src/stringable_macro/single_field_nested_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/single_field_subclass_of_positional_single_field_class_test.dart b/test/src/stringable_macro/single_field_subclass_of_positional_single_field_class_test.dart index e067711..662c8b0 100644 --- a/test/src/stringable_macro/single_field_subclass_of_positional_single_field_class_test.dart +++ b/test/src/stringable_macro/single_field_subclass_of_positional_single_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; abstract class BaseClass { diff --git a/test/src/stringable_macro/static_field_class_test.dart b/test/src/stringable_macro/static_field_class_test.dart index 4dee3bd..6f62648 100644 --- a/test/src/stringable_macro/static_field_class_test.dart +++ b/test/src/stringable_macro/static_field_class_test.dart @@ -1,4 +1,4 @@ -import 'package:data_class_macro/data_class_macro.dart'; +import 'package:data_class/data_class.dart'; import 'package:test/test.dart'; @Stringable()