refactor: DCM - const border radius, constructor & switch expressions (#19515)

* enable border radius, switch exp, const constructor

* regenerate provider

* more formatting

---------

Co-authored-by: shenlong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong
2025-06-25 13:06:24 +05:30
committed by GitHub
parent 05064f87f0
commit 5b0575b956
130 changed files with 338 additions and 264 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ class AuthState {
final bool isAdmin;
final String profileImagePath;
AuthState({
const AuthState({
required this.deviceId,
required this.userId,
required this.userEmail,
@@ -5,7 +5,7 @@ class AuxilaryEndpoint {
final String url;
final AuxCheckStatus status;
AuxilaryEndpoint({
const AuxilaryEndpoint({
required this.url,
required this.status,
});
@@ -55,7 +55,7 @@ class AuxilaryEndpoint {
class AuxCheckStatus {
final String name;
AuxCheckStatus({
const AuxCheckStatus({
required this.name,
});
const AuxCheckStatus._(this.name);
@@ -13,7 +13,7 @@ class LoginResponse {
final String userId;
LoginResponse({
const LoginResponse({
required this.accessToken,
required this.isAdmin,
required this.name,