refactor: Update to Dart 3.10 with . shorthands
This commit is contained in:
parent
75a37f3f7c
commit
1ea649f01e
167 changed files with 3351 additions and 3912 deletions
|
|
@ -12,8 +12,9 @@ extension SyncStatusLocalization on SyncStatusUpdate {
|
|||
case SyncStatus.waitingForResponse:
|
||||
return L10n.of(context).waitingForServer;
|
||||
case SyncStatus.error:
|
||||
return ((error?.exception ?? Object()) as Object)
|
||||
.toLocalizedString(context);
|
||||
return ((error?.exception ?? Object()) as Object).toLocalizedString(
|
||||
context,
|
||||
);
|
||||
case SyncStatus.processing:
|
||||
case SyncStatus.cleaningUp:
|
||||
case SyncStatus.finished:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue