refactor(mobile): server info to use data classes instead of dtos (#4591)

* refactor: server info model to use data classes instead of dtos

* mobile: add return types and refactor private variables in map / stack

---------

Co-authored-by: shalong-tanwen <139912620+shalong-tanwen@users.noreply.github.com>
This commit is contained in:
shenlong 2023-10-22 20:15:34 +00:00 committed by GitHub
parent 9b418642a6
commit b05132a01a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 294 additions and 86 deletions

View file

@ -20,7 +20,7 @@ class AssetStackNotifier extends StateNotifier<List<Asset>> {
}
}
removeChild(int index) {
void removeChild(int index) {
if (index < state.length) {
state.removeAt(index);
}