refactor: apply lint from analyzer

This commit is contained in:
validcube
2023-11-11 19:07:32 +07:00
committed by aAbed
parent d25d1efe9c
commit ad3a778fb9
40 changed files with 67 additions and 106 deletions

View File

@ -38,11 +38,11 @@ class PatchOptionsViewModel extends BaseViewModel {
option.required &&
!savedOptions.any((sOption) => sOption.key == option.key),
)
.toList(),
,
];
} else {
visibleOptions = [
...options.where((option) => option.required).toList(),
...options.where((option) => option.required),
];
}
}