diff --git a/examples/counter/lib/main.g.dart b/examples/counter/lib/main.g.dart index d7ccd81e6..9450b6ad2 100644 --- a/examples/counter/lib/main.g.dart +++ b/examples/counter/lib/main.g.dart @@ -26,4 +26,4 @@ final counterProvider = AutoDisposeNotifierProvider.internal( typedef _$Counter = AutoDisposeNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/examples/pub/lib/detail.g.dart b/examples/pub/lib/detail.g.dart index b87897904..751e95783 100644 --- a/examples/pub/lib/detail.g.dart +++ b/examples/pub/lib/detail.g.dart @@ -371,4 +371,4 @@ class _PackageMetricsProviderElement String get packageName => (origin as PackageMetricsProvider).packageName; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/examples/pub/lib/search.g.dart b/examples/pub/lib/search.g.dart index 16790d9ab..96fa04c94 100644 --- a/examples/pub/lib/search.g.dart +++ b/examples/pub/lib/search.g.dart @@ -175,4 +175,4 @@ class _FetchPackagesProviderElement String get search => (origin as FetchPackagesProvider).search; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/integration/build_yaml/lib/main.g.dart b/packages/riverpod_generator/integration/build_yaml/lib/main.g.dart index 7a7a649ad..ff7c3efc3 100644 --- a/packages/riverpod_generator/integration/build_yaml/lib/main.g.dart +++ b/packages/riverpod_generator/integration/build_yaml/lib/main.g.dart @@ -934,4 +934,4 @@ class _CountStreamNotifier2ProviderElement int get a => (origin as CountStreamNotifier2Provider).a; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/async.g.dart b/packages/riverpod_generator/test/integration/async.g.dart index 53a68fce7..e1af6bc9f 100644 --- a/packages/riverpod_generator/test/integration/async.g.dart +++ b/packages/riverpod_generator/test/integration/async.g.dart @@ -773,4 +773,4 @@ class _FamilyClassProviderElement List? get fifth => (origin as FamilyClassProvider).fifth; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/auto_dispose.g.dart b/packages/riverpod_generator/test/integration/auto_dispose.g.dart index 6bfce037d..4bd8667b9 100644 --- a/packages/riverpod_generator/test/integration/auto_dispose.g.dart +++ b/packages/riverpod_generator/test/integration/auto_dispose.g.dart @@ -35,4 +35,4 @@ final notKeepAliveProvider = AutoDisposeProvider.internal( typedef NotKeepAliveRef = AutoDisposeProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/dependencies.g.dart b/packages/riverpod_generator/test/integration/dependencies.g.dart index 5f9a2aa63..000466f9f 100644 --- a/packages/riverpod_generator/test/integration/dependencies.g.dart +++ b/packages/riverpod_generator/test/integration/dependencies.g.dart @@ -687,4 +687,4 @@ final emptyDependenciesClassBasedProvider = typedef _$EmptyDependenciesClassBased = AutoDisposeNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/dependencies2.g.dart b/packages/riverpod_generator/test/integration/dependencies2.g.dart index 3b89d9d50..69ec582c1 100644 --- a/packages/riverpod_generator/test/integration/dependencies2.g.dart +++ b/packages/riverpod_generator/test/integration/dependencies2.g.dart @@ -410,4 +410,4 @@ class _NotifierFamilyWithDependenciesProviderElement int? get id => (origin as NotifierFamilyWithDependenciesProvider).id; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/hash/hash1.g.dart b/packages/riverpod_generator/test/integration/hash/hash1.g.dart index d4088d440..8fd887b16 100644 --- a/packages/riverpod_generator/test/integration/hash/hash1.g.dart +++ b/packages/riverpod_generator/test/integration/hash/hash1.g.dart @@ -50,4 +50,4 @@ final simpleClassProvider = typedef _$SimpleClass = AutoDisposeNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/scopes.g.dart b/packages/riverpod_generator/test/integration/scopes.g.dart index ba439c9dd..eb436b0d5 100644 --- a/packages/riverpod_generator/test/integration/scopes.g.dart +++ b/packages/riverpod_generator/test/integration/scopes.g.dart @@ -24,4 +24,4 @@ final scopedProvider = AutoDisposeProvider.internal( typedef ScopedRef = AutoDisposeProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/split.g.dart b/packages/riverpod_generator/test/integration/split.g.dart index 4474103e4..40f69d5b7 100644 --- a/packages/riverpod_generator/test/integration/split.g.dart +++ b/packages/riverpod_generator/test/integration/split.g.dart @@ -35,4 +35,4 @@ final counterProvider = AutoDisposeProvider.internal( typedef CounterRef = AutoDisposeProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/stream.g.dart b/packages/riverpod_generator/test/integration/stream.g.dart index 58dac0d73..27b82c013 100644 --- a/packages/riverpod_generator/test/integration/stream.g.dart +++ b/packages/riverpod_generator/test/integration/stream.g.dart @@ -504,4 +504,4 @@ class _FamilyClassProviderElement List? get fifth => (origin as FamilyClassProvider).fifth; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_generator/test/integration/sync.g.dart b/packages/riverpod_generator/test/integration/sync.g.dart index 16aa17e1e..6df7f672e 100644 --- a/packages/riverpod_generator/test/integration/sync.g.dart +++ b/packages/riverpod_generator/test/integration/sync.g.dart @@ -1185,4 +1185,4 @@ final supports$InClassNameProvider = typedef _$Supports$InClassName = AutoDisposeNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_graph/test/integration/generated/golden/lib/sync.g.dart b/packages/riverpod_graph/test/integration/generated/golden/lib/sync.g.dart index c23c840f8..6a22a5e6d 100644 --- a/packages/riverpod_graph/test/integration/generated/golden/lib/sync.g.dart +++ b/packages/riverpod_graph/test/integration/generated/golden/lib/sync.g.dart @@ -567,4 +567,4 @@ final supports$InClassNameProvider = typedef _$Supports$InClassName = AutoDisposeNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/assists/convert_class_based_provider_to_functional.g.dart b/packages/riverpod_lint_flutter_test/test/assists/convert_class_based_provider_to_functional.g.dart index 117a27a68..801c4ebe0 100644 --- a/packages/riverpod_lint_flutter_test/test/assists/convert_class_based_provider_to_functional.g.dart +++ b/packages/riverpod_lint_flutter_test/test/assists/convert_class_based_provider_to_functional.g.dart @@ -218,4 +218,4 @@ class _ExampleFamilyProviderElement String get b => (origin as ExampleFamilyProvider).b; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/assists/convert_functional_provider_to_class_based.g.dart b/packages/riverpod_lint_flutter_test/test/assists/convert_functional_provider_to_class_based.g.dart index e7496c479..32014e572 100644 --- a/packages/riverpod_lint_flutter_test/test/assists/convert_functional_provider_to_class_based.g.dart +++ b/packages/riverpod_lint_flutter_test/test/assists/convert_functional_provider_to_class_based.g.dart @@ -198,4 +198,4 @@ class _ExampleFamilyProviderElement extends AutoDisposeProviderElement String get b => (origin as ExampleFamilyProvider).b; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/goldens/fixes/provider_dependencies.g.dart b/packages/riverpod_lint_flutter_test/test/goldens/fixes/provider_dependencies.g.dart index 0db2c257d..ec5ac67d9 100644 --- a/packages/riverpod_lint_flutter_test/test/goldens/fixes/provider_dependencies.g.dart +++ b/packages/riverpod_lint_flutter_test/test/goldens/fixes/provider_dependencies.g.dart @@ -202,4 +202,4 @@ final noDepWithoutCommaProvider = AutoDisposeProvider.internal( typedef NoDepWithoutCommaRef = AutoDisposeProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/goldens/functional_ref.g.dart b/packages/riverpod_lint_flutter_test/test/goldens/functional_ref.g.dart index 0ee72bb01..ea777e89e 100644 --- a/packages/riverpod_lint_flutter_test/test/goldens/functional_ref.g.dart +++ b/packages/riverpod_lint_flutter_test/test/goldens/functional_ref.g.dart @@ -67,4 +67,4 @@ final scopedProvider = AutoDisposeProvider.internal( typedef ScopedRef = AutoDisposeProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/goldens/lints/dependencies.g.dart b/packages/riverpod_lint_flutter_test/test/goldens/lints/dependencies.g.dart index eb2b2169f..5bce2bb6f 100644 --- a/packages/riverpod_lint_flutter_test/test/goldens/lints/dependencies.g.dart +++ b/packages/riverpod_lint_flutter_test/test/goldens/lints/dependencies.g.dart @@ -442,4 +442,4 @@ final regression2417Provider = typedef _$Regression2417 = AutoDisposeNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/goldens/lints/provider_parameters.g.dart b/packages/riverpod_lint_flutter_test/test/goldens/lints/provider_parameters.g.dart index 8fa54ecc9..3bf28cc5a 100644 --- a/packages/riverpod_lint_flutter_test/test/goldens/lints/provider_parameters.g.dart +++ b/packages/riverpod_lint_flutter_test/test/goldens/lints/provider_parameters.g.dart @@ -153,4 +153,4 @@ class _GeneratorProviderElement extends ProviderElement with GeneratorRef { Object? get value => (origin as GeneratorProvider).value; } // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/goldens/lints/scoped_providers_should_specify_dependencies.g.dart b/packages/riverpod_lint_flutter_test/test/goldens/lints/scoped_providers_should_specify_dependencies.g.dart index a41b65ef2..cd6fd4b52 100644 --- a/packages/riverpod_lint_flutter_test/test/goldens/lints/scoped_providers_should_specify_dependencies.g.dart +++ b/packages/riverpod_lint_flutter_test/test/goldens/lints/scoped_providers_should_specify_dependencies.g.dart @@ -54,4 +54,4 @@ final rootProvider = AutoDisposeProvider.internal( typedef RootRef = AutoDisposeProviderRef; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/goldens/lints/unsupported_provider_value.g.dart b/packages/riverpod_lint_flutter_test/test/goldens/lints/unsupported_provider_value.g.dart index a832d97bd..39429dd9f 100644 --- a/packages/riverpod_lint_flutter_test/test/goldens/lints/unsupported_provider_value.g.dart +++ b/packages/riverpod_lint_flutter_test/test/goldens/lints/unsupported_provider_value.g.dart @@ -341,4 +341,4 @@ final asyncNotifierClassProvider = typedef _$AsyncNotifierClass = AutoDisposeNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member diff --git a/packages/riverpod_lint_flutter_test/test/goldens/notifier_extends.g.dart b/packages/riverpod_lint_flutter_test/test/goldens/notifier_extends.g.dart index 5567fb361..81d40ef69 100644 --- a/packages/riverpod_lint_flutter_test/test/goldens/notifier_extends.g.dart +++ b/packages/riverpod_lint_flutter_test/test/goldens/notifier_extends.g.dart @@ -66,4 +66,4 @@ final _privateClassProvider = typedef _$PrivateClass = AutoDisposeNotifier; // ignore_for_file: type=lint -// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member +// ignore_for_file: subtype_of_sealed_class, invalid_use_of_internal_member, invalid_use_of_visible_for_testing_member