From bb666e8ab6dd4f8663a941b5c77177daae97fda7 Mon Sep 17 00:00:00 2001 From: aitorarana Date: Mon, 9 Mar 2026 17:47:24 +0100 Subject: [PATCH] remove duplicated providers, send command basic endpoint --- .dart_tool/package_config.json | 122 ++-- .../pub/bin/melos/melos.dart-3.9.2.snapshot | Bin 3989408 -> 3995056 bytes .idea/modules.xml | 2 + ...ter_treezor_entrust_sdk_bridge_example.xml | 2 +- .../melos_flutter_run_sf_app_platform.xml | 2 +- .../melos_flutter_test_design_system.xml | 2 +- ...est_flutter_treezor_entrust_sdk_bridge.xml | 2 +- apps/mobile_app/config/development.json | 2 +- .../activity/.dart_tool/package_config.json | 264 +++---- modules/activity/.dart_tool/version | 2 +- .../activity/.flutter-plugins-dependencies | 2 +- modules/legacy/melos_legacy.iml | 5 +- .../datasource/account_remote_datasource.dart | 3 +- .../account_remote_datasource_impl.dart | 61 +- .../models/get_app_users_response_model.dart | 11 +- .../get_app_users_response_model.freezed.dart | 46 +- .../get_app_users_response_model.g.dart | 10 +- .../get_linked_devices_response_model.dart | 49 +- ...linked_devices_response_model.freezed.dart | 370 +--------- .../get_linked_devices_response_model.g.dart | 28 +- .../get_logged_user_response_model.dart | 60 -- ...et_logged_user_response_model.freezed.dart | 597 ---------------- .../get_logged_user_response_model.g.dart | 57 -- .../repositories/account_repository_impl.dart | 3 +- .../repositories/account_repository.dart | 3 +- .../domain/get_app_users_use_case.dart | 2 +- .../domain/get_app_users_use_case_impl.dart | 2 +- .../presentation/app_users_screen.dart | 1 + .../state/app_users_view_model.dart | 16 +- .../state/app_users_view_state.dart | 2 +- .../state/change_password_view_model.dart | 15 +- .../state/change_password_view_state.dart | 2 +- .../state/delete_account_view_model.dart | 7 +- .../state/delete_account_view_state.dart | 1 + .../domain/get_linked_devices_use_case.dart | 2 +- .../get_linked_devices_use_case_impl.dart | 2 +- .../edit_linked_device_screen.dart | 6 +- .../presentation/linked_devices_screen.dart | 4 +- .../state/linked_devices_view_model.dart | 20 +- .../state/linked_devices_view_state.dart | 3 +- .../state/personal_data_view_model.dart | 11 +- .../state/personal_data_view_state.dart | 3 +- modules/legacy/modules/account/pubspec.lock | 2 +- modules/legacy/modules/account/pubspec.yaml | 2 + .../control_panel_remote_datasource.dart | 2 +- .../control_panel_remote_datasource_impl.dart | 1 + .../models/get_devices_response_model.dart | 72 +- .../get_devices_response_model.freezed.dart | 660 ++---------------- .../models/get_devices_response_model.g.dart | 52 +- .../control_panel_repository_impl.dart | 2 +- .../control_panel_repository.dart | 2 +- .../presentation/control_panel_screen.dart | 7 +- .../state/control_panel_view_model.dart | 9 +- .../state/control_panel_view_state.dart | 2 +- .../lib/src/shared/widgets/device_map.dart | 2 +- .../legacy/modules/control_panel/pubspec.lock | 2 +- .../legacy/modules/control_panel/pubspec.yaml | 2 + .../domain/locate_device_use_case.dart | 5 - .../domain/locate_device_use_case_impl.dart | 14 - .../locate_device_use_case_provider.dart | 9 - .../state/locate_device_view_model.dart | 24 +- .../state/remote_connection_view_model.dart | 5 +- .../modules/device_management/pubspec.lock | 2 +- .../modules/device_management/pubspec.yaml | 2 + .../auth_remote_datasource_impl.dart | 2 +- .../device_setup_remote_datasource.dart | 3 +- .../device_setup_remote_datasource_impl.dart | 4 +- .../login_remote_datasource_impl.dart | 2 +- .../sign_up_remote_datasource_impl.dart | 2 +- .../presentation/state/login_view_model.dart | 2 +- .../state/sign_up_view_model.dart | 2 +- .../legacy/modules/legacy_auth/pubspec.yaml | 2 + .../legacy_auth/pubspec_overrides.yaml | 3 + .../legacy_shared/lib/legacy_shared.dart | 14 +- .../legacy_shared_remote_datasource.dart | 5 - .../legacy_shared_remote_datasource_impl.dart | 29 - .../commands_remote_datasource_impl.dart | 79 +++ .../commands_remote_datatsource.dart | 5 + .../data/models/device_response_model.dart | 0 .../models/device_response_model.freezed.dart | 0 .../data/models/device_response_model.g.dart | 0 .../src/data/models/entities/user_entity.dart | 23 - .../models/entities/user_entity.freezed.dart | 310 -------- .../get_logged_user_response_model.dart | 59 -- ...et_logged_user_response_model.freezed.dart | 597 ---------------- .../get_logged_user_response_model.g.dart | 57 -- .../models/send_command_request_model.dart | 17 + .../send_command_request_model.freezed.dart | 291 ++++++++ .../models/send_command_request_model.g.dart | 23 + .../commands_repository_impl.dart | 15 + .../legacy_shared_repository.dart | 6 - .../legacy_shared_repository_impl.dart | 15 - .../repositories/command_repository.dart | 5 + .../lib/src/domain/send_command_use_case.dart | 5 + .../domain/send_command_use_case_impl.dart | 16 + .../commands_remote_datasource_provider.dart | 10 + .../commands_repository_provider.dart | 10 + ...acy_shared_remote_datasource_provider.dart | 9 - .../legacy_shared_repository_provider.dart | 10 - .../src/providers/logged_user_provider.dart | 21 - .../providers/selected_device_provider.dart | 2 +- .../send_command_use_case_provider.dart | 10 + .../lib/src}/utils/dio_error_mapper.dart | 0 .../packages/legacy_shared/pubspec.lock | 2 +- .../packages/legacy_shared/pubspec.yaml | 2 + .../.dart_tool/package_config.json | 60 +- .../.dart_tool/version | 2 +- .../example/.dart_tool/package_config.json | 90 +-- .../example/.flutter-plugins-dependencies | 2 +- .../example/android/local.properties | 4 +- packages/fonts/.dart_tool/package_config.json | 20 +- packages/fonts/.dart_tool/version | 2 +- .../payments/.dart_tool/package_config.json | 286 ++++---- packages/payments/.dart_tool/version | 2 +- .../payments/.flutter-plugins-dependencies | 2 +- 115 files changed, 1186 insertions(+), 3637 deletions(-) delete mode 100644 modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.dart delete mode 100644 modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.freezed.dart delete mode 100644 modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.g.dart delete mode 100644 modules/legacy/modules/device_management/lib/src/features/locate_device/domain/locate_device_use_case.dart delete mode 100644 modules/legacy/modules/device_management/lib/src/features/locate_device/domain/locate_device_use_case_impl.dart delete mode 100644 modules/legacy/modules/device_management/lib/src/features/locate_device/presentation/providers/locate_device_use_case_provider.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/datasource/legacy_shared_remote_datasource.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/datasource/legacy_shared_remote_datasource_impl.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/datasources/commands_remote_datasource_impl.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/datasources/commands_remote_datatsource.dart rename modules/legacy/{modules/legacy_auth/lib/src/core => packages/legacy_shared/lib/src}/data/models/device_response_model.dart (100%) rename modules/legacy/{modules/legacy_auth/lib/src/core => packages/legacy_shared/lib/src}/data/models/device_response_model.freezed.dart (100%) rename modules/legacy/{modules/legacy_auth/lib/src/core => packages/legacy_shared/lib/src}/data/models/device_response_model.g.dart (100%) delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/models/entities/user_entity.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/models/entities/user_entity.freezed.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.freezed.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.g.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.freezed.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.g.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/repositories/commands_repository_impl.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/repositories/legacy_shared_repository.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/data/repositories/legacy_shared_repository_impl.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/domain/repositories/command_repository.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/domain/send_command_use_case.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/domain/send_command_use_case_impl.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/providers/commands_remote_datasource_provider.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/providers/commands_repository_provider.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/providers/legacy_shared_remote_datasource_provider.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/providers/legacy_shared_repository_provider.dart delete mode 100644 modules/legacy/packages/legacy_shared/lib/src/providers/logged_user_provider.dart create mode 100644 modules/legacy/packages/legacy_shared/lib/src/providers/send_command_use_case_provider.dart rename modules/legacy/{modules/legacy_auth/lib/src/core => packages/legacy_shared/lib/src}/utils/dio_error_mapper.dart (100%) diff --git a/.dart_tool/package_config.json b/.dart_tool/package_config.json index 3b00a9d9..e15b8038 100644 --- a/.dart_tool/package_config.json +++ b/.dart_tool/package_config.json @@ -3,349 +3,349 @@ "packages": [ { "name": "ansi_styles", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/ansi_styles-0.3.2+1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/ansi_styles-0.3.2+1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "args", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/args-2.7.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.7.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/async-2.13.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.13.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "characters", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/characters-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.4.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "charcode", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/charcode-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/charcode-1.4.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "checked_yaml", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/checked_yaml-2.0.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/checked_yaml-2.0.4", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "cli_launcher", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/cli_launcher-0.3.2+1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/cli_launcher-0.3.2+1", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "cli_util", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/cli_util-0.4.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/cli_util-0.4.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "collection", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/collection-1.19.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "conventional_commit", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/conventional_commit-0.6.1+1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/conventional_commit-0.6.1+1", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "ffi", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/ffi-2.1.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/ffi-2.1.4", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "file", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/file-7.0.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "flutter", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "flutter_secure_storage", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_secure_storage-9.2.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_secure_storage-9.2.4", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "flutter_secure_storage_linux", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_secure_storage_linux-1.2.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_secure_storage_linux-1.2.3", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "flutter_secure_storage_macos", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_secure_storage_macos-3.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_secure_storage_macos-3.1.3", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "flutter_secure_storage_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_secure_storage_platform_interface-1.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_secure_storage_platform_interface-1.1.2", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "flutter_secure_storage_web", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_secure_storage_web-1.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_secure_storage_web-1.2.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "flutter_secure_storage_windows", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_secure_storage_windows-3.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_secure_storage_windows-3.1.2", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "flutter_web_plugins", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter_web_plugins", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter_web_plugins", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "glob", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/glob-2.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "graphs", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/graphs-2.3.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/graphs-2.3.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "http", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http-1.5.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http-1.5.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "http_parser", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http_parser-4.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "io", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/io-1.0.5", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.5", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "js", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/js-0.6.7", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.6.7", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "json_annotation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/json_annotation-4.9.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/json_annotation-4.9.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "material_color_utilities", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "melos", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/melos-6.3.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/melos-6.3.3", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "meta", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/meta-1.16.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.16.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "mustache_template", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/mustache_template-2.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/mustache_template-2.0.2", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "path", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path-1.9.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "path_provider", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider-2.1.5", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider-2.1.5", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "path_provider_android", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_android-2.2.20", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_android-2.2.20", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "path_provider_foundation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_foundation-2.4.3", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "path_provider_linux", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_linux-2.2.1", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "path_provider_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_platform_interface-2.1.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "path_provider_windows", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_windows-2.3.0", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "platform", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/platform-3.1.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.1.6", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "plugin_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.8", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "pool", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pool-1.5.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "process", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/process-5.0.5", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/process-5.0.5", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "prompts", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/prompts-2.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/prompts-2.0.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "pub_semver", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pub_semver-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.2.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "pub_updater", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pub_updater-0.5.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pub_updater-0.5.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "pubspec_parse", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pubspec_parse-1.5.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pubspec_parse-1.5.0", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "sky_engine", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/bin/cache/pkg/sky_engine", + "rootUri": "file:///C:/Program%20Files/Flutter/bin/cache/pkg/sky_engine", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "source_span", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_span-1.10.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "stack_trace", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stack_trace-1.12.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "string_scanner", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/string_scanner-1.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.4.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "term_glyph", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/term_glyph-1.2.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.2", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "typed_data", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/typed_data-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.4.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "vector_math", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_math-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.2.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "web", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/web-1.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/web-1.1.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "win32", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/win32-5.15.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/win32-5.15.0", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "xdg_directories", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/xdg_directories-1.1.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "yaml", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/yaml-3.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.3", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "yaml_edit", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/yaml_edit-2.2.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/yaml_edit-2.2.2", "packageUri": "lib/", "languageVersion": "3.1" }, @@ -358,7 +358,7 @@ ], "generator": "pub", "generatorVersion": "3.9.2", - "flutterRoot": "file:///Users/juliandalcalaf/Development/flutter", - "flutterVersion": "3.35.7", - "pubCache": "file:///Users/juliandalcalaf/.pub-cache" + "flutterRoot": "file:///C:/Program%20Files/Flutter", + "flutterVersion": "3.35.6", + "pubCache": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache" } diff --git a/.dart_tool/pub/bin/melos/melos.dart-3.9.2.snapshot b/.dart_tool/pub/bin/melos/melos.dart-3.9.2.snapshot index 4d144da835a48bc09961d277340bc2c4d1474614..2c19732b4beaba8f5c1453ea7365b022e920b307 100644 GIT binary patch delta 22874 zcmbVUd7RC4_dnm|ZgcP4x%bXp=FaxLGuNzl_8A5@Q4<^S$t9!By$8)r$)oN;1IeZ;PfH3fBV^?j<@2Q1k~tv7e|BK>gux>n9e# z_ai{uz4R-A>aSWor~c%f+9OQ4$=J;x9gwtsZ2r+E$qkANQ!O0!C| z-t6x`XOlk*XpeLG1@Rk18;cZ!t8!%;X}+XA`SL<{)+&$^V?fFr0#ao<3SNvu14YBCF&za zZER%XW-M2qG;4z*0lBg5Dz%{_!s(0qHmU7Q+R(@(J-$s%v1w0420FZ7%`!zcmE5B0 zvT72Wj;m(uc|^4-+S3uq)Zs|*dzA<~^A@tl_v$`#WYh7s$`74ZtoZzS^))5J79+Lz zq5q|wF=Es;+QVA>rZ!jp2bC>irN?B!AFrwIl>e!(+WQRyRBb$ae0sJvc+iw=NHMal ztV8Iak#!8&o(P&qphRK&L5afZ28PTS{$xi&_DhUlo)dopCiXR4wnfl|I;iJxLrh_$ zpv|uv#!QG{N3R-c42Tm=jCNd>ZfxV%MzRMhjKo$=jRh*-{}coY;gP$I7F(cdMkJzg zL~ajb96s8?cse>zH90cqbIpt{+|a}LtV5g2MIx#Cidh@SWOc;rm78tw7u-r`j$PivI3Ap4<a2#7m(L| z1M=SPAfNaZ zvUF*d?{7&N(7CT}utL)9f6f5WuBOaig;lqo1SoHCj4>rLs@u&9ao z2cv%rK!t~>7eL23w`m?}IaCz1H2b7CMMXnT;?zDZ%|sTWDD2bHx;dBUj*-+f9Py;J ziOSnah(8OBPgw^y=b1sBf6IF7@Bq(&()ni`wU#IFYy|OVWBfm@9peL4(-_^11n6qy z@e1N?jgQ9L5)FZ>NsNz&0e6e4Oq&IN(`@t2fvSmYl)cnu#_CL4oSi+Xb8t|p?X8B| z7^aXcd~BF)5c7~jP013|-!6;BqNi+I8uMI{FbLaxX!}l$fPdr$+t(_4&&a|>pV`Wi zdE33NPsT}`^KTL8^K9?vo+jRbOaFfP!04@Qcs5Swe{gN|hNk@0CR#S|#NhC2(a#6@ zog^A(+AY{4!9I&=O?Ax(RAT0t_%Of78B!F5y9?~=m~Ou=zvChJvzR0p-xEpq$zO%9XC5<~#;!aS5oy`hhxXDX3$=0rjO}U`RR*hO}j1 z7`h7#@1Fz1f%9NE^*tEQjRwP|#rW1-d&k7JEA94*_;$O%c;9L;wjU410Rb=$n*qi# zrC|IxMPydn2g@ISD9Dr~;Oc7od7JhOb16CTkS(S-8Lgq1fFbuafb11S8vsI8w`meU z!NOV_5>2)=Y$pr$gw68Q#|vWc@dC%r`Mlufmam-2Shdx$S<-rNG}QT@-R^it(t5J_ z$L?_aQ{o*2==&it-rzLg?p=;H5--M31G0&x$+32v@|9z~!gG8HnToUaIhLA)HrZwI z{$|83CQ;Mot|;7C&o$2$2`H6j-iOUyCMPd>Lv7O6 zcNDrGbQR0IqjC+%E5`S9S#fn|*Ff?Br!a^2)_#Hnon?&_CI0H<^5LXGuCf^IF}A!V z&$uk2{WC5D#*K9~l6f9dxRFT6@kVy{rwZba5=rQ?ii&Y0Zqj6zme2EA^**hE$Dw15 zD_v%rsM~@Q*Sjn@4_$NBNLB7}(B;4x>s>#@^A0by+7i-=dk(s88Y0!U(Mi%a`->xM$A(m1o{soa(QzpD@p`Q9Bk_OQmX|gSe_AYVQs0Ujy16Soyhx1>dS-ruC>%A+ zebC~38eruOfHR+gRJ;zP)|0WvSoc)3xID?NiRwviGsaAI|K#@X1?hoeqKP1N>jF~u z*&sdgHb_tO6plsi42mR#lbG0Xk^756?NQD?LW(#<@>gyL_S)&5B=bTJVGt7NVH@ud zR3pTLTMxS*W*#+aKyDmz++E<}`I)t#^H?;@%pV0HRs$@_7j+tXLQ)k{ z6i6G(TQ6tMd6KCXz|$>>HJ=6Xr(*a0o?a$i=!^I>(0;_Tk{2&V;xF>^CJ(V@iCm}8 ziX#l(jd47qMW7&7C40B3Z2g1yLeRUyz+1%h{ZyQh<^3})g8tms-usmt0sn>jy+x_K z*`@0b13#ID(9X5L@mc}Y^(lr}$#B0Tkd%cxWylqJrLLj4&w`uGA zn@)NEvbCTZs8?qKyuS!w2gTM;=L4MW0C0&6vxiDl;tqjSRtZwmNg#EY4$^~En)3L3 zkfsZe7Fa-fZ68Q)6{B+5yTKMNQQ3IYJ3Kyq?H-UmoJpqsJV=}8fb{u;AbpVn($Slu ztq{pUf`BW->(vH>pb(0FAJ^xe6b$hiG=vG#VI8&4yTXvQTCQq zgGHcH5m4g{*yV3N+KgCPGXm8Y<+FTt%zV}tRCs=;4q7?UXTuL?`3%V{5EAI8DCUd{ zcUJ&?JKW647UplX(|1oSa|a9ae{{VTW^4`H{q!ZKBrmC`rVf#UjE$|9sa|HdB6K+x%|fgzHJ6@ z=m~&hmjRBi1UNyUE6c@xb6i9D7c)96aX&e6_|Ul4yZE=h=s z$&tF^s(a%4S}?IgT!P8}2|)A3WNS}R){5GxQyqZzrJ|xsoKG66=gr1-iTkaX7X;R& zRcwfh$IUb2<}gEAHK1gCYfjwXqj{(1TF^_2>Lp{@>bRp8UQ{eB2?;d7 zz_U0tng!9bIc~j?XO?S0IbX&Z6C-O*5NDl{PV7F1N0%!Zota`PizL5T@3I7Es{^@M78^S?2zRjZ<2rl z>i+uC@p~x=xo;=HfkawG4x$pGp5)}0i9ln2J^9Q6J#Ia9cw;|NJW&EsB2f|!Z=4)` znRk5jR%jY|m|9O}0-gAa#qmDrcAQ(HJ)FQ=AxNNS4ZO%2v6hGv4+dh<(Mj{#d2>Qn z>XpiLE6(bp{cPlA4t3DZ%5)nZAE=#Ai2!sx3@V0By+b!%_cx%{juqV)vxd+~9n0O>5 zU`A_VpqqiUs6;LDQf9!4yHWyqrU(@kj!pp^KAIJHI*aGFkj!k%?-)4k;khkgeo_8R zz>ZJ$4;*y!%z`dt@iPInD|>lm&C7HeW*>T#Ln$_pJ7(>T?Nn@Un| znt2X`t{H)Tka$iy@rS6iF?D+`ujC`lFU}69?ixNgbux3C(1o;pGWBF8>m-20|1z_3 zm{{{fqXE>jU0zK+DzUzQt7oSzO})-DxFjQ6EbJWc;Loq8mV|ien=lBU*ps?0DT09; ze=)VLo39j_l;B1yZwJvE5po8jF+C>emwEfU4(c;7JrUSTk7N|@&;K~ia?32c!5^p*TjkJwCUrI zgV9M{M$A#|KS6RR0S4gD_9DD1xx8!u=L6WOQj5!$2x+g-%7B|>k5_+ zMuBCk9W49u!Eyk>a+3bOZ~-j86aDjJh-z0KqPks#s5#F=)Vz%lwWuvbExrL!%cerq zj(5P?^9)#@{T-~!r-St}Ou)x-($3bGU}{BW8dg-MFY?D!?YgU9Jkvgb>kr!wEH$83Qop&>1FmrrnPaAtHsMXehCud|< zt4UN?_mB4gHd6BImv$ie{sB@my0>``B|0Bif`87*d?|_oCJSE5Z0L&bS_hLXW6mQ=&WB`@wUL*m{=V9 zY1X|mFH{-Eto=MoTFEV%sp(wn$G5cFHF9}y8773kWiL8AgkYj>@tI#(1xz7 z>;bvy7+iHV`>I*I|5x^#SW%sQmn*(iN03|lh&F@Vp%uvYQ-w!Is_y8ME#7s8?vne= z!OPCjyk!0ui>jiK3%@D|jh1-P*KjW&fhKe7{)j&;B!G`J2z5;6`J-VWVUTxim(c!1 z3mKCP3a_@fh)16c4U}n@XfZ1Esv*927TxXWPV_uwI2I5sA)@U2!0h?sLYg!b1LHzZ z`uKYU?wS`0*27C*hK`tWn*g+JPShTt-3fsE@`&aFJV>>{`VUz--%$D&)d4>kE^_f; z^uEv>jb&Vs8hA$H85?3v5jXG4v7>r5q( zpYxiFJvDSqy?87)XFv0fNLW*(=538~QWU*@F2FsnP;{OCJ=Tc(AIh<*3Ux9b>z=d6 z8b7rZVCshe)97-~j8;VCa?BV;#S;#(t$$9sEV|(3{y8l&Sc4!)v3*^BcU;RAVjhj{Oh0OyPNAq(l}@Db3q#i>BVP{YGy2T>#!L*y--P&m@CB zu`#Y?-f^>kIzaGiBDy@6RzcK@Xfi-vs&KT=)1-b_&_3^@R&22@QGGhkgAEqsze!@*L`Q7&Lq9IdG|3f~#*}{3KMi75C-t}X? zzl_&sI{$mA1t*5ERM)>RX1-cr#r8`c9ZDO5+d?bV=Kji z)WRmxHbEz{MEota@b$qwvqO40ME<~{cs%!f;pCi1L7P7*{Hz79hifH$s}@aBBL%&0 zDO#-Zf{L}0Ub7dyoDpf8=GH6fQ^J~H;aTrM>b$b=+d?vSE5g}t<1vV8Vyq00U)*ife!!sG3}|M*l@K(X;qQg z?f)L6&Q#Idc|TP(|3OvF4-+9(Hvb~J%qyxV539gA^NO;2Mlg!ie=GK*?P}3%ndiys zEeM0e2~)9(m#-Bqj$!Xz4xx)9WNU>#l(#@*ti{653(?%s5&NVS_jE=o$y-|7)x&f5 z?nn|#8#VOew{45xPiGsU+r4pkc=0(q&uIz{j1mg6d1spa(WYq--F(3 zbrpqY+-pI7uh)HFik=42vR8>NQEl#hSm$Qln^yf4s+sG3>-CcneCHdG-favL(!W2h z2I&*Jg|WLxIJA12GFBkRi8JA#ZEtzE>U>Fn>(Oe_xkTUTRMSR z(r^cf@z+ZO3NMCL3!40A=?w?(fL#mPVXyyvPNco@&$9Yml}IJg^_#Pg^TM^Y>V3VU ze#+iRJEHOU233|wL6+$avYDaLTJ`95P#^w-f-!>TQk)1aYY>f1UT$#R#5>*Ah@&Fz zWew==IP30V4JZ-6S>9lE0?)eY&kY>j+~DO1b^vP9RyQw_SEEx5esZY6i?J;Zfb`u4 zx+PZ%(xsUoCvFEhFb?F|n?UJV2Fd^rD5DmFLT^VZQ|P6F>Gb>SM?qN@B03Dp8(DO_ ztrQnrXiz0d)#$&}z?Y2q(G4Ff@qhIgCRyJ$cUJ6dF zZq^X1o0To{@M79EnycbO-Eudc?OaxIKhL@Q4aU8P5o2MTS0e_xMx=R z=D0`~2KUuleXZ-$#eut*m;2P*Rv?Xfi(Ww;2hxVEAbp<((yxC}Mxg}cwl>NX>;$=z z?t)f+N%unI(DiQleOBy_<@X2uNY7x+26<3JdIpQ~5Tod6)Tij_tc9(`w(rVIr8ntK zsCDc*BbE>u3?*n9SAld_vbByS3fZRF&MeX6?PZ)sn4}gdk z^iP@of6j)QqN)4cZI}`hafVjaAYA8@->|1G0V(=ANU4oM>U#mCfqOuj za37?pEkSz!1V~3Vf^_RMknY^Z{!Qcq1}thVyJ8|`kj?8r4t@q?`yr4WQ$Tj!1=)9A z46Bq&!LkKc4tbK2nU$JGh5f;8T)?*452=DwOj7jM(~)fbDWYm8#rStS(vPSKp!x+~a{ zh_j21x3Zo{!k%+Ah5&>-R4?vBjSdgb*UZ+q2XWPV!l@T^ep7<+*g}m(#~=46>;|!J zrN)3gmTG$H+%E(q9ZBz(4DKFWCcN{Jrr5$?uQ+qJrj_2^i`{ z_Hg+`{V079hKgw?6bn$c^#{fKgA-}M&_nVSGQeM3Z-xvmjJjfq|X=>2c4q*&WSNqu~R z9Or0!^{PH7o_D&FqzF7_F^qD#J8>4WA1??WhO2yrS3{)l(c8eVU%`8g4QF-PD*@Wj zD3m`1(08b$h+*XkOxhDIr#{!N$CuG6Y5%?(6Gq9C+1H=WAlIYhnAn9{N3i>3w| z-XTJGFJ2mN8uAp+h^hFkyG$eFSZ)mxzA~D3)=Qb@EX=%bY9Hku#~E?LHxqMW%~}!q zlF5KU5oV)~&xyntuXT^+NR3c z2Q#l6e!Tc&XT4zjc!K$hQl1l`3i)Z9`M4$kynVO%I}PvfP}^_%rMX@#@6cEAXV00f zlLOG_*@3|odfrV(ZQn60_{-)zOQ+&Xw+3%-7{Dg$elK`&B71y%_*`7bJf;yPeSCuO zdhC%I;xX{dJ27R6=apDMH%ENPw9eL#*XdEqj5kRa4Nl4g=l5PeC_45p?4Yg6`AJqO&G+h`hP{ zp%FQ&3B6=?4`uEl2S(UJb7QfkFVv;Yd=ns@!iMSV06cU$t3;=>@AcZ#IaqmUNqoEf zmbrRuekiWZx9p$KiyOu#S`+c$e#;)oUCz-^#h*W5SuMHSvhjZ&vivRae0OT!Cqft5 zwb=ZKrMbkr&_8A}iyg--A!z;HvQ6Q+x5Swuh7GVeu>Mb$S$bZW&(DPJGnU{Wmg_Gb zt7pOG7cCxzcd|UzEb6VDRxOrYwM?+`*3e^VG5EA(-EQPvBOWt3#mVF_Gfp#E2WbQA zoEa;u)~olYfHfhQdcM1zztE#^j9=SaK*k(i3m8)MzY3oRkxKbCm|-FBR{ zR1B+c4Z(KF)=VewRzXaSg(a0b@ppZzl*g9zG!7qOU88dkXKXqoA!`%dFEXHlpv}aN zeO5D8ziahmuscyI;(o9iG2?6N|IBPjrDBL=bK-^{tVhy$X#tv!LcAu~zRP0onnE!l zEi4r4<=Bn~vDZi;PONWx-^|C0S>0?wIJdb?Z{;OKs3+=46NLA=*>Yvx#rQE(yr@d2 zC9}S#t-rxNmNTz@PNaivnTd~A4??kHGELFKk+yoF?#^sUzE^E6WS$G8_KEOD{AH?b zjE+6zDZgWPxk z$o+~yo_hl1MNL57Hy7l8c7URjL9zV{ihBSk$yY(i`T~@C8$oG7|88|3l&B70f->F=N%1W*q32IV^k zD1Yq`hqA)f$#>^ql`rhd43;B=OSXk|aq(6>K@+k3M3_gzOLeLE!>7ZB7X;A$0;hdh zOP)WXwm-M8eN;FvBBSEFy<|UUv_228{v^QfZ-JCM5u|3t*mjD&+CUe5aeAiRC9cl2 z8}PwQ`+0lhSdiNP1X71Ikh)WBrbhutJ==ja+%SKsJw+;i7{+*Nsr~b8cYDscL0W`k z`BD2knHN9s;|1X@;?!BYR*XGs55@8y?S*FEP3H+a5_<*jQXy)Y#2@xN8_%b#WlH?V zew`UouVoq>6i!KPR?@td>9{L=mpyzfK%+(gPhX(e(*S@0O8_PSuFne}E~Be3{Ap8U zEWm#15*%{uw4sUG} zJ_V1Q2=Aq52D|+D*}sKvWQK;-_TRk~Zi(crDiyB_aU71|SuYizo#OaP6M+8hGaT!* zyuGZp-z~>+KZ!q{q9{5y6hG_i*d_Cs@aJxhoCMxFQ=+ir z@2?=d2~VGM{Hx_1-D;=RVvYuv9JkC(b^|OK0`Sob0QdoDV!j7>NhnPh;ClxFzy1i*Lc_~0+6)u8b^belpW_Szzg0e*ZJ;MjhEUnu!-icHg~ zJpkAB;*u?*SiU~+k%ti$@vX((im}=KHD7k|by7qy_H{?ZN~{w?WkO<#$&gy$?`X#&?4`t%;SrfBf8r8Vy(64bXEimpws*v>TwZkddR(LzWf3ul z8Lc9G4*vB{#Jj<~+pvniyE3A=otFbw@hi4RoHX)cKZGyDD_=%5)$;6!ieL0?#5Ntz z*sA!?k4ETX*!mZWf8LHTW25U43pBjj772M8%kM-CNoNHck?_+kyepup|GDhQ7&+-8 zEgN#QyG{V;TSI%J9l-EG0JHXyGxjyW_C){(T48ct@pj!~NhY!L zmdl8PkGpzA@%DEur|+IC1RLFU{f`;1spVY1%N2wh?zz5~1Jo98Ja9E*7GljsSi+`i2jTQr`!_PCg5Q$^>f;sabFt)Sg16CCedb0vKiaP$9b6tVr@Uik4ZM* z^^~~o+5onpD)Yn7Xmjk&jPvUG+G3mhxVdRO@5HYoHh3=Xk8qxMqV|dKTAV&Q?yQ|> z8J;kSZNJ5Z;Hl|xx4Hzd?^JPx=i>G=i$9-;!vR;~HpcP?La34^2FH`hV3nCZktAj( z#~X1>Y7@Xr6md zLz0Ds+Jticg31zI>(PPrS5(5jD7MAP5);NI*TIGb37_iOeagbFr3sg1o}=&Yi3ol% z*(4S>PYA_5jS?;!SWbs{%o&ZDEfV%gJU?C?xGt>{_GR)aK2#ykznC0~^IlGv%0F1L z@a0Jfzozmo3#w8(S0#*OR`#k&i5qSk{&!u%Nr^8+n8zg>#g&?b>ugh=B?`tRhhxW& z6Y@N~td827OD7Yy)?v?MwurSPMxy&(LX@4Q8Iq7ICia=*!`(57Niy3k_(bqa$u{in zN>ohjb>b6Mg^5P|COxs8nRgeVPWX_R-ZQX$55hN0tYn6V)tPAdRANkfUMJfAm-P8& zeqwuGfEEcqESGI!QZeRu;t_>?_M~F-UlMb)to7hO3{nN*En?ePayoCGO)Sy`%ISKC zIG3JJ4A(KEVI&i6R};TZ3IJaa?mj&)0Q~S(?oDazjhBj(j=GCtc+>44GqhiK$CNSS zuyidF)pe6zpLhs#*0(_CECXHA0nlZ-K-Xp@=tjFi_xe|$o6{I{s}<0FTnV~O%R#q; zaG(DSy8W|3_rq4uoh%34*-+43SO$9g6ws${1$~2?pns=1=$AbY`rV^If22L=e?9{G z`y;^MY!8N~%fYbuC>Rco1;fM(OTlns9~kZgf#E@4FiP)&F>5mz^B04$=l5Xjy%3Cj zPlB<3IvD4E0mk)5!ML|O7!M5r<9C06k%B443lG3}^BNfMtb?HDbs(tAUI?1i8G`1H zg`oMjA!y-S5VX_=L0_eSsYiP-Rd)c>vSVPn)Nm4p)JyuasQT{6B)mH^`JKq9Dux16ox)}g9bkVNaO!O^9a0-OwnG~lqOpVdh zeQo=DKbaC8%JWtTpC`_4Ne#oNFQ@z`m@Om^>;IcFB8cby`h}oFm-<`| zFA(9!uQ*YZn#8*lsePEfyU2`fdZs=|WywHd8l>X|R0&!l{@t1yiUVh-R+xD^n3(d> zw=ngArVdrbZJYzJvn#+2D@aaCLpR(HQd6qC?~sZu7pE=^!t<+Ai)~R|-UF#y9%U>k zL*17G;(gx-sb3ICV+M+n?WsBPm|Zw*d+HBg^O9X3O-@h5cdOHGmhlcL!l&S$htgWg zyx60Pf8$8n)pe}P0uugmFv}Oj!*kNViDI=X2%3g>SErK?!KyD;@#EH|cV(Iq6`!>! zJvx||^H4`+`R??iW>!~)A1`!q9t-|@F#VW;ml9Kj*ndjTF!Az+D*m0{(%VMzJMl0^ z-sXSlP4$@;O3$z?4 z*LjN1LOd(6BGl8^7S(hP$YmWsrd+OEJ`LoyOF?e;Uy%D$if!?p#&VxSpCowZ#quUG zexN4>uQc?$DDk4Eg!hO$^)syEWFwCm&ouV5<5k!RmGjpb9w)AB=6NQTcc zy~V>Z;{#7(0ha&l`B|Uo18A8?)DWQ6A%NDDL2o@7;Mw-a>SZd>~2jVHg>7^M*nXfMhe>upyk-l<3d7h>tC^G&Uz{^|kjmiwO1{V*>IADr; zjS@xGJ&4GDPd`sYwtWV@o0(rDroEJrEYH7-H7{i}NnsDQ6B{heXjqI@Co&X6W=DYM zo(HJN0_e4iUguD%s`o5_L0kOONjzu;#an?9sg2=i$AXX;{B&<~C-{ zGvPC_OZUtfyw4s8KmOra(z+t^h=F%t5mO#c8qQRd7f*78JR zI$W0p^>-p)Z10vCg!TuSzq!IG{r9p1V9L_~o7Yq7Zy89D3ozK_-JrppiQX0=QFU)o zGP|5;F-WB=DXBe>%s$!mmcI*kj@Kg~iCZ>_wn;9VvmU?X>y_BBsv&wBqWtC?% z@5bwg;~NdUik7#9)aD7FE*6z}br{^lyHMe|MvoP9ps|^Ek2yFA!2AO}qNB6Y5raQH z>)kEk;!fUEhR9NY#A>3|00aVmsx~PfAoDx1pu+2tB2@4A+Y0aUGM?n@HQo$7^r6?w zEB-{nJL6gYq#$TL;rfwAV%xXgO6KD~V)EhZKYAa;vi0}j#XDY2FmKhW?YGlp)zMiC z0S42#HHMCex8?yXy@XXkSv~`8HQfN#Qoj46#Y9_)P66y{Evn+PT+$p| z9G}(w5HFtaQEV<%zA4#G>~9!f9d*s93n*!4PIFN0dL~4F^11cb- z>r@O*$hEH_Pdp$6jp@C5hY1bHec1S8^sO0g8L*M3hd>302q|@KNv9PtBRd ze7Ey>NF2Cudd?eC`~rY8YpLd#9KMTGR2(({q_S8t<5XnU<^{UJx55@PbHemk@n(+R z9@z?{j=MqXR7xes6-4y8qMj})JMJo~R^$}O!#@>tl1Af^6*-|5?0L<`XAHSBWS(6n z{j)LOl)EUDeY9mGm1I7nuqG0z{m&zLffH4g<3+hWtgNPmieK0~w^KOJ=~M9?D{}WH zvn^9LzEYigK7{8%QTtx}a(?b#Qk@_w4*MUO&$j{Q(0ytt-LddAm44Aj0In3^&kJ%5 zdi-rsZn8P*+PhQ*)}H7Az+YrbRay>`vO~DnXFw}ANfAHAhg%kZl@?H)rYD?1$Lhr#L>QaiBz@kzpz$^^~=Ms ze))HppDH5B;UddaU>7GA=Lg}?7xJySyg26*P9#oKC2x`WnUKUe6`t*WEF=n7h7_!p zg2}Rd@G8+^kUosZ3QNH~6IR3&{OE|x0BQ9*Agz(91{TnEY{FJ+}tLzbsUy znOo}8lWW!kKEEU+rf;Ho_K=?EmkGyDbzkM}`NtiJz?KBl*0Mo^};17*31s0-0Q zpnOmU%9f`1qg-4iNfWWNrq~&a!xD=7=S3bE2+GkQP>v;la)n-zUF!kL%}CHBh^rlo z+eiu34LTKLgHH9{3Fk$hN%IUWdZAuG$8&9CM^55q)lR^jXw7DC&r0C~)5kYBt6@`5Fz=2}Ui1nS2lgmS%P zF}sjAPOQ6G5`vl=C7qa`XQ1S(%G8?N2mg-)G{IJf+dHwUx@v9JcU3=EovJ!lb+zjD zB<&>Yq}WLrlj=??6A8CU3jW`(m_2SbMAY0WIg&}i4|xaC7esd-(LMU)1{FYq|8hx@ MRzM<(v}zXrA4*40M*si- diff --git a/.idea/modules.xml b/.idea/modules.xml index ba0bef40..73caafef 100644 --- a/.idea/modules.xml +++ b/.idea/modules.xml @@ -17,6 +17,7 @@ + @@ -24,6 +25,7 @@ + diff --git a/.idea/runConfigurations/melos_flutter_run_flutter_treezor_entrust_sdk_bridge_example.xml b/.idea/runConfigurations/melos_flutter_run_flutter_treezor_entrust_sdk_bridge_example.xml index 4b63d7a9..8ed30c3e 100644 --- a/.idea/runConfigurations/melos_flutter_run_flutter_treezor_entrust_sdk_bridge_example.xml +++ b/.idea/runConfigurations/melos_flutter_run_flutter_treezor_entrust_sdk_bridge_example.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/.idea/runConfigurations/melos_flutter_run_sf_app_platform.xml b/.idea/runConfigurations/melos_flutter_run_sf_app_platform.xml index e2a9ffba..c7845145 100644 --- a/.idea/runConfigurations/melos_flutter_run_sf_app_platform.xml +++ b/.idea/runConfigurations/melos_flutter_run_sf_app_platform.xml @@ -1,6 +1,6 @@ - \ No newline at end of file diff --git a/.idea/runConfigurations/melos_flutter_test_design_system.xml b/.idea/runConfigurations/melos_flutter_test_design_system.xml index 5f9f3264..42cc1035 100644 --- a/.idea/runConfigurations/melos_flutter_test_design_system.xml +++ b/.idea/runConfigurations/melos_flutter_test_design_system.xml @@ -1,7 +1,7 @@ - \ No newline at end of file diff --git a/.idea/runConfigurations/melos_flutter_test_flutter_treezor_entrust_sdk_bridge.xml b/.idea/runConfigurations/melos_flutter_test_flutter_treezor_entrust_sdk_bridge.xml index ac06fca7..3dfe0410 100644 --- a/.idea/runConfigurations/melos_flutter_test_flutter_treezor_entrust_sdk_bridge.xml +++ b/.idea/runConfigurations/melos_flutter_test_flutter_treezor_entrust_sdk_bridge.xml @@ -1,7 +1,7 @@ - \ No newline at end of file diff --git a/apps/mobile_app/config/development.json b/apps/mobile_app/config/development.json index 7289aa3f..638b13e4 100644 --- a/apps/mobile_app/config/development.json +++ b/apps/mobile_app/config/development.json @@ -1,5 +1,5 @@ { "env": "development", "apiBaseUrl": "https://api-neki-b2b.neki.es/gateway/api/", - "apiOrigin": "https://neki-b2b.neki.es" + "apiOrigin": "bde6ea73-d09c-475f-aabf-1d11137e4d0d" } diff --git a/modules/activity/.dart_tool/package_config.json b/modules/activity/.dart_tool/package_config.json index 416e3072..e46c1c0e 100644 --- a/modules/activity/.dart_tool/package_config.json +++ b/modules/activity/.dart_tool/package_config.json @@ -3,163 +3,163 @@ "packages": [ { "name": "_fe_analyzer_shared", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-85.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/_fe_analyzer_shared-85.0.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "analyzer", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/analyzer-7.7.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-7.7.1", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "archive", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/archive-4.0.9", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/archive-4.0.9", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "args", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/args-2.7.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.7.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/async-2.13.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.13.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "boolean_selector", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/boolean_selector-2.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.2", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "build", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build-3.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build-3.1.0", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_config", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_config-1.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_config-1.2.0", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_daemon", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_daemon-4.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_daemon-4.1.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_resolvers", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_resolvers-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_resolvers-3.0.3", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_runner", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_runner-2.7.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner-2.7.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_runner_core", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_runner_core-9.3.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner_core-9.3.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "built_collection", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/built_collection-5.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/built_collection-5.1.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "built_value", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/built_value-8.12.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/built_value-8.12.3", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "characters", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/characters-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.4.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "checked_yaml", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/checked_yaml-2.0.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/checked_yaml-2.0.4", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "cli_config", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/cli_config-0.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/cli_config-0.2.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "clock", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/clock-1.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "code_builder", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/code_builder-4.11.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/code_builder-4.11.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "collection", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/collection-1.19.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "confetti", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/confetti-0.7.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/confetti-0.7.0", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "convert", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/convert-3.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "cookie_jar", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/cookie_jar-4.0.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/cookie_jar-4.0.8", "packageUri": "lib/", "languageVersion": "2.15" }, { "name": "country_code_picker", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/country_code_picker-3.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/country_code_picker-3.4.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "coverage", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/coverage-1.15.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/coverage-1.15.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "crypto", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/crypto-3.0.7", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.7", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "dart_style", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dart_style-3.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dart_style-3.1.1", "packageUri": "lib/", "languageVersion": "3.7" }, @@ -171,91 +171,91 @@ }, { "name": "diacritic", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/diacritic-0.1.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/diacritic-0.1.6", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "dio", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dio-5.9.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dio-5.9.1", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "dio_cookie_manager", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dio_cookie_manager-3.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dio_cookie_manager-3.3.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "dio_web_adapter", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dio_web_adapter-2.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dio_web_adapter-2.1.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "equatable", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/equatable-2.0.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/equatable-2.0.8", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "fake_async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/fake_async-1.3.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "ffi", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/ffi-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/ffi-2.2.0", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "file", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/file-7.0.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "fixnum", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/fixnum-1.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/fixnum-1.1.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "fl_chart", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/fl_chart-1.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/fl_chart-1.1.1", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "flutter", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "flutter_lints", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_lints-5.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-5.0.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "flutter_riverpod", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_riverpod-3.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_riverpod-3.2.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "flutter_svg", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_svg-2.2.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_svg-2.2.3", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "flutter_test", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter_test", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter_test", "packageUri": "lib/", "languageVersion": "3.8" }, @@ -267,7 +267,7 @@ }, { "name": "flutter_web_plugins", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter_web_plugins", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter_web_plugins", "packageUri": "lib/", "languageVersion": "3.8" }, @@ -279,259 +279,259 @@ }, { "name": "freezed", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/freezed-3.2.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/freezed-3.2.3", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "freezed_annotation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/freezed_annotation-3.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/freezed_annotation-3.1.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "frontend_server_client", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/frontend_server_client-4.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/frontend_server_client-4.0.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "get_it", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/get_it-9.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/get_it-9.2.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "glob", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/glob-2.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "go_router", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/go_router-17.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/go_router-17.1.0", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "graphs", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/graphs-2.3.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/graphs-2.3.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "http", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http-1.6.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http-1.6.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "http_multi_server", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http_multi_server-3.2.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http_multi_server-3.2.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "http_parser", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http_parser-4.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "intl", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/intl-0.20.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/intl-0.20.2", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "io", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/io-1.0.5", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.5", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "js", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/js-0.7.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.7.2", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "json_annotation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/json_annotation-4.9.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/json_annotation-4.9.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "json_serializable", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/json_serializable-6.11.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/json_serializable-6.11.2", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "leak_tracker", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker-11.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-11.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_flutter_testing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_testing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "lints", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/lints-5.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/lints-5.1.1", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "logging", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/logging-1.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.3.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "lottie", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/lottie-3.3.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/lottie-3.3.2", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "matcher", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/matcher-0.12.17", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.17", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "material_color_utilities", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "meta", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/meta-1.16.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.16.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "mime", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/mime-2.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/mime-2.0.0", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "node_preamble", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/node_preamble-2.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/node_preamble-2.0.2", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "package_config", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/package_config-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/package_config-2.2.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "path", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path-1.9.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "path_parsing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_parsing-1.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_parsing-1.1.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "path_provider", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider-2.1.5", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider-2.1.5", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "path_provider_android", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_android-2.2.22", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_android-2.2.22", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "path_provider_foundation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_foundation-2.5.1", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "path_provider_linux", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_linux-2.2.1", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "path_provider_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_platform_interface-2.1.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "path_provider_windows", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_windows-2.3.0", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "petitparser", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/petitparser-7.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/petitparser-7.0.2", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "platform", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/platform-3.1.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.1.6", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "plugin_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.8", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "pool", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pool-1.5.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "posix", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/posix-6.5.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/posix-6.5.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "pub_semver", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pub_semver-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.2.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "pubspec_parse", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pubspec_parse-1.5.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pubspec_parse-1.5.0", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "riverpod", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/riverpod-3.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/riverpod-3.2.1", "packageUri": "lib/", "languageVersion": "3.7" }, @@ -561,181 +561,181 @@ }, { "name": "shared_preferences", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences-2.5.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences-2.5.4", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "shared_preferences_android", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.20", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_android-2.4.20", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "shared_preferences_foundation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_foundation-2.5.6", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "shared_preferences_linux", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_linux-2.4.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "shared_preferences_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "shared_preferences_web", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_web-2.4.3", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "shared_preferences_windows", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_windows-2.4.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "shelf", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shelf-1.4.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shelf-1.4.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "shelf_packages_handler", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_packages_handler-3.0.2", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "shelf_static", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shelf_static-1.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_static-1.1.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "shelf_web_socket", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shelf_web_socket-3.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_web_socket-3.0.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "sky_engine", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/bin/cache/pkg/sky_engine", + "rootUri": "file:///C:/Program%20Files/Flutter/bin/cache/pkg/sky_engine", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "source_gen", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_gen-4.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_gen-4.0.0", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "source_helper", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_helper-1.3.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_helper-1.3.8", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "source_map_stack_trace", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_map_stack_trace-2.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_map_stack_trace-2.1.2", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "source_maps", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_maps-0.10.13", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_maps-0.10.13", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "source_span", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_span-1.10.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.2", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "stack_trace", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stack_trace-1.12.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "state_notifier", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/state_notifier-1.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/state_notifier-1.0.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "stream_channel", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stream_channel-2.1.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.4", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "stream_transform", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stream_transform-2.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stream_transform-2.1.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "string_scanner", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/string_scanner-1.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.4.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "term_glyph", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/term_glyph-1.2.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.2", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "test", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/test-1.26.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/test-1.26.2", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "test_api", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/test_api-0.7.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.6", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "test_core", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/test_core-0.6.11", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/test_core-0.6.11", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "timing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/timing-1.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/timing-1.0.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "top_snackbar_flutter", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/top_snackbar_flutter-3.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/top_snackbar_flutter-3.3.0", "packageUri": "lib/", "languageVersion": "2.15" }, { "name": "typed_data", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/typed_data-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.4.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "universal_io", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/universal_io-2.3.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/universal_io-2.3.1", "packageUri": "lib/", "languageVersion": "3.6" }, @@ -747,79 +747,79 @@ }, { "name": "vector_graphics", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_graphics-1.1.19", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics-1.1.19", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "vector_graphics_codec", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_graphics_codec-1.1.13", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics_codec-1.1.13", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "vector_graphics_compiler", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_graphics_compiler-1.1.20", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_graphics_compiler-1.1.20", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "vector_math", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_math-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.2.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "vm_service", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vm_service-15.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-15.0.2", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "watcher", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/watcher-1.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/watcher-1.2.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "web", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/web-1.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/web-1.1.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "web_socket", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/web_socket-1.0.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket-1.0.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "web_socket_channel", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/web_socket_channel-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket_channel-3.0.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "webkit_inspection_protocol", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "xdg_directories", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/xdg_directories-1.1.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "xml", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/xml-6.6.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/xml-6.6.1", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "yaml", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/yaml-3.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.3", "packageUri": "lib/", "languageVersion": "3.4" }, @@ -832,7 +832,7 @@ ], "generator": "pub", "generatorVersion": "3.9.2", - "flutterRoot": "file:///Users/juliandalcalaf/Development/flutter", - "flutterVersion": "3.35.7", - "pubCache": "file:///Users/juliandalcalaf/.pub-cache" + "flutterRoot": "file:///C:/Program%20Files/Flutter", + "flutterVersion": "3.35.6", + "pubCache": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache" } diff --git a/modules/activity/.dart_tool/version b/modules/activity/.dart_tool/version index e119acda..eb4861ac 100644 --- a/modules/activity/.dart_tool/version +++ b/modules/activity/.dart_tool/version @@ -1 +1 @@ -3.35.7 \ No newline at end of file +3.35.6 \ No newline at end of file diff --git a/modules/activity/.flutter-plugins-dependencies b/modules/activity/.flutter-plugins-dependencies index f18fa932..48671124 100644 --- a/modules/activity/.flutter-plugins-dependencies +++ b/modules/activity/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_treezor_entrust_sdk_bridge","path":"/Users/juliandalcalaf/Desktop/apps/sf-app-platform/packages/flutter_treezor_entrust_sdk_bridge/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.6/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"flutter_treezor_entrust_sdk_bridge","path":"/Users/juliandalcalaf/Desktop/apps/sf-app-platform/packages/flutter_treezor_entrust_sdk_bridge/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_android","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_android-2.2.22/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_android","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.20/","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"path_provider_foundation","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.6/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"path_provider_linux","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_linux","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"],"dev_dependency":false}],"windows":[{"name":"path_provider_windows","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_windows","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"],"dev_dependency":false}],"web":[{"name":"shared_preferences_web","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3/","dependencies":[],"dev_dependency":false}]},"dependencyGraph":[{"name":"flutter_treezor_entrust_sdk_bridge","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2026-02-28 20:18:36.684471","version":"3.35.7","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_treezor_entrust_sdk_bridge","path":"C:\\\\dev\\\\sf-app-platform\\\\packages\\\\flutter_treezor_entrust_sdk_bridge\\\\","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.5.1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.5.6\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"flutter_treezor_entrust_sdk_bridge","path":"C:\\\\dev\\\\sf-app-platform\\\\packages\\\\flutter_treezor_entrust_sdk_bridge\\\\","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_android","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_android-2.2.22\\\\","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_android","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.4.20\\\\","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"path_provider_foundation","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.5.1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.5.6\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.2.1\\\\","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.4.1\\\\","native_build":false,"dependencies":["path_provider_linux"],"dev_dependency":false}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.3.0\\\\","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.4.1\\\\","native_build":false,"dependencies":["path_provider_windows"],"dev_dependency":false}],"web":[{"name":"shared_preferences_web","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.4.3\\\\","dependencies":[],"dev_dependency":false}]},"dependencyGraph":[{"name":"flutter_treezor_entrust_sdk_bridge","dependencies":[]},{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]}],"date_created":"2026-03-09 10:57:00.990731","version":"3.35.6","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file diff --git a/modules/legacy/melos_legacy.iml b/modules/legacy/melos_legacy.iml index 97528209..cecc6de8 100644 --- a/modules/legacy/melos_legacy.iml +++ b/modules/legacy/melos_legacy.iml @@ -29,10 +29,13 @@ + + + - + \ No newline at end of file diff --git a/modules/legacy/modules/account/lib/src/core/data/datasource/account_remote_datasource.dart b/modules/legacy/modules/account/lib/src/core/data/datasource/account_remote_datasource.dart index 2110d5d4..c658dd28 100644 --- a/modules/legacy/modules/account/lib/src/core/data/datasource/account_remote_datasource.dart +++ b/modules/legacy/modules/account/lib/src/core/data/datasource/account_remote_datasource.dart @@ -1,8 +1,7 @@ import 'package:account/src/features/change_password/domain/models/entities/change_password_request_entity.dart'; -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:account/src/features/linked_devices/domain/entities/update_device_request_entity.dart'; import 'package:account/src/features/personal_data/domain/entities/update_user_request_entity.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; abstract class AccountRemoteDatasource { Future> getLinkedDevices({required String userId}); diff --git a/modules/legacy/modules/account/lib/src/core/data/datasource/account_remote_datasource_impl.dart b/modules/legacy/modules/account/lib/src/core/data/datasource/account_remote_datasource_impl.dart index 78c92f7e..9ee2e7de 100644 --- a/modules/legacy/modules/account/lib/src/core/data/datasource/account_remote_datasource_impl.dart +++ b/modules/legacy/modules/account/lib/src/core/data/datasource/account_remote_datasource_impl.dart @@ -3,17 +3,16 @@ import 'dart:convert'; import 'package:account/src/core/data/datasource/account_remote_datasource.dart'; import 'package:account/src/core/data/models/change_password_request_model.dart'; import 'package:account/src/core/data/models/get_app_users_response_model.dart'; -import 'package:account/src/core/data/models/get_linked_devices_response_model.dart'; import 'package:account/src/core/data/models/update_device_request_model.dart'; import 'package:account/src/core/data/models/update_user_request_model.dart'; import 'package:account/src/features/change_password/domain/models/entities/change_password_request_entity.dart'; -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:account/src/features/linked_devices/domain/entities/update_device_request_entity.dart'; import 'package:account/src/features/personal_data/domain/entities/update_user_request_entity.dart'; -import 'package:legacy_shared/legacy_shared.dart'; import 'package:dio/dio.dart'; -// import 'package:flutter/material.dart'; import 'package:sf_infrastructure/sf_infrastructure.dart'; +import 'package:sf_shared/sf_shared.dart'; + +import '../models/get_linked_devices_response_model.dart'; class AccountRemoteDatasourceImpl implements AccountRemoteDatasource { AccountRemoteDatasourceImpl(this._repository); @@ -23,7 +22,7 @@ class AccountRemoteDatasourceImpl implements AccountRemoteDatasource { @override Future> getLinkedDevices({required String userId}) async { try { - /*final response = await _repository.get>( + final response = await _repository.get>( '/$userId/devices', ); final data = response.data!['items']; @@ -31,57 +30,7 @@ class AccountRemoteDatasourceImpl implements AccountRemoteDatasource { throw Exception('Empty response from /:userId/devices'); } - final model = GetLinkedDevicesResponseModel.fromJson(data);*/ - final model = GetLinkedDevicesResponseModel(items: [ - GetLinkedDevicesItemResponseModel( - identificator: '1111', - carrierName: 'Carlos', - phone: '111111111', - id: '', - settings: GetLinkedDevicesSettingsResponseModel( - frequency: 0, - frequencyHeartRate: 0, - timezone: 0, - pedometer: false, - language: 'language', - alerts: [], - ), - protocol: '', - type: '', - connectionServer: '', - createdAt: 0, - flags: GetLinkedDevicesFlagsResponseModel( - isInOrOut: 'isInOrOut', - geofenceId: 'geofenceId', - isBatteryLow: false, - isDisconnect: false, - ) - ), - GetLinkedDevicesItemResponseModel( - identificator: '1112', - carrierName: 'Ana', - phone: '222222222', - id: '', - settings: GetLinkedDevicesSettingsResponseModel( - frequency: 0, - frequencyHeartRate: 0, - timezone: 0, - pedometer: false, - language: 'language', - alerts: [], - ), - protocol: '', - type: '', - connectionServer: '', - createdAt: 0, - flags: GetLinkedDevicesFlagsResponseModel( - isInOrOut: 'isInOrOut', - geofenceId: 'geofenceId', - isBatteryLow: false, - isDisconnect: false, - ) - ), - ]); + final model = GetLinkedDevicesResponseModel.fromJson(data); return model.toEntity(); } on DioException catch (error) { throw _mapDioError( diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.dart index 15f84333..772c72e3 100644 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.dart +++ b/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.dart @@ -1,5 +1,6 @@ import 'package:legacy_shared/legacy_shared.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'get_app_users_response_model.freezed.dart'; part 'get_app_users_response_model.g.dart'; @@ -21,16 +22,16 @@ abstract class GetAppUsersItemResponseModel with _$GetAppUsersItemResponseModel required String id, required String delegationId, required String email, - required String createdAt, - required String updatedAt, + required int createdAt, + required int? updatedAt, required String status, required String role, - required String lastLogin, - required String currentLogin, + required int lastLogin, + required int currentLogin, required String language, required String firstName, required String lastName, - required String hasApiKey, + required bool hasApiKey, required String phone }) = _GetAppUsersItemResponseModel; diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.freezed.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.freezed.dart index d2f66345..5d3536d5 100644 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.freezed.dart +++ b/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.freezed.dart @@ -284,7 +284,7 @@ as List, /// @nodoc mixin _$GetAppUsersItemResponseModel { - String get id; String get delegationId; String get email; String get createdAt; String get updatedAt; String get status; String get role; String get lastLogin; String get currentLogin; String get language; String get firstName; String get lastName; String get hasApiKey; String get phone; + String get id; String get delegationId; String get email; int get createdAt; int? get updatedAt; String get status; String get role; int get lastLogin; int get currentLogin; String get language; String get firstName; String get lastName; bool get hasApiKey; String get phone; /// Create a copy of GetAppUsersItemResponseModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @@ -317,7 +317,7 @@ abstract mixin class $GetAppUsersItemResponseModelCopyWith<$Res> { factory $GetAppUsersItemResponseModelCopyWith(GetAppUsersItemResponseModel value, $Res Function(GetAppUsersItemResponseModel) _then) = _$GetAppUsersItemResponseModelCopyWithImpl; @useResult $Res call({ - String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone + String id, String delegationId, String email, int createdAt, int? updatedAt, String status, String role, int lastLogin, int currentLogin, String language, String firstName, String lastName, bool hasApiKey, String phone }); @@ -334,22 +334,22 @@ class _$GetAppUsersItemResponseModelCopyWithImpl<$Res> /// Create a copy of GetAppUsersItemResponseModel /// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? delegationId = null,Object? email = null,Object? createdAt = null,Object? updatedAt = null,Object? status = null,Object? role = null,Object? lastLogin = null,Object? currentLogin = null,Object? language = null,Object? firstName = null,Object? lastName = null,Object? hasApiKey = null,Object? phone = null,}) { +@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? delegationId = null,Object? email = null,Object? createdAt = null,Object? updatedAt = freezed,Object? status = null,Object? role = null,Object? lastLogin = null,Object? currentLogin = null,Object? language = null,Object? firstName = null,Object? lastName = null,Object? hasApiKey = null,Object? phone = null,}) { return _then(_self.copyWith( id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable as String,delegationId: null == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable as String,email: null == email ? _self.email : email // ignore: cast_nullable_to_non_nullable as String,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as String,updatedAt: null == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable -as String,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable +as int,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable +as int?,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String,role: null == role ? _self.role : role // ignore: cast_nullable_to_non_nullable as String,lastLogin: null == lastLogin ? _self.lastLogin : lastLogin // ignore: cast_nullable_to_non_nullable -as String,currentLogin: null == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable -as String,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable +as int,currentLogin: null == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable +as int,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable as String,firstName: null == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable as String,lastName: null == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable as String,hasApiKey: null == hasApiKey ? _self.hasApiKey : hasApiKey // ignore: cast_nullable_to_non_nullable -as String,phone: null == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable +as bool,phone: null == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable as String, )); } @@ -435,7 +435,7 @@ return $default(_that);case _: /// } /// ``` -@optionalTypeArgs TResult maybeWhen(TResult Function( String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone)? $default,{required TResult orElse(),}) {final _that = this; +@optionalTypeArgs TResult maybeWhen(TResult Function( String id, String delegationId, String email, int createdAt, int? updatedAt, String status, String role, int lastLogin, int currentLogin, String language, String firstName, String lastName, bool hasApiKey, String phone)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _GetAppUsersItemResponseModel() when $default != null: return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: @@ -456,7 +456,7 @@ return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.up /// } /// ``` -@optionalTypeArgs TResult when(TResult Function( String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone) $default,) {final _that = this; +@optionalTypeArgs TResult when(TResult Function( String id, String delegationId, String email, int createdAt, int? updatedAt, String status, String role, int lastLogin, int currentLogin, String language, String firstName, String lastName, bool hasApiKey, String phone) $default,) {final _that = this; switch (_that) { case _GetAppUsersItemResponseModel(): return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: @@ -476,7 +476,7 @@ return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.up /// } /// ``` -@optionalTypeArgs TResult? whenOrNull(TResult? Function( String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone)? $default,) {final _that = this; +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String id, String delegationId, String email, int createdAt, int? updatedAt, String status, String role, int lastLogin, int currentLogin, String language, String firstName, String lastName, bool hasApiKey, String phone)? $default,) {final _that = this; switch (_that) { case _GetAppUsersItemResponseModel() when $default != null: return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: @@ -497,16 +497,16 @@ class _GetAppUsersItemResponseModel implements GetAppUsersItemResponseModel { @override final String id; @override final String delegationId; @override final String email; -@override final String createdAt; -@override final String updatedAt; +@override final int createdAt; +@override final int? updatedAt; @override final String status; @override final String role; -@override final String lastLogin; -@override final String currentLogin; +@override final int lastLogin; +@override final int currentLogin; @override final String language; @override final String firstName; @override final String lastName; -@override final String hasApiKey; +@override final bool hasApiKey; @override final String phone; /// Create a copy of GetAppUsersItemResponseModel @@ -542,7 +542,7 @@ abstract mixin class _$GetAppUsersItemResponseModelCopyWith<$Res> implements $Ge factory _$GetAppUsersItemResponseModelCopyWith(_GetAppUsersItemResponseModel value, $Res Function(_GetAppUsersItemResponseModel) _then) = __$GetAppUsersItemResponseModelCopyWithImpl; @override @useResult $Res call({ - String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone + String id, String delegationId, String email, int createdAt, int? updatedAt, String status, String role, int lastLogin, int currentLogin, String language, String firstName, String lastName, bool hasApiKey, String phone }); @@ -559,22 +559,22 @@ class __$GetAppUsersItemResponseModelCopyWithImpl<$Res> /// Create a copy of GetAppUsersItemResponseModel /// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? delegationId = null,Object? email = null,Object? createdAt = null,Object? updatedAt = null,Object? status = null,Object? role = null,Object? lastLogin = null,Object? currentLogin = null,Object? language = null,Object? firstName = null,Object? lastName = null,Object? hasApiKey = null,Object? phone = null,}) { +@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? delegationId = null,Object? email = null,Object? createdAt = null,Object? updatedAt = freezed,Object? status = null,Object? role = null,Object? lastLogin = null,Object? currentLogin = null,Object? language = null,Object? firstName = null,Object? lastName = null,Object? hasApiKey = null,Object? phone = null,}) { return _then(_GetAppUsersItemResponseModel( id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable as String,delegationId: null == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable as String,email: null == email ? _self.email : email // ignore: cast_nullable_to_non_nullable as String,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as String,updatedAt: null == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable -as String,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable +as int,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable +as int?,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable as String,role: null == role ? _self.role : role // ignore: cast_nullable_to_non_nullable as String,lastLogin: null == lastLogin ? _self.lastLogin : lastLogin // ignore: cast_nullable_to_non_nullable -as String,currentLogin: null == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable -as String,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable +as int,currentLogin: null == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable +as int,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable as String,firstName: null == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable as String,lastName: null == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable as String,hasApiKey: null == hasApiKey ? _self.hasApiKey : hasApiKey // ignore: cast_nullable_to_non_nullable -as String,phone: null == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable +as bool,phone: null == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable as String, )); } diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.g.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.g.dart index 01413bf1..2bed24d9 100644 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.g.dart +++ b/modules/legacy/modules/account/lib/src/core/data/models/get_app_users_response_model.g.dart @@ -26,16 +26,16 @@ _GetAppUsersItemResponseModel _$GetAppUsersItemResponseModelFromJson( id: json['id'] as String, delegationId: json['delegationId'] as String, email: json['email'] as String, - createdAt: json['createdAt'] as String, - updatedAt: json['updatedAt'] as String, + createdAt: (json['createdAt'] as num).toInt(), + updatedAt: (json['updatedAt'] as num?)?.toInt(), status: json['status'] as String, role: json['role'] as String, - lastLogin: json['lastLogin'] as String, - currentLogin: json['currentLogin'] as String, + lastLogin: (json['lastLogin'] as num).toInt(), + currentLogin: (json['currentLogin'] as num).toInt(), language: json['language'] as String, firstName: json['firstName'] as String, lastName: json['lastName'] as String, - hasApiKey: json['hasApiKey'] as String, + hasApiKey: json['hasApiKey'] as bool, phone: json['phone'] as String, ); diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.dart index b311ae23..d2af3860 100644 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.dart +++ b/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.dart @@ -1,5 +1,5 @@ -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'get_linked_devices_response_model.freezed.dart'; part 'get_linked_devices_response_model.g.dart'; @@ -21,12 +21,12 @@ abstract class GetLinkedDevicesItemResponseModel with _$GetLinkedDevicesItemResp required String carrierName, required String phone, required String id, - required GetLinkedDevicesSettingsResponseModel settings, + @Default({}) Map settings, required String protocol, required String type, required String connectionServer, - required int createdAt, - required GetLinkedDevicesFlagsResponseModel flags, + required String createdAt, + @Default({}) Map flags, }) = _GetLinkedDevicesItemResponseModel; @@ -41,12 +41,12 @@ extension GetDevicesResponseModelMapper on GetLinkedDevicesResponseModel { carrierName: item.carrierName, phone: item.phone, id: item.id, - settings: item.settings.toEntity(), + settings: item.settings, protocol: item.protocol, type: item.type, connectionServer: item.connectionServer, createdAt: item.createdAt, - flags: item.flags.toEntity(), + flags: item.flags, )).toList(); } } @@ -64,41 +64,4 @@ abstract class GetLinkedDevicesSettingsResponseModel with _$GetLinkedDevicesSett factory GetLinkedDevicesSettingsResponseModel.fromJson(Map json) => _$GetLinkedDevicesSettingsResponseModelFromJson(json); -} - -extension GetLinkedDevicesSettingsResponseModelMapper on GetLinkedDevicesSettingsResponseModel { - DeviceSettingsEntity toEntity() { - return DeviceSettingsEntity( - frequency: frequency, - frequencyHeartRate: frequencyHeartRate, - timezone: timezone, - pedometer: pedometer, - language: language, - alerts: alerts, - ); - } -} - -@freezed -abstract class GetLinkedDevicesFlagsResponseModel with _$GetLinkedDevicesFlagsResponseModel { - const factory GetLinkedDevicesFlagsResponseModel({ - required String isInOrOut, - required String geofenceId, - required bool isBatteryLow, - required bool isDisconnect, - }) = _GetLinkedDevicesFlagsResponseModel; - - factory GetLinkedDevicesFlagsResponseModel.fromJson(Map json) => - _$GetLinkedDevicesFlagsResponseModelFromJson(json); -} - -extension GetLinkedDevicesFlagsResponseModelMapper on GetLinkedDevicesFlagsResponseModel { - DeviceFlagsEntity toEntity() { - return DeviceFlagsEntity( - isInOrOut: isInOrOut, - geofenceId: geofenceId, - isBatteryLow: isBatteryLow, - isDisconnect: isDisconnect, - ); - } } \ No newline at end of file diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.freezed.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.freezed.dart index 46fd8f5d..18b2cf0d 100644 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.freezed.dart +++ b/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.freezed.dart @@ -284,7 +284,7 @@ as List, /// @nodoc mixin _$GetLinkedDevicesItemResponseModel { - String get identificator; String get carrierName; String get phone; String get id; GetLinkedDevicesSettingsResponseModel get settings; String get protocol; String get type; String get connectionServer; int get createdAt; GetLinkedDevicesFlagsResponseModel get flags; + String get identificator; String get carrierName; String get phone; String get id; Map get settings; String get protocol; String get type; String get connectionServer; String get createdAt; Map get flags; /// Create a copy of GetLinkedDevicesItemResponseModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @@ -297,12 +297,12 @@ $GetLinkedDevicesItemResponseModelCopyWith ge @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetLinkedDevicesItemResponseModel&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.id, id) || other.id == id)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.flags, flags) || other.flags == flags)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is GetLinkedDevicesItemResponseModel&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.id, id) || other.id == id)&&const DeepCollectionEquality().equals(other.settings, settings)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&const DeepCollectionEquality().equals(other.flags, flags)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,identificator,carrierName,phone,id,settings,protocol,type,connectionServer,createdAt,flags); +int get hashCode => Object.hash(runtimeType,identificator,carrierName,phone,id,const DeepCollectionEquality().hash(settings),protocol,type,connectionServer,createdAt,const DeepCollectionEquality().hash(flags)); @override String toString() { @@ -317,11 +317,11 @@ abstract mixin class $GetLinkedDevicesItemResponseModelCopyWith<$Res> { factory $GetLinkedDevicesItemResponseModelCopyWith(GetLinkedDevicesItemResponseModel value, $Res Function(GetLinkedDevicesItemResponseModel) _then) = _$GetLinkedDevicesItemResponseModelCopyWithImpl; @useResult $Res call({ - String identificator, String carrierName, String phone, String id, GetLinkedDevicesSettingsResponseModel settings, String protocol, String type, String connectionServer, int createdAt, GetLinkedDevicesFlagsResponseModel flags + String identificator, String carrierName, String phone, String id, Map settings, String protocol, String type, String connectionServer, String createdAt, Map flags }); -$GetLinkedDevicesSettingsResponseModelCopyWith<$Res> get settings;$GetLinkedDevicesFlagsResponseModelCopyWith<$Res> get flags; + } /// @nodoc @@ -341,33 +341,15 @@ as String,carrierName: null == carrierName ? _self.carrierName : carrierName // as String,phone: null == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable as String,id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable as String,settings: null == settings ? _self.settings : settings // ignore: cast_nullable_to_non_nullable -as GetLinkedDevicesSettingsResponseModel,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable +as Map,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable as String,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable as String,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable as String,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as int,flags: null == flags ? _self.flags : flags // ignore: cast_nullable_to_non_nullable -as GetLinkedDevicesFlagsResponseModel, +as String,flags: null == flags ? _self.flags : flags // ignore: cast_nullable_to_non_nullable +as Map, )); } -/// Create a copy of GetLinkedDevicesItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetLinkedDevicesSettingsResponseModelCopyWith<$Res> get settings { - - return $GetLinkedDevicesSettingsResponseModelCopyWith<$Res>(_self.settings, (value) { - return _then(_self.copyWith(settings: value)); - }); -}/// Create a copy of GetLinkedDevicesItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetLinkedDevicesFlagsResponseModelCopyWith<$Res> get flags { - - return $GetLinkedDevicesFlagsResponseModelCopyWith<$Res>(_self.flags, (value) { - return _then(_self.copyWith(flags: value)); - }); -} + } @@ -449,7 +431,7 @@ return $default(_that);case _: /// } /// ``` -@optionalTypeArgs TResult maybeWhen(TResult Function( String identificator, String carrierName, String phone, String id, GetLinkedDevicesSettingsResponseModel settings, String protocol, String type, String connectionServer, int createdAt, GetLinkedDevicesFlagsResponseModel flags)? $default,{required TResult orElse(),}) {final _that = this; +@optionalTypeArgs TResult maybeWhen(TResult Function( String identificator, String carrierName, String phone, String id, Map settings, String protocol, String type, String connectionServer, String createdAt, Map flags)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _GetLinkedDevicesItemResponseModel() when $default != null: return $default(_that.identificator,_that.carrierName,_that.phone,_that.id,_that.settings,_that.protocol,_that.type,_that.connectionServer,_that.createdAt,_that.flags);case _: @@ -470,7 +452,7 @@ return $default(_that.identificator,_that.carrierName,_that.phone,_that.id,_that /// } /// ``` -@optionalTypeArgs TResult when(TResult Function( String identificator, String carrierName, String phone, String id, GetLinkedDevicesSettingsResponseModel settings, String protocol, String type, String connectionServer, int createdAt, GetLinkedDevicesFlagsResponseModel flags) $default,) {final _that = this; +@optionalTypeArgs TResult when(TResult Function( String identificator, String carrierName, String phone, String id, Map settings, String protocol, String type, String connectionServer, String createdAt, Map flags) $default,) {final _that = this; switch (_that) { case _GetLinkedDevicesItemResponseModel(): return $default(_that.identificator,_that.carrierName,_that.phone,_that.id,_that.settings,_that.protocol,_that.type,_that.connectionServer,_that.createdAt,_that.flags);case _: @@ -490,7 +472,7 @@ return $default(_that.identificator,_that.carrierName,_that.phone,_that.id,_that /// } /// ``` -@optionalTypeArgs TResult? whenOrNull(TResult? Function( String identificator, String carrierName, String phone, String id, GetLinkedDevicesSettingsResponseModel settings, String protocol, String type, String connectionServer, int createdAt, GetLinkedDevicesFlagsResponseModel flags)? $default,) {final _that = this; +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String identificator, String carrierName, String phone, String id, Map settings, String protocol, String type, String connectionServer, String createdAt, Map flags)? $default,) {final _that = this; switch (_that) { case _GetLinkedDevicesItemResponseModel() when $default != null: return $default(_that.identificator,_that.carrierName,_that.phone,_that.id,_that.settings,_that.protocol,_that.type,_that.connectionServer,_that.createdAt,_that.flags);case _: @@ -505,19 +487,31 @@ return $default(_that.identificator,_that.carrierName,_that.phone,_that.id,_that @JsonSerializable() class _GetLinkedDevicesItemResponseModel implements GetLinkedDevicesItemResponseModel { - const _GetLinkedDevicesItemResponseModel({required this.identificator, required this.carrierName, required this.phone, required this.id, required this.settings, required this.protocol, required this.type, required this.connectionServer, required this.createdAt, required this.flags}); + const _GetLinkedDevicesItemResponseModel({required this.identificator, required this.carrierName, required this.phone, required this.id, final Map settings = const {}, required this.protocol, required this.type, required this.connectionServer, required this.createdAt, final Map flags = const {}}): _settings = settings,_flags = flags; factory _GetLinkedDevicesItemResponseModel.fromJson(Map json) => _$GetLinkedDevicesItemResponseModelFromJson(json); @override final String identificator; @override final String carrierName; @override final String phone; @override final String id; -@override final GetLinkedDevicesSettingsResponseModel settings; + final Map _settings; +@override@JsonKey() Map get settings { + if (_settings is EqualUnmodifiableMapView) return _settings; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(_settings); +} + @override final String protocol; @override final String type; @override final String connectionServer; -@override final int createdAt; -@override final GetLinkedDevicesFlagsResponseModel flags; +@override final String createdAt; + final Map _flags; +@override@JsonKey() Map get flags { + if (_flags is EqualUnmodifiableMapView) return _flags; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(_flags); +} + /// Create a copy of GetLinkedDevicesItemResponseModel /// with the given fields replaced by the non-null parameter values. @@ -532,12 +526,12 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetLinkedDevicesItemResponseModel&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.id, id) || other.id == id)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.flags, flags) || other.flags == flags)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetLinkedDevicesItemResponseModel&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.id, id) || other.id == id)&&const DeepCollectionEquality().equals(other._settings, _settings)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&const DeepCollectionEquality().equals(other._flags, _flags)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,identificator,carrierName,phone,id,settings,protocol,type,connectionServer,createdAt,flags); +int get hashCode => Object.hash(runtimeType,identificator,carrierName,phone,id,const DeepCollectionEquality().hash(_settings),protocol,type,connectionServer,createdAt,const DeepCollectionEquality().hash(_flags)); @override String toString() { @@ -552,11 +546,11 @@ abstract mixin class _$GetLinkedDevicesItemResponseModelCopyWith<$Res> implement factory _$GetLinkedDevicesItemResponseModelCopyWith(_GetLinkedDevicesItemResponseModel value, $Res Function(_GetLinkedDevicesItemResponseModel) _then) = __$GetLinkedDevicesItemResponseModelCopyWithImpl; @override @useResult $Res call({ - String identificator, String carrierName, String phone, String id, GetLinkedDevicesSettingsResponseModel settings, String protocol, String type, String connectionServer, int createdAt, GetLinkedDevicesFlagsResponseModel flags + String identificator, String carrierName, String phone, String id, Map settings, String protocol, String type, String connectionServer, String createdAt, Map flags }); -@override $GetLinkedDevicesSettingsResponseModelCopyWith<$Res> get settings;@override $GetLinkedDevicesFlagsResponseModelCopyWith<$Res> get flags; + } /// @nodoc @@ -575,35 +569,17 @@ identificator: null == identificator ? _self.identificator : identificator // ig as String,carrierName: null == carrierName ? _self.carrierName : carrierName // ignore: cast_nullable_to_non_nullable as String,phone: null == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable as String,id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable -as String,settings: null == settings ? _self.settings : settings // ignore: cast_nullable_to_non_nullable -as GetLinkedDevicesSettingsResponseModel,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable +as String,settings: null == settings ? _self._settings : settings // ignore: cast_nullable_to_non_nullable +as Map,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable as String,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable as String,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable as String,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as int,flags: null == flags ? _self.flags : flags // ignore: cast_nullable_to_non_nullable -as GetLinkedDevicesFlagsResponseModel, +as String,flags: null == flags ? _self._flags : flags // ignore: cast_nullable_to_non_nullable +as Map, )); } -/// Create a copy of GetLinkedDevicesItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetLinkedDevicesSettingsResponseModelCopyWith<$Res> get settings { - - return $GetLinkedDevicesSettingsResponseModelCopyWith<$Res>(_self.settings, (value) { - return _then(_self.copyWith(settings: value)); - }); -}/// Create a copy of GetLinkedDevicesItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetLinkedDevicesFlagsResponseModelCopyWith<$Res> get flags { - - return $GetLinkedDevicesFlagsResponseModelCopyWith<$Res>(_self.flags, (value) { - return _then(_self.copyWith(flags: value)); - }); -} + } @@ -888,278 +864,6 @@ as List, } -} - - -/// @nodoc -mixin _$GetLinkedDevicesFlagsResponseModel { - - String get isInOrOut; String get geofenceId; bool get isBatteryLow; bool get isDisconnect; -/// Create a copy of GetLinkedDevicesFlagsResponseModel -/// with the given fields replaced by the non-null parameter values. -@JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -$GetLinkedDevicesFlagsResponseModelCopyWith get copyWith => _$GetLinkedDevicesFlagsResponseModelCopyWithImpl(this as GetLinkedDevicesFlagsResponseModel, _$identity); - - /// Serializes this GetLinkedDevicesFlagsResponseModel to a JSON map. - Map toJson(); - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetLinkedDevicesFlagsResponseModel&&(identical(other.isInOrOut, isInOrOut) || other.isInOrOut == isInOrOut)&&(identical(other.geofenceId, geofenceId) || other.geofenceId == geofenceId)&&(identical(other.isBatteryLow, isBatteryLow) || other.isBatteryLow == isBatteryLow)&&(identical(other.isDisconnect, isDisconnect) || other.isDisconnect == isDisconnect)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,isInOrOut,geofenceId,isBatteryLow,isDisconnect); - -@override -String toString() { - return 'GetLinkedDevicesFlagsResponseModel(isInOrOut: $isInOrOut, geofenceId: $geofenceId, isBatteryLow: $isBatteryLow, isDisconnect: $isDisconnect)'; -} - - -} - -/// @nodoc -abstract mixin class $GetLinkedDevicesFlagsResponseModelCopyWith<$Res> { - factory $GetLinkedDevicesFlagsResponseModelCopyWith(GetLinkedDevicesFlagsResponseModel value, $Res Function(GetLinkedDevicesFlagsResponseModel) _then) = _$GetLinkedDevicesFlagsResponseModelCopyWithImpl; -@useResult -$Res call({ - String isInOrOut, String geofenceId, bool isBatteryLow, bool isDisconnect -}); - - - - -} -/// @nodoc -class _$GetLinkedDevicesFlagsResponseModelCopyWithImpl<$Res> - implements $GetLinkedDevicesFlagsResponseModelCopyWith<$Res> { - _$GetLinkedDevicesFlagsResponseModelCopyWithImpl(this._self, this._then); - - final GetLinkedDevicesFlagsResponseModel _self; - final $Res Function(GetLinkedDevicesFlagsResponseModel) _then; - -/// Create a copy of GetLinkedDevicesFlagsResponseModel -/// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? isInOrOut = null,Object? geofenceId = null,Object? isBatteryLow = null,Object? isDisconnect = null,}) { - return _then(_self.copyWith( -isInOrOut: null == isInOrOut ? _self.isInOrOut : isInOrOut // ignore: cast_nullable_to_non_nullable -as String,geofenceId: null == geofenceId ? _self.geofenceId : geofenceId // ignore: cast_nullable_to_non_nullable -as String,isBatteryLow: null == isBatteryLow ? _self.isBatteryLow : isBatteryLow // ignore: cast_nullable_to_non_nullable -as bool,isDisconnect: null == isDisconnect ? _self.isDisconnect : isDisconnect // ignore: cast_nullable_to_non_nullable -as bool, - )); -} - -} - - -/// Adds pattern-matching-related methods to [GetLinkedDevicesFlagsResponseModel]. -extension GetLinkedDevicesFlagsResponseModelPatterns on GetLinkedDevicesFlagsResponseModel { -/// A variant of `map` that fallback to returning `orElse`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeMap(TResult Function( _GetLinkedDevicesFlagsResponseModel value)? $default,{required TResult orElse(),}){ -final _that = this; -switch (_that) { -case _GetLinkedDevicesFlagsResponseModel() when $default != null: -return $default(_that);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// Callbacks receives the raw object, upcasted. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case final Subclass2 value: -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult map(TResult Function( _GetLinkedDevicesFlagsResponseModel value) $default,){ -final _that = this; -switch (_that) { -case _GetLinkedDevicesFlagsResponseModel(): -return $default(_that);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `map` that fallback to returning `null`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GetLinkedDevicesFlagsResponseModel value)? $default,){ -final _that = this; -switch (_that) { -case _GetLinkedDevicesFlagsResponseModel() when $default != null: -return $default(_that);case _: - return null; - -} -} -/// A variant of `when` that fallback to an `orElse` callback. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeWhen(TResult Function( String isInOrOut, String geofenceId, bool isBatteryLow, bool isDisconnect)? $default,{required TResult orElse(),}) {final _that = this; -switch (_that) { -case _GetLinkedDevicesFlagsResponseModel() when $default != null: -return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// As opposed to `map`, this offers destructuring. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case Subclass2(:final field2): -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult when(TResult Function( String isInOrOut, String geofenceId, bool isBatteryLow, bool isDisconnect) $default,) {final _that = this; -switch (_that) { -case _GetLinkedDevicesFlagsResponseModel(): -return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `when` that fallback to returning `null` -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? whenOrNull(TResult? Function( String isInOrOut, String geofenceId, bool isBatteryLow, bool isDisconnect)? $default,) {final _that = this; -switch (_that) { -case _GetLinkedDevicesFlagsResponseModel() when $default != null: -return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _: - return null; - -} -} - -} - -/// @nodoc -@JsonSerializable() - -class _GetLinkedDevicesFlagsResponseModel implements GetLinkedDevicesFlagsResponseModel { - const _GetLinkedDevicesFlagsResponseModel({required this.isInOrOut, required this.geofenceId, required this.isBatteryLow, required this.isDisconnect}); - factory _GetLinkedDevicesFlagsResponseModel.fromJson(Map json) => _$GetLinkedDevicesFlagsResponseModelFromJson(json); - -@override final String isInOrOut; -@override final String geofenceId; -@override final bool isBatteryLow; -@override final bool isDisconnect; - -/// Create a copy of GetLinkedDevicesFlagsResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -_$GetLinkedDevicesFlagsResponseModelCopyWith<_GetLinkedDevicesFlagsResponseModel> get copyWith => __$GetLinkedDevicesFlagsResponseModelCopyWithImpl<_GetLinkedDevicesFlagsResponseModel>(this, _$identity); - -@override -Map toJson() { - return _$GetLinkedDevicesFlagsResponseModelToJson(this, ); -} - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetLinkedDevicesFlagsResponseModel&&(identical(other.isInOrOut, isInOrOut) || other.isInOrOut == isInOrOut)&&(identical(other.geofenceId, geofenceId) || other.geofenceId == geofenceId)&&(identical(other.isBatteryLow, isBatteryLow) || other.isBatteryLow == isBatteryLow)&&(identical(other.isDisconnect, isDisconnect) || other.isDisconnect == isDisconnect)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,isInOrOut,geofenceId,isBatteryLow,isDisconnect); - -@override -String toString() { - return 'GetLinkedDevicesFlagsResponseModel(isInOrOut: $isInOrOut, geofenceId: $geofenceId, isBatteryLow: $isBatteryLow, isDisconnect: $isDisconnect)'; -} - - -} - -/// @nodoc -abstract mixin class _$GetLinkedDevicesFlagsResponseModelCopyWith<$Res> implements $GetLinkedDevicesFlagsResponseModelCopyWith<$Res> { - factory _$GetLinkedDevicesFlagsResponseModelCopyWith(_GetLinkedDevicesFlagsResponseModel value, $Res Function(_GetLinkedDevicesFlagsResponseModel) _then) = __$GetLinkedDevicesFlagsResponseModelCopyWithImpl; -@override @useResult -$Res call({ - String isInOrOut, String geofenceId, bool isBatteryLow, bool isDisconnect -}); - - - - -} -/// @nodoc -class __$GetLinkedDevicesFlagsResponseModelCopyWithImpl<$Res> - implements _$GetLinkedDevicesFlagsResponseModelCopyWith<$Res> { - __$GetLinkedDevicesFlagsResponseModelCopyWithImpl(this._self, this._then); - - final _GetLinkedDevicesFlagsResponseModel _self; - final $Res Function(_GetLinkedDevicesFlagsResponseModel) _then; - -/// Create a copy of GetLinkedDevicesFlagsResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? isInOrOut = null,Object? geofenceId = null,Object? isBatteryLow = null,Object? isDisconnect = null,}) { - return _then(_GetLinkedDevicesFlagsResponseModel( -isInOrOut: null == isInOrOut ? _self.isInOrOut : isInOrOut // ignore: cast_nullable_to_non_nullable -as String,geofenceId: null == geofenceId ? _self.geofenceId : geofenceId // ignore: cast_nullable_to_non_nullable -as String,isBatteryLow: null == isBatteryLow ? _self.isBatteryLow : isBatteryLow // ignore: cast_nullable_to_non_nullable -as bool,isDisconnect: null == isDisconnect ? _self.isDisconnect : isDisconnect // ignore: cast_nullable_to_non_nullable -as bool, - )); -} - - } // dart format on diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.g.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.g.dart index e50929b2..7df12316 100644 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.g.dart +++ b/modules/legacy/modules/account/lib/src/core/data/models/get_linked_devices_response_model.g.dart @@ -29,16 +29,12 @@ _GetLinkedDevicesItemResponseModel _$GetLinkedDevicesItemResponseModelFromJson( carrierName: json['carrierName'] as String, phone: json['phone'] as String, id: json['id'] as String, - settings: GetLinkedDevicesSettingsResponseModel.fromJson( - json['settings'] as Map, - ), + settings: json['settings'] as Map? ?? const {}, protocol: json['protocol'] as String, type: json['type'] as String, connectionServer: json['connectionServer'] as String, - createdAt: (json['createdAt'] as num).toInt(), - flags: GetLinkedDevicesFlagsResponseModel.fromJson( - json['flags'] as Map, - ), + createdAt: json['createdAt'] as String, + flags: json['flags'] as Map? ?? const {}, ); Map _$GetLinkedDevicesItemResponseModelToJson( @@ -79,21 +75,3 @@ Map _$GetLinkedDevicesSettingsResponseModelToJson( 'language': instance.language, 'alerts': instance.alerts, }; - -_GetLinkedDevicesFlagsResponseModel -_$GetLinkedDevicesFlagsResponseModelFromJson(Map json) => - _GetLinkedDevicesFlagsResponseModel( - isInOrOut: json['isInOrOut'] as String, - geofenceId: json['geofenceId'] as String, - isBatteryLow: json['isBatteryLow'] as bool, - isDisconnect: json['isDisconnect'] as bool, - ); - -Map _$GetLinkedDevicesFlagsResponseModelToJson( - _GetLinkedDevicesFlagsResponseModel instance, -) => { - 'isInOrOut': instance.isInOrOut, - 'geofenceId': instance.geofenceId, - 'isBatteryLow': instance.isBatteryLow, - 'isDisconnect': instance.isDisconnect, -}; diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.dart deleted file mode 100644 index 5f2b81f5..00000000 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.dart +++ /dev/null @@ -1,60 +0,0 @@ -import 'package:legacy_shared/legacy_shared.dart'; -import 'package:freezed_annotation/freezed_annotation.dart'; - -part 'get_logged_user_response_model.freezed.dart'; -part 'get_logged_user_response_model.g.dart'; - -@freezed -abstract class GetLoggedUserResponseModel with _$GetLoggedUserResponseModel { - const factory GetLoggedUserResponseModel({ - required GetLoggedUserItemResponseModel item, - }) = _GetLoggedUserResponseModel; - - factory GetLoggedUserResponseModel.fromJson(Map json) => - _$GetLoggedUserResponseModelFromJson(json); -} - -@freezed -abstract class GetLoggedUserItemResponseModel with _$GetLoggedUserItemResponseModel { - const factory GetLoggedUserItemResponseModel({ - required String id, - String? delegationId, - String? email, - String? createdAt, - String? updatedAt, - String? status, - String? role, - String? lastLogin, - String? currentLogin, - String? language, - String? firstName, - String? lastName, - String? hasApiKey, - String? phone, - }) = - _GetLoggedUserItemResponseModel; - - factory GetLoggedUserItemResponseModel.fromJson(Map json) => - _$GetLoggedUserItemResponseModelFromJson(json); -} - -extension GetLoggedUserResponseModelMapper on GetLoggedUserResponseModel { - UserEntity toEntity() { - return UserEntity( - id: item.id, - delegationId: item.delegationId ?? '', - email: item.email ?? '', - createdAt: item.createdAt ?? '', - updatedAt: item.updatedAt ?? '', - status: item.status ?? '', - role: item.role ?? '', - lastLogin: item.lastLogin ?? '', - currentLogin: item.currentLogin ?? '', - language: item.language ?? '', - firstName: item.firstName ?? '', - lastName: item.lastName ?? '', - hasApiKey: item.hasApiKey ?? '', - phone: item.phone ?? '' - ); - } -} \ No newline at end of file diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.freezed.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.freezed.dart deleted file mode 100644 index 15722cae..00000000 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.freezed.dart +++ /dev/null @@ -1,597 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND -// coverage:ignore-file -// ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark - -part of 'get_logged_user_response_model.dart'; - -// ************************************************************************** -// FreezedGenerator -// ************************************************************************** - -// dart format off -T _$identity(T value) => value; - -/// @nodoc -mixin _$GetLoggedUserResponseModel { - - GetLoggedUserItemResponseModel get item; -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -$GetLoggedUserResponseModelCopyWith get copyWith => _$GetLoggedUserResponseModelCopyWithImpl(this as GetLoggedUserResponseModel, _$identity); - - /// Serializes this GetLoggedUserResponseModel to a JSON map. - Map toJson(); - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetLoggedUserResponseModel&&(identical(other.item, item) || other.item == item)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,item); - -@override -String toString() { - return 'GetLoggedUserResponseModel(item: $item)'; -} - - -} - -/// @nodoc -abstract mixin class $GetLoggedUserResponseModelCopyWith<$Res> { - factory $GetLoggedUserResponseModelCopyWith(GetLoggedUserResponseModel value, $Res Function(GetLoggedUserResponseModel) _then) = _$GetLoggedUserResponseModelCopyWithImpl; -@useResult -$Res call({ - GetLoggedUserItemResponseModel item -}); - - -$GetLoggedUserItemResponseModelCopyWith<$Res> get item; - -} -/// @nodoc -class _$GetLoggedUserResponseModelCopyWithImpl<$Res> - implements $GetLoggedUserResponseModelCopyWith<$Res> { - _$GetLoggedUserResponseModelCopyWithImpl(this._self, this._then); - - final GetLoggedUserResponseModel _self; - final $Res Function(GetLoggedUserResponseModel) _then; - -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? item = null,}) { - return _then(_self.copyWith( -item: null == item ? _self.item : item // ignore: cast_nullable_to_non_nullable -as GetLoggedUserItemResponseModel, - )); -} -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetLoggedUserItemResponseModelCopyWith<$Res> get item { - - return $GetLoggedUserItemResponseModelCopyWith<$Res>(_self.item, (value) { - return _then(_self.copyWith(item: value)); - }); -} -} - - -/// Adds pattern-matching-related methods to [GetLoggedUserResponseModel]. -extension GetLoggedUserResponseModelPatterns on GetLoggedUserResponseModel { -/// A variant of `map` that fallback to returning `orElse`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeMap(TResult Function( _GetLoggedUserResponseModel value)? $default,{required TResult orElse(),}){ -final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel() when $default != null: -return $default(_that);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// Callbacks receives the raw object, upcasted. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case final Subclass2 value: -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult map(TResult Function( _GetLoggedUserResponseModel value) $default,){ -final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel(): -return $default(_that);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `map` that fallback to returning `null`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GetLoggedUserResponseModel value)? $default,){ -final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel() when $default != null: -return $default(_that);case _: - return null; - -} -} -/// A variant of `when` that fallback to an `orElse` callback. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeWhen(TResult Function( GetLoggedUserItemResponseModel item)? $default,{required TResult orElse(),}) {final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel() when $default != null: -return $default(_that.item);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// As opposed to `map`, this offers destructuring. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case Subclass2(:final field2): -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult when(TResult Function( GetLoggedUserItemResponseModel item) $default,) {final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel(): -return $default(_that.item);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `when` that fallback to returning `null` -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? whenOrNull(TResult? Function( GetLoggedUserItemResponseModel item)? $default,) {final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel() when $default != null: -return $default(_that.item);case _: - return null; - -} -} - -} - -/// @nodoc -@JsonSerializable() - -class _GetLoggedUserResponseModel implements GetLoggedUserResponseModel { - const _GetLoggedUserResponseModel({required this.item}); - factory _GetLoggedUserResponseModel.fromJson(Map json) => _$GetLoggedUserResponseModelFromJson(json); - -@override final GetLoggedUserItemResponseModel item; - -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -_$GetLoggedUserResponseModelCopyWith<_GetLoggedUserResponseModel> get copyWith => __$GetLoggedUserResponseModelCopyWithImpl<_GetLoggedUserResponseModel>(this, _$identity); - -@override -Map toJson() { - return _$GetLoggedUserResponseModelToJson(this, ); -} - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetLoggedUserResponseModel&&(identical(other.item, item) || other.item == item)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,item); - -@override -String toString() { - return 'GetLoggedUserResponseModel(item: $item)'; -} - - -} - -/// @nodoc -abstract mixin class _$GetLoggedUserResponseModelCopyWith<$Res> implements $GetLoggedUserResponseModelCopyWith<$Res> { - factory _$GetLoggedUserResponseModelCopyWith(_GetLoggedUserResponseModel value, $Res Function(_GetLoggedUserResponseModel) _then) = __$GetLoggedUserResponseModelCopyWithImpl; -@override @useResult -$Res call({ - GetLoggedUserItemResponseModel item -}); - - -@override $GetLoggedUserItemResponseModelCopyWith<$Res> get item; - -} -/// @nodoc -class __$GetLoggedUserResponseModelCopyWithImpl<$Res> - implements _$GetLoggedUserResponseModelCopyWith<$Res> { - __$GetLoggedUserResponseModelCopyWithImpl(this._self, this._then); - - final _GetLoggedUserResponseModel _self; - final $Res Function(_GetLoggedUserResponseModel) _then; - -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? item = null,}) { - return _then(_GetLoggedUserResponseModel( -item: null == item ? _self.item : item // ignore: cast_nullable_to_non_nullable -as GetLoggedUserItemResponseModel, - )); -} - -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetLoggedUserItemResponseModelCopyWith<$Res> get item { - - return $GetLoggedUserItemResponseModelCopyWith<$Res>(_self.item, (value) { - return _then(_self.copyWith(item: value)); - }); -} -} - - -/// @nodoc -mixin _$GetLoggedUserItemResponseModel { - - String get id; String? get delegationId; String? get email; String? get createdAt; String? get updatedAt; String? get status; String? get role; String? get lastLogin; String? get currentLogin; String? get language; String? get firstName; String? get lastName; String? get hasApiKey; String? get phone; -/// Create a copy of GetLoggedUserItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -$GetLoggedUserItemResponseModelCopyWith get copyWith => _$GetLoggedUserItemResponseModelCopyWithImpl(this as GetLoggedUserItemResponseModel, _$identity); - - /// Serializes this GetLoggedUserItemResponseModel to a JSON map. - Map toJson(); - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetLoggedUserItemResponseModel&&(identical(other.id, id) || other.id == id)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.email, email) || other.email == email)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt)&&(identical(other.status, status) || other.status == status)&&(identical(other.role, role) || other.role == role)&&(identical(other.lastLogin, lastLogin) || other.lastLogin == lastLogin)&&(identical(other.currentLogin, currentLogin) || other.currentLogin == currentLogin)&&(identical(other.language, language) || other.language == language)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.hasApiKey, hasApiKey) || other.hasApiKey == hasApiKey)&&(identical(other.phone, phone) || other.phone == phone)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,id,delegationId,email,createdAt,updatedAt,status,role,lastLogin,currentLogin,language,firstName,lastName,hasApiKey,phone); - -@override -String toString() { - return 'GetLoggedUserItemResponseModel(id: $id, delegationId: $delegationId, email: $email, createdAt: $createdAt, updatedAt: $updatedAt, status: $status, role: $role, lastLogin: $lastLogin, currentLogin: $currentLogin, language: $language, firstName: $firstName, lastName: $lastName, hasApiKey: $hasApiKey, phone: $phone)'; -} - - -} - -/// @nodoc -abstract mixin class $GetLoggedUserItemResponseModelCopyWith<$Res> { - factory $GetLoggedUserItemResponseModelCopyWith(GetLoggedUserItemResponseModel value, $Res Function(GetLoggedUserItemResponseModel) _then) = _$GetLoggedUserItemResponseModelCopyWithImpl; -@useResult -$Res call({ - String id, String? delegationId, String? email, String? createdAt, String? updatedAt, String? status, String? role, String? lastLogin, String? currentLogin, String? language, String? firstName, String? lastName, String? hasApiKey, String? phone -}); - - - - -} -/// @nodoc -class _$GetLoggedUserItemResponseModelCopyWithImpl<$Res> - implements $GetLoggedUserItemResponseModelCopyWith<$Res> { - _$GetLoggedUserItemResponseModelCopyWithImpl(this._self, this._then); - - final GetLoggedUserItemResponseModel _self; - final $Res Function(GetLoggedUserItemResponseModel) _then; - -/// Create a copy of GetLoggedUserItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? delegationId = freezed,Object? email = freezed,Object? createdAt = freezed,Object? updatedAt = freezed,Object? status = freezed,Object? role = freezed,Object? lastLogin = freezed,Object? currentLogin = freezed,Object? language = freezed,Object? firstName = freezed,Object? lastName = freezed,Object? hasApiKey = freezed,Object? phone = freezed,}) { - return _then(_self.copyWith( -id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable -as String,delegationId: freezed == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable -as String?,email: freezed == email ? _self.email : email // ignore: cast_nullable_to_non_nullable -as String?,createdAt: freezed == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as String?,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable -as String?,status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable -as String?,role: freezed == role ? _self.role : role // ignore: cast_nullable_to_non_nullable -as String?,lastLogin: freezed == lastLogin ? _self.lastLogin : lastLogin // ignore: cast_nullable_to_non_nullable -as String?,currentLogin: freezed == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable -as String?,language: freezed == language ? _self.language : language // ignore: cast_nullable_to_non_nullable -as String?,firstName: freezed == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable -as String?,lastName: freezed == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable -as String?,hasApiKey: freezed == hasApiKey ? _self.hasApiKey : hasApiKey // ignore: cast_nullable_to_non_nullable -as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable -as String?, - )); -} - -} - - -/// Adds pattern-matching-related methods to [GetLoggedUserItemResponseModel]. -extension GetLoggedUserItemResponseModelPatterns on GetLoggedUserItemResponseModel { -/// A variant of `map` that fallback to returning `orElse`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeMap(TResult Function( _GetLoggedUserItemResponseModel value)? $default,{required TResult orElse(),}){ -final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel() when $default != null: -return $default(_that);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// Callbacks receives the raw object, upcasted. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case final Subclass2 value: -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult map(TResult Function( _GetLoggedUserItemResponseModel value) $default,){ -final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel(): -return $default(_that);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `map` that fallback to returning `null`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GetLoggedUserItemResponseModel value)? $default,){ -final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel() when $default != null: -return $default(_that);case _: - return null; - -} -} -/// A variant of `when` that fallback to an `orElse` callback. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeWhen(TResult Function( String id, String? delegationId, String? email, String? createdAt, String? updatedAt, String? status, String? role, String? lastLogin, String? currentLogin, String? language, String? firstName, String? lastName, String? hasApiKey, String? phone)? $default,{required TResult orElse(),}) {final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel() when $default != null: -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// As opposed to `map`, this offers destructuring. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case Subclass2(:final field2): -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult when(TResult Function( String id, String? delegationId, String? email, String? createdAt, String? updatedAt, String? status, String? role, String? lastLogin, String? currentLogin, String? language, String? firstName, String? lastName, String? hasApiKey, String? phone) $default,) {final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel(): -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `when` that fallback to returning `null` -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? whenOrNull(TResult? Function( String id, String? delegationId, String? email, String? createdAt, String? updatedAt, String? status, String? role, String? lastLogin, String? currentLogin, String? language, String? firstName, String? lastName, String? hasApiKey, String? phone)? $default,) {final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel() when $default != null: -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - return null; - -} -} - -} - -/// @nodoc -@JsonSerializable() - -class _GetLoggedUserItemResponseModel implements GetLoggedUserItemResponseModel { - const _GetLoggedUserItemResponseModel({required this.id, this.delegationId, this.email, this.createdAt, this.updatedAt, this.status, this.role, this.lastLogin, this.currentLogin, this.language, this.firstName, this.lastName, this.hasApiKey, this.phone}); - factory _GetLoggedUserItemResponseModel.fromJson(Map json) => _$GetLoggedUserItemResponseModelFromJson(json); - -@override final String id; -@override final String? delegationId; -@override final String? email; -@override final String? createdAt; -@override final String? updatedAt; -@override final String? status; -@override final String? role; -@override final String? lastLogin; -@override final String? currentLogin; -@override final String? language; -@override final String? firstName; -@override final String? lastName; -@override final String? hasApiKey; -@override final String? phone; - -/// Create a copy of GetLoggedUserItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -_$GetLoggedUserItemResponseModelCopyWith<_GetLoggedUserItemResponseModel> get copyWith => __$GetLoggedUserItemResponseModelCopyWithImpl<_GetLoggedUserItemResponseModel>(this, _$identity); - -@override -Map toJson() { - return _$GetLoggedUserItemResponseModelToJson(this, ); -} - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetLoggedUserItemResponseModel&&(identical(other.id, id) || other.id == id)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.email, email) || other.email == email)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt)&&(identical(other.status, status) || other.status == status)&&(identical(other.role, role) || other.role == role)&&(identical(other.lastLogin, lastLogin) || other.lastLogin == lastLogin)&&(identical(other.currentLogin, currentLogin) || other.currentLogin == currentLogin)&&(identical(other.language, language) || other.language == language)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.hasApiKey, hasApiKey) || other.hasApiKey == hasApiKey)&&(identical(other.phone, phone) || other.phone == phone)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,id,delegationId,email,createdAt,updatedAt,status,role,lastLogin,currentLogin,language,firstName,lastName,hasApiKey,phone); - -@override -String toString() { - return 'GetLoggedUserItemResponseModel(id: $id, delegationId: $delegationId, email: $email, createdAt: $createdAt, updatedAt: $updatedAt, status: $status, role: $role, lastLogin: $lastLogin, currentLogin: $currentLogin, language: $language, firstName: $firstName, lastName: $lastName, hasApiKey: $hasApiKey, phone: $phone)'; -} - - -} - -/// @nodoc -abstract mixin class _$GetLoggedUserItemResponseModelCopyWith<$Res> implements $GetLoggedUserItemResponseModelCopyWith<$Res> { - factory _$GetLoggedUserItemResponseModelCopyWith(_GetLoggedUserItemResponseModel value, $Res Function(_GetLoggedUserItemResponseModel) _then) = __$GetLoggedUserItemResponseModelCopyWithImpl; -@override @useResult -$Res call({ - String id, String? delegationId, String? email, String? createdAt, String? updatedAt, String? status, String? role, String? lastLogin, String? currentLogin, String? language, String? firstName, String? lastName, String? hasApiKey, String? phone -}); - - - - -} -/// @nodoc -class __$GetLoggedUserItemResponseModelCopyWithImpl<$Res> - implements _$GetLoggedUserItemResponseModelCopyWith<$Res> { - __$GetLoggedUserItemResponseModelCopyWithImpl(this._self, this._then); - - final _GetLoggedUserItemResponseModel _self; - final $Res Function(_GetLoggedUserItemResponseModel) _then; - -/// Create a copy of GetLoggedUserItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? delegationId = freezed,Object? email = freezed,Object? createdAt = freezed,Object? updatedAt = freezed,Object? status = freezed,Object? role = freezed,Object? lastLogin = freezed,Object? currentLogin = freezed,Object? language = freezed,Object? firstName = freezed,Object? lastName = freezed,Object? hasApiKey = freezed,Object? phone = freezed,}) { - return _then(_GetLoggedUserItemResponseModel( -id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable -as String,delegationId: freezed == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable -as String?,email: freezed == email ? _self.email : email // ignore: cast_nullable_to_non_nullable -as String?,createdAt: freezed == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as String?,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable -as String?,status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable -as String?,role: freezed == role ? _self.role : role // ignore: cast_nullable_to_non_nullable -as String?,lastLogin: freezed == lastLogin ? _self.lastLogin : lastLogin // ignore: cast_nullable_to_non_nullable -as String?,currentLogin: freezed == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable -as String?,language: freezed == language ? _self.language : language // ignore: cast_nullable_to_non_nullable -as String?,firstName: freezed == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable -as String?,lastName: freezed == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable -as String?,hasApiKey: freezed == hasApiKey ? _self.hasApiKey : hasApiKey // ignore: cast_nullable_to_non_nullable -as String?,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable -as String?, - )); -} - - -} - -// dart format on diff --git a/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.g.dart b/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.g.dart deleted file mode 100644 index 7ad418b7..00000000 --- a/modules/legacy/modules/account/lib/src/core/data/models/get_logged_user_response_model.g.dart +++ /dev/null @@ -1,57 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'get_logged_user_response_model.dart'; - -// ************************************************************************** -// JsonSerializableGenerator -// ************************************************************************** - -_GetLoggedUserResponseModel _$GetLoggedUserResponseModelFromJson( - Map json, -) => _GetLoggedUserResponseModel( - item: GetLoggedUserItemResponseModel.fromJson( - json['item'] as Map, - ), -); - -Map _$GetLoggedUserResponseModelToJson( - _GetLoggedUserResponseModel instance, -) => {'item': instance.item}; - -_GetLoggedUserItemResponseModel _$GetLoggedUserItemResponseModelFromJson( - Map json, -) => _GetLoggedUserItemResponseModel( - id: json['id'] as String, - delegationId: json['delegationId'] as String?, - email: json['email'] as String?, - createdAt: json['createdAt'] as String?, - updatedAt: json['updatedAt'] as String?, - status: json['status'] as String?, - role: json['role'] as String?, - lastLogin: json['lastLogin'] as String?, - currentLogin: json['currentLogin'] as String?, - language: json['language'] as String?, - firstName: json['firstName'] as String?, - lastName: json['lastName'] as String?, - hasApiKey: json['hasApiKey'] as String?, - phone: json['phone'] as String?, -); - -Map _$GetLoggedUserItemResponseModelToJson( - _GetLoggedUserItemResponseModel instance, -) => { - 'id': instance.id, - 'delegationId': instance.delegationId, - 'email': instance.email, - 'createdAt': instance.createdAt, - 'updatedAt': instance.updatedAt, - 'status': instance.status, - 'role': instance.role, - 'lastLogin': instance.lastLogin, - 'currentLogin': instance.currentLogin, - 'language': instance.language, - 'firstName': instance.firstName, - 'lastName': instance.lastName, - 'hasApiKey': instance.hasApiKey, - 'phone': instance.phone, -}; diff --git a/modules/legacy/modules/account/lib/src/core/data/repositories/account_repository_impl.dart b/modules/legacy/modules/account/lib/src/core/data/repositories/account_repository_impl.dart index 9b8bd025..f8d97d16 100644 --- a/modules/legacy/modules/account/lib/src/core/data/repositories/account_repository_impl.dart +++ b/modules/legacy/modules/account/lib/src/core/data/repositories/account_repository_impl.dart @@ -1,10 +1,9 @@ import 'package:account/src/core/data/datasource/account_remote_datasource.dart'; import 'package:account/src/core/domain/repositories/account_repository.dart'; import 'package:account/src/features/change_password/domain/models/entities/change_password_request_entity.dart'; -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:account/src/features/linked_devices/domain/entities/update_device_request_entity.dart'; import 'package:account/src/features/personal_data/domain/entities/update_user_request_entity.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; class AccountRepositoryImpl implements AccountRepository { const AccountRepositoryImpl(this._remote); diff --git a/modules/legacy/modules/account/lib/src/core/domain/repositories/account_repository.dart b/modules/legacy/modules/account/lib/src/core/domain/repositories/account_repository.dart index bfbf31e9..5f2607f2 100644 --- a/modules/legacy/modules/account/lib/src/core/domain/repositories/account_repository.dart +++ b/modules/legacy/modules/account/lib/src/core/domain/repositories/account_repository.dart @@ -1,8 +1,7 @@ import 'package:account/src/features/change_password/domain/models/entities/change_password_request_entity.dart'; -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:account/src/features/linked_devices/domain/entities/update_device_request_entity.dart'; import 'package:account/src/features/personal_data/domain/entities/update_user_request_entity.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; abstract class AccountRepository { Future> getLinkedDevices({required String userId}); diff --git a/modules/legacy/modules/account/lib/src/features/app_users/domain/get_app_users_use_case.dart b/modules/legacy/modules/account/lib/src/features/app_users/domain/get_app_users_use_case.dart index 88bcc31e..b2451423 100644 --- a/modules/legacy/modules/account/lib/src/features/app_users/domain/get_app_users_use_case.dart +++ b/modules/legacy/modules/account/lib/src/features/app_users/domain/get_app_users_use_case.dart @@ -1,4 +1,4 @@ -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; abstract class GetAppUsersUseCase { Future> getAppUsers({required String userId}); diff --git a/modules/legacy/modules/account/lib/src/features/app_users/domain/get_app_users_use_case_impl.dart b/modules/legacy/modules/account/lib/src/features/app_users/domain/get_app_users_use_case_impl.dart index c1d3d277..d372ded6 100644 --- a/modules/legacy/modules/account/lib/src/features/app_users/domain/get_app_users_use_case_impl.dart +++ b/modules/legacy/modules/account/lib/src/features/app_users/domain/get_app_users_use_case_impl.dart @@ -1,6 +1,6 @@ -import 'package:legacy_shared/legacy_shared.dart'; import 'package:account/src/core/domain/repositories/account_repository.dart'; import 'package:account/src/features/app_users/domain/get_app_users_use_case.dart'; +import 'package:sf_shared/sf_shared.dart'; class GetAppUsersUseCaseImpl implements GetAppUsersUseCase { GetAppUsersUseCaseImpl(this._repository); diff --git a/modules/legacy/modules/account/lib/src/features/app_users/presentation/app_users_screen.dart b/modules/legacy/modules/account/lib/src/features/app_users/presentation/app_users_screen.dart index 256a96ca..7910c0d7 100644 --- a/modules/legacy/modules/account/lib/src/features/app_users/presentation/app_users_screen.dart +++ b/modules/legacy/modules/account/lib/src/features/app_users/presentation/app_users_screen.dart @@ -5,6 +5,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:legacy_shared/legacy_shared.dart'; import 'package:navigation/navigation.dart'; import 'package:sf_localizations/sf_localizations.dart'; +import 'package:sf_shared/sf_shared.dart'; import 'package:utils/utils.dart'; class AppUsersScreen extends ConsumerWidget { diff --git a/modules/legacy/modules/account/lib/src/features/app_users/presentation/state/app_users_view_model.dart b/modules/legacy/modules/account/lib/src/features/app_users/presentation/state/app_users_view_model.dart index 2296503c..a23369dd 100644 --- a/modules/legacy/modules/account/lib/src/features/app_users/presentation/state/app_users_view_model.dart +++ b/modules/legacy/modules/account/lib/src/features/app_users/presentation/state/app_users_view_model.dart @@ -5,7 +5,7 @@ import 'package:account/src/features/app_users/presentation/providers/delete_app import 'package:account/src/features/app_users/presentation/providers/get_app_users_use_case_provider.dart'; import 'package:account/src/features/app_users/presentation/state/app_users_view_state.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; -// import 'package:sf_localizations/sf_localizations.dart'; +import 'package:sf_shared/sf_shared.dart'; final appUsersViewModelProvider = NotifierProvider.autoDispose( @@ -21,15 +21,19 @@ class AppUsersViewModel extends Notifier { _getAppUsersUseCase = ref.read(getAppUsersUseCaseProvider); _deleteAppUserUseCase = ref.read(deleteAppUserUseCaseProvider); - ref.read(loggedUserProvider.future) - .then((user){ - setUser(user); - return _getAppUsersUseCase.getAppUsers(userId: user.id); - }).then(setAppUsers); + _init(); return const AppUsersViewState(); } + Future _init() async { + final user = await ref.read(userInfoProvider.future); + + setUser(user); + final appUsers = await _getAppUsersUseCase.getAppUsers(userId: user.id); + setAppUsers(appUsers); + } + void setUser(UserEntity user) { state = state.copyWith(loggedUser: user); } diff --git a/modules/legacy/modules/account/lib/src/features/app_users/presentation/state/app_users_view_state.dart b/modules/legacy/modules/account/lib/src/features/app_users/presentation/state/app_users_view_state.dart index af3c856e..ec239286 100644 --- a/modules/legacy/modules/account/lib/src/features/app_users/presentation/state/app_users_view_state.dart +++ b/modules/legacy/modules/account/lib/src/features/app_users/presentation/state/app_users_view_state.dart @@ -1,5 +1,5 @@ -import 'package:legacy_shared/legacy_shared.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'app_users_view_state.freezed.dart'; diff --git a/modules/legacy/modules/account/lib/src/features/change_password/presentation/state/change_password_view_model.dart b/modules/legacy/modules/account/lib/src/features/change_password/presentation/state/change_password_view_model.dart index ca7de53c..92c59e42 100644 --- a/modules/legacy/modules/account/lib/src/features/change_password/presentation/state/change_password_view_model.dart +++ b/modules/legacy/modules/account/lib/src/features/change_password/presentation/state/change_password_view_model.dart @@ -5,6 +5,7 @@ import 'package:account/src/features/change_password/presentation/state/change_p import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; // import 'package:sf_localizations/sf_localizations.dart'; @@ -34,14 +35,20 @@ class ChangePasswordViewModel extends Notifier { repeatPasswordController = TextEditingController(); repeatPasswordController.addListener(_onRepeatPasswordController); - ref.read(loggedUserProvider.future) - .then(setUser); - ref.onDispose(disposeControllers); + _init(); + return const ChangePasswordViewState(); } + Future _init() async { + + final user = await ref.read(userInfoProvider.future); + setUser(user); + + } + void setUser(UserEntity user) { state = state.copyWith(loggedUser: user); } @@ -111,7 +118,7 @@ class ChangePasswordViewModel extends Notifier { final request = _toRequest(); await _changePasswordUseCase.changePassword(userId: state.loggedUser!.id, request: request); - ref.invalidate(loggedUserProvider); + ref.invalidate(userInfoProvider); return true; } catch (e) { diff --git a/modules/legacy/modules/account/lib/src/features/change_password/presentation/state/change_password_view_state.dart b/modules/legacy/modules/account/lib/src/features/change_password/presentation/state/change_password_view_state.dart index 5c2c19af..d81faf28 100644 --- a/modules/legacy/modules/account/lib/src/features/change_password/presentation/state/change_password_view_state.dart +++ b/modules/legacy/modules/account/lib/src/features/change_password/presentation/state/change_password_view_state.dart @@ -1,5 +1,5 @@ import 'package:freezed_annotation/freezed_annotation.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'change_password_view_state.freezed.dart'; diff --git a/modules/legacy/modules/account/lib/src/features/delete_account/presentation/state/delete_account_view_model.dart b/modules/legacy/modules/account/lib/src/features/delete_account/presentation/state/delete_account_view_model.dart index d3e22667..833b9d0f 100644 --- a/modules/legacy/modules/account/lib/src/features/delete_account/presentation/state/delete_account_view_model.dart +++ b/modules/legacy/modules/account/lib/src/features/delete_account/presentation/state/delete_account_view_model.dart @@ -6,6 +6,7 @@ import 'package:account/src/features/linked_devices/presentation/providers/get_l import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; // import 'package:sf_localizations/sf_localizations.dart'; @@ -35,7 +36,7 @@ class DeleteAccountViewModel extends Notifier { } Future load() async { - final user = await ref.read(loggedUserProvider.future); + final user = await ref.read(userInfoProvider.future); setUser(user); final devices = await _getLinkedDevicesUseCase.getLinkedDevices(userId: user.id); @@ -48,7 +49,7 @@ class DeleteAccountViewModel extends Notifier { void setDevices(List devices) { state = state.copyWith( - deviceNames: devices.map((device) => device.carrierName).toList(), + deviceNames: devices.map((device) => device.carrierName!).toList(), deleteDevices: List.generate(devices.length, (_)=>false), ); } @@ -105,7 +106,7 @@ class DeleteAccountViewModel extends Notifier { await _deleteAccountUseCase.deleteAccount(userId: state.loggedUser!.id); if (!ref.mounted) return false; - ref.invalidate(loggedUserProvider); + ref.invalidate(userInfoProvider); state = state.copyWith(isLoading: false, isDeleted: true); return true; diff --git a/modules/legacy/modules/account/lib/src/features/delete_account/presentation/state/delete_account_view_state.dart b/modules/legacy/modules/account/lib/src/features/delete_account/presentation/state/delete_account_view_state.dart index abb076d3..61c38ccb 100644 --- a/modules/legacy/modules/account/lib/src/features/delete_account/presentation/state/delete_account_view_state.dart +++ b/modules/legacy/modules/account/lib/src/features/delete_account/presentation/state/delete_account_view_state.dart @@ -1,5 +1,6 @@ import 'package:freezed_annotation/freezed_annotation.dart'; import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'delete_account_view_state.freezed.dart'; diff --git a/modules/legacy/modules/account/lib/src/features/linked_devices/domain/get_linked_devices_use_case.dart b/modules/legacy/modules/account/lib/src/features/linked_devices/domain/get_linked_devices_use_case.dart index 777be86a..8ccf052d 100644 --- a/modules/legacy/modules/account/lib/src/features/linked_devices/domain/get_linked_devices_use_case.dart +++ b/modules/legacy/modules/account/lib/src/features/linked_devices/domain/get_linked_devices_use_case.dart @@ -1,4 +1,4 @@ -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; +import 'package:sf_shared/sf_shared.dart'; abstract class GetLinkedDevicesUseCase { Future> getLinkedDevices({required String userId}); diff --git a/modules/legacy/modules/account/lib/src/features/linked_devices/domain/get_linked_devices_use_case_impl.dart b/modules/legacy/modules/account/lib/src/features/linked_devices/domain/get_linked_devices_use_case_impl.dart index 7b7b5bef..13e558c1 100644 --- a/modules/legacy/modules/account/lib/src/features/linked_devices/domain/get_linked_devices_use_case_impl.dart +++ b/modules/legacy/modules/account/lib/src/features/linked_devices/domain/get_linked_devices_use_case_impl.dart @@ -1,6 +1,6 @@ import 'package:account/src/core/domain/repositories/account_repository.dart'; -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:account/src/features/linked_devices/domain/get_linked_devices_use_case.dart'; +import 'package:sf_shared/sf_shared.dart'; class GetLinkedDevicesUseCaseImpl implements GetLinkedDevicesUseCase { GetLinkedDevicesUseCaseImpl(this._repository); diff --git a/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/edit_linked_device_screen.dart b/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/edit_linked_device_screen.dart index bfd77859..e7b06f1a 100644 --- a/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/edit_linked_device_screen.dart +++ b/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/edit_linked_device_screen.dart @@ -1,12 +1,10 @@ -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:account/src/features/linked_devices/presentation/state/linked_devices_view_model.dart'; import 'package:design_system/design_system.dart'; import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_svg/flutter_svg.dart'; -import 'package:legacy_shared/legacy_shared.dart'; -// import 'package:navigation/navigation.dart'; import 'package:sf_localizations/sf_localizations.dart'; +import 'package:sf_shared/sf_shared.dart'; import 'package:utils/utils.dart'; class EditLinkedDeviceScreen extends ConsumerWidget { @@ -94,7 +92,7 @@ theme: theme, SizedBox(height: SizeUtils.getByScreen(small: 24, big: 22)), CustomTextField( controller: vm.deviceNameController, - hint: device.carrierName, + hint: device.carrierName!, label: context.translate(I18n.name), ) ], diff --git a/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/linked_devices_screen.dart b/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/linked_devices_screen.dart index 7fc6c5b1..bbf6d695 100644 --- a/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/linked_devices_screen.dart +++ b/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/linked_devices_screen.dart @@ -1,4 +1,3 @@ -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:account/src/features/linked_devices/presentation/edit_linked_device_screen.dart'; import 'package:account/src/features/linked_devices/presentation/state/linked_devices_view_model.dart'; import 'package:design_system/design_system.dart'; @@ -7,6 +6,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:legacy_shared/legacy_shared.dart'; import 'package:navigation/navigation.dart'; import 'package:sf_localizations/sf_localizations.dart'; +import 'package:sf_shared/sf_shared.dart'; import 'package:utils/utils.dart'; class LinkedDevicesScreen extends ConsumerWidget { @@ -91,7 +91,7 @@ class LinkedDeviceCard extends ConsumerWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text(device.carrierName, + Text(device.carrierName!, style: TextStyle( fontSize: SizeUtils.getByScreen(small: 18, big: 19), fontWeight: FontWeight.w500 diff --git a/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/state/linked_devices_view_model.dart b/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/state/linked_devices_view_model.dart index 58a85727..5e2a0199 100644 --- a/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/state/linked_devices_view_model.dart +++ b/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/state/linked_devices_view_model.dart @@ -1,5 +1,4 @@ import 'package:account/src/features/linked_devices/domain/delete_device_use_case.dart'; -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:account/src/features/linked_devices/domain/entities/update_device_request_entity.dart'; import 'package:account/src/features/linked_devices/domain/get_linked_devices_use_case.dart'; import 'package:account/src/features/linked_devices/domain/update_device_use_case.dart'; @@ -10,7 +9,7 @@ import 'package:account/src/features/linked_devices/presentation/state/linked_de import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:legacy_shared/legacy_shared.dart'; -// import 'package:sf_localizations/sf_localizations.dart'; +import 'package:sf_shared/sf_shared.dart'; final linkedDevicesViewModelProvider = NotifierProvider.autoDispose( @@ -33,17 +32,22 @@ class LinkedDevicesViewModel extends Notifier { deviceNameController = TextEditingController(); deviceNameController.addListener(_onDeviceNameChanged); - ref.read(loggedUserProvider.future) - .then((user){ - setUser(user); - return _getLinkedDevicesUseCase.getLinkedDevices(userId: user.id); - }).then(setLinkedDevices); - ref.onDispose(disposeControllers); + _init(); + return const LinkedDevicesViewState(); } + Future _init() async { + + final user = await ref.read(userInfoProvider.future); + setUser(user); + final linkedDevices = await _getLinkedDevicesUseCase.getLinkedDevices(userId: user.id); + setLinkedDevices(linkedDevices); + + } + void setUser(UserEntity user) { state = state.copyWith(loggedUser: user); } diff --git a/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/state/linked_devices_view_state.dart b/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/state/linked_devices_view_state.dart index 373f3b01..cedd8c0a 100644 --- a/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/state/linked_devices_view_state.dart +++ b/modules/legacy/modules/account/lib/src/features/linked_devices/presentation/state/linked_devices_view_state.dart @@ -1,6 +1,5 @@ -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'linked_devices_view_state.freezed.dart'; diff --git a/modules/legacy/modules/account/lib/src/features/personal_data/presentation/state/personal_data_view_model.dart b/modules/legacy/modules/account/lib/src/features/personal_data/presentation/state/personal_data_view_model.dart index febcec7c..610413e2 100644 --- a/modules/legacy/modules/account/lib/src/features/personal_data/presentation/state/personal_data_view_model.dart +++ b/modules/legacy/modules/account/lib/src/features/personal_data/presentation/state/personal_data_view_model.dart @@ -5,6 +5,7 @@ import 'package:account/src/features/personal_data/presentation/state/personal_d import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; // import 'package:sf_localizations/sf_localizations.dart'; final personalDataViewModelProvider = @@ -36,14 +37,18 @@ class PersonalDataViewModel extends Notifier { passwordController = TextEditingController(); passwordController.addListener(_onPasswordChanged); - ref.read(loggedUserProvider.future) - .then(setUser); + _init(); ref.onDispose(disposeControllers); return const PersonalDataViewState(); } + Future _init() async { + final user = await ref.read(userInfoProvider.future); + setUser(user); + } + void setUser(UserEntity user) { state = state.copyWith(user: user); } @@ -117,7 +122,7 @@ class PersonalDataViewModel extends Notifier { final request = _toRequest(); _updateUserUseCase.updateUser(userId: state.user!.id, request: request); - ref.invalidate(loggedUserProvider); + ref.invalidate(userInfoProvider); return true; } catch (e) { diff --git a/modules/legacy/modules/account/lib/src/features/personal_data/presentation/state/personal_data_view_state.dart b/modules/legacy/modules/account/lib/src/features/personal_data/presentation/state/personal_data_view_state.dart index 49e1c174..75a7c28e 100644 --- a/modules/legacy/modules/account/lib/src/features/personal_data/presentation/state/personal_data_view_state.dart +++ b/modules/legacy/modules/account/lib/src/features/personal_data/presentation/state/personal_data_view_state.dart @@ -1,6 +1,5 @@ - import 'package:freezed_annotation/freezed_annotation.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'personal_data_view_state.freezed.dart'; diff --git a/modules/legacy/modules/account/pubspec.lock b/modules/legacy/modules/account/pubspec.lock index ed0c56af..7c1df684 100644 --- a/modules/legacy/modules/account/pubspec.lock +++ b/modules/legacy/modules/account/pubspec.lock @@ -916,7 +916,7 @@ packages: source: path version: "0.0.1" sf_shared: - dependency: "direct overridden" + dependency: "direct main" description: path: "../../../../packages/sf_shared" relative: true diff --git a/modules/legacy/modules/account/pubspec.yaml b/modules/legacy/modules/account/pubspec.yaml index 2e206c71..aa4e3835 100644 --- a/modules/legacy/modules/account/pubspec.yaml +++ b/modules/legacy/modules/account/pubspec.yaml @@ -40,6 +40,8 @@ dependencies: path: ../../../../packages/fonts legacy_shared: path: ../../packages/legacy_shared + sf_shared: + path: ../../../../packages/sf_shared #dependencies go here flutter_svg: ^2.2.1 get_it: ^9.0.5 diff --git a/modules/legacy/modules/control_panel/lib/src/core/data/datasource/control_panel_remote_datasource.dart b/modules/legacy/modules/control_panel/lib/src/core/data/datasource/control_panel_remote_datasource.dart index d61755e0..e1e37a70 100644 --- a/modules/legacy/modules/control_panel/lib/src/core/data/datasource/control_panel_remote_datasource.dart +++ b/modules/legacy/modules/control_panel/lib/src/core/data/datasource/control_panel_remote_datasource.dart @@ -1,5 +1,5 @@ import 'package:control_panel/src/core/domain/entities/position_entity.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; abstract class ControlPanelRemoteDatasource { Future> getDevices(); diff --git a/modules/legacy/modules/control_panel/lib/src/core/data/datasource/control_panel_remote_datasource_impl.dart b/modules/legacy/modules/control_panel/lib/src/core/data/datasource/control_panel_remote_datasource_impl.dart index 9e1203d9..591f1a89 100644 --- a/modules/legacy/modules/control_panel/lib/src/core/data/datasource/control_panel_remote_datasource_impl.dart +++ b/modules/legacy/modules/control_panel/lib/src/core/data/datasource/control_panel_remote_datasource_impl.dart @@ -6,6 +6,7 @@ import 'package:control_panel/src/core/domain/entities/position_entity.dart'; import 'package:control_panel/src/core/utils/dio_error_mapper.dart'; import 'package:legacy_shared/legacy_shared.dart'; import 'package:sf_infrastructure/sf_infrastructure.dart'; +import 'package:sf_shared/sf_shared.dart'; class ControlPanelRemoteDatasourceImpl implements ControlPanelRemoteDatasource { ControlPanelRemoteDatasourceImpl(this._repository); diff --git a/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.dart b/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.dart index d094b12e..6fecf35d 100644 --- a/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.dart +++ b/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.dart @@ -1,5 +1,6 @@ import 'package:legacy_shared/legacy_shared.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'get_devices_response_model.freezed.dart'; part 'get_devices_response_model.g.dart'; @@ -21,18 +22,18 @@ abstract class GetDevicesItemResponseModel with _$GetDevicesItemResponseModel { required String identificator, int? battery, String? userId, - required GetDevicesFlagsResponseModel flags, + @Default({}) Map flags, String? carrierGenre, - int? carrierBirthday, + String? carrierBirthday, int? carrierWeight, int? carrierStepLength, required String carrierName, String? phone, - required GetDevicesSettingsResponseModel settings, + @Default({}) Map settings, required String connectionServer, required String protocol, required String type, - required int createdAt, + required String createdAt, }) = _GetDevicesItemResponseModel; factory GetDevicesItemResponseModel.fromJson(Map json) => @@ -48,14 +49,14 @@ extension GetDevicesResponseModelMapper on GetDevicesResponseModel { identificator: item.identificator, battery: item.battery, userId: item.userId, - flags: item.flags.toEntity(), + flags: item.flags, carrierGenre: item.carrierGenre, carrierBirthday: item.carrierBirthday, carrierWeight: item.carrierWeight, carrierStepLength: item.carrierStepLength, carrierName: item.carrierName, phone: item.phone, - settings: item.settings.toEntity(), + settings: item.settings, connectionServer: item.connectionServer, protocol: item.protocol, type: item.type, @@ -65,62 +66,3 @@ extension GetDevicesResponseModelMapper on GetDevicesResponseModel { .toList(); } } - -@freezed -abstract class GetDevicesSettingsResponseModel - with _$GetDevicesSettingsResponseModel { - const factory GetDevicesSettingsResponseModel({ - required int frequency, - required int frequencyHeartRate, - required int timezone, - required bool pedometer, - required String language, - required List alerts, - }) = _GetDevicesSettingsResponseModel; - - factory GetDevicesSettingsResponseModel.fromJson( - Map json, - ) => - _$GetDevicesSettingsResponseModelFromJson(json); -} - -extension GetDevicesSettingsResponseModelMapper - on GetDevicesSettingsResponseModel { - DeviceSettingsEntity toEntity() { - return DeviceSettingsEntity( - frequency: frequency, - frequencyHeartRate: frequencyHeartRate, - timezone: timezone, - pedometer: pedometer, - language: language, - alerts: alerts, - ); - } -} - -@freezed -abstract class GetDevicesFlagsResponseModel - with _$GetDevicesFlagsResponseModel { - const factory GetDevicesFlagsResponseModel({ - required String isInOrOut, - String? geofenceId, - required bool isBatteryLow, - required bool isDisconnect, - }) = _GetDevicesFlagsResponseModel; - - factory GetDevicesFlagsResponseModel.fromJson( - Map json, - ) => - _$GetDevicesFlagsResponseModelFromJson(json); -} - -extension GetDevicesFlagsResponseModelMapper on GetDevicesFlagsResponseModel { - DeviceFlagsEntity toEntity() { - return DeviceFlagsEntity( - isInOrOut: isInOrOut, - geofenceId: geofenceId, - isBatteryLow: isBatteryLow, - isDisconnect: isDisconnect, - ); - } -} diff --git a/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.freezed.dart b/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.freezed.dart index 3171ada7..63a577aa 100644 --- a/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.freezed.dart +++ b/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.freezed.dart @@ -284,7 +284,7 @@ as List, /// @nodoc mixin _$GetDevicesItemResponseModel { - String get id; String get identificator; int? get battery; String? get userId; GetDevicesFlagsResponseModel get flags; String? get carrierGenre; int? get carrierBirthday; int? get carrierWeight; int? get carrierStepLength; String get carrierName; String? get phone; GetDevicesSettingsResponseModel get settings; String get connectionServer; String get protocol; String get type; int get createdAt; + String get id; String get identificator; int? get battery; String? get userId; Map get flags; String? get carrierGenre; String? get carrierBirthday; int? get carrierWeight; int? get carrierStepLength; String get carrierName; String? get phone; Map get settings; String get connectionServer; String get protocol; String get type; String get createdAt; /// Create a copy of GetDevicesItemResponseModel /// with the given fields replaced by the non-null parameter values. @JsonKey(includeFromJson: false, includeToJson: false) @@ -297,12 +297,12 @@ $GetDevicesItemResponseModelCopyWith get copyWith = @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetDevicesItemResponseModel&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&(identical(other.flags, flags) || other.flags == flags)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is GetDevicesItemResponseModel&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&const DeepCollectionEquality().equals(other.flags, flags)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.phone, phone) || other.phone == phone)&&const DeepCollectionEquality().equals(other.settings, settings)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,identificator,battery,userId,flags,carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,phone,settings,connectionServer,protocol,type,createdAt); +int get hashCode => Object.hash(runtimeType,id,identificator,battery,userId,const DeepCollectionEquality().hash(flags),carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,phone,const DeepCollectionEquality().hash(settings),connectionServer,protocol,type,createdAt); @override String toString() { @@ -317,11 +317,11 @@ abstract mixin class $GetDevicesItemResponseModelCopyWith<$Res> { factory $GetDevicesItemResponseModelCopyWith(GetDevicesItemResponseModel value, $Res Function(GetDevicesItemResponseModel) _then) = _$GetDevicesItemResponseModelCopyWithImpl; @useResult $Res call({ - String id, String identificator, int? battery, String? userId, GetDevicesFlagsResponseModel flags, String? carrierGenre, int? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, GetDevicesSettingsResponseModel settings, String connectionServer, String protocol, String type, int createdAt + String id, String identificator, int? battery, String? userId, Map flags, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, Map settings, String connectionServer, String protocol, String type, String createdAt }); -$GetDevicesFlagsResponseModelCopyWith<$Res> get flags;$GetDevicesSettingsResponseModelCopyWith<$Res> get settings; + } /// @nodoc @@ -341,39 +341,21 @@ as String,identificator: null == identificator ? _self.identificator : identific as String,battery: freezed == battery ? _self.battery : battery // ignore: cast_nullable_to_non_nullable as int?,userId: freezed == userId ? _self.userId : userId // ignore: cast_nullable_to_non_nullable as String?,flags: null == flags ? _self.flags : flags // ignore: cast_nullable_to_non_nullable -as GetDevicesFlagsResponseModel,carrierGenre: freezed == carrierGenre ? _self.carrierGenre : carrierGenre // ignore: cast_nullable_to_non_nullable +as Map,carrierGenre: freezed == carrierGenre ? _self.carrierGenre : carrierGenre // ignore: cast_nullable_to_non_nullable as String?,carrierBirthday: freezed == carrierBirthday ? _self.carrierBirthday : carrierBirthday // ignore: cast_nullable_to_non_nullable -as int?,carrierWeight: freezed == carrierWeight ? _self.carrierWeight : carrierWeight // ignore: cast_nullable_to_non_nullable +as String?,carrierWeight: freezed == carrierWeight ? _self.carrierWeight : carrierWeight // ignore: cast_nullable_to_non_nullable as int?,carrierStepLength: freezed == carrierStepLength ? _self.carrierStepLength : carrierStepLength // ignore: cast_nullable_to_non_nullable as int?,carrierName: null == carrierName ? _self.carrierName : carrierName // ignore: cast_nullable_to_non_nullable as String,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable as String?,settings: null == settings ? _self.settings : settings // ignore: cast_nullable_to_non_nullable -as GetDevicesSettingsResponseModel,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable +as Map,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable as String,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable as String,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable as String,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as int, +as String, )); } -/// Create a copy of GetDevicesItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetDevicesFlagsResponseModelCopyWith<$Res> get flags { - - return $GetDevicesFlagsResponseModelCopyWith<$Res>(_self.flags, (value) { - return _then(_self.copyWith(flags: value)); - }); -}/// Create a copy of GetDevicesItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetDevicesSettingsResponseModelCopyWith<$Res> get settings { - - return $GetDevicesSettingsResponseModelCopyWith<$Res>(_self.settings, (value) { - return _then(_self.copyWith(settings: value)); - }); -} + } @@ -455,7 +437,7 @@ return $default(_that);case _: /// } /// ``` -@optionalTypeArgs TResult maybeWhen(TResult Function( String id, String identificator, int? battery, String? userId, GetDevicesFlagsResponseModel flags, String? carrierGenre, int? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, GetDevicesSettingsResponseModel settings, String connectionServer, String protocol, String type, int createdAt)? $default,{required TResult orElse(),}) {final _that = this; +@optionalTypeArgs TResult maybeWhen(TResult Function( String id, String identificator, int? battery, String? userId, Map flags, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, Map settings, String connectionServer, String protocol, String type, String createdAt)? $default,{required TResult orElse(),}) {final _that = this; switch (_that) { case _GetDevicesItemResponseModel() when $default != null: return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.flags,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.phone,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.createdAt);case _: @@ -476,7 +458,7 @@ return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.fl /// } /// ``` -@optionalTypeArgs TResult when(TResult Function( String id, String identificator, int? battery, String? userId, GetDevicesFlagsResponseModel flags, String? carrierGenre, int? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, GetDevicesSettingsResponseModel settings, String connectionServer, String protocol, String type, int createdAt) $default,) {final _that = this; +@optionalTypeArgs TResult when(TResult Function( String id, String identificator, int? battery, String? userId, Map flags, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, Map settings, String connectionServer, String protocol, String type, String createdAt) $default,) {final _that = this; switch (_that) { case _GetDevicesItemResponseModel(): return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.flags,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.phone,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.createdAt);case _: @@ -496,7 +478,7 @@ return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.fl /// } /// ``` -@optionalTypeArgs TResult? whenOrNull(TResult? Function( String id, String identificator, int? battery, String? userId, GetDevicesFlagsResponseModel flags, String? carrierGenre, int? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, GetDevicesSettingsResponseModel settings, String connectionServer, String protocol, String type, int createdAt)? $default,) {final _that = this; +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String id, String identificator, int? battery, String? userId, Map flags, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, Map settings, String connectionServer, String protocol, String type, String createdAt)? $default,) {final _that = this; switch (_that) { case _GetDevicesItemResponseModel() when $default != null: return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.flags,_that.carrierGenre,_that.carrierBirthday,_that.carrierWeight,_that.carrierStepLength,_that.carrierName,_that.phone,_that.settings,_that.connectionServer,_that.protocol,_that.type,_that.createdAt);case _: @@ -511,25 +493,37 @@ return $default(_that.id,_that.identificator,_that.battery,_that.userId,_that.fl @JsonSerializable() class _GetDevicesItemResponseModel implements GetDevicesItemResponseModel { - const _GetDevicesItemResponseModel({required this.id, required this.identificator, this.battery, this.userId, required this.flags, this.carrierGenre, this.carrierBirthday, this.carrierWeight, this.carrierStepLength, required this.carrierName, this.phone, required this.settings, required this.connectionServer, required this.protocol, required this.type, required this.createdAt}); + const _GetDevicesItemResponseModel({required this.id, required this.identificator, this.battery, this.userId, final Map flags = const {}, this.carrierGenre, this.carrierBirthday, this.carrierWeight, this.carrierStepLength, required this.carrierName, this.phone, final Map settings = const {}, required this.connectionServer, required this.protocol, required this.type, required this.createdAt}): _flags = flags,_settings = settings; factory _GetDevicesItemResponseModel.fromJson(Map json) => _$GetDevicesItemResponseModelFromJson(json); @override final String id; @override final String identificator; @override final int? battery; @override final String? userId; -@override final GetDevicesFlagsResponseModel flags; + final Map _flags; +@override@JsonKey() Map get flags { + if (_flags is EqualUnmodifiableMapView) return _flags; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(_flags); +} + @override final String? carrierGenre; -@override final int? carrierBirthday; +@override final String? carrierBirthday; @override final int? carrierWeight; @override final int? carrierStepLength; @override final String carrierName; @override final String? phone; -@override final GetDevicesSettingsResponseModel settings; + final Map _settings; +@override@JsonKey() Map get settings { + if (_settings is EqualUnmodifiableMapView) return _settings; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(_settings); +} + @override final String connectionServer; @override final String protocol; @override final String type; -@override final int createdAt; +@override final String createdAt; /// Create a copy of GetDevicesItemResponseModel /// with the given fields replaced by the non-null parameter values. @@ -544,12 +538,12 @@ Map toJson() { @override bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetDevicesItemResponseModel&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&(identical(other.flags, flags) || other.flags == flags)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.phone, phone) || other.phone == phone)&&(identical(other.settings, settings) || other.settings == settings)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)); + return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetDevicesItemResponseModel&&(identical(other.id, id) || other.id == id)&&(identical(other.identificator, identificator) || other.identificator == identificator)&&(identical(other.battery, battery) || other.battery == battery)&&(identical(other.userId, userId) || other.userId == userId)&&const DeepCollectionEquality().equals(other._flags, _flags)&&(identical(other.carrierGenre, carrierGenre) || other.carrierGenre == carrierGenre)&&(identical(other.carrierBirthday, carrierBirthday) || other.carrierBirthday == carrierBirthday)&&(identical(other.carrierWeight, carrierWeight) || other.carrierWeight == carrierWeight)&&(identical(other.carrierStepLength, carrierStepLength) || other.carrierStepLength == carrierStepLength)&&(identical(other.carrierName, carrierName) || other.carrierName == carrierName)&&(identical(other.phone, phone) || other.phone == phone)&&const DeepCollectionEquality().equals(other._settings, _settings)&&(identical(other.connectionServer, connectionServer) || other.connectionServer == connectionServer)&&(identical(other.protocol, protocol) || other.protocol == protocol)&&(identical(other.type, type) || other.type == type)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)); } @JsonKey(includeFromJson: false, includeToJson: false) @override -int get hashCode => Object.hash(runtimeType,id,identificator,battery,userId,flags,carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,phone,settings,connectionServer,protocol,type,createdAt); +int get hashCode => Object.hash(runtimeType,id,identificator,battery,userId,const DeepCollectionEquality().hash(_flags),carrierGenre,carrierBirthday,carrierWeight,carrierStepLength,carrierName,phone,const DeepCollectionEquality().hash(_settings),connectionServer,protocol,type,createdAt); @override String toString() { @@ -564,11 +558,11 @@ abstract mixin class _$GetDevicesItemResponseModelCopyWith<$Res> implements $Get factory _$GetDevicesItemResponseModelCopyWith(_GetDevicesItemResponseModel value, $Res Function(_GetDevicesItemResponseModel) _then) = __$GetDevicesItemResponseModelCopyWithImpl; @override @useResult $Res call({ - String id, String identificator, int? battery, String? userId, GetDevicesFlagsResponseModel flags, String? carrierGenre, int? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, GetDevicesSettingsResponseModel settings, String connectionServer, String protocol, String type, int createdAt + String id, String identificator, int? battery, String? userId, Map flags, String? carrierGenre, String? carrierBirthday, int? carrierWeight, int? carrierStepLength, String carrierName, String? phone, Map settings, String connectionServer, String protocol, String type, String createdAt }); -@override $GetDevicesFlagsResponseModelCopyWith<$Res> get flags;@override $GetDevicesSettingsResponseModelCopyWith<$Res> get settings; + } /// @nodoc @@ -587,593 +581,19 @@ id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable as String,identificator: null == identificator ? _self.identificator : identificator // ignore: cast_nullable_to_non_nullable as String,battery: freezed == battery ? _self.battery : battery // ignore: cast_nullable_to_non_nullable as int?,userId: freezed == userId ? _self.userId : userId // ignore: cast_nullable_to_non_nullable -as String?,flags: null == flags ? _self.flags : flags // ignore: cast_nullable_to_non_nullable -as GetDevicesFlagsResponseModel,carrierGenre: freezed == carrierGenre ? _self.carrierGenre : carrierGenre // ignore: cast_nullable_to_non_nullable +as String?,flags: null == flags ? _self._flags : flags // ignore: cast_nullable_to_non_nullable +as Map,carrierGenre: freezed == carrierGenre ? _self.carrierGenre : carrierGenre // ignore: cast_nullable_to_non_nullable as String?,carrierBirthday: freezed == carrierBirthday ? _self.carrierBirthday : carrierBirthday // ignore: cast_nullable_to_non_nullable -as int?,carrierWeight: freezed == carrierWeight ? _self.carrierWeight : carrierWeight // ignore: cast_nullable_to_non_nullable +as String?,carrierWeight: freezed == carrierWeight ? _self.carrierWeight : carrierWeight // ignore: cast_nullable_to_non_nullable as int?,carrierStepLength: freezed == carrierStepLength ? _self.carrierStepLength : carrierStepLength // ignore: cast_nullable_to_non_nullable as int?,carrierName: null == carrierName ? _self.carrierName : carrierName // ignore: cast_nullable_to_non_nullable as String,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable -as String?,settings: null == settings ? _self.settings : settings // ignore: cast_nullable_to_non_nullable -as GetDevicesSettingsResponseModel,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable +as String?,settings: null == settings ? _self._settings : settings // ignore: cast_nullable_to_non_nullable +as Map,connectionServer: null == connectionServer ? _self.connectionServer : connectionServer // ignore: cast_nullable_to_non_nullable as String,protocol: null == protocol ? _self.protocol : protocol // ignore: cast_nullable_to_non_nullable as String,type: null == type ? _self.type : type // ignore: cast_nullable_to_non_nullable as String,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as int, - )); -} - -/// Create a copy of GetDevicesItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetDevicesFlagsResponseModelCopyWith<$Res> get flags { - - return $GetDevicesFlagsResponseModelCopyWith<$Res>(_self.flags, (value) { - return _then(_self.copyWith(flags: value)); - }); -}/// Create a copy of GetDevicesItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetDevicesSettingsResponseModelCopyWith<$Res> get settings { - - return $GetDevicesSettingsResponseModelCopyWith<$Res>(_self.settings, (value) { - return _then(_self.copyWith(settings: value)); - }); -} -} - - -/// @nodoc -mixin _$GetDevicesSettingsResponseModel { - - int get frequency; int get frequencyHeartRate; int get timezone; bool get pedometer; String get language; List get alerts; -/// Create a copy of GetDevicesSettingsResponseModel -/// with the given fields replaced by the non-null parameter values. -@JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -$GetDevicesSettingsResponseModelCopyWith get copyWith => _$GetDevicesSettingsResponseModelCopyWithImpl(this as GetDevicesSettingsResponseModel, _$identity); - - /// Serializes this GetDevicesSettingsResponseModel to a JSON map. - Map toJson(); - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetDevicesSettingsResponseModel&&(identical(other.frequency, frequency) || other.frequency == frequency)&&(identical(other.frequencyHeartRate, frequencyHeartRate) || other.frequencyHeartRate == frequencyHeartRate)&&(identical(other.timezone, timezone) || other.timezone == timezone)&&(identical(other.pedometer, pedometer) || other.pedometer == pedometer)&&(identical(other.language, language) || other.language == language)&&const DeepCollectionEquality().equals(other.alerts, alerts)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,frequency,frequencyHeartRate,timezone,pedometer,language,const DeepCollectionEquality().hash(alerts)); - -@override -String toString() { - return 'GetDevicesSettingsResponseModel(frequency: $frequency, frequencyHeartRate: $frequencyHeartRate, timezone: $timezone, pedometer: $pedometer, language: $language, alerts: $alerts)'; -} - - -} - -/// @nodoc -abstract mixin class $GetDevicesSettingsResponseModelCopyWith<$Res> { - factory $GetDevicesSettingsResponseModelCopyWith(GetDevicesSettingsResponseModel value, $Res Function(GetDevicesSettingsResponseModel) _then) = _$GetDevicesSettingsResponseModelCopyWithImpl; -@useResult -$Res call({ - int frequency, int frequencyHeartRate, int timezone, bool pedometer, String language, List alerts -}); - - - - -} -/// @nodoc -class _$GetDevicesSettingsResponseModelCopyWithImpl<$Res> - implements $GetDevicesSettingsResponseModelCopyWith<$Res> { - _$GetDevicesSettingsResponseModelCopyWithImpl(this._self, this._then); - - final GetDevicesSettingsResponseModel _self; - final $Res Function(GetDevicesSettingsResponseModel) _then; - -/// Create a copy of GetDevicesSettingsResponseModel -/// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? frequency = null,Object? frequencyHeartRate = null,Object? timezone = null,Object? pedometer = null,Object? language = null,Object? alerts = null,}) { - return _then(_self.copyWith( -frequency: null == frequency ? _self.frequency : frequency // ignore: cast_nullable_to_non_nullable -as int,frequencyHeartRate: null == frequencyHeartRate ? _self.frequencyHeartRate : frequencyHeartRate // ignore: cast_nullable_to_non_nullable -as int,timezone: null == timezone ? _self.timezone : timezone // ignore: cast_nullable_to_non_nullable -as int,pedometer: null == pedometer ? _self.pedometer : pedometer // ignore: cast_nullable_to_non_nullable -as bool,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable -as String,alerts: null == alerts ? _self.alerts : alerts // ignore: cast_nullable_to_non_nullable -as List, - )); -} - -} - - -/// Adds pattern-matching-related methods to [GetDevicesSettingsResponseModel]. -extension GetDevicesSettingsResponseModelPatterns on GetDevicesSettingsResponseModel { -/// A variant of `map` that fallback to returning `orElse`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeMap(TResult Function( _GetDevicesSettingsResponseModel value)? $default,{required TResult orElse(),}){ -final _that = this; -switch (_that) { -case _GetDevicesSettingsResponseModel() when $default != null: -return $default(_that);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// Callbacks receives the raw object, upcasted. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case final Subclass2 value: -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult map(TResult Function( _GetDevicesSettingsResponseModel value) $default,){ -final _that = this; -switch (_that) { -case _GetDevicesSettingsResponseModel(): -return $default(_that);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `map` that fallback to returning `null`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GetDevicesSettingsResponseModel value)? $default,){ -final _that = this; -switch (_that) { -case _GetDevicesSettingsResponseModel() when $default != null: -return $default(_that);case _: - return null; - -} -} -/// A variant of `when` that fallback to an `orElse` callback. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeWhen(TResult Function( int frequency, int frequencyHeartRate, int timezone, bool pedometer, String language, List alerts)? $default,{required TResult orElse(),}) {final _that = this; -switch (_that) { -case _GetDevicesSettingsResponseModel() when $default != null: -return $default(_that.frequency,_that.frequencyHeartRate,_that.timezone,_that.pedometer,_that.language,_that.alerts);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// As opposed to `map`, this offers destructuring. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case Subclass2(:final field2): -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult when(TResult Function( int frequency, int frequencyHeartRate, int timezone, bool pedometer, String language, List alerts) $default,) {final _that = this; -switch (_that) { -case _GetDevicesSettingsResponseModel(): -return $default(_that.frequency,_that.frequencyHeartRate,_that.timezone,_that.pedometer,_that.language,_that.alerts);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `when` that fallback to returning `null` -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? whenOrNull(TResult? Function( int frequency, int frequencyHeartRate, int timezone, bool pedometer, String language, List alerts)? $default,) {final _that = this; -switch (_that) { -case _GetDevicesSettingsResponseModel() when $default != null: -return $default(_that.frequency,_that.frequencyHeartRate,_that.timezone,_that.pedometer,_that.language,_that.alerts);case _: - return null; - -} -} - -} - -/// @nodoc -@JsonSerializable() - -class _GetDevicesSettingsResponseModel implements GetDevicesSettingsResponseModel { - const _GetDevicesSettingsResponseModel({required this.frequency, required this.frequencyHeartRate, required this.timezone, required this.pedometer, required this.language, required final List alerts}): _alerts = alerts; - factory _GetDevicesSettingsResponseModel.fromJson(Map json) => _$GetDevicesSettingsResponseModelFromJson(json); - -@override final int frequency; -@override final int frequencyHeartRate; -@override final int timezone; -@override final bool pedometer; -@override final String language; - final List _alerts; -@override List get alerts { - if (_alerts is EqualUnmodifiableListView) return _alerts; - // ignore: implicit_dynamic_type - return EqualUnmodifiableListView(_alerts); -} - - -/// Create a copy of GetDevicesSettingsResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -_$GetDevicesSettingsResponseModelCopyWith<_GetDevicesSettingsResponseModel> get copyWith => __$GetDevicesSettingsResponseModelCopyWithImpl<_GetDevicesSettingsResponseModel>(this, _$identity); - -@override -Map toJson() { - return _$GetDevicesSettingsResponseModelToJson(this, ); -} - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetDevicesSettingsResponseModel&&(identical(other.frequency, frequency) || other.frequency == frequency)&&(identical(other.frequencyHeartRate, frequencyHeartRate) || other.frequencyHeartRate == frequencyHeartRate)&&(identical(other.timezone, timezone) || other.timezone == timezone)&&(identical(other.pedometer, pedometer) || other.pedometer == pedometer)&&(identical(other.language, language) || other.language == language)&&const DeepCollectionEquality().equals(other._alerts, _alerts)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,frequency,frequencyHeartRate,timezone,pedometer,language,const DeepCollectionEquality().hash(_alerts)); - -@override -String toString() { - return 'GetDevicesSettingsResponseModel(frequency: $frequency, frequencyHeartRate: $frequencyHeartRate, timezone: $timezone, pedometer: $pedometer, language: $language, alerts: $alerts)'; -} - - -} - -/// @nodoc -abstract mixin class _$GetDevicesSettingsResponseModelCopyWith<$Res> implements $GetDevicesSettingsResponseModelCopyWith<$Res> { - factory _$GetDevicesSettingsResponseModelCopyWith(_GetDevicesSettingsResponseModel value, $Res Function(_GetDevicesSettingsResponseModel) _then) = __$GetDevicesSettingsResponseModelCopyWithImpl; -@override @useResult -$Res call({ - int frequency, int frequencyHeartRate, int timezone, bool pedometer, String language, List alerts -}); - - - - -} -/// @nodoc -class __$GetDevicesSettingsResponseModelCopyWithImpl<$Res> - implements _$GetDevicesSettingsResponseModelCopyWith<$Res> { - __$GetDevicesSettingsResponseModelCopyWithImpl(this._self, this._then); - - final _GetDevicesSettingsResponseModel _self; - final $Res Function(_GetDevicesSettingsResponseModel) _then; - -/// Create a copy of GetDevicesSettingsResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? frequency = null,Object? frequencyHeartRate = null,Object? timezone = null,Object? pedometer = null,Object? language = null,Object? alerts = null,}) { - return _then(_GetDevicesSettingsResponseModel( -frequency: null == frequency ? _self.frequency : frequency // ignore: cast_nullable_to_non_nullable -as int,frequencyHeartRate: null == frequencyHeartRate ? _self.frequencyHeartRate : frequencyHeartRate // ignore: cast_nullable_to_non_nullable -as int,timezone: null == timezone ? _self.timezone : timezone // ignore: cast_nullable_to_non_nullable -as int,pedometer: null == pedometer ? _self.pedometer : pedometer // ignore: cast_nullable_to_non_nullable -as bool,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable -as String,alerts: null == alerts ? _self._alerts : alerts // ignore: cast_nullable_to_non_nullable -as List, - )); -} - - -} - - -/// @nodoc -mixin _$GetDevicesFlagsResponseModel { - - String get isInOrOut; String? get geofenceId; bool get isBatteryLow; bool get isDisconnect; -/// Create a copy of GetDevicesFlagsResponseModel -/// with the given fields replaced by the non-null parameter values. -@JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -$GetDevicesFlagsResponseModelCopyWith get copyWith => _$GetDevicesFlagsResponseModelCopyWithImpl(this as GetDevicesFlagsResponseModel, _$identity); - - /// Serializes this GetDevicesFlagsResponseModel to a JSON map. - Map toJson(); - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetDevicesFlagsResponseModel&&(identical(other.isInOrOut, isInOrOut) || other.isInOrOut == isInOrOut)&&(identical(other.geofenceId, geofenceId) || other.geofenceId == geofenceId)&&(identical(other.isBatteryLow, isBatteryLow) || other.isBatteryLow == isBatteryLow)&&(identical(other.isDisconnect, isDisconnect) || other.isDisconnect == isDisconnect)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,isInOrOut,geofenceId,isBatteryLow,isDisconnect); - -@override -String toString() { - return 'GetDevicesFlagsResponseModel(isInOrOut: $isInOrOut, geofenceId: $geofenceId, isBatteryLow: $isBatteryLow, isDisconnect: $isDisconnect)'; -} - - -} - -/// @nodoc -abstract mixin class $GetDevicesFlagsResponseModelCopyWith<$Res> { - factory $GetDevicesFlagsResponseModelCopyWith(GetDevicesFlagsResponseModel value, $Res Function(GetDevicesFlagsResponseModel) _then) = _$GetDevicesFlagsResponseModelCopyWithImpl; -@useResult -$Res call({ - String isInOrOut, String? geofenceId, bool isBatteryLow, bool isDisconnect -}); - - - - -} -/// @nodoc -class _$GetDevicesFlagsResponseModelCopyWithImpl<$Res> - implements $GetDevicesFlagsResponseModelCopyWith<$Res> { - _$GetDevicesFlagsResponseModelCopyWithImpl(this._self, this._then); - - final GetDevicesFlagsResponseModel _self; - final $Res Function(GetDevicesFlagsResponseModel) _then; - -/// Create a copy of GetDevicesFlagsResponseModel -/// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? isInOrOut = null,Object? geofenceId = freezed,Object? isBatteryLow = null,Object? isDisconnect = null,}) { - return _then(_self.copyWith( -isInOrOut: null == isInOrOut ? _self.isInOrOut : isInOrOut // ignore: cast_nullable_to_non_nullable -as String,geofenceId: freezed == geofenceId ? _self.geofenceId : geofenceId // ignore: cast_nullable_to_non_nullable -as String?,isBatteryLow: null == isBatteryLow ? _self.isBatteryLow : isBatteryLow // ignore: cast_nullable_to_non_nullable -as bool,isDisconnect: null == isDisconnect ? _self.isDisconnect : isDisconnect // ignore: cast_nullable_to_non_nullable -as bool, - )); -} - -} - - -/// Adds pattern-matching-related methods to [GetDevicesFlagsResponseModel]. -extension GetDevicesFlagsResponseModelPatterns on GetDevicesFlagsResponseModel { -/// A variant of `map` that fallback to returning `orElse`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeMap(TResult Function( _GetDevicesFlagsResponseModel value)? $default,{required TResult orElse(),}){ -final _that = this; -switch (_that) { -case _GetDevicesFlagsResponseModel() when $default != null: -return $default(_that);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// Callbacks receives the raw object, upcasted. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case final Subclass2 value: -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult map(TResult Function( _GetDevicesFlagsResponseModel value) $default,){ -final _that = this; -switch (_that) { -case _GetDevicesFlagsResponseModel(): -return $default(_that);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `map` that fallback to returning `null`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GetDevicesFlagsResponseModel value)? $default,){ -final _that = this; -switch (_that) { -case _GetDevicesFlagsResponseModel() when $default != null: -return $default(_that);case _: - return null; - -} -} -/// A variant of `when` that fallback to an `orElse` callback. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeWhen(TResult Function( String isInOrOut, String? geofenceId, bool isBatteryLow, bool isDisconnect)? $default,{required TResult orElse(),}) {final _that = this; -switch (_that) { -case _GetDevicesFlagsResponseModel() when $default != null: -return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// As opposed to `map`, this offers destructuring. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case Subclass2(:final field2): -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult when(TResult Function( String isInOrOut, String? geofenceId, bool isBatteryLow, bool isDisconnect) $default,) {final _that = this; -switch (_that) { -case _GetDevicesFlagsResponseModel(): -return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `when` that fallback to returning `null` -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? whenOrNull(TResult? Function( String isInOrOut, String? geofenceId, bool isBatteryLow, bool isDisconnect)? $default,) {final _that = this; -switch (_that) { -case _GetDevicesFlagsResponseModel() when $default != null: -return $default(_that.isInOrOut,_that.geofenceId,_that.isBatteryLow,_that.isDisconnect);case _: - return null; - -} -} - -} - -/// @nodoc -@JsonSerializable() - -class _GetDevicesFlagsResponseModel implements GetDevicesFlagsResponseModel { - const _GetDevicesFlagsResponseModel({required this.isInOrOut, this.geofenceId, required this.isBatteryLow, required this.isDisconnect}); - factory _GetDevicesFlagsResponseModel.fromJson(Map json) => _$GetDevicesFlagsResponseModelFromJson(json); - -@override final String isInOrOut; -@override final String? geofenceId; -@override final bool isBatteryLow; -@override final bool isDisconnect; - -/// Create a copy of GetDevicesFlagsResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -_$GetDevicesFlagsResponseModelCopyWith<_GetDevicesFlagsResponseModel> get copyWith => __$GetDevicesFlagsResponseModelCopyWithImpl<_GetDevicesFlagsResponseModel>(this, _$identity); - -@override -Map toJson() { - return _$GetDevicesFlagsResponseModelToJson(this, ); -} - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetDevicesFlagsResponseModel&&(identical(other.isInOrOut, isInOrOut) || other.isInOrOut == isInOrOut)&&(identical(other.geofenceId, geofenceId) || other.geofenceId == geofenceId)&&(identical(other.isBatteryLow, isBatteryLow) || other.isBatteryLow == isBatteryLow)&&(identical(other.isDisconnect, isDisconnect) || other.isDisconnect == isDisconnect)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,isInOrOut,geofenceId,isBatteryLow,isDisconnect); - -@override -String toString() { - return 'GetDevicesFlagsResponseModel(isInOrOut: $isInOrOut, geofenceId: $geofenceId, isBatteryLow: $isBatteryLow, isDisconnect: $isDisconnect)'; -} - - -} - -/// @nodoc -abstract mixin class _$GetDevicesFlagsResponseModelCopyWith<$Res> implements $GetDevicesFlagsResponseModelCopyWith<$Res> { - factory _$GetDevicesFlagsResponseModelCopyWith(_GetDevicesFlagsResponseModel value, $Res Function(_GetDevicesFlagsResponseModel) _then) = __$GetDevicesFlagsResponseModelCopyWithImpl; -@override @useResult -$Res call({ - String isInOrOut, String? geofenceId, bool isBatteryLow, bool isDisconnect -}); - - - - -} -/// @nodoc -class __$GetDevicesFlagsResponseModelCopyWithImpl<$Res> - implements _$GetDevicesFlagsResponseModelCopyWith<$Res> { - __$GetDevicesFlagsResponseModelCopyWithImpl(this._self, this._then); - - final _GetDevicesFlagsResponseModel _self; - final $Res Function(_GetDevicesFlagsResponseModel) _then; - -/// Create a copy of GetDevicesFlagsResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? isInOrOut = null,Object? geofenceId = freezed,Object? isBatteryLow = null,Object? isDisconnect = null,}) { - return _then(_GetDevicesFlagsResponseModel( -isInOrOut: null == isInOrOut ? _self.isInOrOut : isInOrOut // ignore: cast_nullable_to_non_nullable -as String,geofenceId: freezed == geofenceId ? _self.geofenceId : geofenceId // ignore: cast_nullable_to_non_nullable -as String?,isBatteryLow: null == isBatteryLow ? _self.isBatteryLow : isBatteryLow // ignore: cast_nullable_to_non_nullable -as bool,isDisconnect: null == isDisconnect ? _self.isDisconnect : isDisconnect // ignore: cast_nullable_to_non_nullable -as bool, +as String, )); } diff --git a/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.g.dart b/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.g.dart index b6912e7d..04bf843f 100644 --- a/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.g.dart +++ b/modules/legacy/modules/control_panel/lib/src/core/data/models/get_devices_response_model.g.dart @@ -27,22 +27,18 @@ _GetDevicesItemResponseModel _$GetDevicesItemResponseModelFromJson( identificator: json['identificator'] as String, battery: (json['battery'] as num?)?.toInt(), userId: json['userId'] as String?, - flags: GetDevicesFlagsResponseModel.fromJson( - json['flags'] as Map, - ), + flags: json['flags'] as Map? ?? const {}, carrierGenre: json['carrierGenre'] as String?, - carrierBirthday: (json['carrierBirthday'] as num?)?.toInt(), + carrierBirthday: json['carrierBirthday'] as String?, carrierWeight: (json['carrierWeight'] as num?)?.toInt(), carrierStepLength: (json['carrierStepLength'] as num?)?.toInt(), carrierName: json['carrierName'] as String, phone: json['phone'] as String?, - settings: GetDevicesSettingsResponseModel.fromJson( - json['settings'] as Map, - ), + settings: json['settings'] as Map? ?? const {}, connectionServer: json['connectionServer'] as String, protocol: json['protocol'] as String, type: json['type'] as String, - createdAt: (json['createdAt'] as num).toInt(), + createdAt: json['createdAt'] as String, ); Map _$GetDevicesItemResponseModelToJson( @@ -65,43 +61,3 @@ Map _$GetDevicesItemResponseModelToJson( 'type': instance.type, 'createdAt': instance.createdAt, }; - -_GetDevicesSettingsResponseModel _$GetDevicesSettingsResponseModelFromJson( - Map json, -) => _GetDevicesSettingsResponseModel( - frequency: (json['frequency'] as num).toInt(), - frequencyHeartRate: (json['frequencyHeartRate'] as num).toInt(), - timezone: (json['timezone'] as num).toInt(), - pedometer: json['pedometer'] as bool, - language: json['language'] as String, - alerts: (json['alerts'] as List).map((e) => e as String).toList(), -); - -Map _$GetDevicesSettingsResponseModelToJson( - _GetDevicesSettingsResponseModel instance, -) => { - 'frequency': instance.frequency, - 'frequencyHeartRate': instance.frequencyHeartRate, - 'timezone': instance.timezone, - 'pedometer': instance.pedometer, - 'language': instance.language, - 'alerts': instance.alerts, -}; - -_GetDevicesFlagsResponseModel _$GetDevicesFlagsResponseModelFromJson( - Map json, -) => _GetDevicesFlagsResponseModel( - isInOrOut: json['isInOrOut'] as String, - geofenceId: json['geofenceId'] as String?, - isBatteryLow: json['isBatteryLow'] as bool, - isDisconnect: json['isDisconnect'] as bool, -); - -Map _$GetDevicesFlagsResponseModelToJson( - _GetDevicesFlagsResponseModel instance, -) => { - 'isInOrOut': instance.isInOrOut, - 'geofenceId': instance.geofenceId, - 'isBatteryLow': instance.isBatteryLow, - 'isDisconnect': instance.isDisconnect, -}; diff --git a/modules/legacy/modules/control_panel/lib/src/core/data/repositories/control_panel_repository_impl.dart b/modules/legacy/modules/control_panel/lib/src/core/data/repositories/control_panel_repository_impl.dart index 123f97c4..930c96fc 100644 --- a/modules/legacy/modules/control_panel/lib/src/core/data/repositories/control_panel_repository_impl.dart +++ b/modules/legacy/modules/control_panel/lib/src/core/data/repositories/control_panel_repository_impl.dart @@ -1,7 +1,7 @@ import 'package:control_panel/src/core/data/datasource/control_panel_remote_datasource.dart'; import 'package:control_panel/src/core/domain/repositories/control_panel_repository.dart'; import 'package:control_panel/src/core/domain/entities/position_entity.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; class ControlPanelRepositoryImpl implements ControlPanelRepository { const ControlPanelRepositoryImpl(this._remote); diff --git a/modules/legacy/modules/control_panel/lib/src/core/domain/repositories/control_panel_repository.dart b/modules/legacy/modules/control_panel/lib/src/core/domain/repositories/control_panel_repository.dart index 03b3e9ce..ce512e81 100644 --- a/modules/legacy/modules/control_panel/lib/src/core/domain/repositories/control_panel_repository.dart +++ b/modules/legacy/modules/control_panel/lib/src/core/domain/repositories/control_panel_repository.dart @@ -1,5 +1,5 @@ import 'package:control_panel/src/core/domain/entities/position_entity.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; abstract class ControlPanelRepository { Future> getDevices(); diff --git a/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/control_panel_screen.dart b/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/control_panel_screen.dart index 4dccf18d..a02549da 100644 --- a/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/control_panel_screen.dart +++ b/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/control_panel_screen.dart @@ -7,6 +7,7 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:legacy_shared/legacy_shared.dart'; import 'package:navigation/navigation.dart'; import 'package:sf_localizations/sf_localizations.dart'; +import 'package:sf_shared/sf_shared.dart'; import 'package:utils/utils.dart'; class ControlPanelScreen extends ConsumerWidget { @@ -104,9 +105,9 @@ class _Header extends ConsumerWidget { items: state.devices .map( (DeviceEntity device) => Text( - device.carrierName.length > 10 - ? '${device.carrierName.substring(0, 10)}...' - : device.carrierName, + device.carrierName!.length > 10 + ? '${device.carrierName!.substring(0, 10)}...' + : device.carrierName!, overflow: TextOverflow.ellipsis, ), ) diff --git a/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/state/control_panel_view_model.dart b/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/state/control_panel_view_model.dart index 9a6c973f..1710270b 100644 --- a/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/state/control_panel_view_model.dart +++ b/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/state/control_panel_view_model.dart @@ -5,6 +5,7 @@ import 'package:control_panel/src/core/utils/dio_error_mapper.dart'; import 'package:control_panel/src/features/control_panel/presentation/state/control_panel_view_state.dart'; import 'package:legacy_shared/legacy_shared.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:sf_shared/sf_shared.dart'; final controlPanelViewModelProvider = NotifierProvider.autoDispose( @@ -25,9 +26,9 @@ class ControlPanelViewModel extends Notifier { Future _init() async { try { - final loggedUser = await ref.read(loggedUserProvider.future); + final user = await ref.read(userInfoProvider.future); if (!ref.mounted) return; - state = state.copyWith(loggedUser: loggedUser); + state = state.copyWith(loggedUser: user); final devices = await _repository.getDevices(); if (!ref.mounted) return; @@ -44,7 +45,7 @@ class ControlPanelViewModel extends Notifier { final positionLists = await Future.wait( devices.map( - (d) => _repository.getLatestPositions(deviceId: d.identificator), + (d) => _repository.getLatestPositions(deviceId: d!.identificator), ), ); if (!ref.mounted) return; @@ -90,7 +91,7 @@ class ControlPanelViewModel extends Notifier { try { final positionLists = await Future.wait( state.devices.map( - (d) => _repository.getLatestPositions(deviceId: d.identificator), + (d) => _repository.getLatestPositions(deviceId: d!.identificator), ), ); if (!ref.mounted) return; diff --git a/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/state/control_panel_view_state.dart b/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/state/control_panel_view_state.dart index 5a5dedb6..1cb1a827 100644 --- a/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/state/control_panel_view_state.dart +++ b/modules/legacy/modules/control_panel/lib/src/features/control_panel/presentation/state/control_panel_view_state.dart @@ -1,6 +1,6 @@ import 'package:control_panel/src/core/domain/entities/position_entity.dart'; import 'package:freezed_annotation/freezed_annotation.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; part 'control_panel_view_state.freezed.dart'; diff --git a/modules/legacy/modules/control_panel/lib/src/shared/widgets/device_map.dart b/modules/legacy/modules/control_panel/lib/src/shared/widgets/device_map.dart index a83c5d7f..27f295a5 100644 --- a/modules/legacy/modules/control_panel/lib/src/shared/widgets/device_map.dart +++ b/modules/legacy/modules/control_panel/lib/src/shared/widgets/device_map.dart @@ -7,7 +7,7 @@ import 'package:flutter_map/flutter_map.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; import 'package:flutter_svg/svg.dart'; import 'package:latlong2/latlong.dart'; -import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; import 'package:utils/utils.dart'; const _defaultCenter = LatLng(40.4168, -3.7038); diff --git a/modules/legacy/modules/control_panel/pubspec.lock b/modules/legacy/modules/control_panel/pubspec.lock index a3cc616d..e966864b 100644 --- a/modules/legacy/modules/control_panel/pubspec.lock +++ b/modules/legacy/modules/control_panel/pubspec.lock @@ -1041,7 +1041,7 @@ packages: source: path version: "0.0.1" sf_shared: - dependency: "direct overridden" + dependency: "direct main" description: path: "../../../../packages/sf_shared" relative: true diff --git a/modules/legacy/modules/control_panel/pubspec.yaml b/modules/legacy/modules/control_panel/pubspec.yaml index 4ce6b174..a6984a6c 100644 --- a/modules/legacy/modules/control_panel/pubspec.yaml +++ b/modules/legacy/modules/control_panel/pubspec.yaml @@ -49,6 +49,8 @@ dependencies: path: ../../../../packages/utils legacy_shared: path: ../../packages/legacy_shared + sf_shared: + path: ../../../../packages/sf_shared #dependencies go here flutter_svg: ^2.2.1 get_it: ^9.0.5 diff --git a/modules/legacy/modules/device_management/lib/src/features/locate_device/domain/locate_device_use_case.dart b/modules/legacy/modules/device_management/lib/src/features/locate_device/domain/locate_device_use_case.dart deleted file mode 100644 index f0daecd3..00000000 --- a/modules/legacy/modules/device_management/lib/src/features/locate_device/domain/locate_device_use_case.dart +++ /dev/null @@ -1,5 +0,0 @@ -import 'package:device_management/src/core/data/models/entities/locate_device_request_entity.dart'; - -abstract class LocateDeviceUseCase { - Future locateDevice({required LocateDeviceRequestEntity request}); -} \ No newline at end of file diff --git a/modules/legacy/modules/device_management/lib/src/features/locate_device/domain/locate_device_use_case_impl.dart b/modules/legacy/modules/device_management/lib/src/features/locate_device/domain/locate_device_use_case_impl.dart deleted file mode 100644 index 21831843..00000000 --- a/modules/legacy/modules/device_management/lib/src/features/locate_device/domain/locate_device_use_case_impl.dart +++ /dev/null @@ -1,14 +0,0 @@ -import 'package:device_management/src/core/data/models/entities/locate_device_request_entity.dart'; -import 'package:device_management/src/core/domain/repositories/functions_repository.dart'; -import 'package:device_management/src/features/locate_device/domain/locate_device_use_case.dart'; - -class LocateDeviceUseCaseImpl implements LocateDeviceUseCase { - LocateDeviceUseCaseImpl(this._repository); - - final FunctionsRepository _repository; - - @override - Future locateDevice({required LocateDeviceRequestEntity request}) async { - return _repository.locateDevice(request: request); - } -} diff --git a/modules/legacy/modules/device_management/lib/src/features/locate_device/presentation/providers/locate_device_use_case_provider.dart b/modules/legacy/modules/device_management/lib/src/features/locate_device/presentation/providers/locate_device_use_case_provider.dart deleted file mode 100644 index 819da240..00000000 --- a/modules/legacy/modules/device_management/lib/src/features/locate_device/presentation/providers/locate_device_use_case_provider.dart +++ /dev/null @@ -1,9 +0,0 @@ -import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:device_management/src/core/providers/functions_repository_provider.dart'; -import 'package:device_management/src/features/locate_device/domain/locate_device_use_case.dart'; -import 'package:device_management/src/features/locate_device/domain/locate_device_use_case_impl.dart'; - -final locateDeviceUseCaseProvider = Provider.autoDispose((ref) { - final functionsRepository = ref.read(functionsRepositoryProvider); - return LocateDeviceUseCaseImpl(functionsRepository); -}); diff --git a/modules/legacy/modules/device_management/lib/src/features/locate_device/presentation/state/locate_device_view_model.dart b/modules/legacy/modules/device_management/lib/src/features/locate_device/presentation/state/locate_device_view_model.dart index 72688c88..23b546f3 100644 --- a/modules/legacy/modules/device_management/lib/src/features/locate_device/presentation/state/locate_device_view_model.dart +++ b/modules/legacy/modules/device_management/lib/src/features/locate_device/presentation/state/locate_device_view_model.dart @@ -1,11 +1,8 @@ import 'package:flutter/material.dart'; import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:device_management/src/core/data/models/entities/locate_device_request_entity.dart'; -import 'package:device_management/src/features/locate_device/domain/locate_device_use_case.dart'; -import 'package:device_management/src/features/locate_device/presentation/providers/locate_device_use_case_provider.dart'; import 'package:device_management/src/features/locate_device/presentation/state/locate_device_view_state.dart'; -// import 'package:legacy_shared/src/providers/logged_user_provider.dart'; -// import 'package:sf_localizations/sf_localizations.dart'; +import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; final locateDeviceViewModelProvider = NotifierProvider.autoDispose( @@ -13,22 +10,25 @@ final locateDeviceViewModelProvider = ); class LocateDeviceViewModel extends Notifier { - late final LocateDeviceUseCase _locateDeviceUseCase; + late final SendCommandUseCase _sendCommandUseCase; late final TextEditingController nameController; late final TextEditingController phoneController; - // late final UserEntity loggedUser; - @override LocateDeviceViewState build() { - _locateDeviceUseCase = ref.read(locateDeviceUseCaseProvider); + _sendCommandUseCase = ref.read(sendCommandUseCaseProvider); - // loggedUser = ref.read(loggedUserProvider); + _init(); return const LocateDeviceViewState(); } + Future _init() async { + final selectedDevice = ref.read(selectedDeviceProvider); + // setSelectedDevice(selectedDevice); + } + Future locateDevice() async { try { state = state.copyWith( @@ -37,8 +37,8 @@ class LocateDeviceViewModel extends Notifier { errorMessage: '', ); - LocateDeviceRequestEntity request = LocateDeviceRequestEntity(deviceName: ''); - await _locateDeviceUseCase.locateDevice(request: request); + final request = SendCommandRequestModel(deviceName: ''/*state.selectedDevice*/, command: 'FIND_DEVICE'); + await _sendCommandUseCase.send(request: request); state = state.copyWith( isLoading: false, diff --git a/modules/legacy/modules/device_management/lib/src/features/remote_connection/presentation/state/remote_connection_view_model.dart b/modules/legacy/modules/device_management/lib/src/features/remote_connection/presentation/state/remote_connection_view_model.dart index 425de315..2ff4e4df 100644 --- a/modules/legacy/modules/device_management/lib/src/features/remote_connection/presentation/state/remote_connection_view_model.dart +++ b/modules/legacy/modules/device_management/lib/src/features/remote_connection/presentation/state/remote_connection_view_model.dart @@ -7,6 +7,7 @@ import 'package:device_management/src/features/remote_connection/presentation/pr import 'package:device_management/src/features/remote_connection/presentation/providers/take_picture_use_case_provider.dart'; import 'package:device_management/src/features/remote_connection/presentation/state/remote_connection_view_state.dart'; import 'package:legacy_shared/legacy_shared.dart'; +import 'package:sf_shared/sf_shared.dart'; final remoteConnectionViewModelProvider = NotifierProvider.autoDispose( @@ -37,9 +38,9 @@ class RemoteConnectionViewModel extends Notifier { } Future load() async { - final loggedUser = await ref.read(loggedUserProvider.future); + final user = await ref.read(userInfoProvider.future); - final pictures = await _getPicturesUseCase.getPictures(userId: loggedUser.id); + final pictures = await _getPicturesUseCase.getPictures(userId: user.id); setImages(pictures); } diff --git a/modules/legacy/modules/device_management/pubspec.lock b/modules/legacy/modules/device_management/pubspec.lock index bc6a9dcc..21251596 100644 --- a/modules/legacy/modules/device_management/pubspec.lock +++ b/modules/legacy/modules/device_management/pubspec.lock @@ -900,7 +900,7 @@ packages: source: path version: "0.0.1" sf_shared: - dependency: "direct overridden" + dependency: "direct main" description: path: "../../../../packages/sf_shared" relative: true diff --git a/modules/legacy/modules/device_management/pubspec.yaml b/modules/legacy/modules/device_management/pubspec.yaml index 4648f90b..72020dc4 100644 --- a/modules/legacy/modules/device_management/pubspec.yaml +++ b/modules/legacy/modules/device_management/pubspec.yaml @@ -40,6 +40,8 @@ dependencies: path: ../../../../packages/fonts legacy_shared: path: ../../packages/legacy_shared + sf_shared: + path: ../../../../packages/sf_shared #dependencies go here flutter_svg: ^2.2.1 get_it: ^9.0.5 diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/auth_remote_datasource_impl.dart b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/auth_remote_datasource_impl.dart index 94637546..1c7fca62 100644 --- a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/auth_remote_datasource_impl.dart +++ b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/auth_remote_datasource_impl.dart @@ -1,5 +1,5 @@ import 'package:legacy_auth/src/core/data/models/two_fa_secret_response_model.dart'; -import 'package:legacy_auth/src/core/utils/dio_error_mapper.dart'; +import 'package:legacy_shared/src/utils/dio_error_mapper.dart'; import 'package:sf_infrastructure/sf_infrastructure.dart'; import 'auth_remote_datasource.dart'; diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/device_setup_remote_datasource.dart b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/device_setup_remote_datasource.dart index 92c71b28..aeff1eb4 100644 --- a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/device_setup_remote_datasource.dart +++ b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/device_setup_remote_datasource.dart @@ -1,4 +1,5 @@ -import 'package:legacy_auth/src/core/data/models/device_response_model.dart'; + +import 'package:legacy_shared/legacy_shared.dart'; abstract class LegacyDeviceSetupRemoteDatasource { Future generateActivationKey({required String identificator}); diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/device_setup_remote_datasource_impl.dart b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/device_setup_remote_datasource_impl.dart index 6cc18fd4..54133020 100644 --- a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/device_setup_remote_datasource_impl.dart +++ b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/device_setup_remote_datasource_impl.dart @@ -1,6 +1,6 @@ import 'package:legacy_auth/src/core/data/datasource/device_setup_remote_datasource.dart'; -import 'package:legacy_auth/src/core/data/models/device_response_model.dart'; -import 'package:legacy_auth/src/core/utils/dio_error_mapper.dart'; +import 'package:legacy_shared/src/utils/dio_error_mapper.dart'; +import 'package:legacy_shared/legacy_shared.dart'; import 'package:sf_infrastructure/sf_infrastructure.dart'; class LegacyDeviceSetupRemoteDatasourceImpl diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/login_remote_datasource_impl.dart b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/login_remote_datasource_impl.dart index adcde8ff..0cf7cc7b 100644 --- a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/login_remote_datasource_impl.dart +++ b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/login_remote_datasource_impl.dart @@ -1,7 +1,7 @@ import 'package:sf_infrastructure/sf_infrastructure.dart'; import 'package:legacy_auth/src/core/data/datasource/login_remote_datasource.dart'; import 'package:legacy_auth/src/core/data/models/login_response_model.dart'; -import 'package:legacy_auth/src/core/utils/dio_error_mapper.dart'; +import 'package:legacy_shared/src/utils/dio_error_mapper.dart'; class LegacyLoginRemoteDatasourceImpl implements LegacyLoginRemoteDatasource { const LegacyLoginRemoteDatasourceImpl(this._repository); diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/sign_up_remote_datasource_impl.dart b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/sign_up_remote_datasource_impl.dart index 8cdbf74b..ce32037c 100644 --- a/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/sign_up_remote_datasource_impl.dart +++ b/modules/legacy/modules/legacy_auth/lib/src/core/data/datasource/sign_up_remote_datasource_impl.dart @@ -1,6 +1,6 @@ import 'package:legacy_auth/src/core/data/models/sign_up_request_model.dart'; import 'package:legacy_auth/src/core/data/models/sign_up_response_model.dart'; -import 'package:legacy_auth/src/core/utils/dio_error_mapper.dart'; +import 'package:legacy_shared/src/utils/dio_error_mapper.dart'; import 'package:sf_infrastructure/sf_infrastructure.dart'; import 'sign_up_remote_datasource.dart'; diff --git a/modules/legacy/modules/legacy_auth/lib/src/features/login/presentation/state/login_view_model.dart b/modules/legacy/modules/legacy_auth/lib/src/features/login/presentation/state/login_view_model.dart index 1a468a3e..f4cb3099 100644 --- a/modules/legacy/modules/legacy_auth/lib/src/features/login/presentation/state/login_view_model.dart +++ b/modules/legacy/modules/legacy_auth/lib/src/features/login/presentation/state/login_view_model.dart @@ -2,7 +2,7 @@ import 'dart:async'; import 'package:legacy_auth/src/core/domain/repositories/login_repository.dart'; import 'package:legacy_auth/src/core/providers/login_repository_provider.dart'; -import 'package:legacy_auth/src/core/utils/dio_error_mapper.dart'; +import 'package:legacy_shared/src/utils/dio_error_mapper.dart'; import 'package:legacy_auth/src/features/login/presentation/mixins/login_form_validation.dart'; import 'package:legacy_auth/src/features/login/presentation/state/login_view_state.dart'; import 'package:flutter/widgets.dart'; diff --git a/modules/legacy/modules/legacy_auth/lib/src/features/sign_up/presentation/state/sign_up_view_model.dart b/modules/legacy/modules/legacy_auth/lib/src/features/sign_up/presentation/state/sign_up_view_model.dart index d0536d1f..c9e25a9e 100644 --- a/modules/legacy/modules/legacy_auth/lib/src/features/sign_up/presentation/state/sign_up_view_model.dart +++ b/modules/legacy/modules/legacy_auth/lib/src/features/sign_up/presentation/state/sign_up_view_model.dart @@ -2,7 +2,7 @@ import 'dart:async'; import 'package:legacy_auth/src/core/domain/repositories/sign_up_repository.dart'; import 'package:legacy_auth/src/core/providers/sign_up_repository_provider.dart'; -import 'package:legacy_auth/src/core/utils/dio_error_mapper.dart'; +import 'package:legacy_shared/src/utils/dio_error_mapper.dart'; import 'package:legacy_auth/src/core/utils/text_format_utils.dart'; import 'package:legacy_auth/src/features/sign_up/domain/entities/address_entity.dart'; import 'package:legacy_auth/src/features/sign_up/domain/entities/sign_up_request_entity.dart'; diff --git a/modules/legacy/modules/legacy_auth/pubspec.yaml b/modules/legacy/modules/legacy_auth/pubspec.yaml index 85827a74..0eaf04c6 100644 --- a/modules/legacy/modules/legacy_auth/pubspec.yaml +++ b/modules/legacy/modules/legacy_auth/pubspec.yaml @@ -27,6 +27,8 @@ dependencies: path: ../../../../packages/utils sf_shared: path: ../../../../packages/sf_shared + legacy_shared: + path: ../../packages/legacy_shared fonts: path: ../../../../packages/fonts #dependencies go here diff --git a/modules/legacy/modules/legacy_auth/pubspec_overrides.yaml b/modules/legacy/modules/legacy_auth/pubspec_overrides.yaml index f391afc6..299c68f5 100644 --- a/modules/legacy/modules/legacy_auth/pubspec_overrides.yaml +++ b/modules/legacy/modules/legacy_auth/pubspec_overrides.yaml @@ -1,3 +1,4 @@ +# melos_managed_dependency_overrides: legacy_shared # melos_managed_dependency_overrides: activity,auth,design_system,flutter_treezor_entrust_sdk_bridge,fonts,home,navigation,notifications,payments,sca_treezor,sf_infrastructure,sf_localizations,sf_shared,utils dependency_overrides: activity: @@ -12,6 +13,8 @@ dependency_overrides: path: ../../../../packages/fonts home: path: ../../../home + legacy_shared: + path: ..\\..\\packages\\legacy_shared navigation: path: ../../../../packages/navigation notifications: diff --git a/modules/legacy/packages/legacy_shared/lib/legacy_shared.dart b/modules/legacy/packages/legacy_shared/lib/legacy_shared.dart index 75836489..3449abc4 100644 --- a/modules/legacy/packages/legacy_shared/lib/legacy_shared.dart +++ b/modules/legacy/packages/legacy_shared/lib/legacy_shared.dart @@ -1,16 +1,10 @@ library legacy_shared; -export 'src/data/models/entities/user_entity.dart'; -export 'src/data/models/entities/device_entity.dart'; -export 'src/data/models/get_logged_user_response_model.dart'; -export 'src/data/datasource/legacy_shared_remote_datasource.dart'; -export 'src/data/datasource/legacy_shared_remote_datasource_impl.dart'; -export 'src/data/repositories/legacy_shared_repository.dart'; -export 'src/data/repositories/legacy_shared_repository_impl.dart'; -export 'src/providers/logged_user_provider.dart'; export 'src/providers/selected_device_provider.dart'; -export 'src/providers/legacy_shared_repository_provider.dart'; -export 'src/providers/legacy_shared_remote_datasource_provider.dart'; export 'src/widgets/layouts/page_layout.dart'; export 'src/components/section_button.dart'; export 'src/components/menu_button.dart'; +export 'src/data/models/device_response_model.dart'; +export 'src/providers/send_command_use_case_provider.dart'; +export 'src/domain/send_command_use_case.dart'; +export 'src/data/models/send_command_request_model.dart'; \ No newline at end of file diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/datasource/legacy_shared_remote_datasource.dart b/modules/legacy/packages/legacy_shared/lib/src/data/datasource/legacy_shared_remote_datasource.dart deleted file mode 100644 index c8492eab..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/datasource/legacy_shared_remote_datasource.dart +++ /dev/null @@ -1,5 +0,0 @@ -import 'package:legacy_shared/src/data/models/entities/user_entity.dart'; - -abstract class LegacySharedRemoteDatasource { - Future getLoggedUser(); -} diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/datasource/legacy_shared_remote_datasource_impl.dart b/modules/legacy/packages/legacy_shared/lib/src/data/datasource/legacy_shared_remote_datasource_impl.dart deleted file mode 100644 index 5f3c0bd9..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/datasource/legacy_shared_remote_datasource_impl.dart +++ /dev/null @@ -1,29 +0,0 @@ -import 'package:dio/dio.dart'; -import 'package:legacy_shared/src/data/datasource/legacy_shared_remote_datasource.dart'; -import 'package:legacy_shared/src/data/models/entities/user_entity.dart'; -import 'package:legacy_shared/src/data/models/get_logged_user_response_model.dart'; -import 'package:sf_infrastructure/sf_infrastructure.dart'; - -class LegacySharedRemoteDatasourceImpl implements LegacySharedRemoteDatasource { - LegacySharedRemoteDatasourceImpl(this._repository); - - final QuestiaRepository _repository; - - @override - Future getLoggedUser() async { - try { - final response = await _repository.get>( - '/auth/me', - ); - final data = response.data; - if (data == null || data.isEmpty) { - throw Exception('Empty response from /auth/me'); - } - - final model = GetLoggedUserResponseModel.fromJson(data); - return model.toEntity(); - } on DioException { - rethrow; - } - } -} diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/datasources/commands_remote_datasource_impl.dart b/modules/legacy/packages/legacy_shared/lib/src/data/datasources/commands_remote_datasource_impl.dart new file mode 100644 index 00000000..0f1da2c7 --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/data/datasources/commands_remote_datasource_impl.dart @@ -0,0 +1,79 @@ +import 'package:legacy_shared/src/data/models/send_command_request_model.dart'; +import 'package:sf_infrastructure/sf_infrastructure.dart'; + +import '../../utils/dio_error_mapper.dart'; +import 'commands_remote_datatsource.dart'; + +class CommandsRemoteDatasourceImpl implements CommandsRemoteDatasource { + const CommandsRemoteDatasourceImpl(this._repository); + + final QuestiaRepository _repository; + + @override + Future send({ + required SendCommandRequestModel request + }) async { + final response = await safeCall( + () => _repository.post>( + '/commands', + body: request, + ), + 'Error in command', + ); + print('RESPONSE:'); + print(response.data); + + /*final data = response.data; + if (data == null || data.isEmpty) { + throw Exception('Empty response from /auth/login'); + } + + return CommandsResponseModel.fromJson(data);*/ + } + + @override + Future twoFARequestCode({ + required String token, + required String methodType, + }) => + safeCall( + () => _repository.post( + '/auth/2fa/request-code', + body: {'token': token, 'methodType': methodType}, + ), + 'Error in twoFARequestCode', + ); + + @override + Future twoFASendCode({ + required String token, + required String code, + required String methodType, + }) => + safeCall( + () => _repository.post( + '/auth/twofa/login', + body: { + 'token': token, + 'code': code, + 'methodType': methodType, + 'rememberMe': true, + }, + ), + 'Error in twoFASendCode', + ); + + @override + Future hasDevices() async { + final response = await safeCall( + () => _repository.get>('/devices'), + 'Error fetching devices', + ); + + final data = response.data; + if (data == null) return false; + + final total = data['total'] as int? ?? 0; + return total > 0; + } +} diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/datasources/commands_remote_datatsource.dart b/modules/legacy/packages/legacy_shared/lib/src/data/datasources/commands_remote_datatsource.dart new file mode 100644 index 00000000..cb913857 --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/data/datasources/commands_remote_datatsource.dart @@ -0,0 +1,5 @@ +import 'package:legacy_shared/src/data/models/send_command_request_model.dart'; + +abstract class CommandsRemoteDatasource { + Future send({required SendCommandRequestModel request}); +} diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/data/models/device_response_model.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/device_response_model.dart similarity index 100% rename from modules/legacy/modules/legacy_auth/lib/src/core/data/models/device_response_model.dart rename to modules/legacy/packages/legacy_shared/lib/src/data/models/device_response_model.dart diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/data/models/device_response_model.freezed.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/device_response_model.freezed.dart similarity index 100% rename from modules/legacy/modules/legacy_auth/lib/src/core/data/models/device_response_model.freezed.dart rename to modules/legacy/packages/legacy_shared/lib/src/data/models/device_response_model.freezed.dart diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/data/models/device_response_model.g.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/device_response_model.g.dart similarity index 100% rename from modules/legacy/modules/legacy_auth/lib/src/core/data/models/device_response_model.g.dart rename to modules/legacy/packages/legacy_shared/lib/src/data/models/device_response_model.g.dart diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/models/entities/user_entity.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/entities/user_entity.dart deleted file mode 100644 index ccea2ef5..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/models/entities/user_entity.dart +++ /dev/null @@ -1,23 +0,0 @@ -import 'package:freezed_annotation/freezed_annotation.dart'; - -part 'user_entity.freezed.dart'; - -@freezed -abstract class UserEntity with _$UserEntity { - const factory UserEntity({ - required String id, - required String delegationId, - required String email, - required String createdAt, - required String updatedAt, - required String status, - required String role, - required String lastLogin, - required String currentLogin, - required String language, - required String firstName, - required String lastName, - required String hasApiKey, - required String phone, - }) = _UserEntity; -} diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/models/entities/user_entity.freezed.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/entities/user_entity.freezed.dart deleted file mode 100644 index 5b9e7aee..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/models/entities/user_entity.freezed.dart +++ /dev/null @@ -1,310 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND -// coverage:ignore-file -// ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark - -part of 'user_entity.dart'; - -// ************************************************************************** -// FreezedGenerator -// ************************************************************************** - -// dart format off -T _$identity(T value) => value; -/// @nodoc -mixin _$UserEntity { - - String get id; String get delegationId; String get email; String get createdAt; String get updatedAt; String get status; String get role; String get lastLogin; String get currentLogin; String get language; String get firstName; String get lastName; String get hasApiKey; String get phone; -/// Create a copy of UserEntity -/// with the given fields replaced by the non-null parameter values. -@JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -$UserEntityCopyWith get copyWith => _$UserEntityCopyWithImpl(this as UserEntity, _$identity); - - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is UserEntity&&(identical(other.id, id) || other.id == id)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.email, email) || other.email == email)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt)&&(identical(other.status, status) || other.status == status)&&(identical(other.role, role) || other.role == role)&&(identical(other.lastLogin, lastLogin) || other.lastLogin == lastLogin)&&(identical(other.currentLogin, currentLogin) || other.currentLogin == currentLogin)&&(identical(other.language, language) || other.language == language)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.hasApiKey, hasApiKey) || other.hasApiKey == hasApiKey)&&(identical(other.phone, phone) || other.phone == phone)); -} - - -@override -int get hashCode => Object.hash(runtimeType,id,delegationId,email,createdAt,updatedAt,status,role,lastLogin,currentLogin,language,firstName,lastName,hasApiKey,phone); - -@override -String toString() { - return 'UserEntity(id: $id, delegationId: $delegationId, email: $email, createdAt: $createdAt, updatedAt: $updatedAt, status: $status, role: $role, lastLogin: $lastLogin, currentLogin: $currentLogin, language: $language, firstName: $firstName, lastName: $lastName, hasApiKey: $hasApiKey, phone: $phone)'; -} - - -} - -/// @nodoc -abstract mixin class $UserEntityCopyWith<$Res> { - factory $UserEntityCopyWith(UserEntity value, $Res Function(UserEntity) _then) = _$UserEntityCopyWithImpl; -@useResult -$Res call({ - String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone -}); - - - - -} -/// @nodoc -class _$UserEntityCopyWithImpl<$Res> - implements $UserEntityCopyWith<$Res> { - _$UserEntityCopyWithImpl(this._self, this._then); - - final UserEntity _self; - final $Res Function(UserEntity) _then; - -/// Create a copy of UserEntity -/// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? delegationId = null,Object? email = null,Object? createdAt = null,Object? updatedAt = null,Object? status = null,Object? role = null,Object? lastLogin = null,Object? currentLogin = null,Object? language = null,Object? firstName = null,Object? lastName = null,Object? hasApiKey = null,Object? phone = null,}) { - return _then(_self.copyWith( -id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable -as String,delegationId: null == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable -as String,email: null == email ? _self.email : email // ignore: cast_nullable_to_non_nullable -as String,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as String,updatedAt: null == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable -as String,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable -as String,role: null == role ? _self.role : role // ignore: cast_nullable_to_non_nullable -as String,lastLogin: null == lastLogin ? _self.lastLogin : lastLogin // ignore: cast_nullable_to_non_nullable -as String,currentLogin: null == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable -as String,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable -as String,firstName: null == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable -as String,lastName: null == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable -as String,hasApiKey: null == hasApiKey ? _self.hasApiKey : hasApiKey // ignore: cast_nullable_to_non_nullable -as String,phone: null == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable -as String, - )); -} - -} - - -/// Adds pattern-matching-related methods to [UserEntity]. -extension UserEntityPatterns on UserEntity { -/// A variant of `map` that fallback to returning `orElse`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeMap(TResult Function( _UserEntity value)? $default,{required TResult orElse(),}){ -final _that = this; -switch (_that) { -case _UserEntity() when $default != null: -return $default(_that);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// Callbacks receives the raw object, upcasted. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case final Subclass2 value: -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult map(TResult Function( _UserEntity value) $default,){ -final _that = this; -switch (_that) { -case _UserEntity(): -return $default(_that);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `map` that fallback to returning `null`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? mapOrNull(TResult? Function( _UserEntity value)? $default,){ -final _that = this; -switch (_that) { -case _UserEntity() when $default != null: -return $default(_that);case _: - return null; - -} -} -/// A variant of `when` that fallback to an `orElse` callback. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeWhen(TResult Function( String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone)? $default,{required TResult orElse(),}) {final _that = this; -switch (_that) { -case _UserEntity() when $default != null: -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// As opposed to `map`, this offers destructuring. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case Subclass2(:final field2): -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult when(TResult Function( String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone) $default,) {final _that = this; -switch (_that) { -case _UserEntity(): -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `when` that fallback to returning `null` -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? whenOrNull(TResult? Function( String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone)? $default,) {final _that = this; -switch (_that) { -case _UserEntity() when $default != null: -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - return null; - -} -} - -} - -/// @nodoc - - -class _UserEntity implements UserEntity { - const _UserEntity({required this.id, required this.delegationId, required this.email, required this.createdAt, required this.updatedAt, required this.status, required this.role, required this.lastLogin, required this.currentLogin, required this.language, required this.firstName, required this.lastName, required this.hasApiKey, required this.phone}); - - -@override final String id; -@override final String delegationId; -@override final String email; -@override final String createdAt; -@override final String updatedAt; -@override final String status; -@override final String role; -@override final String lastLogin; -@override final String currentLogin; -@override final String language; -@override final String firstName; -@override final String lastName; -@override final String hasApiKey; -@override final String phone; - -/// Create a copy of UserEntity -/// with the given fields replaced by the non-null parameter values. -@override @JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -_$UserEntityCopyWith<_UserEntity> get copyWith => __$UserEntityCopyWithImpl<_UserEntity>(this, _$identity); - - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _UserEntity&&(identical(other.id, id) || other.id == id)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.email, email) || other.email == email)&&(identical(other.createdAt, createdAt) || other.createdAt == createdAt)&&(identical(other.updatedAt, updatedAt) || other.updatedAt == updatedAt)&&(identical(other.status, status) || other.status == status)&&(identical(other.role, role) || other.role == role)&&(identical(other.lastLogin, lastLogin) || other.lastLogin == lastLogin)&&(identical(other.currentLogin, currentLogin) || other.currentLogin == currentLogin)&&(identical(other.language, language) || other.language == language)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&(identical(other.hasApiKey, hasApiKey) || other.hasApiKey == hasApiKey)&&(identical(other.phone, phone) || other.phone == phone)); -} - - -@override -int get hashCode => Object.hash(runtimeType,id,delegationId,email,createdAt,updatedAt,status,role,lastLogin,currentLogin,language,firstName,lastName,hasApiKey,phone); - -@override -String toString() { - return 'UserEntity(id: $id, delegationId: $delegationId, email: $email, createdAt: $createdAt, updatedAt: $updatedAt, status: $status, role: $role, lastLogin: $lastLogin, currentLogin: $currentLogin, language: $language, firstName: $firstName, lastName: $lastName, hasApiKey: $hasApiKey, phone: $phone)'; -} - - -} - -/// @nodoc -abstract mixin class _$UserEntityCopyWith<$Res> implements $UserEntityCopyWith<$Res> { - factory _$UserEntityCopyWith(_UserEntity value, $Res Function(_UserEntity) _then) = __$UserEntityCopyWithImpl; -@override @useResult -$Res call({ - String id, String delegationId, String email, String createdAt, String updatedAt, String status, String role, String lastLogin, String currentLogin, String language, String firstName, String lastName, String hasApiKey, String phone -}); - - - - -} -/// @nodoc -class __$UserEntityCopyWithImpl<$Res> - implements _$UserEntityCopyWith<$Res> { - __$UserEntityCopyWithImpl(this._self, this._then); - - final _UserEntity _self; - final $Res Function(_UserEntity) _then; - -/// Create a copy of UserEntity -/// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? delegationId = null,Object? email = null,Object? createdAt = null,Object? updatedAt = null,Object? status = null,Object? role = null,Object? lastLogin = null,Object? currentLogin = null,Object? language = null,Object? firstName = null,Object? lastName = null,Object? hasApiKey = null,Object? phone = null,}) { - return _then(_UserEntity( -id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable -as String,delegationId: null == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable -as String,email: null == email ? _self.email : email // ignore: cast_nullable_to_non_nullable -as String,createdAt: null == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as String,updatedAt: null == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable -as String,status: null == status ? _self.status : status // ignore: cast_nullable_to_non_nullable -as String,role: null == role ? _self.role : role // ignore: cast_nullable_to_non_nullable -as String,lastLogin: null == lastLogin ? _self.lastLogin : lastLogin // ignore: cast_nullable_to_non_nullable -as String,currentLogin: null == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable -as String,language: null == language ? _self.language : language // ignore: cast_nullable_to_non_nullable -as String,firstName: null == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable -as String,lastName: null == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable -as String,hasApiKey: null == hasApiKey ? _self.hasApiKey : hasApiKey // ignore: cast_nullable_to_non_nullable -as String,phone: null == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable -as String, - )); -} - - -} - -// dart format on diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.dart deleted file mode 100644 index 18e70c3e..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.dart +++ /dev/null @@ -1,59 +0,0 @@ -import 'package:freezed_annotation/freezed_annotation.dart'; -import 'package:legacy_shared/src/data/models/entities/user_entity.dart'; - -part 'get_logged_user_response_model.freezed.dart'; -part 'get_logged_user_response_model.g.dart'; - -@freezed -abstract class GetLoggedUserResponseModel with _$GetLoggedUserResponseModel { - const factory GetLoggedUserResponseModel({ - required GetLoggedUserItemResponseModel item, - }) = _GetLoggedUserResponseModel; - - factory GetLoggedUserResponseModel.fromJson(Map json) => - _$GetLoggedUserResponseModelFromJson(json); -} - -@freezed -abstract class GetLoggedUserItemResponseModel with _$GetLoggedUserItemResponseModel { - const factory GetLoggedUserItemResponseModel({ - required String id, - String? delegationId, - String? email, - dynamic createdAt, - dynamic updatedAt, - String? status, - String? role, - dynamic lastLogin, - dynamic currentLogin, - String? language, - String? firstName, - String? lastName, - dynamic hasApiKey, - String? phone, - }) = _GetLoggedUserItemResponseModel; - - factory GetLoggedUserItemResponseModel.fromJson(Map json) => - _$GetLoggedUserItemResponseModelFromJson(json); -} - -extension GetLoggedUserResponseModelMapper on GetLoggedUserResponseModel { - UserEntity toEntity() { - return UserEntity( - id: item.id, - delegationId: item.delegationId ?? '', - email: item.email ?? '', - createdAt: item.createdAt?.toString() ?? '', - updatedAt: item.updatedAt?.toString() ?? '', - status: item.status ?? '', - role: item.role ?? '', - lastLogin: item.lastLogin?.toString() ?? '', - currentLogin: item.currentLogin?.toString() ?? '', - language: item.language ?? '', - firstName: item.firstName ?? '', - lastName: item.lastName ?? '', - hasApiKey: item.hasApiKey?.toString() ?? '', - phone: item.phone ?? '' - ); - } -} \ No newline at end of file diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.freezed.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.freezed.dart deleted file mode 100644 index 32686e5e..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.freezed.dart +++ /dev/null @@ -1,597 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND -// coverage:ignore-file -// ignore_for_file: type=lint -// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark - -part of 'get_logged_user_response_model.dart'; - -// ************************************************************************** -// FreezedGenerator -// ************************************************************************** - -// dart format off -T _$identity(T value) => value; - -/// @nodoc -mixin _$GetLoggedUserResponseModel { - - GetLoggedUserItemResponseModel get item; -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -$GetLoggedUserResponseModelCopyWith get copyWith => _$GetLoggedUserResponseModelCopyWithImpl(this as GetLoggedUserResponseModel, _$identity); - - /// Serializes this GetLoggedUserResponseModel to a JSON map. - Map toJson(); - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetLoggedUserResponseModel&&(identical(other.item, item) || other.item == item)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,item); - -@override -String toString() { - return 'GetLoggedUserResponseModel(item: $item)'; -} - - -} - -/// @nodoc -abstract mixin class $GetLoggedUserResponseModelCopyWith<$Res> { - factory $GetLoggedUserResponseModelCopyWith(GetLoggedUserResponseModel value, $Res Function(GetLoggedUserResponseModel) _then) = _$GetLoggedUserResponseModelCopyWithImpl; -@useResult -$Res call({ - GetLoggedUserItemResponseModel item -}); - - -$GetLoggedUserItemResponseModelCopyWith<$Res> get item; - -} -/// @nodoc -class _$GetLoggedUserResponseModelCopyWithImpl<$Res> - implements $GetLoggedUserResponseModelCopyWith<$Res> { - _$GetLoggedUserResponseModelCopyWithImpl(this._self, this._then); - - final GetLoggedUserResponseModel _self; - final $Res Function(GetLoggedUserResponseModel) _then; - -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? item = null,}) { - return _then(_self.copyWith( -item: null == item ? _self.item : item // ignore: cast_nullable_to_non_nullable -as GetLoggedUserItemResponseModel, - )); -} -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetLoggedUserItemResponseModelCopyWith<$Res> get item { - - return $GetLoggedUserItemResponseModelCopyWith<$Res>(_self.item, (value) { - return _then(_self.copyWith(item: value)); - }); -} -} - - -/// Adds pattern-matching-related methods to [GetLoggedUserResponseModel]. -extension GetLoggedUserResponseModelPatterns on GetLoggedUserResponseModel { -/// A variant of `map` that fallback to returning `orElse`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeMap(TResult Function( _GetLoggedUserResponseModel value)? $default,{required TResult orElse(),}){ -final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel() when $default != null: -return $default(_that);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// Callbacks receives the raw object, upcasted. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case final Subclass2 value: -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult map(TResult Function( _GetLoggedUserResponseModel value) $default,){ -final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel(): -return $default(_that);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `map` that fallback to returning `null`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GetLoggedUserResponseModel value)? $default,){ -final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel() when $default != null: -return $default(_that);case _: - return null; - -} -} -/// A variant of `when` that fallback to an `orElse` callback. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeWhen(TResult Function( GetLoggedUserItemResponseModel item)? $default,{required TResult orElse(),}) {final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel() when $default != null: -return $default(_that.item);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// As opposed to `map`, this offers destructuring. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case Subclass2(:final field2): -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult when(TResult Function( GetLoggedUserItemResponseModel item) $default,) {final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel(): -return $default(_that.item);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `when` that fallback to returning `null` -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? whenOrNull(TResult? Function( GetLoggedUserItemResponseModel item)? $default,) {final _that = this; -switch (_that) { -case _GetLoggedUserResponseModel() when $default != null: -return $default(_that.item);case _: - return null; - -} -} - -} - -/// @nodoc -@JsonSerializable() - -class _GetLoggedUserResponseModel implements GetLoggedUserResponseModel { - const _GetLoggedUserResponseModel({required this.item}); - factory _GetLoggedUserResponseModel.fromJson(Map json) => _$GetLoggedUserResponseModelFromJson(json); - -@override final GetLoggedUserItemResponseModel item; - -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -_$GetLoggedUserResponseModelCopyWith<_GetLoggedUserResponseModel> get copyWith => __$GetLoggedUserResponseModelCopyWithImpl<_GetLoggedUserResponseModel>(this, _$identity); - -@override -Map toJson() { - return _$GetLoggedUserResponseModelToJson(this, ); -} - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetLoggedUserResponseModel&&(identical(other.item, item) || other.item == item)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,item); - -@override -String toString() { - return 'GetLoggedUserResponseModel(item: $item)'; -} - - -} - -/// @nodoc -abstract mixin class _$GetLoggedUserResponseModelCopyWith<$Res> implements $GetLoggedUserResponseModelCopyWith<$Res> { - factory _$GetLoggedUserResponseModelCopyWith(_GetLoggedUserResponseModel value, $Res Function(_GetLoggedUserResponseModel) _then) = __$GetLoggedUserResponseModelCopyWithImpl; -@override @useResult -$Res call({ - GetLoggedUserItemResponseModel item -}); - - -@override $GetLoggedUserItemResponseModelCopyWith<$Res> get item; - -} -/// @nodoc -class __$GetLoggedUserResponseModelCopyWithImpl<$Res> - implements _$GetLoggedUserResponseModelCopyWith<$Res> { - __$GetLoggedUserResponseModelCopyWithImpl(this._self, this._then); - - final _GetLoggedUserResponseModel _self; - final $Res Function(_GetLoggedUserResponseModel) _then; - -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? item = null,}) { - return _then(_GetLoggedUserResponseModel( -item: null == item ? _self.item : item // ignore: cast_nullable_to_non_nullable -as GetLoggedUserItemResponseModel, - )); -} - -/// Create a copy of GetLoggedUserResponseModel -/// with the given fields replaced by the non-null parameter values. -@override -@pragma('vm:prefer-inline') -$GetLoggedUserItemResponseModelCopyWith<$Res> get item { - - return $GetLoggedUserItemResponseModelCopyWith<$Res>(_self.item, (value) { - return _then(_self.copyWith(item: value)); - }); -} -} - - -/// @nodoc -mixin _$GetLoggedUserItemResponseModel { - - String get id; String? get delegationId; String? get email; dynamic get createdAt; dynamic get updatedAt; String? get status; String? get role; dynamic get lastLogin; dynamic get currentLogin; String? get language; String? get firstName; String? get lastName; dynamic get hasApiKey; String? get phone; -/// Create a copy of GetLoggedUserItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -$GetLoggedUserItemResponseModelCopyWith get copyWith => _$GetLoggedUserItemResponseModelCopyWithImpl(this as GetLoggedUserItemResponseModel, _$identity); - - /// Serializes this GetLoggedUserItemResponseModel to a JSON map. - Map toJson(); - - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is GetLoggedUserItemResponseModel&&(identical(other.id, id) || other.id == id)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.email, email) || other.email == email)&&const DeepCollectionEquality().equals(other.createdAt, createdAt)&&const DeepCollectionEquality().equals(other.updatedAt, updatedAt)&&(identical(other.status, status) || other.status == status)&&(identical(other.role, role) || other.role == role)&&const DeepCollectionEquality().equals(other.lastLogin, lastLogin)&&const DeepCollectionEquality().equals(other.currentLogin, currentLogin)&&(identical(other.language, language) || other.language == language)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&const DeepCollectionEquality().equals(other.hasApiKey, hasApiKey)&&(identical(other.phone, phone) || other.phone == phone)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,id,delegationId,email,const DeepCollectionEquality().hash(createdAt),const DeepCollectionEquality().hash(updatedAt),status,role,const DeepCollectionEquality().hash(lastLogin),const DeepCollectionEquality().hash(currentLogin),language,firstName,lastName,const DeepCollectionEquality().hash(hasApiKey),phone); - -@override -String toString() { - return 'GetLoggedUserItemResponseModel(id: $id, delegationId: $delegationId, email: $email, createdAt: $createdAt, updatedAt: $updatedAt, status: $status, role: $role, lastLogin: $lastLogin, currentLogin: $currentLogin, language: $language, firstName: $firstName, lastName: $lastName, hasApiKey: $hasApiKey, phone: $phone)'; -} - - -} - -/// @nodoc -abstract mixin class $GetLoggedUserItemResponseModelCopyWith<$Res> { - factory $GetLoggedUserItemResponseModelCopyWith(GetLoggedUserItemResponseModel value, $Res Function(GetLoggedUserItemResponseModel) _then) = _$GetLoggedUserItemResponseModelCopyWithImpl; -@useResult -$Res call({ - String id, String? delegationId, String? email, dynamic createdAt, dynamic updatedAt, String? status, String? role, dynamic lastLogin, dynamic currentLogin, String? language, String? firstName, String? lastName, dynamic hasApiKey, String? phone -}); - - - - -} -/// @nodoc -class _$GetLoggedUserItemResponseModelCopyWithImpl<$Res> - implements $GetLoggedUserItemResponseModelCopyWith<$Res> { - _$GetLoggedUserItemResponseModelCopyWithImpl(this._self, this._then); - - final GetLoggedUserItemResponseModel _self; - final $Res Function(GetLoggedUserItemResponseModel) _then; - -/// Create a copy of GetLoggedUserItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@pragma('vm:prefer-inline') @override $Res call({Object? id = null,Object? delegationId = freezed,Object? email = freezed,Object? createdAt = freezed,Object? updatedAt = freezed,Object? status = freezed,Object? role = freezed,Object? lastLogin = freezed,Object? currentLogin = freezed,Object? language = freezed,Object? firstName = freezed,Object? lastName = freezed,Object? hasApiKey = freezed,Object? phone = freezed,}) { - return _then(_self.copyWith( -id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable -as String,delegationId: freezed == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable -as String?,email: freezed == email ? _self.email : email // ignore: cast_nullable_to_non_nullable -as String?,createdAt: freezed == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as dynamic,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable -as dynamic,status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable -as String?,role: freezed == role ? _self.role : role // ignore: cast_nullable_to_non_nullable -as String?,lastLogin: freezed == lastLogin ? _self.lastLogin : lastLogin // ignore: cast_nullable_to_non_nullable -as dynamic,currentLogin: freezed == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable -as dynamic,language: freezed == language ? _self.language : language // ignore: cast_nullable_to_non_nullable -as String?,firstName: freezed == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable -as String?,lastName: freezed == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable -as String?,hasApiKey: freezed == hasApiKey ? _self.hasApiKey : hasApiKey // ignore: cast_nullable_to_non_nullable -as dynamic,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable -as String?, - )); -} - -} - - -/// Adds pattern-matching-related methods to [GetLoggedUserItemResponseModel]. -extension GetLoggedUserItemResponseModelPatterns on GetLoggedUserItemResponseModel { -/// A variant of `map` that fallback to returning `orElse`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeMap(TResult Function( _GetLoggedUserItemResponseModel value)? $default,{required TResult orElse(),}){ -final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel() when $default != null: -return $default(_that);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// Callbacks receives the raw object, upcasted. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case final Subclass2 value: -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult map(TResult Function( _GetLoggedUserItemResponseModel value) $default,){ -final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel(): -return $default(_that);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `map` that fallback to returning `null`. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case final Subclass value: -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? mapOrNull(TResult? Function( _GetLoggedUserItemResponseModel value)? $default,){ -final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel() when $default != null: -return $default(_that);case _: - return null; - -} -} -/// A variant of `when` that fallback to an `orElse` callback. -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return orElse(); -/// } -/// ``` - -@optionalTypeArgs TResult maybeWhen(TResult Function( String id, String? delegationId, String? email, dynamic createdAt, dynamic updatedAt, String? status, String? role, dynamic lastLogin, dynamic currentLogin, String? language, String? firstName, String? lastName, dynamic hasApiKey, String? phone)? $default,{required TResult orElse(),}) {final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel() when $default != null: -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - return orElse(); - -} -} -/// A `switch`-like method, using callbacks. -/// -/// As opposed to `map`, this offers destructuring. -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case Subclass2(:final field2): -/// return ...; -/// } -/// ``` - -@optionalTypeArgs TResult when(TResult Function( String id, String? delegationId, String? email, dynamic createdAt, dynamic updatedAt, String? status, String? role, dynamic lastLogin, dynamic currentLogin, String? language, String? firstName, String? lastName, dynamic hasApiKey, String? phone) $default,) {final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel(): -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - throw StateError('Unexpected subclass'); - -} -} -/// A variant of `when` that fallback to returning `null` -/// -/// It is equivalent to doing: -/// ```dart -/// switch (sealedClass) { -/// case Subclass(:final field): -/// return ...; -/// case _: -/// return null; -/// } -/// ``` - -@optionalTypeArgs TResult? whenOrNull(TResult? Function( String id, String? delegationId, String? email, dynamic createdAt, dynamic updatedAt, String? status, String? role, dynamic lastLogin, dynamic currentLogin, String? language, String? firstName, String? lastName, dynamic hasApiKey, String? phone)? $default,) {final _that = this; -switch (_that) { -case _GetLoggedUserItemResponseModel() when $default != null: -return $default(_that.id,_that.delegationId,_that.email,_that.createdAt,_that.updatedAt,_that.status,_that.role,_that.lastLogin,_that.currentLogin,_that.language,_that.firstName,_that.lastName,_that.hasApiKey,_that.phone);case _: - return null; - -} -} - -} - -/// @nodoc -@JsonSerializable() - -class _GetLoggedUserItemResponseModel implements GetLoggedUserItemResponseModel { - const _GetLoggedUserItemResponseModel({required this.id, this.delegationId, this.email, this.createdAt, this.updatedAt, this.status, this.role, this.lastLogin, this.currentLogin, this.language, this.firstName, this.lastName, this.hasApiKey, this.phone}); - factory _GetLoggedUserItemResponseModel.fromJson(Map json) => _$GetLoggedUserItemResponseModelFromJson(json); - -@override final String id; -@override final String? delegationId; -@override final String? email; -@override final dynamic createdAt; -@override final dynamic updatedAt; -@override final String? status; -@override final String? role; -@override final dynamic lastLogin; -@override final dynamic currentLogin; -@override final String? language; -@override final String? firstName; -@override final String? lastName; -@override final dynamic hasApiKey; -@override final String? phone; - -/// Create a copy of GetLoggedUserItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @JsonKey(includeFromJson: false, includeToJson: false) -@pragma('vm:prefer-inline') -_$GetLoggedUserItemResponseModelCopyWith<_GetLoggedUserItemResponseModel> get copyWith => __$GetLoggedUserItemResponseModelCopyWithImpl<_GetLoggedUserItemResponseModel>(this, _$identity); - -@override -Map toJson() { - return _$GetLoggedUserItemResponseModelToJson(this, ); -} - -@override -bool operator ==(Object other) { - return identical(this, other) || (other.runtimeType == runtimeType&&other is _GetLoggedUserItemResponseModel&&(identical(other.id, id) || other.id == id)&&(identical(other.delegationId, delegationId) || other.delegationId == delegationId)&&(identical(other.email, email) || other.email == email)&&const DeepCollectionEquality().equals(other.createdAt, createdAt)&&const DeepCollectionEquality().equals(other.updatedAt, updatedAt)&&(identical(other.status, status) || other.status == status)&&(identical(other.role, role) || other.role == role)&&const DeepCollectionEquality().equals(other.lastLogin, lastLogin)&&const DeepCollectionEquality().equals(other.currentLogin, currentLogin)&&(identical(other.language, language) || other.language == language)&&(identical(other.firstName, firstName) || other.firstName == firstName)&&(identical(other.lastName, lastName) || other.lastName == lastName)&&const DeepCollectionEquality().equals(other.hasApiKey, hasApiKey)&&(identical(other.phone, phone) || other.phone == phone)); -} - -@JsonKey(includeFromJson: false, includeToJson: false) -@override -int get hashCode => Object.hash(runtimeType,id,delegationId,email,const DeepCollectionEquality().hash(createdAt),const DeepCollectionEquality().hash(updatedAt),status,role,const DeepCollectionEquality().hash(lastLogin),const DeepCollectionEquality().hash(currentLogin),language,firstName,lastName,const DeepCollectionEquality().hash(hasApiKey),phone); - -@override -String toString() { - return 'GetLoggedUserItemResponseModel(id: $id, delegationId: $delegationId, email: $email, createdAt: $createdAt, updatedAt: $updatedAt, status: $status, role: $role, lastLogin: $lastLogin, currentLogin: $currentLogin, language: $language, firstName: $firstName, lastName: $lastName, hasApiKey: $hasApiKey, phone: $phone)'; -} - - -} - -/// @nodoc -abstract mixin class _$GetLoggedUserItemResponseModelCopyWith<$Res> implements $GetLoggedUserItemResponseModelCopyWith<$Res> { - factory _$GetLoggedUserItemResponseModelCopyWith(_GetLoggedUserItemResponseModel value, $Res Function(_GetLoggedUserItemResponseModel) _then) = __$GetLoggedUserItemResponseModelCopyWithImpl; -@override @useResult -$Res call({ - String id, String? delegationId, String? email, dynamic createdAt, dynamic updatedAt, String? status, String? role, dynamic lastLogin, dynamic currentLogin, String? language, String? firstName, String? lastName, dynamic hasApiKey, String? phone -}); - - - - -} -/// @nodoc -class __$GetLoggedUserItemResponseModelCopyWithImpl<$Res> - implements _$GetLoggedUserItemResponseModelCopyWith<$Res> { - __$GetLoggedUserItemResponseModelCopyWithImpl(this._self, this._then); - - final _GetLoggedUserItemResponseModel _self; - final $Res Function(_GetLoggedUserItemResponseModel) _then; - -/// Create a copy of GetLoggedUserItemResponseModel -/// with the given fields replaced by the non-null parameter values. -@override @pragma('vm:prefer-inline') $Res call({Object? id = null,Object? delegationId = freezed,Object? email = freezed,Object? createdAt = freezed,Object? updatedAt = freezed,Object? status = freezed,Object? role = freezed,Object? lastLogin = freezed,Object? currentLogin = freezed,Object? language = freezed,Object? firstName = freezed,Object? lastName = freezed,Object? hasApiKey = freezed,Object? phone = freezed,}) { - return _then(_GetLoggedUserItemResponseModel( -id: null == id ? _self.id : id // ignore: cast_nullable_to_non_nullable -as String,delegationId: freezed == delegationId ? _self.delegationId : delegationId // ignore: cast_nullable_to_non_nullable -as String?,email: freezed == email ? _self.email : email // ignore: cast_nullable_to_non_nullable -as String?,createdAt: freezed == createdAt ? _self.createdAt : createdAt // ignore: cast_nullable_to_non_nullable -as dynamic,updatedAt: freezed == updatedAt ? _self.updatedAt : updatedAt // ignore: cast_nullable_to_non_nullable -as dynamic,status: freezed == status ? _self.status : status // ignore: cast_nullable_to_non_nullable -as String?,role: freezed == role ? _self.role : role // ignore: cast_nullable_to_non_nullable -as String?,lastLogin: freezed == lastLogin ? _self.lastLogin : lastLogin // ignore: cast_nullable_to_non_nullable -as dynamic,currentLogin: freezed == currentLogin ? _self.currentLogin : currentLogin // ignore: cast_nullable_to_non_nullable -as dynamic,language: freezed == language ? _self.language : language // ignore: cast_nullable_to_non_nullable -as String?,firstName: freezed == firstName ? _self.firstName : firstName // ignore: cast_nullable_to_non_nullable -as String?,lastName: freezed == lastName ? _self.lastName : lastName // ignore: cast_nullable_to_non_nullable -as String?,hasApiKey: freezed == hasApiKey ? _self.hasApiKey : hasApiKey // ignore: cast_nullable_to_non_nullable -as dynamic,phone: freezed == phone ? _self.phone : phone // ignore: cast_nullable_to_non_nullable -as String?, - )); -} - - -} - -// dart format on diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.g.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.g.dart deleted file mode 100644 index 31f6e581..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/models/get_logged_user_response_model.g.dart +++ /dev/null @@ -1,57 +0,0 @@ -// GENERATED CODE - DO NOT MODIFY BY HAND - -part of 'get_logged_user_response_model.dart'; - -// ************************************************************************** -// JsonSerializableGenerator -// ************************************************************************** - -_GetLoggedUserResponseModel _$GetLoggedUserResponseModelFromJson( - Map json, -) => _GetLoggedUserResponseModel( - item: GetLoggedUserItemResponseModel.fromJson( - json['item'] as Map, - ), -); - -Map _$GetLoggedUserResponseModelToJson( - _GetLoggedUserResponseModel instance, -) => {'item': instance.item}; - -_GetLoggedUserItemResponseModel _$GetLoggedUserItemResponseModelFromJson( - Map json, -) => _GetLoggedUserItemResponseModel( - id: json['id'] as String, - delegationId: json['delegationId'] as String?, - email: json['email'] as String?, - createdAt: json['createdAt'], - updatedAt: json['updatedAt'], - status: json['status'] as String?, - role: json['role'] as String?, - lastLogin: json['lastLogin'], - currentLogin: json['currentLogin'], - language: json['language'] as String?, - firstName: json['firstName'] as String?, - lastName: json['lastName'] as String?, - hasApiKey: json['hasApiKey'], - phone: json['phone'] as String?, -); - -Map _$GetLoggedUserItemResponseModelToJson( - _GetLoggedUserItemResponseModel instance, -) => { - 'id': instance.id, - 'delegationId': instance.delegationId, - 'email': instance.email, - 'createdAt': instance.createdAt, - 'updatedAt': instance.updatedAt, - 'status': instance.status, - 'role': instance.role, - 'lastLogin': instance.lastLogin, - 'currentLogin': instance.currentLogin, - 'language': instance.language, - 'firstName': instance.firstName, - 'lastName': instance.lastName, - 'hasApiKey': instance.hasApiKey, - 'phone': instance.phone, -}; diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.dart new file mode 100644 index 00000000..e830f4dd --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.dart @@ -0,0 +1,17 @@ +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'send_command_request_model.freezed.dart'; +part 'send_command_request_model.g.dart'; + +@freezed +abstract class SendCommandRequestModel with _$SendCommandRequestModel { + const factory SendCommandRequestModel({ + required String deviceName, + required String command, + Map? data, + }) = _SendCommandRequestModel; + + factory SendCommandRequestModel.fromJson(Map json) => + _$SendCommandRequestModelFromJson(json); + +} \ No newline at end of file diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.freezed.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.freezed.dart new file mode 100644 index 00000000..6b770b88 --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.freezed.dart @@ -0,0 +1,291 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND +// coverage:ignore-file +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'send_command_request_model.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +// dart format off +T _$identity(T value) => value; + +/// @nodoc +mixin _$SendCommandRequestModel { + + String get deviceName; String get command; Map? get data; +/// Create a copy of SendCommandRequestModel +/// with the given fields replaced by the non-null parameter values. +@JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +$SendCommandRequestModelCopyWith get copyWith => _$SendCommandRequestModelCopyWithImpl(this as SendCommandRequestModel, _$identity); + + /// Serializes this SendCommandRequestModel to a JSON map. + Map toJson(); + + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is SendCommandRequestModel&&(identical(other.deviceName, deviceName) || other.deviceName == deviceName)&&(identical(other.command, command) || other.command == command)&&const DeepCollectionEquality().equals(other.data, data)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => Object.hash(runtimeType,deviceName,command,const DeepCollectionEquality().hash(data)); + +@override +String toString() { + return 'SendCommandRequestModel(deviceName: $deviceName, command: $command, data: $data)'; +} + + +} + +/// @nodoc +abstract mixin class $SendCommandRequestModelCopyWith<$Res> { + factory $SendCommandRequestModelCopyWith(SendCommandRequestModel value, $Res Function(SendCommandRequestModel) _then) = _$SendCommandRequestModelCopyWithImpl; +@useResult +$Res call({ + String deviceName, String command, Map? data +}); + + + + +} +/// @nodoc +class _$SendCommandRequestModelCopyWithImpl<$Res> + implements $SendCommandRequestModelCopyWith<$Res> { + _$SendCommandRequestModelCopyWithImpl(this._self, this._then); + + final SendCommandRequestModel _self; + final $Res Function(SendCommandRequestModel) _then; + +/// Create a copy of SendCommandRequestModel +/// with the given fields replaced by the non-null parameter values. +@pragma('vm:prefer-inline') @override $Res call({Object? deviceName = null,Object? command = null,Object? data = freezed,}) { + return _then(_self.copyWith( +deviceName: null == deviceName ? _self.deviceName : deviceName // ignore: cast_nullable_to_non_nullable +as String,command: null == command ? _self.command : command // ignore: cast_nullable_to_non_nullable +as String,data: freezed == data ? _self.data : data // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + +} + + +/// Adds pattern-matching-related methods to [SendCommandRequestModel]. +extension SendCommandRequestModelPatterns on SendCommandRequestModel { +/// A variant of `map` that fallback to returning `orElse`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeMap(TResult Function( _SendCommandRequestModel value)? $default,{required TResult orElse(),}){ +final _that = this; +switch (_that) { +case _SendCommandRequestModel() when $default != null: +return $default(_that);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// Callbacks receives the raw object, upcasted. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case final Subclass2 value: +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult map(TResult Function( _SendCommandRequestModel value) $default,){ +final _that = this; +switch (_that) { +case _SendCommandRequestModel(): +return $default(_that);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `map` that fallback to returning `null`. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case final Subclass value: +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? mapOrNull(TResult? Function( _SendCommandRequestModel value)? $default,){ +final _that = this; +switch (_that) { +case _SendCommandRequestModel() when $default != null: +return $default(_that);case _: + return null; + +} +} +/// A variant of `when` that fallback to an `orElse` callback. +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return orElse(); +/// } +/// ``` + +@optionalTypeArgs TResult maybeWhen(TResult Function( String deviceName, String command, Map? data)? $default,{required TResult orElse(),}) {final _that = this; +switch (_that) { +case _SendCommandRequestModel() when $default != null: +return $default(_that.deviceName,_that.command,_that.data);case _: + return orElse(); + +} +} +/// A `switch`-like method, using callbacks. +/// +/// As opposed to `map`, this offers destructuring. +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case Subclass2(:final field2): +/// return ...; +/// } +/// ``` + +@optionalTypeArgs TResult when(TResult Function( String deviceName, String command, Map? data) $default,) {final _that = this; +switch (_that) { +case _SendCommandRequestModel(): +return $default(_that.deviceName,_that.command,_that.data);case _: + throw StateError('Unexpected subclass'); + +} +} +/// A variant of `when` that fallback to returning `null` +/// +/// It is equivalent to doing: +/// ```dart +/// switch (sealedClass) { +/// case Subclass(:final field): +/// return ...; +/// case _: +/// return null; +/// } +/// ``` + +@optionalTypeArgs TResult? whenOrNull(TResult? Function( String deviceName, String command, Map? data)? $default,) {final _that = this; +switch (_that) { +case _SendCommandRequestModel() when $default != null: +return $default(_that.deviceName,_that.command,_that.data);case _: + return null; + +} +} + +} + +/// @nodoc +@JsonSerializable() + +class _SendCommandRequestModel implements SendCommandRequestModel { + const _SendCommandRequestModel({required this.deviceName, required this.command, final Map? data}): _data = data; + factory _SendCommandRequestModel.fromJson(Map json) => _$SendCommandRequestModelFromJson(json); + +@override final String deviceName; +@override final String command; + final Map? _data; +@override Map? get data { + final value = _data; + if (value == null) return null; + if (_data is EqualUnmodifiableMapView) return _data; + // ignore: implicit_dynamic_type + return EqualUnmodifiableMapView(value); +} + + +/// Create a copy of SendCommandRequestModel +/// with the given fields replaced by the non-null parameter values. +@override @JsonKey(includeFromJson: false, includeToJson: false) +@pragma('vm:prefer-inline') +_$SendCommandRequestModelCopyWith<_SendCommandRequestModel> get copyWith => __$SendCommandRequestModelCopyWithImpl<_SendCommandRequestModel>(this, _$identity); + +@override +Map toJson() { + return _$SendCommandRequestModelToJson(this, ); +} + +@override +bool operator ==(Object other) { + return identical(this, other) || (other.runtimeType == runtimeType&&other is _SendCommandRequestModel&&(identical(other.deviceName, deviceName) || other.deviceName == deviceName)&&(identical(other.command, command) || other.command == command)&&const DeepCollectionEquality().equals(other._data, _data)); +} + +@JsonKey(includeFromJson: false, includeToJson: false) +@override +int get hashCode => Object.hash(runtimeType,deviceName,command,const DeepCollectionEquality().hash(_data)); + +@override +String toString() { + return 'SendCommandRequestModel(deviceName: $deviceName, command: $command, data: $data)'; +} + + +} + +/// @nodoc +abstract mixin class _$SendCommandRequestModelCopyWith<$Res> implements $SendCommandRequestModelCopyWith<$Res> { + factory _$SendCommandRequestModelCopyWith(_SendCommandRequestModel value, $Res Function(_SendCommandRequestModel) _then) = __$SendCommandRequestModelCopyWithImpl; +@override @useResult +$Res call({ + String deviceName, String command, Map? data +}); + + + + +} +/// @nodoc +class __$SendCommandRequestModelCopyWithImpl<$Res> + implements _$SendCommandRequestModelCopyWith<$Res> { + __$SendCommandRequestModelCopyWithImpl(this._self, this._then); + + final _SendCommandRequestModel _self; + final $Res Function(_SendCommandRequestModel) _then; + +/// Create a copy of SendCommandRequestModel +/// with the given fields replaced by the non-null parameter values. +@override @pragma('vm:prefer-inline') $Res call({Object? deviceName = null,Object? command = null,Object? data = freezed,}) { + return _then(_SendCommandRequestModel( +deviceName: null == deviceName ? _self.deviceName : deviceName // ignore: cast_nullable_to_non_nullable +as String,command: null == command ? _self.command : command // ignore: cast_nullable_to_non_nullable +as String,data: freezed == data ? _self._data : data // ignore: cast_nullable_to_non_nullable +as Map?, + )); +} + + +} + +// dart format on diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.g.dart b/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.g.dart new file mode 100644 index 00000000..c99acf28 --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/data/models/send_command_request_model.g.dart @@ -0,0 +1,23 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'send_command_request_model.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_SendCommandRequestModel _$SendCommandRequestModelFromJson( + Map json, +) => _SendCommandRequestModel( + deviceName: json['deviceName'] as String, + command: json['command'] as String, + data: json['data'] as Map?, +); + +Map _$SendCommandRequestModelToJson( + _SendCommandRequestModel instance, +) => { + 'deviceName': instance.deviceName, + 'command': instance.command, + 'data': instance.data, +}; diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/repositories/commands_repository_impl.dart b/modules/legacy/packages/legacy_shared/lib/src/data/repositories/commands_repository_impl.dart new file mode 100644 index 00000000..0f6946c3 --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/data/repositories/commands_repository_impl.dart @@ -0,0 +1,15 @@ +import 'package:legacy_shared/src/data/datasources/commands_remote_datatsource.dart'; +import 'package:legacy_shared/src/data/models/send_command_request_model.dart'; + +import '../../domain/repositories/command_repository.dart'; + +class CommandsRepositoryImpl implements CommandsRepository { + const CommandsRepositoryImpl(this._remote); + + final CommandsRemoteDatasource _remote; + + @override + Future send({required SendCommandRequestModel request}) { + return _remote.send(request: request); + } +} diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/repositories/legacy_shared_repository.dart b/modules/legacy/packages/legacy_shared/lib/src/data/repositories/legacy_shared_repository.dart deleted file mode 100644 index 67b02278..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/repositories/legacy_shared_repository.dart +++ /dev/null @@ -1,6 +0,0 @@ -import 'package:legacy_shared/src/data/models/entities/user_entity.dart'; - -abstract class LegacySharedRepository { - - Future getLoggedUser(); -} diff --git a/modules/legacy/packages/legacy_shared/lib/src/data/repositories/legacy_shared_repository_impl.dart b/modules/legacy/packages/legacy_shared/lib/src/data/repositories/legacy_shared_repository_impl.dart deleted file mode 100644 index ce03fa98..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/data/repositories/legacy_shared_repository_impl.dart +++ /dev/null @@ -1,15 +0,0 @@ -import 'package:legacy_shared/src/data/datasource/legacy_shared_remote_datasource.dart'; -import 'package:legacy_shared/src/data/models/entities/user_entity.dart'; - -import 'legacy_shared_repository.dart'; - -class LegacySharedRepositoryImpl implements LegacySharedRepository { - const LegacySharedRepositoryImpl(this._remote); - - final LegacySharedRemoteDatasource _remote; - - @override - Future getLoggedUser() { - return _remote.getLoggedUser(); - } -} diff --git a/modules/legacy/packages/legacy_shared/lib/src/domain/repositories/command_repository.dart b/modules/legacy/packages/legacy_shared/lib/src/domain/repositories/command_repository.dart new file mode 100644 index 00000000..cab56fd1 --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/domain/repositories/command_repository.dart @@ -0,0 +1,5 @@ +import 'package:legacy_shared/src/data/models/send_command_request_model.dart'; + +abstract class CommandsRepository { + Future send({required SendCommandRequestModel request}); +} diff --git a/modules/legacy/packages/legacy_shared/lib/src/domain/send_command_use_case.dart b/modules/legacy/packages/legacy_shared/lib/src/domain/send_command_use_case.dart new file mode 100644 index 00000000..a7f8ba7e --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/domain/send_command_use_case.dart @@ -0,0 +1,5 @@ +import 'package:legacy_shared/src/data/models/send_command_request_model.dart'; + +abstract class SendCommandUseCase { + Future send({required SendCommandRequestModel request}); +} \ No newline at end of file diff --git a/modules/legacy/packages/legacy_shared/lib/src/domain/send_command_use_case_impl.dart b/modules/legacy/packages/legacy_shared/lib/src/domain/send_command_use_case_impl.dart new file mode 100644 index 00000000..41b6643d --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/domain/send_command_use_case_impl.dart @@ -0,0 +1,16 @@ +import 'package:legacy_shared/legacy_shared.dart'; + +import '../data/models/send_command_request_model.dart'; +import 'repositories/command_repository.dart'; +import 'send_command_use_case.dart'; + +class SendCommandUseCaseImpl implements SendCommandUseCase { + SendCommandUseCaseImpl(this._repository); + + final CommandsRepository _repository; + + @override + Future send({required SendCommandRequestModel request}) async { + return _repository.send(request: request); + } +} diff --git a/modules/legacy/packages/legacy_shared/lib/src/providers/commands_remote_datasource_provider.dart b/modules/legacy/packages/legacy_shared/lib/src/providers/commands_remote_datasource_provider.dart new file mode 100644 index 00000000..36cc18f0 --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/providers/commands_remote_datasource_provider.dart @@ -0,0 +1,10 @@ +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:sf_infrastructure/sf_infrastructure.dart'; + +import '../data/datasources/commands_remote_datasource_impl.dart'; +import '../data/datasources/commands_remote_datatsource.dart'; + +final commandsRemoteDatasourceProvider = Provider((ref) { + final questiaRepository = getIt(); + return CommandsRemoteDatasourceImpl(questiaRepository); +}); diff --git a/modules/legacy/packages/legacy_shared/lib/src/providers/commands_repository_provider.dart b/modules/legacy/packages/legacy_shared/lib/src/providers/commands_repository_provider.dart new file mode 100644 index 00000000..de48d9a5 --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/providers/commands_repository_provider.dart @@ -0,0 +1,10 @@ +import 'package:flutter_riverpod/flutter_riverpod.dart'; + +import '../data/repositories/commands_repository_impl.dart'; +import '../domain/repositories/command_repository.dart'; +import 'commands_remote_datasource_provider.dart'; + +final commandsRepositoryProvider = Provider((ref) { + final remote = ref.read(commandsRemoteDatasourceProvider); + return CommandsRepositoryImpl(remote); +}); diff --git a/modules/legacy/packages/legacy_shared/lib/src/providers/legacy_shared_remote_datasource_provider.dart b/modules/legacy/packages/legacy_shared/lib/src/providers/legacy_shared_remote_datasource_provider.dart deleted file mode 100644 index 8eea29f6..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/providers/legacy_shared_remote_datasource_provider.dart +++ /dev/null @@ -1,9 +0,0 @@ -import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:legacy_shared/src/data/datasource/legacy_shared_remote_datasource.dart'; -import 'package:legacy_shared/src/data/datasource/legacy_shared_remote_datasource_impl.dart'; -import 'package:sf_infrastructure/sf_infrastructure.dart'; - -final legacySharedRemoteDatasourceProvider = Provider((ref) { - final questiaRepository = getIt(); - return LegacySharedRemoteDatasourceImpl(questiaRepository); -}); diff --git a/modules/legacy/packages/legacy_shared/lib/src/providers/legacy_shared_repository_provider.dart b/modules/legacy/packages/legacy_shared/lib/src/providers/legacy_shared_repository_provider.dart deleted file mode 100644 index a155ffed..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/providers/legacy_shared_repository_provider.dart +++ /dev/null @@ -1,10 +0,0 @@ -import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:legacy_shared/src/data/repositories/legacy_shared_repository.dart'; -import 'package:legacy_shared/src/data/repositories/legacy_shared_repository_impl.dart'; - -import 'legacy_shared_remote_datasource_provider.dart'; - -final legacySharedRepositoryProvider = Provider((ref) { - final remote = ref.read(legacySharedRemoteDatasourceProvider); - return LegacySharedRepositoryImpl(remote); -}); diff --git a/modules/legacy/packages/legacy_shared/lib/src/providers/logged_user_provider.dart b/modules/legacy/packages/legacy_shared/lib/src/providers/logged_user_provider.dart deleted file mode 100644 index 66bf5d8d..00000000 --- a/modules/legacy/packages/legacy_shared/lib/src/providers/logged_user_provider.dart +++ /dev/null @@ -1,21 +0,0 @@ -import 'dart:async'; - -import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:legacy_shared/src/data/models/entities/user_entity.dart'; -import 'package:legacy_shared/src/data/repositories/legacy_shared_repository.dart'; - -import 'legacy_shared_repository_provider.dart'; - -final loggedUserProvider = AsyncNotifierProvider( - LoggedUserNotifier.new, - ); - -class LoggedUserNotifier extends AsyncNotifier { - late final LegacySharedRepository _legacySharedRepository; - - @override - Future build() { - _legacySharedRepository = ref.read(legacySharedRepositoryProvider); - return _legacySharedRepository.getLoggedUser(); - } -} diff --git a/modules/legacy/packages/legacy_shared/lib/src/providers/selected_device_provider.dart b/modules/legacy/packages/legacy_shared/lib/src/providers/selected_device_provider.dart index 860393cd..d7a9611a 100644 --- a/modules/legacy/packages/legacy_shared/lib/src/providers/selected_device_provider.dart +++ b/modules/legacy/packages/legacy_shared/lib/src/providers/selected_device_provider.dart @@ -1,5 +1,5 @@ import 'package:flutter_riverpod/flutter_riverpod.dart'; -import 'package:legacy_shared/src/data/models/entities/device_entity.dart'; +import 'package:sf_shared/sf_shared.dart'; final selectedDeviceProvider = NotifierProvider( SelectedDeviceNotifier.new, diff --git a/modules/legacy/packages/legacy_shared/lib/src/providers/send_command_use_case_provider.dart b/modules/legacy/packages/legacy_shared/lib/src/providers/send_command_use_case_provider.dart new file mode 100644 index 00000000..ecdc94cb --- /dev/null +++ b/modules/legacy/packages/legacy_shared/lib/src/providers/send_command_use_case_provider.dart @@ -0,0 +1,10 @@ +import 'package:flutter_riverpod/flutter_riverpod.dart'; +import 'package:legacy_shared/src/providers/commands_repository_provider.dart'; + +import '../domain/send_command_use_case.dart'; +import '../domain/send_command_use_case_impl.dart'; + +final sendCommandUseCaseProvider = Provider.autoDispose((ref) { + final commandRepository = ref.read(commandsRepositoryProvider); + return SendCommandUseCaseImpl(commandRepository); +}); diff --git a/modules/legacy/modules/legacy_auth/lib/src/core/utils/dio_error_mapper.dart b/modules/legacy/packages/legacy_shared/lib/src/utils/dio_error_mapper.dart similarity index 100% rename from modules/legacy/modules/legacy_auth/lib/src/core/utils/dio_error_mapper.dart rename to modules/legacy/packages/legacy_shared/lib/src/utils/dio_error_mapper.dart diff --git a/modules/legacy/packages/legacy_shared/pubspec.lock b/modules/legacy/packages/legacy_shared/pubspec.lock index 48c8caca..8d31305e 100644 --- a/modules/legacy/packages/legacy_shared/pubspec.lock +++ b/modules/legacy/packages/legacy_shared/pubspec.lock @@ -885,7 +885,7 @@ packages: source: path version: "0.0.1" sf_shared: - dependency: "direct overridden" + dependency: "direct main" description: path: "../../../../packages/sf_shared" relative: true diff --git a/modules/legacy/packages/legacy_shared/pubspec.yaml b/modules/legacy/packages/legacy_shared/pubspec.yaml index bc393213..7dc24a10 100644 --- a/modules/legacy/packages/legacy_shared/pubspec.yaml +++ b/modules/legacy/packages/legacy_shared/pubspec.yaml @@ -22,6 +22,8 @@ dependencies: path: ../../../../packages/sf_infrastructure utils: path: ../../../../packages/utils + sf_shared: + path: ../../../../packages/sf_shared #dependencies go here dio: ^5.9.0 get_it: ^9.0.5 diff --git a/packages/flutter_treezor_entrust_sdk_bridge/.dart_tool/package_config.json b/packages/flutter_treezor_entrust_sdk_bridge/.dart_tool/package_config.json index b48375e6..86a0d483 100644 --- a/packages/flutter_treezor_entrust_sdk_bridge/.dart_tool/package_config.json +++ b/packages/flutter_treezor_entrust_sdk_bridge/.dart_tool/package_config.json @@ -3,163 +3,163 @@ "packages": [ { "name": "async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/async-2.11.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "boolean_selector", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "characters", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/characters-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.4.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "clock", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/clock-1.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "collection", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/collection-1.19.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "fake_async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/fake_async-1.3.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "flutter", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "flutter_lints", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-4.0.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "flutter_test", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter_test", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter_test", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "leak_tracker", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker-11.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-11.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_flutter_testing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_testing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "lints", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/lints-4.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/lints-4.0.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "matcher", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/matcher-0.12.17", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.17", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "material_color_utilities", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "meta", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/meta-1.16.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.16.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "path", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path-1.9.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "plugin_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.8", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "sky_engine", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/bin/cache/pkg/sky_engine", + "rootUri": "file:///C:/Program%20Files/Flutter/bin/cache/pkg/sky_engine", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "source_span", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_span-1.10.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "stack_trace", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stack_trace-1.12.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "stream_channel", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stream_channel-2.1.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.4", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "string_scanner", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/string_scanner-1.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.3.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "term_glyph", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "test_api", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/test_api-0.7.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.6", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "vector_math", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_math-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.2.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "vm_service", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vm_service-14.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-14.3.0", "packageUri": "lib/", "languageVersion": "3.3" }, @@ -172,7 +172,7 @@ ], "generator": "pub", "generatorVersion": "3.9.2", - "flutterRoot": "file:///Users/juliandalcalaf/Development/flutter", - "flutterVersion": "3.35.7", - "pubCache": "file:///Users/juliandalcalaf/.pub-cache" + "flutterRoot": "file:///C:/Program%20Files/Flutter", + "flutterVersion": "3.35.6", + "pubCache": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache" } diff --git a/packages/flutter_treezor_entrust_sdk_bridge/.dart_tool/version b/packages/flutter_treezor_entrust_sdk_bridge/.dart_tool/version index e119acda..eb4861ac 100644 --- a/packages/flutter_treezor_entrust_sdk_bridge/.dart_tool/version +++ b/packages/flutter_treezor_entrust_sdk_bridge/.dart_tool/version @@ -1 +1 @@ -3.35.7 \ No newline at end of file +3.35.6 \ No newline at end of file diff --git a/packages/flutter_treezor_entrust_sdk_bridge/example/.dart_tool/package_config.json b/packages/flutter_treezor_entrust_sdk_bridge/example/.dart_tool/package_config.json index 2ae76611..169c6e02 100644 --- a/packages/flutter_treezor_entrust_sdk_bridge/example/.dart_tool/package_config.json +++ b/packages/flutter_treezor_entrust_sdk_bridge/example/.dart_tool/package_config.json @@ -3,91 +3,91 @@ "packages": [ { "name": "async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/async-2.11.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.11.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "boolean_selector", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/boolean_selector-2.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "characters", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/characters-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.4.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "clock", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/clock-1.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "collection", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/collection-1.19.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "crypto", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/crypto-3.0.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.6", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "cupertino_icons", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/cupertino_icons-1.0.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/cupertino_icons-1.0.8", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "dio", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dio-5.7.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dio-5.7.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "dio_web_adapter", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dio_web_adapter-2.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dio_web_adapter-2.0.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "fake_async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/fake_async-1.3.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "file", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/file-7.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "flutter", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "flutter_driver", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter_driver", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter_driver", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "flutter_lints", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_lints-4.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-4.0.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "flutter_test", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter_test", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter_test", "packageUri": "lib/", "languageVersion": "3.8" }, @@ -99,163 +99,163 @@ }, { "name": "fuchsia_remote_debug_protocol", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/fuchsia_remote_debug_protocol", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/fuchsia_remote_debug_protocol", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "http_parser", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http_parser-4.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.0.2", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "integration_test", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/integration_test", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/integration_test", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "leak_tracker", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker-11.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-11.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_flutter_testing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_testing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "lints", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/lints-4.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/lints-4.0.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "matcher", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/matcher-0.12.17", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.17", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "material_color_utilities", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "meta", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/meta-1.16.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.16.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "path", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path-1.9.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "platform", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/platform-3.1.5", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.1.5", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "plugin_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.8", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "process", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/process-5.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/process-5.0.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "sky_engine", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/bin/cache/pkg/sky_engine", + "rootUri": "file:///C:/Program%20Files/Flutter/bin/cache/pkg/sky_engine", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "source_span", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_span-1.10.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "stack_trace", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stack_trace-1.12.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "stream_channel", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stream_channel-2.1.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.4", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "string_scanner", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/string_scanner-1.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.3.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "sync_http", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/sync_http-0.3.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/sync_http-0.3.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "term_glyph", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/term_glyph-1.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "test_api", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/test_api-0.7.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.6", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "typed_data", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/typed_data-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.4.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "vector_math", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_math-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.2.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "vm_service", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vm_service-14.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-14.3.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "web", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/web-1.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/web-1.1.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "webdriver", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webdriver-3.0.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/webdriver-3.0.4", "packageUri": "lib/", "languageVersion": "3.1" }, @@ -268,7 +268,7 @@ ], "generator": "pub", "generatorVersion": "3.9.2", - "flutterRoot": "file:///Users/juliandalcalaf/Development/flutter", - "flutterVersion": "3.35.7", - "pubCache": "file:///Users/juliandalcalaf/.pub-cache" + "flutterRoot": "file:///C:/Program%20Files/Flutter", + "flutterVersion": "3.35.6", + "pubCache": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache" } diff --git a/packages/flutter_treezor_entrust_sdk_bridge/example/.flutter-plugins-dependencies b/packages/flutter_treezor_entrust_sdk_bridge/example/.flutter-plugins-dependencies index 5ee40381..cb9bd6c5 100644 --- a/packages/flutter_treezor_entrust_sdk_bridge/example/.flutter-plugins-dependencies +++ b/packages/flutter_treezor_entrust_sdk_bridge/example/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_treezor_entrust_sdk_bridge","path":"/Users/juliandalcalaf/Desktop/apps/sf-app-platform/packages/flutter_treezor_entrust_sdk_bridge/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"integration_test","path":"/Users/juliandalcalaf/Development/flutter/packages/integration_test/","native_build":true,"dependencies":[],"dev_dependency":true}],"android":[{"name":"flutter_treezor_entrust_sdk_bridge","path":"/Users/juliandalcalaf/Desktop/apps/sf-app-platform/packages/flutter_treezor_entrust_sdk_bridge/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"integration_test","path":"/Users/juliandalcalaf/Development/flutter/packages/integration_test/","native_build":true,"dependencies":[],"dev_dependency":true}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_treezor_entrust_sdk_bridge","dependencies":[]},{"name":"integration_test","dependencies":[]}],"date_created":"2026-02-28 20:18:35.436956","version":"3.35.7","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"flutter_treezor_entrust_sdk_bridge","path":"C:\\\\dev\\\\sf-app-platform\\\\packages\\\\flutter_treezor_entrust_sdk_bridge\\\\","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"integration_test","path":"C:\\\\Program Files\\\\Flutter\\\\packages\\\\integration_test\\\\","native_build":true,"dependencies":[],"dev_dependency":true}],"android":[{"name":"flutter_treezor_entrust_sdk_bridge","path":"C:\\\\dev\\\\sf-app-platform\\\\packages\\\\flutter_treezor_entrust_sdk_bridge\\\\","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"integration_test","path":"C:\\\\Program Files\\\\Flutter\\\\packages\\\\integration_test\\\\","native_build":true,"dependencies":[],"dev_dependency":true}],"macos":[],"linux":[],"windows":[],"web":[]},"dependencyGraph":[{"name":"flutter_treezor_entrust_sdk_bridge","dependencies":[]},{"name":"integration_test","dependencies":[]}],"date_created":"2026-03-09 10:56:54.692811","version":"3.35.6","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file diff --git a/packages/flutter_treezor_entrust_sdk_bridge/example/android/local.properties b/packages/flutter_treezor_entrust_sdk_bridge/example/android/local.properties index 608a06d2..3a59a23e 100644 --- a/packages/flutter_treezor_entrust_sdk_bridge/example/android/local.properties +++ b/packages/flutter_treezor_entrust_sdk_bridge/example/android/local.properties @@ -1,3 +1,3 @@ -sdk.dir=/Users/juliandalcalaf/Library/Android/sdk -flutter.sdk=/Users/juliandalcalaf/Development/flutter +sdk.dir=C:\\dev\\sdk\\android +flutter.sdk=C:\\Program Files\\Flutter flutter.buildMode=debug \ No newline at end of file diff --git a/packages/fonts/.dart_tool/package_config.json b/packages/fonts/.dart_tool/package_config.json index a9903353..8f2356e6 100644 --- a/packages/fonts/.dart_tool/package_config.json +++ b/packages/fonts/.dart_tool/package_config.json @@ -3,43 +3,43 @@ "packages": [ { "name": "characters", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/characters-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.4.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "collection", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/collection-1.19.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "flutter", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "material_color_utilities", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "meta", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/meta-1.16.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.16.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "sky_engine", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/bin/cache/pkg/sky_engine", + "rootUri": "file:///C:/Program%20Files/Flutter/bin/cache/pkg/sky_engine", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "vector_math", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_math-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.2.0", "packageUri": "lib/", "languageVersion": "3.1" }, @@ -52,7 +52,7 @@ ], "generator": "pub", "generatorVersion": "3.9.2", - "flutterRoot": "file:///Users/juliandalcalaf/Development/flutter", - "flutterVersion": "3.35.7", - "pubCache": "file:///Users/juliandalcalaf/.pub-cache" + "flutterRoot": "file:///C:/Program%20Files/Flutter", + "flutterVersion": "3.35.6", + "pubCache": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache" } diff --git a/packages/fonts/.dart_tool/version b/packages/fonts/.dart_tool/version index e119acda..eb4861ac 100644 --- a/packages/fonts/.dart_tool/version +++ b/packages/fonts/.dart_tool/version @@ -1 +1 @@ -3.35.7 \ No newline at end of file +3.35.6 \ No newline at end of file diff --git a/packages/payments/.dart_tool/package_config.json b/packages/payments/.dart_tool/package_config.json index 74790dad..0d2a1494 100644 --- a/packages/payments/.dart_tool/package_config.json +++ b/packages/payments/.dart_tool/package_config.json @@ -3,211 +3,211 @@ "packages": [ { "name": "_fe_analyzer_shared", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/_fe_analyzer_shared-85.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/_fe_analyzer_shared-85.0.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "analyzer", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/analyzer-7.6.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer-7.6.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "analyzer_buffer", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/analyzer_buffer-0.1.10", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer_buffer-0.1.10", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "analyzer_plugin", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/analyzer_plugin-0.13.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/analyzer_plugin-0.13.4", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "archive", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/archive-4.0.9", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/archive-4.0.9", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "args", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/args-2.7.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/args-2.7.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/async-2.13.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/async-2.13.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "boolean_selector", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/boolean_selector-2.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/boolean_selector-2.1.2", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "build", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build-3.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build-3.1.0", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_config", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_config-1.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_config-1.2.0", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_daemon", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_daemon-4.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_daemon-4.1.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_resolvers", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_resolvers-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_resolvers-3.0.3", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_runner", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_runner-2.7.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner-2.7.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "build_runner_core", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/build_runner_core-9.3.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/build_runner_core-9.3.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "built_collection", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/built_collection-5.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/built_collection-5.1.1", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "built_value", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/built_value-8.12.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/built_value-8.12.3", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "characters", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/characters-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/characters-1.4.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "checked_yaml", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/checked_yaml-2.0.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/checked_yaml-2.0.4", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "ci", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/ci-0.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/ci-0.1.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "cli_config", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/cli_config-0.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/cli_config-0.2.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "cli_util", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/cli_util-0.4.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/cli_util-0.4.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "clock", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/clock-1.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/clock-1.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "code_builder", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/code_builder-4.11.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/code_builder-4.11.1", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "collection", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/collection-1.19.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/collection-1.19.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "confetti", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/confetti-0.7.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/confetti-0.7.0", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "convert", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/convert-3.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/convert-3.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "cookie_jar", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/cookie_jar-4.0.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/cookie_jar-4.0.8", "packageUri": "lib/", "languageVersion": "2.15" }, { "name": "country_code_picker", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/country_code_picker-3.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/country_code_picker-3.4.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "coverage", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/coverage-1.15.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/coverage-1.15.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "crypto", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/crypto-3.0.7", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/crypto-3.0.7", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "custom_lint", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/custom_lint-0.8.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/custom_lint-0.8.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "custom_lint_builder", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/custom_lint_builder-0.8.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/custom_lint_builder-0.8.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "custom_lint_core", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/custom_lint_core-0.8.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/custom_lint_core-0.8.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "custom_lint_visitor", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/custom_lint_visitor-1.0.0+7.7.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/custom_lint_visitor-1.0.0+7.7.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "dart_style", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dart_style-3.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dart_style-3.1.1", "packageUri": "lib/", "languageVersion": "3.7" }, @@ -219,79 +219,79 @@ }, { "name": "diacritic", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/diacritic-0.1.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/diacritic-0.1.6", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "dio", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dio-5.9.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dio-5.9.1", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "dio_cookie_manager", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dio_cookie_manager-3.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dio_cookie_manager-3.3.0", "packageUri": "lib/", "languageVersion": "2.18" }, { "name": "dio_web_adapter", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/dio_web_adapter-2.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/dio_web_adapter-2.1.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "fake_async", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/fake_async-1.3.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/fake_async-1.3.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "ffi", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/ffi-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/ffi-2.2.0", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "file", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/file-7.0.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/file-7.0.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "fixnum", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/fixnum-1.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/fixnum-1.1.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "flutter", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "flutter_lints", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_lints-5.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_lints-5.0.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "flutter_riverpod", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/flutter_riverpod-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/flutter_riverpod-3.0.3", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "flutter_test", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter_test", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter_test", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "flutter_web_plugins", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/packages/flutter_web_plugins", + "rootUri": "file:///C:/Program%20Files/Flutter/packages/flutter_web_plugins", "packageUri": "lib/", "languageVersion": "3.8" }, @@ -303,163 +303,163 @@ }, { "name": "freezed", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/freezed-3.2.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/freezed-3.2.3", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "freezed_annotation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/freezed_annotation-3.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/freezed_annotation-3.1.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "frontend_server_client", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/frontend_server_client-4.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/frontend_server_client-4.0.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "get_it", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/get_it-9.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/get_it-9.2.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "glob", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/glob-2.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/glob-2.1.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "go_router", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/go_router-17.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/go_router-17.1.0", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "graphs", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/graphs-2.3.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/graphs-2.3.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "hotreloader", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/hotreloader-4.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/hotreloader-4.3.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "http", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http-1.6.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http-1.6.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "http_multi_server", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http_multi_server-3.2.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http_multi_server-3.2.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "http_parser", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/http_parser-4.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/http_parser-4.1.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "intl", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/intl-0.20.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/intl-0.20.2", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "io", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/io-1.0.5", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/io-1.0.5", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "js", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/js-0.7.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/js-0.7.2", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "json_annotation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/json_annotation-4.9.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/json_annotation-4.9.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "json_serializable", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/json_serializable-6.11.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/json_serializable-6.11.2", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "leak_tracker", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker-11.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker-11.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_flutter_testing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_flutter_testing-3.0.10", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "leak_tracker_testing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/leak_tracker_testing-3.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/leak_tracker_testing-3.0.2", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "lints", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/lints-5.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/lints-5.1.1", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "logging", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/logging-1.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/logging-1.3.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "lottie", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/lottie-3.3.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/lottie-3.3.2", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "matcher", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/matcher-0.12.17", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/matcher-0.12.17", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "material_color_utilities", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/material_color_utilities-0.11.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/material_color_utilities-0.11.1", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "meta", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/meta-1.16.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/meta-1.16.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "mime", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/mime-2.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/mime-2.0.0", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "mockito", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/mockito-5.5.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/mockito-5.5.0", "packageUri": "lib/", "languageVersion": "3.7" }, @@ -471,127 +471,127 @@ }, { "name": "node_preamble", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/node_preamble-2.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/node_preamble-2.0.2", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "package_config", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/package_config-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/package_config-2.2.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "path", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path-1.9.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path-1.9.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "path_provider", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider-2.1.5", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider-2.1.5", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "path_provider_android", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_android-2.2.22", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_android-2.2.22", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "path_provider_foundation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_foundation-2.5.1", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "path_provider_linux", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_linux-2.2.1", "packageUri": "lib/", "languageVersion": "2.19" }, { "name": "path_provider_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_platform_interface-2.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_platform_interface-2.1.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "path_provider_windows", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/path_provider_windows-2.3.0", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "platform", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/platform-3.1.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/platform-3.1.6", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "plugin_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/plugin_platform_interface-2.1.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/plugin_platform_interface-2.1.8", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "pool", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pool-1.5.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pool-1.5.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "posix", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/posix-6.5.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/posix-6.5.0", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "pub_semver", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pub_semver-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pub_semver-2.2.0", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "pubspec_parse", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/pubspec_parse-1.5.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/pubspec_parse-1.5.0", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "riverpod", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/riverpod-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/riverpod-3.0.3", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "riverpod_analyzer_utils", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/riverpod_analyzer_utils-1.0.0-dev.7", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/riverpod_analyzer_utils-1.0.0-dev.7", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "riverpod_annotation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/riverpod_annotation-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/riverpod_annotation-3.0.3", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "riverpod_generator", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/riverpod_generator-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/riverpod_generator-3.0.3", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "riverpod_lint", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/riverpod_lint-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/riverpod_lint-3.0.3", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "rxdart", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/rxdart-0.28.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/rxdart-0.28.0", "packageUri": "lib/", "languageVersion": "2.12" }, @@ -609,181 +609,181 @@ }, { "name": "shared_preferences", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences-2.5.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences-2.5.4", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "shared_preferences_android", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.20", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_android-2.4.20", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "shared_preferences_foundation", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_foundation-2.5.6", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "shared_preferences_linux", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_linux-2.4.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "shared_preferences_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_platform_interface-2.4.1", "packageUri": "lib/", "languageVersion": "3.2" }, { "name": "shared_preferences_web", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_web-2.4.3", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "shared_preferences_windows", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shared_preferences_windows-2.4.1", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "shelf", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shelf-1.4.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shelf-1.4.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "shelf_packages_handler", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shelf_packages_handler-3.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_packages_handler-3.0.2", "packageUri": "lib/", "languageVersion": "2.17" }, { "name": "shelf_static", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shelf_static-1.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_static-1.1.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "shelf_web_socket", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shelf_web_socket-3.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/shelf_web_socket-3.0.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "sky_engine", - "rootUri": "file:///Users/juliandalcalaf/Development/flutter/bin/cache/pkg/sky_engine", + "rootUri": "file:///C:/Program%20Files/Flutter/bin/cache/pkg/sky_engine", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "source_gen", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_gen-3.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_gen-3.1.0", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "source_helper", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_helper-1.3.8", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_helper-1.3.8", "packageUri": "lib/", "languageVersion": "3.7" }, { "name": "source_map_stack_trace", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_map_stack_trace-2.1.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_map_stack_trace-2.1.2", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "source_maps", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_maps-0.10.13", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_maps-0.10.13", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "source_span", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/source_span-1.10.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/source_span-1.10.2", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "stack_trace", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stack_trace-1.12.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stack_trace-1.12.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "state_notifier", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/state_notifier-1.0.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/state_notifier-1.0.0", "packageUri": "lib/", "languageVersion": "2.12" }, { "name": "stream_channel", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stream_channel-2.1.4", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stream_channel-2.1.4", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "stream_transform", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/stream_transform-2.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/stream_transform-2.1.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "string_scanner", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/string_scanner-1.4.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/string_scanner-1.4.1", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "term_glyph", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/term_glyph-1.2.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/term_glyph-1.2.2", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "test", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/test-1.26.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/test-1.26.2", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "test_api", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/test_api-0.7.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/test_api-0.7.6", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "test_core", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/test_core-0.6.11", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/test_core-0.6.11", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "timing", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/timing-1.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/timing-1.0.2", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "top_snackbar_flutter", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/top_snackbar_flutter-3.3.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/top_snackbar_flutter-3.3.0", "packageUri": "lib/", "languageVersion": "2.15" }, { "name": "typed_data", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/typed_data-1.4.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/typed_data-1.4.0", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "universal_io", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/universal_io-2.3.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/universal_io-2.3.1", "packageUri": "lib/", "languageVersion": "3.6" }, @@ -795,85 +795,85 @@ }, { "name": "uuid", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/uuid-4.5.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/uuid-4.5.2", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "vector_math", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vector_math-2.2.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vector_math-2.2.0", "packageUri": "lib/", "languageVersion": "3.1" }, { "name": "vm_service", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/vm_service-15.0.2", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/vm_service-15.0.2", "packageUri": "lib/", "languageVersion": "3.5" }, { "name": "watcher", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/watcher-1.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/watcher-1.2.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "web", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/web-1.1.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/web-1.1.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "web_socket", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/web_socket-1.0.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket-1.0.1", "packageUri": "lib/", "languageVersion": "3.4" }, { "name": "web_socket_channel", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/web_socket_channel-3.0.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/web_socket_channel-3.0.3", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "webkit_inspection_protocol", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/webkit_inspection_protocol-1.2.1", "packageUri": "lib/", "languageVersion": "3.0" }, { "name": "webview_flutter", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webview_flutter-4.13.1", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/webview_flutter-4.13.1", "packageUri": "lib/", "languageVersion": "3.8" }, { "name": "webview_flutter_android", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webview_flutter_android-4.10.11", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/webview_flutter_android-4.10.11", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "webview_flutter_platform_interface", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webview_flutter_platform_interface-2.14.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/webview_flutter_platform_interface-2.14.0", "packageUri": "lib/", "languageVersion": "3.6" }, { "name": "webview_flutter_wkwebview", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.23.6", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/webview_flutter_wkwebview-3.23.6", "packageUri": "lib/", "languageVersion": "3.9" }, { "name": "xdg_directories", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/xdg_directories-1.1.0", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/xdg_directories-1.1.0", "packageUri": "lib/", "languageVersion": "3.3" }, { "name": "yaml", - "rootUri": "file:///Users/juliandalcalaf/.pub-cache/hosted/pub.dev/yaml-3.1.3", + "rootUri": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache/hosted/pub.dev/yaml-3.1.3", "packageUri": "lib/", "languageVersion": "3.4" }, @@ -886,7 +886,7 @@ ], "generator": "pub", "generatorVersion": "3.9.2", - "flutterRoot": "file:///Users/juliandalcalaf/Development/flutter", - "flutterVersion": "3.35.7", - "pubCache": "file:///Users/juliandalcalaf/.pub-cache" + "flutterRoot": "file:///C:/Program%20Files/Flutter", + "flutterVersion": "3.35.6", + "pubCache": "file:///C:/Users/Aitor%20Arana/AppData/Local/Pub/Cache" } diff --git a/packages/payments/.dart_tool/version b/packages/payments/.dart_tool/version index e119acda..eb4861ac 100644 --- a/packages/payments/.dart_tool/version +++ b/packages/payments/.dart_tool/version @@ -1 +1 @@ -3.35.7 \ No newline at end of file +3.35.6 \ No newline at end of file diff --git a/packages/payments/.flutter-plugins-dependencies b/packages/payments/.flutter-plugins-dependencies index ce0499d6..c2ebc76f 100644 --- a/packages/payments/.flutter-plugins-dependencies +++ b/packages/payments/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.6/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_wkwebview","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.23.6/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"path_provider_android","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_android-2.2.22/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_android","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.20/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_android","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webview_flutter_android-4.10.11/","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"path_provider_foundation","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_foundation-2.5.1/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.6/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_wkwebview","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.23.6/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"path_provider_linux","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_linux","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"],"dev_dependency":false}],"windows":[{"name":"path_provider_windows","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_windows","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"],"dev_dependency":false}],"web":[{"name":"shared_preferences_web","path":"/Users/juliandalcalaf/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3/","dependencies":[],"dev_dependency":false}]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2026-02-15 14:38:33.512667","version":"3.35.7","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file +{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"path_provider_foundation","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.5.1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.5.6\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_wkwebview","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\webview_flutter_wkwebview-3.23.6\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"path_provider_android","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_android-2.2.22\\\\","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_android","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_android-2.4.20\\\\","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_android","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\webview_flutter_android-4.10.11\\\\","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"path_provider_foundation","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_foundation-2.5.1\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_foundation-2.5.6\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_wkwebview","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\webview_flutter_wkwebview-3.23.6\\\\","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"path_provider_linux","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_linux-2.2.1\\\\","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_linux","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_linux-2.4.1\\\\","native_build":false,"dependencies":["path_provider_linux"],"dev_dependency":false}],"windows":[{"name":"path_provider_windows","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\path_provider_windows-2.3.0\\\\","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_windows","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_windows-2.4.1\\\\","native_build":false,"dependencies":["path_provider_windows"],"dev_dependency":false}],"web":[{"name":"shared_preferences_web","path":"C:\\\\Users\\\\Aitor Arana\\\\AppData\\\\Local\\\\Pub\\\\Cache\\\\hosted\\\\pub.dev\\\\shared_preferences_web-2.4.3\\\\","dependencies":[],"dev_dependency":false}]},"dependencyGraph":[{"name":"path_provider","dependencies":["path_provider_android","path_provider_foundation","path_provider_linux","path_provider_windows"]},{"name":"path_provider_android","dependencies":[]},{"name":"path_provider_foundation","dependencies":[]},{"name":"path_provider_linux","dependencies":[]},{"name":"path_provider_windows","dependencies":[]},{"name":"shared_preferences","dependencies":["shared_preferences_android","shared_preferences_foundation","shared_preferences_linux","shared_preferences_web","shared_preferences_windows"]},{"name":"shared_preferences_android","dependencies":[]},{"name":"shared_preferences_foundation","dependencies":[]},{"name":"shared_preferences_linux","dependencies":["path_provider_linux"]},{"name":"shared_preferences_web","dependencies":[]},{"name":"shared_preferences_windows","dependencies":["path_provider_windows"]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2026-03-09 10:56:58.962073","version":"3.35.6","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file