Skip to content

Conversation

@GZGavinZhao
Copy link

Added tests to lib/utils/strings/string_utils.dart.

The built-in conversion has some problems, mainly that it recognizes pascal case as camel case, while lowerCamelCase() is the actual camel case. Plus, the actual implementation of the "camel case" doesn't work. Therefore, the package change_case is introduced to solve this. For backwards compatibility, the naming will be preserved for now.

Added tests to lib/utils/strings/string_utils.dart.

The built-in conversion has some problems, mainly that it recognizes
pascal case as camel case, while `lowerCamelCase()` is the actual camel
case. Plus, the actual implementation of the "camel case" doesn't work.
Therefore, the package `change_case` is introduced to solve this. For
backwards compatibility, the naming will be preserved for now.
@github-actions
Copy link

Visit the preview URL for this PR (updated for commit e090b6d):

https://angulardart-gallery--pr60-gzgavinzhao-migrate-os5bsszp.web.app

(expires Sat, 04 Dec 2021 23:37:31 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

@GZGavinZhao GZGavinZhao merged commit 01bf406 into null-safety Nov 27, 2021
@GZGavinZhao GZGavinZhao deleted the GZGavinZhao/migrate-string-utils branch November 27, 2021 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants