refactor: migrate network config (#28471)

This commit is contained in:
shenlong
2026-05-18 21:52:42 +05:30
committed by GitHub
parent 40925f0a06
commit 9cffcc9f4e
17 changed files with 311 additions and 102 deletions
@@ -4,6 +4,8 @@ extension StringExtension on String {
String capitalize() {
return split(" ").map((str) => str.isEmpty ? str : str[0].toUpperCase() + str.substring(1)).join(" ");
}
String? get nullIfEmpty => isEmpty ? null : this;
}
extension DurationExtension on String {