Skip to content

Commit c6a5969

Browse files
committed
Delete exclude parameter
1 parent ec4651d commit c6a5969

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed
Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
1-
import 'package:solid_lints/src/common/parameters/excluded_identifiers_list_parameter.dart';
1+
// ignore_for_file: avoid_unused_constructor_parameters
22

33
/// A data model class that represents the "use nearest context" input
44
/// parameters.
55
class UseNearestContextParameters {
6-
/// A list of methods that should be excluded from the lint.
7-
final ExcludedIdentifiersListParameter exclude;
8-
96
/// Constructor for [UseNearestContextParameters] model
10-
const UseNearestContextParameters({
11-
required this.exclude,
12-
});
7+
const UseNearestContextParameters();
138

149
/// Method for creating from json data
1510
factory UseNearestContextParameters.fromJson(Map<String, Object?> json) =>
16-
UseNearestContextParameters(
17-
exclude: ExcludedIdentifiersListParameter.defaultFromJson(json),
18-
);
11+
const UseNearestContextParameters();
1912
}

0 commit comments

Comments
 (0)