Skip to content

Commit 3c1a734

Browse files
authored
json_serializable: make things private that can be private (#1052)
1 parent 3cd08a8 commit 3c1a734

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

json_serializable/lib/src/utils.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ ClassConfig mergeConfig(
8585

8686
final constructor = annotation.constructor ?? config.constructor;
8787
final constructorInstance =
88-
constructorByNameOrNull(classElement, constructor);
88+
_constructorByNameOrNull(classElement, constructor);
8989

9090
final paramDefaultValueMap = constructorInstance == null
9191
? <String, String>{}
@@ -112,7 +112,7 @@ ClassConfig mergeConfig(
112112
);
113113
}
114114

115-
ConstructorElement? constructorByNameOrNull(
115+
ConstructorElement? _constructorByNameOrNull(
116116
ClassElement classElement,
117117
String name,
118118
) {

0 commit comments

Comments
 (0)