Closed GZGavinZhao closed 2 years ago
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 🌎
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 packagechange_case
is introduced to solve this. For backwards compatibility, the naming will be preserved for now.