Skip to content

Commit 78005ad

Browse files
committed
Fix 130 @lrhn
1 parent 52f3cc5 commit 78005ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sdk/lib/core/bool.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class bool {
127127
/// print(bool.tryParse('1')); // null
128128
/// ```
129129
@Since("3.0")
130-
external static bool? tryParse(String source, {bool? caseSensitive});
130+
external static bool? tryParse(String source, {bool caseSensitive = true});
131131

132132
external int get hashCode;
133133

0 commit comments

Comments
 (0)