Skip to content
This repository was archived by the owner on Oct 12, 2024. It is now read-only.

Commit 0436ebe

Browse files
author
github-actions
committed
Prepare release for version 0.62.0
1 parent 7a5ea24 commit 0436ebe

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

CHANGELOG.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## [0.62.0]
44

5-
- Released @ 2024-07-07 08:37:38.667552Z
5+
- Released @ 2024-07-23 09:40:02.580602Z
66
- Add tryOrNull extension to Function class
7+
- Update
78

89
## [0.61.0]
910

lib/src/strings/src/string_case_conversions_on_string_extension.dart

+8-4
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,15 @@ extension StringCaseConversionsOnStringExtension on String {
3939
String toUpperDotCase() => this.toDotCase().toUpperCase();
4040

4141
/// Converts the string to path/case.
42-
String toPathCase([String separator = '/']) => this.extractLowercaseComponents().join(separator);
42+
String toPathCase([String separator = '/']) =>
43+
this.extractLowercaseComponents().join(separator);
4344

4445
/// Converts the string to camelCase.
4546
String toCamelCase() => this.toPascalCase().withFirstLetterAsLowerCase();
4647

4748
/// Converts the string to PascalCase.
48-
String toPascalCase() => this.extractLowercaseComponents().map((e) => e.capitalize()).join();
49+
String toPascalCase() =>
50+
this.extractLowercaseComponents().map((e) => e.capitalize()).join();
4951

5052
/// Extracts and returns a list of lowercase components from the string.
5153
///
@@ -107,10 +109,12 @@ extension StringCaseConversionsOnStringExtension on String {
107109
bool get isLetter => RegExp(r'^[a-zA-Z]$').hasMatch(this);
108110

109111
/// Returns `true` if the string is all uppercase.
110-
bool get isUpperCase => this == this.toUpperCase() && this != this.toLowerCase();
112+
bool get isUpperCase =>
113+
this == this.toUpperCase() && this != this.toLowerCase();
111114

112115
/// Returns `true` if the string is all lowercase.
113-
bool get isLowerCase => this == this.toLowerCase() && this != this.toUpperCase();
116+
bool get isLowerCase =>
117+
this == this.toLowerCase() && this != this.toUpperCase();
114118

115119
/// Capitalizes the first letter of the string.
116120
///

0 commit comments

Comments
 (0)