style: apply dart formatting fixes across lib/ and test/
CI / Lint (pull_request) Successful in 19m19s
CI / Test (pull_request) Failing after 19m19s
CI / Build Android (pull_request) Skipped
CI / Build iOS (pull_request) Skipped

11 files had formatting inconsistencies that caused the
--set-exit-if-changed gate to fail. Automated formatting
via dart format now passes cleanly.
This commit is contained in:
robot
2026-08-01 11:06:17 +00:00
parent 0e131e1db2
commit 0257937859
11 changed files with 123 additions and 90 deletions
+7 -3
View File
@@ -11,8 +11,8 @@ class LiveInfoBusinessObject extends ChangeNotifier {
String? endpoint,
int refreshIntervalSeconds = 20,
this.requestTimeout = const Duration(seconds: 8),
}) : _endpointOverride = endpoint,
_refreshIntervalSeconds = refreshIntervalSeconds;
}) : _endpointOverride = endpoint,
_refreshIntervalSeconds = refreshIntervalSeconds;
/// Explicit endpoint passed at construction, if any.
final String? _endpointOverride;
@@ -23,12 +23,16 @@ class LiveInfoBusinessObject extends ChangeNotifier {
if (override != null && override.isNotEmpty) {
return override;
}
const envUrl = String.fromEnvironment('KRYZ_LIVE_INFO_URL', defaultValue: '');
const envUrl = String.fromEnvironment(
'KRYZ_LIVE_INFO_URL',
defaultValue: '',
);
if (envUrl.isNotEmpty) {
return envUrl;
}
return AppConfig.metadataUrl ?? '';
}
final Duration requestTimeout;
Timer? _pollTimer;