diff --git a/.flutter-plugins-dependencies b/.flutter-plugins-dependencies index 5740455..23461e7 100644 --- a/.flutter-plugins-dependencies +++ b/.flutter-plugins-dependencies @@ -1 +1 @@ -{"info":"This is a generated file; do not edit or check into version control.","plugins":{"ios":[{"name":"bluetooth_print_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/bluetooth_print_plus-2.4.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_selector_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_ios-0.5.3+2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.1.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility-6.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_long_screenshot","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_long_screenshot-2.0.0/","native_build":true,"dependencies":["share_plus"],"dev_dependency":false},{"name":"flutter_pdfview","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_pdfview-1.4.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/itc43/.pub-cache/hosted/pub.dev/fluttertoast-8.2.14/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"image_picker_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.13/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"mobile_scanner","path":"/home/itc43/.pub-cache/hosted/pub.dev/mobile_scanner-7.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["fluttertoast","connectivity_plus"],"dev_dependency":false},{"name":"open_file_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_ios-1.0.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"permission_handler_apple","path":"/home/itc43/.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"pointer_interceptor_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/pointer_interceptor_ios-0.10.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"print_bluetooth_thermal","path":"/home/itc43/.pub-cache/hosted/pub.dev/print_bluetooth_thermal-1.1.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"restart_app","path":"/home/itc43/.pub-cache/hosted/pub.dev/restart_app-1.3.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"sqflite_darwin","path":"/home/itc43/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_wkwebview","path":"/home/itc43/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.23.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"bluetooth_print_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/bluetooth_print_plus-2.4.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false},{"name":"file_selector_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_android-0.5.1+17/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.1.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility-6.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_long_screenshot","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_long_screenshot-2.0.0/","native_build":true,"dependencies":["share_plus"],"dev_dependency":false},{"name":"flutter_pdfview","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_pdfview-1.4.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_plugin_android_lifecycle","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.31/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/itc43/.pub-cache/hosted/pub.dev/fluttertoast-8.2.14/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"image_picker_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_android-0.8.13+1/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false},{"name":"mobile_scanner","path":"/home/itc43/.pub-cache/hosted/pub.dev/mobile_scanner-7.1.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["fluttertoast","connectivity_plus"],"dev_dependency":false},{"name":"open_file_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_android-1.0.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_android-2.2.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"permission_handler_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/permission_handler_android-13.0.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"print_bluetooth_thermal","path":"/home/itc43/.pub-cache/hosted/pub.dev/print_bluetooth_thermal-1.1.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"restart_app","path":"/home/itc43/.pub-cache/hosted/pub.dev/restart_app-1.3.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.13/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"sqflite_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/sqflite_android-2.4.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.20/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/webview_flutter_android-4.10.1/","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"bluetooth_print_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/bluetooth_print_plus-2.4.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_selector_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.4+4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.1.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_macos-1.0.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"image_picker_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.2/","native_build":false,"dependencies":["file_selector_macos"],"dev_dependency":false},{"name":"mobile_scanner","path":"/home/itc43/.pub-cache/hosted/pub.dev/mobile_scanner-7.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["connectivity_plus"],"dev_dependency":false},{"name":"open_file_mac","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_mac-1.0.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"sqflite_darwin","path":"/home/itc43/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_wkwebview","path":"/home/itc43/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.23.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"bluetooth_print_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/bluetooth_print_plus-2.4.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_selector_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.3+2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_linux-1.0.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"image_picker_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.2/","native_build":false,"dependencies":["file_selector_linux"],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["connectivity_plus"],"dev_dependency":false},{"name":"open_file_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_linux-0.0.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":false,"dependencies":["url_launcher_linux"],"dev_dependency":false},{"name":"shared_preferences_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"],"dev_dependency":false},{"name":"url_launcher_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/","native_build":true,"dependencies":[],"dev_dependency":false}],"windows":[{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_selector_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_windows-0.9.3+4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_windows-0.6.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_windows-1.0.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"image_picker_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_windows-0.2.2/","native_build":false,"dependencies":["file_selector_windows"],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["connectivity_plus"],"dev_dependency":false},{"name":"open_file_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_windows-0.0.3/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"path_provider_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"permission_handler_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/permission_handler_windows-0.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"print_bluetooth_thermal","path":"/home/itc43/.pub-cache/hosted/pub.dev/print_bluetooth_thermal-1.1.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":true,"dependencies":["url_launcher_windows"],"dev_dependency":false},{"name":"shared_preferences_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"],"dev_dependency":false},{"name":"url_launcher_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/","native_build":true,"dependencies":[],"dev_dependency":false}],"web":[{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","dependencies":[],"dev_dependency":false},{"name":"file_selector_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_web-0.9.4+2/","dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.1.2/","dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_web-2.0.0/","dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/itc43/.pub-cache/hosted/pub.dev/fluttertoast-8.2.14/","dependencies":[],"dev_dependency":false},{"name":"image_picker_for_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_for_web-3.1.0/","dependencies":[],"dev_dependency":false},{"name":"mobile_scanner","path":"/home/itc43/.pub-cache/hosted/pub.dev/mobile_scanner-7.1.2/","dependencies":[],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","dependencies":["fluttertoast","connectivity_plus"],"dev_dependency":false},{"name":"open_file_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_web-0.0.4/","dependencies":[],"dev_dependency":false},{"name":"permission_handler_html","path":"/home/itc43/.pub-cache/hosted/pub.dev/permission_handler_html-0.1.3+5/","dependencies":[],"dev_dependency":false},{"name":"pointer_interceptor_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/pointer_interceptor_web-0.10.3/","dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","dependencies":[],"dev_dependency":false},{"name":"restart_app","path":"/home/itc43/.pub-cache/hosted/pub.dev/restart_app-1.3.2/","dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","dependencies":["url_launcher_web"],"dev_dependency":false},{"name":"shared_preferences_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3/","dependencies":[],"dev_dependency":false},{"name":"url_launcher_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_web-2.4.1/","dependencies":[],"dev_dependency":false}]},"dependencyGraph":[{"name":"bluetooth_print_plus","dependencies":[]},{"name":"connectivity_plus","dependencies":[]},{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"file_selector","dependencies":["file_selector_android","file_selector_ios","file_selector_linux","file_selector_macos","file_selector_web","file_selector_windows"]},{"name":"file_selector_android","dependencies":[]},{"name":"file_selector_ios","dependencies":[]},{"name":"file_selector_linux","dependencies":[]},{"name":"file_selector_macos","dependencies":[]},{"name":"file_selector_web","dependencies":[]},{"name":"file_selector_windows","dependencies":[]},{"name":"flutter_inappwebview","dependencies":["flutter_inappwebview_android","flutter_inappwebview_ios","flutter_inappwebview_macos","flutter_inappwebview_web","flutter_inappwebview_windows"]},{"name":"flutter_inappwebview_android","dependencies":[]},{"name":"flutter_inappwebview_ios","dependencies":[]},{"name":"flutter_inappwebview_macos","dependencies":[]},{"name":"flutter_inappwebview_web","dependencies":[]},{"name":"flutter_inappwebview_windows","dependencies":[]},{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_linux","flutter_keyboard_visibility_macos","flutter_keyboard_visibility_web","flutter_keyboard_visibility_windows"]},{"name":"flutter_keyboard_visibility_linux","dependencies":[]},{"name":"flutter_keyboard_visibility_macos","dependencies":[]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_keyboard_visibility_windows","dependencies":[]},{"name":"flutter_long_screenshot","dependencies":["path_provider","open_file","share_plus"]},{"name":"flutter_pdfview","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios","image_picker_linux","image_picker_macos","image_picker_windows"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]},{"name":"image_picker_linux","dependencies":["file_selector_linux"]},{"name":"image_picker_macos","dependencies":["file_selector_macos"]},{"name":"image_picker_windows","dependencies":["file_selector_windows"]},{"name":"mobile_scanner","dependencies":[]},{"name":"nb_utils","dependencies":["shared_preferences","fluttertoast","connectivity_plus"]},{"name":"open_file","dependencies":["open_file_android","open_file_web","open_file_ios","open_file_mac","open_file_windows","open_file_linux"]},{"name":"open_file_android","dependencies":[]},{"name":"open_file_ios","dependencies":[]},{"name":"open_file_linux","dependencies":[]},{"name":"open_file_mac","dependencies":[]},{"name":"open_file_web","dependencies":[]},{"name":"open_file_windows","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":"permission_handler","dependencies":["permission_handler_android","permission_handler_apple","permission_handler_html","permission_handler_windows"]},{"name":"permission_handler_android","dependencies":[]},{"name":"permission_handler_apple","dependencies":[]},{"name":"permission_handler_html","dependencies":[]},{"name":"permission_handler_windows","dependencies":[]},{"name":"pointer_interceptor","dependencies":["pointer_interceptor_ios","pointer_interceptor_web"]},{"name":"pointer_interceptor_ios","dependencies":[]},{"name":"pointer_interceptor_web","dependencies":[]},{"name":"print_bluetooth_thermal","dependencies":[]},{"name":"printing","dependencies":[]},{"name":"restart_app","dependencies":[]},{"name":"share_plus","dependencies":["url_launcher_web","url_launcher_windows","url_launcher_linux"]},{"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":"sqflite","dependencies":["sqflite_android","sqflite_darwin"]},{"name":"sqflite_android","dependencies":[]},{"name":"sqflite_darwin","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2026-04-18 23:15:31.149895","version":"3.32.8","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":"bluetooth_print_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/bluetooth_print_plus-2.4.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_selector_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_ios-0.5.3+2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_ios-1.1.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility-6.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_long_screenshot","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_long_screenshot-2.0.0/","native_build":true,"dependencies":["share_plus"],"dev_dependency":false},{"name":"flutter_pdfview","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_pdfview-1.4.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/itc43/.pub-cache/hosted/pub.dev/fluttertoast-8.2.14/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"image_picker_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_ios-0.8.13/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"mobile_scanner","path":"/home/itc43/.pub-cache/hosted/pub.dev/mobile_scanner-7.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["fluttertoast","connectivity_plus"],"dev_dependency":false},{"name":"open_file_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_ios-1.0.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"permission_handler_apple","path":"/home/itc43/.pub-cache/hosted/pub.dev/permission_handler_apple-9.4.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"pointer_interceptor_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/pointer_interceptor_ios-0.10.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"print_bluetooth_thermal","path":"/home/itc43/.pub-cache/hosted/pub.dev/print_bluetooth_thermal-1.1.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"restart_app","path":"/home/itc43/.pub-cache/hosted/pub.dev/restart_app-1.3.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"sqflite_darwin","path":"/home/itc43/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_ios","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_ios-6.3.4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_wkwebview","path":"/home/itc43/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.23.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"android":[{"name":"bluetooth_print_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/bluetooth_print_plus-2.4.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false},{"name":"file_selector_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_android-0.5.1+17/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_android-1.1.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility-6.0.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_long_screenshot","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_long_screenshot-2.0.0/","native_build":true,"dependencies":["share_plus"],"dev_dependency":false},{"name":"flutter_pdfview","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_pdfview-1.4.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_plugin_android_lifecycle","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_plugin_android_lifecycle-2.0.31/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/itc43/.pub-cache/hosted/pub.dev/fluttertoast-8.2.14/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"image_picker_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_android-0.8.13+1/","native_build":true,"dependencies":["flutter_plugin_android_lifecycle"],"dev_dependency":false},{"name":"mobile_scanner","path":"/home/itc43/.pub-cache/hosted/pub.dev/mobile_scanner-7.1.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["fluttertoast","connectivity_plus"],"dev_dependency":false},{"name":"open_file_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_android-1.0.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_android-2.2.19/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"permission_handler_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/permission_handler_android-13.0.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"print_bluetooth_thermal","path":"/home/itc43/.pub-cache/hosted/pub.dev/print_bluetooth_thermal-1.1.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"restart_app","path":"/home/itc43/.pub-cache/hosted/pub.dev/restart_app-1.3.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_android-2.4.13/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"sqflite_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/sqflite_android-2.4.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_android-6.3.20/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_android","path":"/home/itc43/.pub-cache/hosted/pub.dev/webview_flutter_android-4.10.1/","native_build":true,"dependencies":[],"dev_dependency":false}],"macos":[{"name":"bluetooth_print_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/bluetooth_print_plus-2.4.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_selector_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_macos-0.9.4+4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_macos-1.1.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_macos-1.0.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"image_picker_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_macos-0.2.2/","native_build":false,"dependencies":["file_selector_macos"],"dev_dependency":false},{"name":"mobile_scanner","path":"/home/itc43/.pub-cache/hosted/pub.dev/mobile_scanner-7.1.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["connectivity_plus"],"dev_dependency":false},{"name":"open_file_mac","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_mac-1.0.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_foundation","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_foundation-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"shared_preferences_foundation","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_foundation-2.5.4/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"sqflite_darwin","path":"/home/itc43/.pub-cache/hosted/pub.dev/sqflite_darwin-2.4.2/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false},{"name":"url_launcher_macos","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_macos-3.2.3/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"webview_flutter_wkwebview","path":"/home/itc43/.pub-cache/hosted/pub.dev/webview_flutter_wkwebview-3.23.0/","shared_darwin_source":true,"native_build":true,"dependencies":[],"dev_dependency":false}],"linux":[{"name":"bluetooth_print_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/bluetooth_print_plus-2.4.6/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_selector_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_linux-0.9.3+2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_linux-1.0.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"image_picker_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_linux-0.2.2/","native_build":false,"dependencies":["file_selector_linux"],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["connectivity_plus"],"dev_dependency":false},{"name":"open_file_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_linux-0.0.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"path_provider_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_linux-2.2.1/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":false,"dependencies":["url_launcher_linux"],"dev_dependency":false},{"name":"shared_preferences_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_linux-2.4.1/","native_build":false,"dependencies":["path_provider_linux"],"dev_dependency":false},{"name":"url_launcher_linux","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_linux-3.2.1/","native_build":true,"dependencies":[],"dev_dependency":false}],"windows":[{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"file_selector_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_windows-0.9.3+4/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_windows-0.6.0/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_windows-1.0.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"image_picker_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_windows-0.2.2/","native_build":false,"dependencies":["file_selector_windows"],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","native_build":true,"dependencies":["connectivity_plus"],"dev_dependency":false},{"name":"open_file_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_windows-0.0.3/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"path_provider_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/path_provider_windows-2.3.0/","native_build":false,"dependencies":[],"dev_dependency":false},{"name":"permission_handler_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/permission_handler_windows-0.2.1/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"print_bluetooth_thermal","path":"/home/itc43/.pub-cache/hosted/pub.dev/print_bluetooth_thermal-1.1.7/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","native_build":true,"dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","native_build":true,"dependencies":["url_launcher_windows"],"dev_dependency":false},{"name":"shared_preferences_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_windows-2.4.1/","native_build":false,"dependencies":["path_provider_windows"],"dev_dependency":false},{"name":"url_launcher_windows","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_windows-3.1.4/","native_build":true,"dependencies":[],"dev_dependency":false}],"web":[{"name":"connectivity_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/connectivity_plus-6.1.5/","dependencies":[],"dev_dependency":false},{"name":"file_picker","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_picker-10.3.3/","dependencies":[],"dev_dependency":false},{"name":"file_selector_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/file_selector_web-0.9.4+2/","dependencies":[],"dev_dependency":false},{"name":"flutter_inappwebview_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_inappwebview_web-1.1.2/","dependencies":[],"dev_dependency":false},{"name":"flutter_keyboard_visibility_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/flutter_keyboard_visibility_web-2.0.0/","dependencies":[],"dev_dependency":false},{"name":"fluttertoast","path":"/home/itc43/.pub-cache/hosted/pub.dev/fluttertoast-8.2.14/","dependencies":[],"dev_dependency":false},{"name":"image_picker_for_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/image_picker_for_web-3.1.0/","dependencies":[],"dev_dependency":false},{"name":"mobile_scanner","path":"/home/itc43/.pub-cache/hosted/pub.dev/mobile_scanner-7.1.2/","dependencies":[],"dev_dependency":false},{"name":"nb_utils","path":"/home/itc43/.pub-cache/hosted/pub.dev/nb_utils-7.1.8/","dependencies":["fluttertoast","connectivity_plus"],"dev_dependency":false},{"name":"open_file_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/open_file_web-0.0.4/","dependencies":[],"dev_dependency":false},{"name":"permission_handler_html","path":"/home/itc43/.pub-cache/hosted/pub.dev/permission_handler_html-0.1.3+5/","dependencies":[],"dev_dependency":false},{"name":"pointer_interceptor_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/pointer_interceptor_web-0.10.3/","dependencies":[],"dev_dependency":false},{"name":"printing","path":"/home/itc43/.pub-cache/hosted/pub.dev/printing-5.14.2/","dependencies":[],"dev_dependency":false},{"name":"restart_app","path":"/home/itc43/.pub-cache/hosted/pub.dev/restart_app-1.3.2/","dependencies":[],"dev_dependency":false},{"name":"share_plus","path":"/home/itc43/.pub-cache/hosted/pub.dev/share_plus-11.1.0/","dependencies":["url_launcher_web"],"dev_dependency":false},{"name":"shared_preferences_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/shared_preferences_web-2.4.3/","dependencies":[],"dev_dependency":false},{"name":"url_launcher_web","path":"/home/itc43/.pub-cache/hosted/pub.dev/url_launcher_web-2.4.1/","dependencies":[],"dev_dependency":false}]},"dependencyGraph":[{"name":"bluetooth_print_plus","dependencies":[]},{"name":"connectivity_plus","dependencies":[]},{"name":"file_picker","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"file_selector","dependencies":["file_selector_android","file_selector_ios","file_selector_linux","file_selector_macos","file_selector_web","file_selector_windows"]},{"name":"file_selector_android","dependencies":[]},{"name":"file_selector_ios","dependencies":[]},{"name":"file_selector_linux","dependencies":[]},{"name":"file_selector_macos","dependencies":[]},{"name":"file_selector_web","dependencies":[]},{"name":"file_selector_windows","dependencies":[]},{"name":"flutter_inappwebview","dependencies":["flutter_inappwebview_android","flutter_inappwebview_ios","flutter_inappwebview_macos","flutter_inappwebview_web","flutter_inappwebview_windows"]},{"name":"flutter_inappwebview_android","dependencies":[]},{"name":"flutter_inappwebview_ios","dependencies":[]},{"name":"flutter_inappwebview_macos","dependencies":[]},{"name":"flutter_inappwebview_web","dependencies":[]},{"name":"flutter_inappwebview_windows","dependencies":[]},{"name":"flutter_keyboard_visibility","dependencies":["flutter_keyboard_visibility_linux","flutter_keyboard_visibility_macos","flutter_keyboard_visibility_web","flutter_keyboard_visibility_windows"]},{"name":"flutter_keyboard_visibility_linux","dependencies":[]},{"name":"flutter_keyboard_visibility_macos","dependencies":[]},{"name":"flutter_keyboard_visibility_web","dependencies":[]},{"name":"flutter_keyboard_visibility_windows","dependencies":[]},{"name":"flutter_long_screenshot","dependencies":["path_provider","open_file","share_plus"]},{"name":"flutter_pdfview","dependencies":[]},{"name":"flutter_plugin_android_lifecycle","dependencies":[]},{"name":"fluttertoast","dependencies":[]},{"name":"image_picker","dependencies":["image_picker_android","image_picker_for_web","image_picker_ios","image_picker_linux","image_picker_macos","image_picker_windows"]},{"name":"image_picker_android","dependencies":["flutter_plugin_android_lifecycle"]},{"name":"image_picker_for_web","dependencies":[]},{"name":"image_picker_ios","dependencies":[]},{"name":"image_picker_linux","dependencies":["file_selector_linux"]},{"name":"image_picker_macos","dependencies":["file_selector_macos"]},{"name":"image_picker_windows","dependencies":["file_selector_windows"]},{"name":"mobile_scanner","dependencies":[]},{"name":"nb_utils","dependencies":["shared_preferences","fluttertoast","connectivity_plus"]},{"name":"open_file","dependencies":["open_file_android","open_file_web","open_file_ios","open_file_mac","open_file_windows","open_file_linux"]},{"name":"open_file_android","dependencies":[]},{"name":"open_file_ios","dependencies":[]},{"name":"open_file_linux","dependencies":[]},{"name":"open_file_mac","dependencies":[]},{"name":"open_file_web","dependencies":[]},{"name":"open_file_windows","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":"permission_handler","dependencies":["permission_handler_android","permission_handler_apple","permission_handler_html","permission_handler_windows"]},{"name":"permission_handler_android","dependencies":[]},{"name":"permission_handler_apple","dependencies":[]},{"name":"permission_handler_html","dependencies":[]},{"name":"permission_handler_windows","dependencies":[]},{"name":"pointer_interceptor","dependencies":["pointer_interceptor_ios","pointer_interceptor_web"]},{"name":"pointer_interceptor_ios","dependencies":[]},{"name":"pointer_interceptor_web","dependencies":[]},{"name":"print_bluetooth_thermal","dependencies":[]},{"name":"printing","dependencies":[]},{"name":"restart_app","dependencies":[]},{"name":"share_plus","dependencies":["url_launcher_web","url_launcher_windows","url_launcher_linux"]},{"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":"sqflite","dependencies":["sqflite_android","sqflite_darwin"]},{"name":"sqflite_android","dependencies":[]},{"name":"sqflite_darwin","dependencies":[]},{"name":"url_launcher","dependencies":["url_launcher_android","url_launcher_ios","url_launcher_linux","url_launcher_macos","url_launcher_web","url_launcher_windows"]},{"name":"url_launcher_android","dependencies":[]},{"name":"url_launcher_ios","dependencies":[]},{"name":"url_launcher_linux","dependencies":[]},{"name":"url_launcher_macos","dependencies":[]},{"name":"url_launcher_web","dependencies":[]},{"name":"url_launcher_windows","dependencies":[]},{"name":"webview_flutter","dependencies":["webview_flutter_android","webview_flutter_wkwebview"]},{"name":"webview_flutter_android","dependencies":[]},{"name":"webview_flutter_wkwebview","dependencies":[]}],"date_created":"2026-04-22 17:10:50.461499","version":"3.32.8","swift_package_manager_enabled":{"ios":false,"macos":false}} \ No newline at end of file diff --git a/build/d7b177071baaf4ee18da1044770cbdc7.cache.dill.track.dill b/build/d7b177071baaf4ee18da1044770cbdc7.cache.dill.track.dill deleted file mode 100644 index 5d773c5..0000000 Binary files a/build/d7b177071baaf4ee18da1044770cbdc7.cache.dill.track.dill and /dev/null differ diff --git a/lib/Screens/Due Calculation/Model/due_collection_model.dart b/lib/Screens/Due Calculation/Model/due_collection_model.dart index 7ec08cb..da95461 100644 --- a/lib/Screens/Due Calculation/Model/due_collection_model.dart +++ b/lib/Screens/Due Calculation/Model/due_collection_model.dart @@ -25,16 +25,16 @@ class DueCollection { this.branch}); DueCollection.fromJson(dynamic json) { - id = json['id']; - businessId = json['business_id']; - partyId = json['party_id']; - userId = json['user_id']; - saleId = json['sale_id']; - purchaseId = json['purchase_id']; - totalDue = json['totalDue']; - dueAmountAfterPay = json['dueAmountAfterPay']; - payDueAmount = json['payDueAmount']; - paymentTypeId = int.tryParse(json["payment_type_id"].toString()); + id = num.tryParse(json['id']?.toString() ?? ''); + businessId = num.tryParse(json['business_id']?.toString() ?? ''); + partyId = num.tryParse(json['party_id']?.toString() ?? ''); + userId = num.tryParse(json['user_id']?.toString() ?? ''); + saleId = num.tryParse(json['sale_id']?.toString() ?? ''); + purchaseId = num.tryParse(json['purchase_id']?.toString() ?? ''); + totalDue = num.tryParse(json['totalDue']?.toString() ?? ''); + dueAmountAfterPay = num.tryParse(json['dueAmountAfterPay']?.toString() ?? ''); + payDueAmount = num.tryParse(json['payDueAmount']?.toString() ?? ''); + paymentTypeId = int.tryParse(json["payment_type_id"]?.toString() ?? ''); // paymentType = json['paymentType']; paymentDate = json['paymentDate']; invoiceNumber = json['invoiceNumber']; @@ -131,7 +131,7 @@ class Branch { }); Branch.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); name = json['name']; phone = json['phone']; address = json['address']; diff --git a/lib/Screens/Purchase/Model/purchase_transaction_model.dart b/lib/Screens/Purchase/Model/purchase_transaction_model.dart index b40896a..2cd634c 100644 --- a/lib/Screens/Purchase/Model/purchase_transaction_model.dart +++ b/lib/Screens/Purchase/Model/purchase_transaction_model.dart @@ -35,24 +35,24 @@ class PurchaseTransaction { }); PurchaseTransaction.fromJson(dynamic json) { - id = json['id']; - partyId = json['party_id']; - businessId = json['business_id']; - userId = json['user_id']; - discountAmount = json['discountAmount']; - discountPercent = json['discount_percent']; - shippingCharge = json['shipping_charge']; + id = num.tryParse(json['id']?.toString() ?? ''); + partyId = num.tryParse(json['party_id']?.toString() ?? ''); + businessId = num.tryParse(json['business_id']?.toString() ?? ''); + userId = num.tryParse(json['user_id']?.toString() ?? ''); + discountAmount = num.tryParse(json['discountAmount']?.toString() ?? ''); + discountPercent = num.tryParse(json['discount_percent']?.toString() ?? ''); + shippingCharge = num.tryParse(json['shipping_charge']?.toString() ?? ''); discountType = json['discount_type']; - dueAmount = json['dueAmount']; - changeAmount = json['change_amount']; - vatAmount = json['vat_amount']; - vatPercent = json['vat_percent']; - vatId = json['vat_id']; - paidAmount = json['paidAmount']; - totalAmount = json['totalAmount']; + dueAmount = num.tryParse(json['dueAmount']?.toString() ?? ''); + changeAmount = num.tryParse(json['change_amount']?.toString() ?? ''); + vatAmount = num.tryParse(json['vat_amount']?.toString() ?? ''); + vatPercent = num.tryParse(json['vat_percent']?.toString() ?? ''); + vatId = num.tryParse(json['vat_id']?.toString() ?? ''); + paidAmount = num.tryParse(json['paidAmount']?.toString() ?? ''); + totalAmount = num.tryParse(json['totalAmount']?.toString() ?? ''); invoiceNumber = json['invoiceNumber']; isPaid = json['isPaid']; - paymentTypeId = int.tryParse(json["payment_type_id"].toString()); + paymentTypeId = int.tryParse(json["payment_type_id"]?.toString() ?? ''); vat = json['vat'] != null ? PurchaseVat.fromJson(json['vat']) : null; purchaseDate = json['purchaseDate']; @@ -137,19 +137,19 @@ class PurchaseDetails { }); PurchaseDetails.fromJson(dynamic json) { - id = json['id']; - purchaseId = json['purchase_id']; - productId = json['product_id']; - productPurchasePrice = json['productPurchasePrice']; - quantities = json['quantities']; - productDealerPrice = json['productDealerPrice']; - productSalePrice = json['productSalePrice']; - productStock = json['productStock']; - profitPercent = json['profit_percent']; + id = num.tryParse(json['id']?.toString() ?? ''); + purchaseId = num.tryParse(json['purchase_id']?.toString() ?? ''); + productId = num.tryParse(json['product_id']?.toString() ?? ''); + productPurchasePrice = num.tryParse(json['productPurchasePrice']?.toString() ?? ''); + quantities = num.tryParse(json['quantities']?.toString() ?? ''); + productDealerPrice = num.tryParse(json['productDealerPrice']?.toString() ?? ''); + productSalePrice = num.tryParse(json['productSalePrice']?.toString() ?? ''); + productStock = num.tryParse(json['productStock']?.toString() ?? ''); + profitPercent = num.tryParse(json['profit_percent']?.toString() ?? ''); mfgDate = json['mfg_date']; expireDate = json['expire_date']; - stockId = json['stock_id']; // Added - productWholeSalePrice = json['productWholeSalePrice']; + stockId = num.tryParse(json['stock_id']?.toString() ?? ''); // Added + productWholeSalePrice = num.tryParse(json['productWholeSalePrice']?.toString() ?? ''); product = json['product'] != null ? Product.fromJson(json['product']) : null; stock = json['stock'] != null ? PurchaseStock.fromJson(json['stock']) : null; } @@ -198,11 +198,11 @@ class Product { }); Product.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); productName = json['productName']; productType = json['product_type']; - categoryId = json['category_id']; - vatAmount = json['vat_amount']; + categoryId = num.tryParse(json['category_id']?.toString() ?? ''); + vatAmount = num.tryParse(json['vat_amount']?.toString() ?? ''); vatType = json['vat_type']; category = json['category'] != null ? Category.fromJson(json['category']) : null; @@ -238,7 +238,7 @@ class Category { }); Category.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); categoryName = json['categoryName']; } @@ -262,10 +262,10 @@ class PurchaseStock { }); PurchaseStock.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); batchNo = json['batch_no'] ?? 'N/A'; variantName = json['variant_name']; // Added - warehouseId = json['warehouse_id']; // Added + warehouseId = num.tryParse(json['warehouse_id']?.toString() ?? ''); // Added } num? id; @@ -285,7 +285,7 @@ class Party { }); Party.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); name = json['name']; email = json['email']; phone = json['phone']; @@ -320,7 +320,7 @@ class User { }); User.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); name = json['name']; role = json['role']; } @@ -347,7 +347,7 @@ class Branch { }); Branch.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); name = json['name']; phone = json['phone']; address = json['address']; @@ -372,9 +372,9 @@ class PurchaseReturn { }); PurchaseReturn.fromJson(dynamic json) { - id = json['id']; - businessId = json['business_id']; - purchaseId = json['purchase_id']; + id = num.tryParse(json['id']?.toString() ?? ''); + businessId = num.tryParse(json['business_id']?.toString() ?? ''); + purchaseId = num.tryParse(json['purchase_id']?.toString() ?? ''); invoiceNo = json['invoice_no']; returnDate = json['return_date']; createdAt = json['created_at']; @@ -423,12 +423,12 @@ class PurchaseReturnDetails { }); PurchaseReturnDetails.fromJson(dynamic json) { - id = json['id']; - businessId = json['business_id']; - purchaseReturnId = json['purchase_return_id']; - purchaseDetailId = json['purchase_detail_id']; - returnAmount = json['return_amount']; - returnQty = json['return_qty']; + id = num.tryParse(json['id']?.toString() ?? ''); + businessId = num.tryParse(json['business_id']?.toString() ?? ''); + purchaseReturnId = num.tryParse(json['purchase_return_id']?.toString() ?? ''); + purchaseDetailId = num.tryParse(json['purchase_detail_id']?.toString() ?? ''); + returnAmount = num.tryParse(json['return_amount']?.toString() ?? ''); + returnQty = num.tryParse(json['return_qty']?.toString() ?? ''); } num? id; @@ -458,9 +458,9 @@ class PurchaseVat { }); PurchaseVat.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); name = json['name']; - rate = json['rate']; + rate = num.tryParse(json['rate']?.toString() ?? ''); } num? id; @@ -475,7 +475,7 @@ class PaymentType { }); PaymentType.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); name = json['name']; } @@ -491,9 +491,9 @@ class PurchaseProductVat { }); PurchaseProductVat.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); name = json['name']; - rate = json['rate']; + rate = num.tryParse(json['rate']?.toString() ?? ''); } num? id; diff --git a/lib/Screens/all_transaction/model/transaction_model.dart b/lib/Screens/all_transaction/model/transaction_model.dart index a90dc57..8ed27d2 100644 --- a/lib/Screens/all_transaction/model/transaction_model.dart +++ b/lib/Screens/all_transaction/model/transaction_model.dart @@ -21,9 +21,9 @@ class TransactionModel { factory TransactionModel.fromJson(Map json) { return TransactionModel( message: json['message'], - totalAmount: json['total_amount'], - moneyIn: json['money_in'], - moneyOut: json['money_out'], + totalAmount: num.tryParse(json['total_amount']?.toString() ?? ''), + moneyIn: num.tryParse(json['money_in']?.toString() ?? ''), + moneyOut: num.tryParse(json['money_out']?.toString() ?? ''), data: json['data'] != null ? List.from( json['data'].map((v) => TransactionModelData.fromJson(v)), @@ -105,20 +105,20 @@ class TransactionModelData { final _partyKey = json['sale']?['party'] ?? json['purchase']?['party'] ?? json['due_collect']?['party']; return TransactionModelData( - id: json['id'], + id: num.tryParse(json['id']?.toString() ?? ''), platform: json['platform'], transactionType: json['transaction_type'], type: json['type'], - amount: json['amount'], - totalAmount: json['total_amount'], + amount: num.tryParse(json['amount']?.toString() ?? ''), + totalAmount: num.tryParse(json['total_amount']?.toString() ?? ''), date: json['date'], - businessId: json['business_id'], - branchId: json['branch_id'], - paymentTypeId: json['payment_type_id'], - userId: json['user_id'], + businessId: num.tryParse(json['business_id']?.toString() ?? ''), + branchId: num.tryParse(json['branch_id']?.toString() ?? ''), + paymentTypeId: num.tryParse(json['payment_type_id']?.toString() ?? ''), + userId: num.tryParse(json['user_id']?.toString() ?? ''), fromBank: json['from_bank'], - toBank: json['to_bank'], - referenceId: json['reference_id'], + toBank: int.tryParse(json['to_bank']?.toString() ?? ''), + referenceId: num.tryParse(json['reference_id']?.toString() ?? ''), invoiceNo: json['invoice_no'], image: json['image'], note: json['note'], diff --git a/lib/model/balance_sheet_model.dart b/lib/model/balance_sheet_model.dart index 5f5687f..d4344e1 100644 --- a/lib/model/balance_sheet_model.dart +++ b/lib/model/balance_sheet_model.dart @@ -6,7 +6,7 @@ class BalanceSheetModel { factory BalanceSheetModel.fromJson(Map json) { return BalanceSheetModel( - totalAsset: json["total_asset"], + totalAsset: num.tryParse(json["total_asset"].toString()), data: json["asset_datas"] == null ? [] : List.from(json["asset_datas"]!.map((x) => AssetData.fromJson(x))), @@ -40,8 +40,8 @@ class AssetData { if (stocks is List && stocks.isNotEmpty) { final _firstStock = stocks.first as Map; - final _purchasePrice = (_firstStock["productPurchasePrice"] as num?) ?? 0; - final _stockQty = (_firstStock["productStock"] as num?) ?? 0; + final _purchasePrice = num.tryParse(_firstStock["productPurchasePrice"].toString()) ?? 0; + final _stockQty = num.tryParse(_firstStock["productStock"].toString()) ?? 0; _amount = _purchasePrice * _stockQty; } @@ -51,8 +51,8 @@ class AssetData { if (comboProducts is List) { _amount = comboProducts.fold(0, (sum, item) { if (item is Map) { - final _price = (item["purchase_price"] as num?) ?? 0; - final _qty = (item["quantity"] as num?) ?? 0; + final _price = num.tryParse(item["purchase_price"].toString()) ?? 0; + final _qty = num.tryParse(item["quantity"].toString()) ?? 0; return sum + (_price * _qty); } return sum; @@ -60,7 +60,7 @@ class AssetData { } } } else if (_source == "bank") { - _amount = (json["balance"] as num?) ?? 0; + _amount = num.tryParse(json["balance"].toString()) ?? 0; } return AssetData( diff --git a/lib/model/bill_wise_loss_profit_report_model.dart b/lib/model/bill_wise_loss_profit_report_model.dart index 6fe06b8..38f5300 100644 --- a/lib/model/bill_wise_loss_profit_report_model.dart +++ b/lib/model/bill_wise_loss_profit_report_model.dart @@ -13,9 +13,9 @@ class BillWiseLossProfitReportModel { factory BillWiseLossProfitReportModel.fromJson(Map json) { return BillWiseLossProfitReportModel( - totalSaleAmount: json["total_amount"], - totalProfit: json['total_bill_profit'], - totalLoss: json['total_bill_loss'], + totalSaleAmount: num.tryParse(json["total_amount"].toString()), + totalProfit: num.tryParse(json['total_bill_profit'].toString()), + totalLoss: num.tryParse(json['total_bill_loss'].toString()), transactions: json['data'] == null ? null : List.from(json['data'].map((x) => TransactionModel.fromJson(x))), @@ -50,8 +50,8 @@ class TransactionModel { partyName: json['party']?['name'], invoiceNumber: json['invoiceNumber'], transactionDate: json["saleDate"] == null ? null : DateTime.parse(json['saleDate']), - totalAmount: json['totalAmount'], - lossProfit: json['lossProfit'], + totalAmount: num.tryParse(json['totalAmount'].toString()), + lossProfit: num.tryParse(json['lossProfit'].toString()), items: json['details'] == null ? null : List.from(json['details'].map((x) => TransactionItem.fromJson(x))), @@ -82,10 +82,10 @@ class TransactionItem { return TransactionItem( id: json['id'], name: json['product']?['productName'], - quantity: json['quantities'], - purchasePrice: json['productPurchasePrice'], - salesPrice: json['price'], - lossProfit: json['lossProfit'], + quantity: int.tryParse(json['quantities'].toString()), + purchasePrice: num.tryParse(json['productPurchasePrice'].toString()), + salesPrice: num.tryParse(json['price'].toString()), + lossProfit: num.tryParse(json['lossProfit'].toString()), ); } } diff --git a/lib/model/cashflow_model.dart b/lib/model/cashflow_model.dart index ee30429..3938c6f 100644 --- a/lib/model/cashflow_model.dart +++ b/lib/model/cashflow_model.dart @@ -15,10 +15,10 @@ class CashflowModel { factory CashflowModel.fromJson(Map json) { return CashflowModel( - cashIn: json["cash_in"], - cashOut: json["cash_out"], - runningCash: json["running_cash"], - initialRunningCash: json["initial_running_cash"], + cashIn: num.tryParse(json["cash_in"].toString()), + cashOut: num.tryParse(json["cash_out"].toString()), + runningCash: num.tryParse(json["running_cash"].toString()), + initialRunningCash: num.tryParse(json["initial_running_cash"].toString()), data: json["data"] == null ? [] : List.from(json["data"]!.map((x) => CashflowData.fromJson(x))), ); } @@ -55,7 +55,7 @@ class CashflowData { platform: json["platform"], transactionType: json["transaction_type"], type: json["type"], - amount: json["amount"], + amount: num.tryParse(json["amount"].toString()), date: json["date"] == null ? null : DateTime.parse(json["date"]), invoiceNo: json["invoice_no"], paymentType: json["payment_type"]?["name"], diff --git a/lib/model/loss_profit_model.dart b/lib/model/loss_profit_model.dart index c087660..47911da 100644 --- a/lib/model/loss_profit_model.dart +++ b/lib/model/loss_profit_model.dart @@ -29,13 +29,13 @@ class LossProfitModel { expenseSummary: json["mergedExpenseData"] == null ? [] : List.from(json["mergedExpenseData"]!.map((x) => ExpenseSummaryModel.fromJson(x))), - grossSalProfit: json["grossSaleProfit"], - grossIncomeProfit: json['grossIncomeProfit'], - totalExpenses: json['totalExpenses'], - netProfit: json['netProfit'], - cartGrossProfit: json['cardGrossProfit'], - totalCardExpense: json['totalCardExpenses'], - cardNetProfit: json['cardNetProfit'], + grossSalProfit: num.tryParse(json["grossSaleProfit"].toString()), + grossIncomeProfit: num.tryParse(json['grossIncomeProfit'].toString()), + totalExpenses: num.tryParse(json['totalExpenses'].toString()), + netProfit: num.tryParse(json['netProfit'].toString()), + cartGrossProfit: num.tryParse(json['cardGrossProfit'].toString()), + totalCardExpense: num.tryParse(json['totalCardExpenses'].toString()), + cardNetProfit: num.tryParse(json['cardNetProfit'].toString()), ); } } @@ -51,7 +51,7 @@ class IncomeSummaryModel { return IncomeSummaryModel( type: json["type"], date: json["date"], - totalIncome: json["total_incomes"], + totalIncome: num.tryParse(json["total_incomes"].toString()), ); } } @@ -67,7 +67,7 @@ class ExpenseSummaryModel { return ExpenseSummaryModel( type: json["type"], date: json["date"], - totalExpense: json["total_expenses"], + totalExpense: num.tryParse(json["total_expenses"].toString()), ); } } diff --git a/lib/model/product_history_model.dart b/lib/model/product_history_model.dart index 6ef78dd..16fd6e7 100644 --- a/lib/model/product_history_model.dart +++ b/lib/model/product_history_model.dart @@ -23,8 +23,8 @@ class ProductHistoryListModel { factory ProductHistoryListModel.fromJson(Map json) { return ProductHistoryListModel( - totalPurchaseQuantity: json['total_purchase_qty'], - totalSaleQuantity: json['total_sale_qty'], + totalPurchaseQuantity: int.tryParse(json['total_purchase_qty']?.toString() ?? ''), + totalSaleQuantity: int.tryParse(json['total_sale_qty']?.toString() ?? ''), items: json['data'] == null ? null : List.from(json['data']!.map((x) => ProductHistoryItemModel.fromJson(x))), @@ -54,34 +54,40 @@ class ProductHistoryItemModel { factory ProductHistoryItemModel.fromJson(Map json) { final int _totalPurchaseQuantity = json["purchase_details"] == null ? 0 - : (json["purchase_details"] as List).fold(0, (p, ev) => p + (ev["quantities"] as int? ?? 0)); + : (json["purchase_details"] as List) + .fold(0, (p, ev) => p + (int.tryParse(ev["quantities"]?.toString() ?? '') ?? 0)); final int _totalSaleQuantity = json["sale_details"] == null ? 0 - : (json["sale_details"] as List).fold(0, (p, ev) => p + (ev["quantities"] as int? ?? 0)); + : (json["sale_details"] as List) + .fold(0, (p, ev) => p + (int.tryParse(ev["quantities"]?.toString() ?? '') ?? 0)); final _remainingQuantity = switch (json["product_type"]?.trim().toLowerCase()) { "combo" => json["combo_products"] == null ? 0 : (json["combo_products"] as List).fold(0, (p, ev) { - return p + (ev["stock"]?["productStock"] as int? ?? 0); + return p + (int.tryParse(ev["stock"]?["productStock"]?.toString() ?? '') ?? 0); }), - _ => json["stocks"] == null ? null : (json["stocks"] as List).firstOrNull?["productStock"] as int? ?? 0, + _ => json["stocks"] == null + ? null + : int.tryParse((json["stocks"] as List).firstOrNull?["productStock"]?.toString() ?? '') ?? 0, }; final _salePrice = switch (json["product_type"]?.trim().toLowerCase()) { - "combo" => json["productSalePrice"] ?? 0, - _ => - json["stocks"] == null ? null : (json["stocks"] as List).firstOrNull?["productSalePrice"] as num? ?? 0, + "combo" => num.tryParse(json["productSalePrice"]?.toString() ?? '') ?? 0, + _ => json["stocks"] == null + ? null + : num.tryParse((json["stocks"] as List).firstOrNull?["productSalePrice"]?.toString() ?? '') ?? 0, }; final _purchasePrice = switch (json["product_type"]?.trim().toLowerCase()) { "combo" => json["combo_products"] == null ? 0 - : (json["combo_products"] as List).fold(0, (p, ev) => p + (ev["purchase_price"] as num? ?? 0)), + : (json["combo_products"] as List) + .fold(0, (p, ev) => p + (num.tryParse(ev["purchase_price"]?.toString() ?? '') ?? 0)), _ => json["stocks"] == null ? null - : (json["stocks"] as List).firstOrNull?["productPurchasePrice"] as num? ?? 0, + : num.tryParse((json["stocks"] as List).firstOrNull?["productPurchasePrice"]?.toString() ?? '') ?? 0, }; return ProductHistoryItemModel( @@ -116,9 +122,9 @@ class ProductHistoryDetailsModel { final _detailsKey = _json["sale_details"] ?? _json["purchase_details"]; return ProductHistoryDetailsModel( - totalQuantities: j['total_quantities'], - totalSalePrice: j['total_sale_price'], - totalPurchasePrice: j['total_purchase_price'], + totalQuantities: int.tryParse(j['total_quantities']?.toString() ?? ''), + totalSalePrice: num.tryParse(j['total_sale_price']?.toString() ?? ''), + totalPurchasePrice: num.tryParse(j['total_purchase_price']?.toString() ?? ''), productName: _json?["productName"], items: _detailsKey == null ? null @@ -155,9 +161,9 @@ class ProductHistoryDetailsItem { invoiceNo: _invoiceKey, type: 'Purchase', transactionDate: _transactionDate != null ? DateTime.parse(_transactionDate) : null, - quantities: json['quantities'], - salePrice: json['price'], - purchasePrice: json['productPurchasePrice'], + quantities: int.tryParse(json['quantities']?.toString() ?? ''), + salePrice: num.tryParse(json['price']?.toString() ?? ''), + purchasePrice: num.tryParse(json['productPurchasePrice']?.toString() ?? ''), ); } } diff --git a/lib/model/subscription_report_model.dart b/lib/model/subscription_report_model.dart index 783c97f..cff3189 100644 --- a/lib/model/subscription_report_model.dart +++ b/lib/model/subscription_report_model.dart @@ -17,7 +17,7 @@ class SubscriptionReportModel { factory SubscriptionReportModel.fromJson(Map json) { final _startDate = json["created_at"] == null ? null : DateTime.parse(json['created_at']); - final int _duration = json['duration'] ?? 0; + final int _duration = int.tryParse(json['duration']?.toString() ?? '') ?? 0; return SubscriptionReportModel( id: json['id'], diff --git a/lib/model/tax_report_model.dart b/lib/model/tax_report_model.dart index 4a3788b..9528185 100644 --- a/lib/model/tax_report_model.dart +++ b/lib/model/tax_report_model.dart @@ -18,16 +18,16 @@ class TaxReportModel { overviews: [ // Sales OverviewModel( - totalAmount: json['sales_total_amount'] ?? 0, - totalDiscount: json['sales_total_discount'] ?? 0, - totalVat: json['sales_total_vat'] ?? 0, + totalAmount: num.tryParse(json['sales_total_amount'].toString()) ?? 0, + totalDiscount: num.tryParse(json['sales_total_discount'].toString()) ?? 0, + totalVat: num.tryParse(json['sales_total_vat'].toString()) ?? 0, ), // Purchase OverviewModel( - totalAmount: json['purchases_total_amount'] ?? 0, - totalDiscount: json['purchases_total_discount'] ?? 0, - totalVat: json['purchases_total_vat'] ?? 0, + totalAmount: num.tryParse(json['purchases_total_amount'].toString()) ?? 0, + totalDiscount: num.tryParse(json['purchases_total_discount'].toString()) ?? 0, + totalVat: num.tryParse(json['purchases_total_vat'].toString()) ?? 0, ), ], ); @@ -63,10 +63,10 @@ class InvoiceModel { partyName: json['party']?['name'], invoiceNumber: json['invoiceNumber'], transactionDate: _dateKey == null ? null : DateTime.parse(_dateKey), - amount: json['totalAmount'], - discountAmount: json['discountAmount'], + amount: num.tryParse(json['totalAmount'].toString()), + discountAmount: num.tryParse(json['discountAmount'].toString()), vatName: json['vat']?['name'], - vatAmount: json['vat_amount'], + vatAmount: num.tryParse(json['vat_amount'].toString()), ); } } diff --git a/lib/widgets/multipal payment mathods/model/payment_transaction_model.dart b/lib/widgets/multipal payment mathods/model/payment_transaction_model.dart index 45c817e..034191e 100644 --- a/lib/widgets/multipal payment mathods/model/payment_transaction_model.dart +++ b/lib/widgets/multipal payment mathods/model/payment_transaction_model.dart @@ -24,14 +24,14 @@ class PaymentsTransaction { }); PaymentsTransaction.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); platform = json['platform']; transactionType = json['transaction_type']; - amount = num.tryParse(json['amount'].toString()); + amount = num.tryParse(json['amount']?.toString() ?? ''); date = json['date']; invoiceNo = json['invoice_no']; - referenceId = json['reference_id']; - paymentTypeId = json['payment_type_id']; + referenceId = num.tryParse(json['reference_id']?.toString() ?? ''); + paymentTypeId = num.tryParse(json['payment_type_id']?.toString() ?? ''); meta = json['meta'] != null ? TransactionMeta.fromJson(json['meta']) : null; paymentType = json['payment_type'] != null ? PaymentType.fromJson(json['payment_type']) : null; } @@ -63,7 +63,7 @@ class PaymentType { }); PaymentType.fromJson(dynamic json) { - id = json['id']; + id = num.tryParse(json['id']?.toString() ?? ''); name = json['name']; paymentTypeMeta = json['meta'] != null ? PaymentTypeMeta.fromJson(json['meta']) : null; }