From 719fd72c3868127c1e446351a903a065cf0afc53 Mon Sep 17 00:00:00 2001 From: Eric Windmill Date: Wed, 12 Feb 2025 18:08:01 -0500 Subject: [PATCH] Flutter 3.29 beta (#2571) --- .../flutter_module_using_plugin/lib/cell.dart | 35 +- .../flutter_module_using_plugin/lib/main.dart | 20 +- .../flutter_module_using_plugin/pubspec.yaml | 2 +- .../books/flutter_module_books/lib/main.dart | 94 +- .../books/flutter_module_books/pubspec.yaml | 2 +- .../test/widget_test.dart | 8 +- .../fullscreen/flutter_module/lib/main.dart | 16 +- .../fullscreen/flutter_module/pubspec.yaml | 2 +- .../multiple_flutters_module/lib/main.dart | 13 +- .../multiple_flutters_module/pubspec.yaml | 2 +- .../flutter_module_using_plugin/lib/cell.dart | 18 +- .../flutter_module_using_plugin/lib/main.dart | 16 +- .../flutter_module_using_plugin/pubspec.yaml | 2 +- .../flutter_module/lib/main.dart | 16 +- .../flutter_module/pubspec.yaml | 2 +- analysis_defaults/pubspec.yaml | 2 +- android_splash_screen/lib/main.dart | 21 +- android_splash_screen/pubspec.yaml | 2 +- animations/lib/main.dart | 26 +- .../lib/src/basics/animated_builder.dart | 14 +- .../lib/src/basics/animated_container.dart | 8 +- .../lib/src/basics/animation_controller.dart | 6 +- animations/lib/src/basics/custom_tween.dart | 6 +- .../lib/src/basics/fade_transition.dart | 29 +- .../lib/src/basics/page_route_builder.dart | 20 +- animations/lib/src/basics/tween_sequence.dart | 4 +- animations/lib/src/basics/tweens.dart | 26 +- animations/lib/src/misc/animated_list.dart | 55 +- .../lib/src/misc/animated_positioned.dart | 10 +- .../lib/src/misc/animated_switcher.dart | 36 +- animations/lib/src/misc/card_swipe.dart | 43 +- animations/lib/src/misc/carousel.dart | 49 +- animations/lib/src/misc/curved_animation.dart | 88 +- animations/lib/src/misc/expand_card.dart | 33 +- animations/lib/src/misc/flutter_animate.dart | 12 +- animations/lib/src/misc/focus_image.dart | 38 +- animations/lib/src/misc/hero_animation.dart | 25 +- .../lib/src/misc/physics_card_drag.dart | 48 +- .../lib/src/misc/repeating_animation.dart | 7 +- animations/pubspec.yaml | 2 +- .../test/basics/animated_builder_test.dart | 5 +- animations/test/misc/animated_list_test.dart | 115 +- .../test/misc/animated_positioned_test.dart | 5 +- animations/test/misc/card_swipe_test.dart | 4 +- animations/test/misc/carousel_test.dart | 4 +- animations/test/misc/expand_card_test.dart | 9 +- animations/test/misc/focus_image_test.dart | 9 +- animations/test/misc/hero_animation_test.dart | 19 +- .../bin/grayscale_transformer.dart | 13 +- .../grayscale_transformer/pubspec.yaml | 2 +- asset_transformation/pubspec.yaml | 2 +- background_isolate_channels/lib/main.dart | 12 +- .../lib/simple_database.dart | 23 +- background_isolate_channels/pubspec.yaml | 2 +- code_sharing/client/lib/main.dart | 43 +- code_sharing/client/pubspec.yaml | 2 +- code_sharing/server/bin/server.dart | 12 +- code_sharing/server/pubspec.yaml | 2 +- code_sharing/server/test/server_test.dart | 4 +- .../shared/lib/src/models.freezed.dart | 108 +- code_sharing/shared/lib/src/models.g.dart | 17 +- code_sharing/shared/pubspec.yaml | 2 +- .../integration_test/app_local_data_test.dart | 21 +- .../app_server_data_test.dart | 21 +- compass_app/app/lib/config/dependencies.dart | 113 +- .../activity/activity_repository_local.dart | 12 +- .../activity/activity_repository_remote.dart | 5 +- .../repositories/auth/auth_repository.dart | 5 +- .../auth/auth_repository_remote.dart | 11 +- .../booking/booking_repository_local.dart | 14 +- .../booking/booking_repository_remote.dart | 42 +- .../continent/continent_repository_local.dart | 5 +- .../continent_repository_remote.dart | 5 +- .../destination_repository_local.dart | 5 +- .../destination_repository_remote.dart | 5 +- .../user/user_repository_local.dart | 5 +- .../user/user_repository_remote.dart | 4 +- .../app/lib/data/services/api/api_client.dart | 24 +- .../data/services/api/auth_api_client.dart | 11 +- .../booking/booking_api_model.freezed.dart | 227 +- .../model/booking/booking_api_model.g.dart | 39 +- .../login_request/login_request.freezed.dart | 88 +- .../model/login_request/login_request.g.dart | 5 +- .../login_response.freezed.dart | 88 +- .../login_response/login_response.g.dart | 5 +- .../model/user/user_api_model.freezed.dart | 129 +- .../lib/domain/models/activity/activity.dart | 8 +- .../models/activity/activity.freezed.dart | 325 +- .../models/booking/booking.freezed.dart | 183 +- .../lib/domain/models/booking/booking.g.dart | 12 +- .../booking/booking_summary.freezed.dart | 135 +- .../models/booking/booking_summary.g.dart | 14 +- .../models/continent/continent.freezed.dart | 83 +- .../domain/models/continent/continent.g.dart | 5 +- .../destination/destination.freezed.dart | 242 +- .../itinerary_config.freezed.dart | 227 +- .../itinerary_config/itinerary_config.g.dart | 45 +- .../lib/domain/models/user/user.freezed.dart | 79 +- .../app/lib/domain/models/user/user.g.dart | 11 +- .../booking/booking_create_use_case.dart | 27 +- .../booking/booking_share_use_case.dart | 3 +- compass_app/app/lib/main_development.dart | 7 +- compass_app/app/lib/main_staging.dart | 7 +- compass_app/app/lib/routing/router.dart | 149 +- .../view_models/activities_viewmodel.dart | 74 +- .../activities/widgets/activities_list.dart | 40 +- .../activities/widgets/activities_screen.dart | 34 +- .../activities/widgets/activities_title.dart | 6 +- .../ui/activities/widgets/activity_entry.dart | 2 +- .../login/view_models/login_viewmodel.dart | 5 +- .../ui/auth/login/widgets/login_screen.dart | 37 +- .../logout/view_models/logout_viewmodel.dart | 9 +- .../ui/auth/logout/widgets/logout_button.dart | 5 +- .../view_models/booking_viewmodel.dart | 8 +- .../lib/ui/booking/widgets/booking_body.dart | 20 +- .../ui/booking/widgets/booking_header.dart | 59 +- .../ui/booking/widgets/booking_screen.dart | 45 +- .../ui/core/localization/applocalization.dart | 2 - .../app/lib/ui/core/themes/colors.dart | 5 +- .../app/lib/ui/core/themes/dimens.dart | 15 +- compass_app/app/lib/ui/core/themes/theme.dart | 25 +- .../app/lib/ui/core/ui/back_button.dart | 6 +- .../app/lib/ui/core/ui/custom_checkbox.dart | 7 +- .../app/lib/ui/core/ui/error_indicator.dart | 4 +- .../app/lib/ui/core/ui/home_button.dart | 5 +- .../app/lib/ui/core/ui/scroll_behavior.dart | 8 +- .../app/lib/ui/core/ui/search_bar.dart | 10 +- compass_app/app/lib/ui/core/ui/tag_chip.dart | 36 +- .../ui/home/view_models/home_viewmodel.dart | 4 +- .../app/lib/ui/home/widgets/home_screen.dart | 70 +- .../app/lib/ui/home/widgets/home_title.dart | 29 +- .../view_models/results_viewmodel.dart | 28 +- .../lib/ui/results/widgets/result_card.dart | 24 +- .../ui/results/widgets/results_screen.dart | 49 +- .../view_models/search_form_viewmodel.dart | 9 +- .../widgets/search_form_continent.dart | 13 +- .../search_form/widgets/search_form_date.dart | 7 +- .../widgets/search_form_guests.dart | 29 +- .../widgets/search_form_screen.dart | 5 +- .../widgets/search_form_submit.dart | 30 +- .../app/macos/Runner/Release.entitlements | 2 + compass_app/app/pubspec.yaml | 2 +- .../booking_repository_remote_test.dart | 4 +- .../data/services/api/api_client_test.dart | 5 +- .../services/api/auth_api_client_test.dart | 16 +- .../ui/activities/activities_screen_test.dart | 5 +- .../app/test/ui/auth/login_screen_test.dart | 4 +- .../app/test/ui/auth/logout_button_test.dart | 3 +- .../test/ui/booking/booking_screen_test.dart | 5 +- .../test/ui/results/results_screen_test.dart | 5 +- .../widgets/search_form_continent_test.dart | 5 +- .../widgets/search_form_date_test.dart | 18 +- .../widgets/search_form_screen_test.dart | 9 +- compass_app/app/test/utils/command_test.dart | 10 +- compass_app/app/testing/app.dart | 4 +- .../fake_continent_repository.dart | 12 +- .../fake_itinerary_config_repository.dart | 3 +- .../fakes/services/fake_api_client.dart | 42 +- compass_app/app/testing/mocks.dart | 10 +- compass_app/app/testing/models/user.dart | 5 +- compass_app/server/bin/compass_server.dart | 13 +- compass_app/server/lib/middleware/auth.dart | 20 +- .../server/lib/model/activity/activity.dart | 8 +- .../lib/model/activity/activity.freezed.dart | 325 +- .../lib/model/booking/booking.freezed.dart | 216 +- .../server/lib/model/booking/booking.g.dart | 7 +- .../model/continent/continent.freezed.dart | 83 +- .../lib/model/continent/continent.g.dart | 5 +- .../destination/destination.freezed.dart | 242 +- .../login_request/login_request.freezed.dart | 88 +- .../model/login_request/login_request.g.dart | 5 +- .../login_response.freezed.dart | 88 +- .../login_response/login_response.g.dart | 5 +- .../server/lib/model/user/user.freezed.dart | 121 +- compass_app/server/lib/model/user/user.g.dart | 10 +- compass_app/server/lib/routes/booking.dart | 22 +- .../server/lib/routes/destination.dart | 7 +- compass_app/server/lib/routes/login.dart | 5 +- compass_app/server/pubspec.yaml | 2 +- compass_app/server/test/server_test.dart | 45 +- context_menus/lib/anywhere_page.dart | 9 +- context_menus/lib/cascading_menu_page.dart | 74 +- context_menus/lib/context_menu_region.dart | 4 +- context_menus/lib/custom_buttons_page.dart | 43 +- context_menus/lib/custom_menu_page.dart | 27 +- context_menus/lib/default_values_page.dart | 27 +- context_menus/lib/email_button_page.dart | 31 +- context_menus/lib/field_types_page.dart | 33 +- context_menus/lib/full_page.dart | 82 +- context_menus/lib/global_selection_page.dart | 12 +- context_menus/lib/image_page.dart | 19 +- context_menus/lib/main.dart | 72 +- context_menus/lib/modified_action_page.dart | 29 +- context_menus/lib/platform_selector.dart | 33 +- context_menus/lib/reordered_buttons_page.dart | 25 +- context_menus/pubspec.yaml | 2 +- .../test/cascading_menu_page_test.dart | 213 +- .../test/custom_buttons_page_test.dart | 11 +- context_menus/test/custom_menu_page_test.dart | 14 +- .../test/default_values_page_test.dart | 19 +- .../test/email_button_page_test.dart | 33 +- context_menus/test/field_types_page_test.dart | 28 +- .../test/global_selection_page_test.dart | 12 +- context_menus/test/utils.dart | 9 +- deeplink_store_example/lib/main.dart | 5 +- .../lib/model/products_repository.dart | 52 +- .../lib/product_category_list.dart | 16 +- .../lib/product_details.dart | 5 +- deeplink_store_example/lib/product_list.dart | 11 +- deeplink_store_example/lib/row_item.dart | 15 +- deeplink_store_example/pubspec.yaml | 2 +- desktop_photo_search/fluent_ui/lib/main.dart | 81 +- .../fluent_ui/lib/src/model/search.dart | 4 +- .../fluent_ui/lib/src/model/search.g.dart | 66 +- .../fluent_ui/lib/src/serializers.g.dart | 67 +- .../fluent_ui/lib/src/unsplash/api_error.dart | 4 +- .../lib/src/unsplash/api_error.g.dart | 47 +- .../unsplash/current_user_collections.dart | 13 +- .../unsplash/current_user_collections.g.dart | 97 +- .../fluent_ui/lib/src/unsplash/exif.dart | 4 +- .../fluent_ui/lib/src/unsplash/exif.g.dart | 116 +- .../fluent_ui/lib/src/unsplash/links.dart | 4 +- .../fluent_ui/lib/src/unsplash/links.g.dart | 80 +- .../fluent_ui/lib/src/unsplash/location.dart | 4 +- .../lib/src/unsplash/location.g.dart | 67 +- .../fluent_ui/lib/src/unsplash/photo.dart | 4 +- .../fluent_ui/lib/src/unsplash/photo.g.dart | 291 +- .../fluent_ui/lib/src/unsplash/position.dart | 4 +- .../lib/src/unsplash/position.g.dart | 60 +- .../src/unsplash/search_photos_response.dart | 13 +- .../unsplash/search_photos_response.g.dart | 74 +- .../fluent_ui/lib/src/unsplash/tags.dart | 4 +- .../fluent_ui/lib/src/unsplash/tags.g.dart | 39 +- .../fluent_ui/lib/src/unsplash/unsplash.dart | 66 +- .../fluent_ui/lib/src/unsplash/urls.dart | 4 +- .../fluent_ui/lib/src/unsplash/urls.g.dart | 91 +- .../fluent_ui/lib/src/unsplash/user.dart | 4 +- .../fluent_ui/lib/src/unsplash/user.g.dart | 186 +- .../lib/src/widgets/photo_details.dart | 22 +- .../lib/src/widgets/photo_search_dialog.dart | 55 +- .../lib/src/widgets/policy_dialog.dart | 45 +- .../fluent_ui/lib/src/widgets/split.dart | 4 +- .../lib/src/widgets/unsplash_notice.dart | 104 +- .../src/widgets/unsplash_search_content.dart | 87 +- desktop_photo_search/fluent_ui/pubspec.yaml | 2 +- .../fluent_ui/test/unsplash_test.dart | 6 +- .../fluent_ui/test/widget_test.dart | 13 +- .../fluent_ui/tool/grind.dart | 51 +- desktop_photo_search/material/lib/main.dart | 101 +- .../material/lib/src/model/search.dart | 4 +- .../material/lib/src/model/search.g.dart | 66 +- .../material/lib/src/serializers.g.dart | 67 +- .../material/lib/src/unsplash/api_error.dart | 4 +- .../lib/src/unsplash/api_error.g.dart | 47 +- .../unsplash/current_user_collections.dart | 13 +- .../unsplash/current_user_collections.g.dart | 97 +- .../material/lib/src/unsplash/exif.dart | 4 +- .../material/lib/src/unsplash/exif.g.dart | 116 +- .../material/lib/src/unsplash/links.dart | 4 +- .../material/lib/src/unsplash/links.g.dart | 80 +- .../material/lib/src/unsplash/location.dart | 4 +- .../material/lib/src/unsplash/location.g.dart | 67 +- .../material/lib/src/unsplash/photo.dart | 4 +- .../material/lib/src/unsplash/photo.g.dart | 291 +- .../material/lib/src/unsplash/position.dart | 4 +- .../material/lib/src/unsplash/position.g.dart | 60 +- .../src/unsplash/search_photos_response.dart | 13 +- .../unsplash/search_photos_response.g.dart | 74 +- .../material/lib/src/unsplash/tags.dart | 4 +- .../material/lib/src/unsplash/tags.g.dart | 39 +- .../material/lib/src/unsplash/unsplash.dart | 66 +- .../material/lib/src/unsplash/urls.dart | 4 +- .../material/lib/src/unsplash/urls.g.dart | 91 +- .../material/lib/src/unsplash/user.dart | 4 +- .../material/lib/src/unsplash/user.g.dart | 186 +- .../lib/src/widgets/photo_details.dart | 22 +- .../lib/src/widgets/photo_search_dialog.dart | 59 +- .../lib/src/widgets/policy_dialog.dart | 45 +- .../material/lib/src/widgets/split.dart | 4 +- .../lib/src/widgets/unsplash_notice.dart | 106 +- .../src/widgets/unsplash_search_content.dart | 93 +- desktop_photo_search/material/pubspec.yaml | 2 +- .../material/test/unsplash_test.dart | 6 +- .../material/test/widget_test.dart | 13 +- desktop_photo_search/material/tool/grind.dart | 51 +- dynamic_theme/lib/main.dart | 127 +- dynamic_theme/lib/widgets/api_key_widget.dart | 19 +- dynamic_theme/lib/widgets/message_widget.dart | 22 +- .../lib/widgets/text_field_decoration.dart | 16 +- dynamic_theme/pubspec.yaml | 2 +- experimental/README.md | 9 + experimental/date_planner/.gitignore | 43 - experimental/date_planner/.metadata | 30 - experimental/date_planner/README.md | 7 +- .../date_planner/analysis_options.yaml | 28 - .../ios/Flutter/AppFrameworkInfo.plist | 26 - .../date_planner/ios/Flutter/Debug.xcconfig | 1 - .../date_planner/ios/Flutter/Release.xcconfig | 1 - .../ios/Runner.xcodeproj/project.pbxproj | 619 - .../xcshareddata/xcschemes/Runner.xcscheme | 98 - .../contents.xcworkspacedata | 7 - .../date_planner/ios/Runner/AppDelegate.swift | 13 - .../date_planner/ios/Runner/Info.plist | 49 - .../ios/RunnerTests/RunnerTests.swift | 12 - .../date_planner/lib/color_options.dart | 28 - experimental/date_planner/lib/event.dart | 80 - experimental/date_planner/lib/event_data.dart | 162 - .../date_planner/lib/event_detail.dart | 157 - .../date_planner/lib/event_editor.dart | 117 - experimental/date_planner/lib/event_list.dart | 99 - experimental/date_planner/lib/event_row.dart | 52 - .../date_planner/lib/event_symbol.dart | 58 - experimental/date_planner/lib/event_task.dart | 13 - experimental/date_planner/lib/main.dart | 35 - .../date_planner/lib/symbol_editor.dart | 108 - experimental/date_planner/lib/task_row.dart | 59 - experimental/date_planner/pubspec.yaml | 18 - .../federated_plugin/example/lib/main.dart | 19 +- .../federated_plugin/example/pubspec.yaml | 2 +- .../federated_plugin/pubspec.yaml | 2 +- .../federated_plugin_macos/pubspec.yaml | 2 +- .../pubspec.yaml | 2 +- .../lib/federated_plugin_web.dart | 9 +- .../federated_plugin_web/pubspec.yaml | 3 +- .../federated_plugin_web_integration.dart | 43 - .../federated_plugin_windows/pubspec.yaml | 2 +- experimental/pedometer/example/ios/.gitignore | 34 - .../contents.xcworkspacedata | 7 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../xcshareddata/WorkspaceSettings.xcsettings | 8 - .../AppIcon.appiconset/Contents.json | 122 - .../Icon-App-1024x1024@1x.png | Bin 10932 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin 295 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin 406 -> 0 bytes .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin 450 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin 282 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin 462 -> 0 bytes .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin 704 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin 406 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin 586 -> 0 bytes .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin 862 -> 0 bytes .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin 862 -> 0 bytes .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin 1674 -> 0 bytes .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin 762 -> 0 bytes .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin 1226 -> 0 bytes .../Icon-App-83.5x83.5@2x.png | Bin 1418 -> 0 bytes .../LaunchImage.imageset/Contents.json | 23 - .../LaunchImage.imageset/LaunchImage.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/LaunchImage@2x.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/LaunchImage@3x.png | Bin 68 -> 0 bytes .../LaunchImage.imageset/README.md | 5 - .../Runner/Base.lproj/LaunchScreen.storyboard | 37 - .../ios/Runner/Base.lproj/Main.storyboard | 26 - .../ios/Runner/Runner-Bridging-Header.h | 1 - experimental/pedometer/example/lib/main.dart | 208 - .../lib/components/fragment_shaded.dart | 54 +- .../lib/components/lightboxed_panel.dart | 27 +- .../lib/components/rotator_puzzle.dart | 61 +- .../lib/components/wonky_anim_palette.dart | 4 +- .../lib/components/wonky_char.dart | 69 +- .../varfont_shader_puzzle/lib/main.dart | 9 +- .../page_content/page_ascender_descender.dart | 29 +- .../lib/page_content/page_narrative_post.dart | 13 +- .../lib/page_content/page_narrative_pre.dart | 45 +- .../lib/page_content/page_optical_size.dart | 60 +- .../lib/page_content/page_weight.dart | 45 +- .../lib/page_content/page_width.dart | 58 +- .../lib/page_content/pages_flow.dart | 48 +- .../lib/page_content/wallpapers_flow.dart | 43 +- .../varfont_shader_puzzle/lib/styles.dart | 3 +- .../varfont_shader_puzzle/pubspec.yaml | 2 +- .../web_dashboard/lib/src/api/api.dart | 6 +- .../web_dashboard/lib/src/api/api.g.dart | 14 +- .../web_dashboard/lib/src/api/firebase.dart | 22 +- .../web_dashboard/lib/src/api/mock.dart | 20 +- experimental/web_dashboard/lib/src/app.dart | 29 +- .../web_dashboard/lib/src/auth/firebase.dart | 9 +- .../lib/src/pages/dashboard.dart | 18 +- .../web_dashboard/lib/src/pages/entries.dart | 59 +- .../web_dashboard/lib/src/pages/home.dart | 40 +- .../web_dashboard/lib/src/pages/sign_in.dart | 24 +- .../lib/src/utils/chart_utils.dart | 23 +- .../lib/src/widgets/categories_dropdown.dart | 4 +- .../lib/src/widgets/category_chart.dart | 15 +- .../lib/src/widgets/category_forms.dart | 4 +- .../lib/src/widgets/dialogs.dart | 21 +- .../lib/src/widgets/edit_entry.dart | 22 +- .../third_party/adaptive_scaffold.dart | 46 +- experimental/web_dashboard/pubspec.yaml | 2 +- .../web_dashboard/test/chart_utils_test.dart | 5 +- .../web_dashboard/test/mock_service_test.dart | 32 +- experimental/web_dashboard/tool/grind.dart | 44 +- flutter_maps_firestore/lib/main.dart | 99 +- flutter_maps_firestore/pubspec.yaml | 2 +- form_app/lib/main.dart | 33 +- form_app/lib/src/autofill.dart | 13 +- form_app/lib/src/form_widgets.dart | 42 +- form_app/lib/src/http/mock_client.dart | 3 +- form_app/lib/src/sign_in_http.dart | 49 +- form_app/lib/src/sign_in_http.g.dart | 6 +- form_app/lib/src/validation.dart | 41 +- form_app/pubspec.yaml | 2 +- form_app/test/form_app_test.dart | 8 +- game_template/lib/firebase_options.dart | 5 +- game_template/lib/main.dart | 189 +- game_template/lib/src/ads/ads_controller.dart | 15 +- .../lib/src/ads/banner_ad_widget.dart | 23 +- .../lib/src/ads/preloaded_banner_ad.dart | 6 +- .../lib/src/app_lifecycle/app_lifecycle.dart | 5 +- .../lib/src/audio/audio_controller.dart | 59 +- game_template/lib/src/audio/sounds.dart | 37 +- .../src/games_services/games_services.dart | 11 +- .../lib/src/games_services/score.dart | 9 +- .../src/in_app_purchase/in_app_purchase.dart | 71 +- .../level_selection_screen.dart | 16 +- .../lib/src/level_selection/levels.dart | 14 +- .../src/play_session/play_session_screen.dart | 36 +- .../lib/src/settings/custom_name_dialog.dart | 8 +- game_template/lib/src/settings/settings.dart | 2 +- .../lib/src/settings/settings_screen.dart | 105 +- game_template/lib/src/style/confetti.dart | 46 +- .../lib/src/style/my_transition.dart | 10 +- .../lib/src/style/responsive_screen.dart | 17 +- game_template/lib/src/style/snack_bar.dart | 9 +- .../lib/src/win_game/win_game_screen.dart | 15 +- .../Flutter/GeneratedPluginRegistrant.swift | 2 +- game_template/pubspec.yaml | 2 +- game_template/test/smoke_test.dart | 16 +- gemini_tasks/lib/main.dart | 137 +- gemini_tasks/lib/widgets/api_key_widget.dart | 19 +- gemini_tasks/lib/widgets/message_widget.dart | 22 +- .../lib/widgets/text_field_decoration.dart | 16 +- gemini_tasks/pubspec.yaml | 2 +- google_maps/lib/main.dart | 15 +- google_maps/lib/src/locations.dart | 18 +- google_maps/lib/src/locations.g.dart | 82 +- google_maps/pubspec.yaml | 2 +- infinite_list/lib/main.dart | 53 +- infinite_list/lib/src/api/fetch.dart | 19 +- infinite_list/lib/src/api/item.dart | 6 +- infinite_list/lib/src/item_tile.dart | 9 +- infinite_list/pubspec.yaml | 2 +- ios_app_clip/lib/main.dart | 7 +- ios_app_clip/pubspec.yaml | 2 +- isolate_example/lib/data_transfer_page.dart | 71 +- .../lib/infinite_process_page.dart | 28 +- isolate_example/lib/main.dart | 21 +- isolate_example/lib/performance_page.dart | 72 +- isolate_example/pubspec.yaml | 2 +- material_3_demo/lib/color_box.dart | 29 +- .../lib/color_palettes_screen.dart | 54 +- material_3_demo/lib/component_screen.dart | 753 +- material_3_demo/lib/constants.dart | 41 +- material_3_demo/lib/elevation_screen.dart | 40 +- material_3_demo/lib/home.dart | 360 +- material_3_demo/lib/main.dart | 38 +- material_3_demo/lib/scheme.dart | 13 +- material_3_demo/lib/typography_screen.dart | 36 +- material_3_demo/pubspec.yaml | 2 +- material_3_demo/test/color_screen_test.dart | 106 +- .../test/component_screen_test.dart | 200 +- .../test/elevation_screen_test.dart | 93 +- .../test/typography_screen_test.dart | 95 +- navigation_and_routing/lib/main.dart | 12 +- navigation_and_routing/lib/src/app.dart | 129 +- navigation_and_routing/lib/src/auth.dart | 7 +- .../lib/src/data/library.dart | 55 +- .../lib/src/screens/author_details.dart | 32 +- .../lib/src/screens/authors.dart | 17 +- .../lib/src/screens/book_details.dart | 39 +- .../lib/src/screens/books.dart | 15 +- .../lib/src/screens/scaffold.dart | 15 +- .../lib/src/screens/settings.dart | 120 +- .../lib/src/screens/sign_in.dart | 78 +- .../lib/src/widgets/author_list.dart | 21 +- .../lib/src/widgets/book_list.dart | 21 +- .../lib/src/widgets/fade_transition_page.dart | 16 +- navigation_and_routing/pubspec.yaml | 2 +- navigation_and_routing/test/library_test.dart | 36 +- .../pedometer => pedometer}/.gitignore | 0 .../pedometer => pedometer}/.metadata | 0 .../pedometer => pedometer}/CHANGELOG.md | 0 {experimental/pedometer => pedometer}/LICENSE | 0 .../pedometer => pedometer}/README.md | 0 .../analysis_options.yaml | 0 .../android/.gitignore | 0 .../android/build.gradle | 0 .../android/settings.gradle | 0 .../android/src/main/AndroidManifest.xml | 0 .../example/.gitignore | 0 .../pedometer => pedometer}/example/README.md | 0 .../example/analysis_options.yaml | 0 .../example/android/.gitignore | 0 .../example/android/app/build.gradle | 0 .../example/android/app/proguard-rules.pro | 0 .../android/app/src/debug/AndroidManifest.xml | 0 .../android/app/src/main/AndroidManifest.xml | 0 .../com/example/jni_demo/MainActivity.kt | 0 .../res/drawable-v21/launch_background.xml | 0 .../main/res/drawable/launch_background.xml | 0 .../src/main/res/mipmap-hdpi/ic_launcher.png | Bin .../src/main/res/mipmap-mdpi/ic_launcher.png | Bin .../src/main/res/mipmap-xhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxhdpi/ic_launcher.png | Bin .../main/res/mipmap-xxxhdpi/ic_launcher.png | Bin .../app/src/main/res/values-night/styles.xml | 0 .../main/res/values/health-permissions.xml | 0 .../app/src/main/res/values/styles.xml | 0 .../app/src/profile/AndroidManifest.xml | 0 .../example/android/build.gradle | 0 .../example/android/gradle.properties | 0 .../gradle/wrapper/gradle-wrapper.properties | 0 .../example/android/settings.gradle | 0 .../example}/ios/.gitignore | 0 .../ios/Flutter/AppFrameworkInfo.plist | 0 .../example/ios/Flutter/Debug.xcconfig | 0 .../example/ios/Flutter/Release.xcconfig | 0 .../example/ios/Podfile | 0 .../ios/Runner.xcodeproj/project.pbxproj | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../xcshareddata/xcschemes/Runner.xcscheme | 0 .../contents.xcworkspacedata | 0 .../xcshareddata/IDEWorkspaceChecks.plist | 0 .../xcshareddata/WorkspaceSettings.xcsettings | 0 .../example/ios/Runner/AppDelegate.swift | 0 .../AppIcon.appiconset/Contents.json | 0 .../Icon-App-1024x1024@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@1x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@2x.png | Bin .../AppIcon.appiconset/Icon-App-20x20@3x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@1x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@2x.png | Bin .../AppIcon.appiconset/Icon-App-29x29@3x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@1x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@2x.png | Bin .../AppIcon.appiconset/Icon-App-40x40@3x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@2x.png | Bin .../AppIcon.appiconset/Icon-App-60x60@3x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@1x.png | Bin .../AppIcon.appiconset/Icon-App-76x76@2x.png | Bin .../Icon-App-83.5x83.5@2x.png | Bin .../LaunchImage.imageset/Contents.json | 0 .../LaunchImage.imageset/LaunchImage.png | Bin .../LaunchImage.imageset/LaunchImage@2x.png | Bin .../LaunchImage.imageset/LaunchImage@3x.png | Bin .../LaunchImage.imageset/README.md | 0 .../Runner/Base.lproj/LaunchScreen.storyboard | 0 .../ios/Runner/Base.lproj/Main.storyboard | 0 .../example/ios/Runner/Info.plist | 0 .../ios/Runner/Runner-Bridging-Header.h | 0 pedometer/example/lib/main.dart | 207 + .../example/lib/steps_repo.dart | 56 +- .../example/pubspec.yaml | 2 +- .../pedometer => pedometer}/ffigen.yaml | 0 .../ios/Classes/dart_api_dl.c | 0 .../ios/Classes/pedometerHelper.m | 0 .../ios/pedometer.podspec | 0 .../pedometer => pedometer}/jnigen.yaml | 0 .../lib/health_connect.dart | 26553 ++--- .../lib/pedometer_bindings_generated.dart | 80770 ++++++++++------ .../pedometer => pedometer}/pubspec.yaml | 2 +- .../src/dart-sdk/include/dart_api.h | 0 .../src/dart-sdk/include/dart_api_dl.c | 0 .../src/dart-sdk/include/dart_api_dl.h | 0 .../src/dart-sdk/include/dart_native_api.h | 0 .../src/dart-sdk/include/dart_tools_api.h | 0 .../src/dart-sdk/include/dart_version.h | 0 .../include/internal/dart_api_dl_impl.h | 0 .../src/health_connect/.clang-format | 0 .../src/health_connect/CMakeLists.txt | 0 .../src/health_connect/dartjni.h | 0 .../src/health_connect/health_connect.c | 0 .../src/pedometerHelper.h | 0 .../src/pedometerHelper.m | 0 place_tracker/lib/main.dart | 10 +- place_tracker/lib/place.dart | 6 +- place_tracker/lib/place_details.dart | 75 +- place_tracker/lib/place_list.dart | 46 +- place_tracker/lib/place_map.dart | 143 +- place_tracker/lib/place_tracker_app.dart | 46 +- place_tracker/lib/stub_data.dart | 2 +- place_tracker/pubspec.yaml | 2 +- platform_channels/lib/main.dart | 28 +- .../lib/src/accelerometer_event_channel.dart | 12 +- .../lib/src/add_pet_details.dart | 15 +- .../lib/src/counter_method_channel.dart | 10 +- .../lib/src/event_channel_demo.dart | 35 +- .../lib/src/image_basic_message_channel.dart | 6 +- .../lib/src/method_channel_demo.dart | 20 +- .../lib/src/pet_list_message_channel.dart | 42 +- .../lib/src/pet_list_screen.dart | 29 +- .../lib/src/platform_image_demo.dart | 30 +- platform_channels/pubspec.yaml | 2 +- platform_channels/test/home_page_test.dart | 4 +- .../test/src/add_pet_details_test.dart | 10 +- .../test/src/event_channel_demo_test.dart | 41 +- .../test/src/method_channel_demo_test.dart | 4 +- .../test/src/pet_list_screen_test.dart | 63 +- .../test/src/platform_image_demo_test.dart | 8 +- platform_design/lib/main.dart | 46 +- platform_design/lib/news_tab.dart | 23 +- platform_design/lib/profile_tab.dart | 26 +- platform_design/lib/settings_tab.dart | 9 +- platform_design/lib/song_detail_tab.dart | 47 +- platform_design/lib/songs_tab.dart | 38 +- platform_design/lib/widgets.dart | 40 +- platform_design/pubspec.yaml | 2 +- platform_view_swift/lib/main.dart | 19 +- platform_view_swift/pubspec.yaml | 2 +- provider_counter/lib/main.dart | 29 +- provider_counter/pubspec.yaml | 2 +- provider_shopper/lib/main.dart | 22 +- provider_shopper/lib/models/catalog.dart | 6 +- provider_shopper/lib/screens/cart.dart | 40 +- provider_shopper/lib/screens/catalog.dart | 42 +- provider_shopper/lib/screens/login.dart | 23 +- provider_shopper/pubspec.yaml | 2 +- provider_shopper/test/cart_widget_test.dart | 30 +- .../test/catalog_widget_test.dart | 31 +- provider_shopper/test/login_widget_test.dart | 28 +- rolodex/pubspec.yaml | 2 +- simple_shader/lib/main.dart | 21 +- simple_shader/pubspec.yaml | 2 +- simplistic_calculator/lib/main.dart | 115 +- simplistic_calculator/pubspec.yaml | 2 +- simplistic_calculator/test/widget_test.dart | 6 +- simplistic_editor/lib/app_state.dart | 41 +- simplistic_editor/lib/basic_text_field.dart | 37 +- .../lib/basic_text_input_client.dart | 393 +- simplistic_editor/lib/formatting_toolbar.dart | 27 +- simplistic_editor/lib/main.dart | 26 +- simplistic_editor/lib/replacements.dart | 265 +- .../lib/text_editing_delta_history_view.dart | 9 +- simplistic_editor/pubspec.yaml | 2 +- simplistic_editor/test/main_screen_test.dart | 52 +- testing_app/integration_test/app_test.dart | 10 +- testing_app/integration_test/perf_test.dart | 6 +- .../integration_test/state_mgmt_test.dart | 4 +- testing_app/lib/screens/favorites.dart | 13 +- testing_app/lib/screens/home.dart | 13 +- testing_app/pubspec.yaml | 2 +- testing_app/test/favorites_test.dart | 9 +- testing_app/test/home_test.dart | 4 +- tool/flutter_ci_script_beta.sh | 7 +- tool/flutter_ci_script_master.sh | 10 +- tool/flutter_ci_script_stable.sh | 7 +- veggieseasons/lib/data/app_state.dart | 7 +- .../lib/data/local_veggie_provider.dart | 1144 +- veggieseasons/lib/data/preferences.dart | 6 +- veggieseasons/lib/data/veggie.dart | 7 +- veggieseasons/lib/main.dart | 47 +- veggieseasons/lib/screens/details.dart | 103 +- veggieseasons/lib/screens/favorites.dart | 37 +- veggieseasons/lib/screens/list.dart | 39 +- veggieseasons/lib/screens/settings.dart | 116 +- veggieseasons/lib/styles.dart | 72 +- veggieseasons/lib/widgets/detail_buttons.dart | 44 +- veggieseasons/lib/widgets/veggie_card.dart | 26 +- .../lib/widgets/veggie_headline.dart | 12 +- .../lib/widgets/veggie_seasons_page.dart | 3 +- veggieseasons/pubspec.yaml | 2 +- .../example/lib/main.dart | 36 +- .../web_startup_analyzer/example/pubspec.yaml | 2 +- .../lib/src/frame_analyzer.dart | 2 +- .../lib/src/web_startup_analyzer.dart | 15 +- .../web_startup_analyzer/pubspec.yaml | 2 +- web/_tool/build_ci.dart | 31 +- web/_tool/common.dart | 9 +- web/_tool/fix_base_tags.dart | 18 +- web/_tool/peanut_post_build.dart | 15 +- web/_tool/pubspec.yaml | 2 +- web/_tool/verify_packages.dart | 28 +- web/samples_index/pubspec.yaml | 1 + .../element_embedding_demo/lib/main.dart | 20 +- .../element_embedding_demo/pubspec.yaml | 2 +- .../ng-flutter/flutter/lib/main.dart | 13 +- .../ng-flutter/flutter/lib/pages/counter.dart | 18 +- .../ng-flutter/flutter/lib/pages/dash.dart | 21 +- .../ng-flutter/flutter/lib/pages/text.dart | 7 +- .../src/js_interop/counter_state_manager.dart | 6 +- web_embedding/ng-flutter/flutter/pubspec.yaml | 2 +- 685 files changed, 76438 insertions(+), 53915 deletions(-) delete mode 100644 experimental/date_planner/.gitignore delete mode 100644 experimental/date_planner/.metadata delete mode 100644 experimental/date_planner/analysis_options.yaml delete mode 100644 experimental/date_planner/ios/Flutter/AppFrameworkInfo.plist delete mode 100644 experimental/date_planner/ios/Flutter/Debug.xcconfig delete mode 100644 experimental/date_planner/ios/Flutter/Release.xcconfig delete mode 100644 experimental/date_planner/ios/Runner.xcodeproj/project.pbxproj delete mode 100644 experimental/date_planner/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme delete mode 100644 experimental/date_planner/ios/Runner.xcworkspace/contents.xcworkspacedata delete mode 100644 experimental/date_planner/ios/Runner/AppDelegate.swift delete mode 100644 experimental/date_planner/ios/Runner/Info.plist delete mode 100644 experimental/date_planner/ios/RunnerTests/RunnerTests.swift delete mode 100644 experimental/date_planner/lib/color_options.dart delete mode 100644 experimental/date_planner/lib/event.dart delete mode 100644 experimental/date_planner/lib/event_data.dart delete mode 100644 experimental/date_planner/lib/event_detail.dart delete mode 100644 experimental/date_planner/lib/event_editor.dart delete mode 100644 experimental/date_planner/lib/event_list.dart delete mode 100644 experimental/date_planner/lib/event_row.dart delete mode 100644 experimental/date_planner/lib/event_symbol.dart delete mode 100644 experimental/date_planner/lib/event_task.dart delete mode 100644 experimental/date_planner/lib/main.dart delete mode 100644 experimental/date_planner/lib/symbol_editor.dart delete mode 100644 experimental/date_planner/lib/task_row.dart delete mode 100644 experimental/date_planner/pubspec.yaml delete mode 100644 experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration.dart delete mode 100644 experimental/pedometer/example/ios/.gitignore delete mode 100644 experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata delete mode 100644 experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 experimental/pedometer/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist delete mode 100644 experimental/pedometer/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png delete mode 100644 experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md delete mode 100644 experimental/pedometer/example/ios/Runner/Base.lproj/LaunchScreen.storyboard delete mode 100644 experimental/pedometer/example/ios/Runner/Base.lproj/Main.storyboard delete mode 100644 experimental/pedometer/example/ios/Runner/Runner-Bridging-Header.h delete mode 100644 experimental/pedometer/example/lib/main.dart rename {experimental/pedometer => pedometer}/.gitignore (100%) rename {experimental/pedometer => pedometer}/.metadata (100%) rename {experimental/pedometer => pedometer}/CHANGELOG.md (100%) rename {experimental/pedometer => pedometer}/LICENSE (100%) rename {experimental/pedometer => pedometer}/README.md (100%) rename {experimental/pedometer => pedometer}/analysis_options.yaml (100%) rename {experimental/pedometer => pedometer}/android/.gitignore (100%) rename {experimental/pedometer => pedometer}/android/build.gradle (100%) rename {experimental/pedometer => pedometer}/android/settings.gradle (100%) rename {experimental/pedometer => pedometer}/android/src/main/AndroidManifest.xml (100%) rename {experimental/pedometer => pedometer}/example/.gitignore (100%) rename {experimental/pedometer => pedometer}/example/README.md (100%) rename {experimental/pedometer => pedometer}/example/analysis_options.yaml (100%) rename {experimental/pedometer => pedometer}/example/android/.gitignore (100%) rename {experimental/pedometer => pedometer}/example/android/app/build.gradle (100%) rename {experimental/pedometer => pedometer}/example/android/app/proguard-rules.pro (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/debug/AndroidManifest.xml (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/AndroidManifest.xml (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/kotlin/com/example/jni_demo/MainActivity.kt (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/drawable-v21/launch_background.xml (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/drawable/launch_background.xml (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/values-night/styles.xml (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/values/health-permissions.xml (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/main/res/values/styles.xml (100%) rename {experimental/pedometer => pedometer}/example/android/app/src/profile/AndroidManifest.xml (100%) rename {experimental/pedometer => pedometer}/example/android/build.gradle (100%) rename {experimental/pedometer => pedometer}/example/android/gradle.properties (100%) rename {experimental/pedometer => pedometer}/example/android/gradle/wrapper/gradle-wrapper.properties (100%) rename {experimental/pedometer => pedometer}/example/android/settings.gradle (100%) rename {experimental/date_planner => pedometer/example}/ios/.gitignore (100%) rename {experimental/pedometer => pedometer}/example/ios/Flutter/AppFrameworkInfo.plist (100%) rename {experimental/pedometer => pedometer}/example/ios/Flutter/Debug.xcconfig (100%) rename {experimental/pedometer => pedometer}/example/ios/Flutter/Release.xcconfig (100%) rename {experimental/pedometer => pedometer}/example/ios/Podfile (100%) rename {experimental/pedometer => pedometer}/example/ios/Runner.xcodeproj/project.pbxproj (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {experimental/pedometer => pedometer}/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme (100%) rename {experimental/pedometer => pedometer}/example/ios/Runner.xcworkspace/contents.xcworkspacedata (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings (100%) rename {experimental/pedometer => pedometer}/example/ios/Runner/AppDelegate.swift (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Base.lproj/LaunchScreen.storyboard (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Base.lproj/Main.storyboard (100%) rename {experimental/pedometer => pedometer}/example/ios/Runner/Info.plist (100%) rename {experimental/date_planner => pedometer/example}/ios/Runner/Runner-Bridging-Header.h (100%) create mode 100644 pedometer/example/lib/main.dart rename {experimental/pedometer => pedometer}/example/lib/steps_repo.dart (79%) rename {experimental/pedometer => pedometer}/example/pubspec.yaml (99%) rename {experimental/pedometer => pedometer}/ffigen.yaml (100%) rename {experimental/pedometer => pedometer}/ios/Classes/dart_api_dl.c (100%) rename {experimental/pedometer => pedometer}/ios/Classes/pedometerHelper.m (100%) rename {experimental/pedometer => pedometer}/ios/pedometer.podspec (100%) rename {experimental/pedometer => pedometer}/jnigen.yaml (100%) rename {experimental/pedometer => pedometer}/lib/health_connect.dart (54%) rename {experimental/pedometer => pedometer}/lib/pedometer_bindings_generated.dart (50%) rename {experimental/pedometer => pedometer}/pubspec.yaml (99%) rename {experimental/pedometer => pedometer}/src/dart-sdk/include/dart_api.h (100%) rename {experimental/pedometer => pedometer}/src/dart-sdk/include/dart_api_dl.c (100%) rename {experimental/pedometer => pedometer}/src/dart-sdk/include/dart_api_dl.h (100%) rename {experimental/pedometer => pedometer}/src/dart-sdk/include/dart_native_api.h (100%) rename {experimental/pedometer => pedometer}/src/dart-sdk/include/dart_tools_api.h (100%) rename {experimental/pedometer => pedometer}/src/dart-sdk/include/dart_version.h (100%) rename {experimental/pedometer => pedometer}/src/dart-sdk/include/internal/dart_api_dl_impl.h (100%) rename {experimental/pedometer => pedometer}/src/health_connect/.clang-format (100%) rename {experimental/pedometer => pedometer}/src/health_connect/CMakeLists.txt (100%) rename {experimental/pedometer => pedometer}/src/health_connect/dartjni.h (100%) rename {experimental/pedometer => pedometer}/src/health_connect/health_connect.c (100%) rename {experimental/pedometer => pedometer}/src/pedometerHelper.h (100%) rename {experimental/pedometer => pedometer}/src/pedometerHelper.m (100%) diff --git a/add_to_app/android_view/flutter_module_using_plugin/lib/cell.dart b/add_to_app/android_view/flutter_module_using_plugin/lib/cell.dart index 199199268..13eb90075 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/lib/cell.dart +++ b/add_to_app/android_view/flutter_module_using_plugin/lib/cell.dart @@ -62,8 +62,12 @@ class _CellState extends State with WidgetsBindingObserver { Color randomLightColor() { _random ??= Random(cellNumber); - return Color.fromARGB(255, _random!.nextInt(50) + 205, - _random!.nextInt(50) + 205, _random!.nextInt(50) + 205); + return Color.fromARGB( + 255, + _random!.nextInt(50) + 205, + _random!.nextInt(50) + 205, + _random!.nextInt(50) + 205, + ); } @override @@ -108,20 +112,25 @@ class _CellState extends State with WidgetsBindingObserver { child: StreamBuilder( // Don't continuously rebuild for nothing when the // cell isn't visible. - stream: appLifecycleState == AppLifecycleState.resumed - ? accelerometerEventStream() - : Stream.value(defaultPosition), + stream: + appLifecycleState == AppLifecycleState.resumed + ? accelerometerEventStream() + : Stream.value(defaultPosition), initialData: defaultPosition, builder: (context, snapshot) { return Transform( - // Figure out the phone's orientation relative - // to gravity's direction. Ignore the z vector. - transform: Matrix4.rotationX( - snapshot.data!.y / gravity * pi / 2) - ..multiply(Matrix4.rotationY( - snapshot.data!.x / gravity * pi / 2)), - alignment: Alignment.center, - child: const FlutterLogo(size: 72)); + // Figure out the phone's orientation relative + // to gravity's direction. Ignore the z vector. + transform: Matrix4.rotationX( + snapshot.data!.y / gravity * pi / 2, + )..multiply( + Matrix4.rotationY( + snapshot.data!.x / gravity * pi / 2, + ), + ), + alignment: Alignment.center, + child: const FlutterLogo(size: 72), + ); }, ), ), diff --git a/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart b/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart index 50fa1083e..95d0874af 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart +++ b/add_to_app/android_view/flutter_module_using_plugin/lib/main.dart @@ -17,12 +17,7 @@ void main() { final model = CounterModel(); - runApp( - ChangeNotifierProvider.value( - value: model, - child: const MyApp(), - ), - ); + runApp(ChangeNotifierProvider.value(value: model, child: const MyApp())); } /// This is on alternate entrypoint for this module to display Flutter UI in @@ -76,9 +71,7 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Module Title', - theme: ThemeData( - colorSchemeSeed: Colors.blue, - ), + theme: ThemeData(colorSchemeSeed: Colors.blue), routes: { '/': (context) => const FullScreenView(), '/mini': (context) => const Contents(), @@ -95,9 +88,7 @@ class FullScreenView extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Full-screen Flutter with plugin'), - ), + appBar: AppBar(title: const Text('Full-screen Flutter with plugin')), body: const Contents(showExit: true), ); } @@ -131,10 +122,7 @@ class Contents extends StatelessWidget { const Positioned.fill( child: Opacity( opacity: .25, - child: FittedBox( - fit: BoxFit.cover, - child: FlutterLogo(), - ), + child: FittedBox(fit: BoxFit.cover, child: FlutterLogo()), ), ), Center( diff --git a/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml b/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml index 4547346db..645caccaf 100644 --- a/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml +++ b/add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module that uses a plugin. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/add_to_app/books/flutter_module_books/lib/main.dart b/add_to_app/books/flutter_module_books/lib/main.dart index edd9ef179..dfa0c8729 100644 --- a/add_to_app/books/flutter_module_books/lib/main.dart +++ b/add_to_app/books/flutter_module_books/lib/main.dart @@ -13,9 +13,7 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { return MaterialApp( - theme: ThemeData( - primaryColor: const Color(0xff6200ee), - ), + theme: ThemeData(primaryColor: const Color(0xff6200ee)), home: const BookDetail(), ); } @@ -70,30 +68,33 @@ class _BookDetailState extends State { // calls from the platform. // TODO(gaaclarke): make the setup method an instance method so it's // injectable https://github.com/flutter/flutter/issues/59119. - FlutterBookApi.setup(FlutterBookApiHandler( + FlutterBookApi.setup( + FlutterBookApiHandler( // The `FlutterBookApi` just has one method. Just give a closure for that // method to the handler class. (book) { - setState(() { - // This book model is what we're going to return to Kotlin eventually. - // Keep it bound to the UI. - this.book = book; - titleTextController.text = book.title ?? ''; - titleTextController.addListener(() { - this.book!.title = titleTextController.text; - }); - // Subtitle could be null. - // TODO(gaaclarke): https://github.com/flutter/flutter/issues/59118. - subtitleTextController.text = book.subtitle ?? ''; - subtitleTextController.addListener(() { - this.book!.subtitle = subtitleTextController.text; - }); - authorTextController.text = book.author ?? ''; - authorTextController.addListener(() { - this.book!.author = authorTextController.text; - }); - }); - })); + setState(() { + // This book model is what we're going to return to Kotlin eventually. + // Keep it bound to the UI. + this.book = book; + titleTextController.text = book.title ?? ''; + titleTextController.addListener(() { + this.book!.title = titleTextController.text; + }); + // Subtitle could be null. + // TODO(gaaclarke): https://github.com/flutter/flutter/issues/59118. + subtitleTextController.text = book.subtitle ?? ''; + subtitleTextController.addListener(() { + this.book!.subtitle = subtitleTextController.text; + }); + authorTextController.text = book.author ?? ''; + authorTextController.addListener(() { + this.book!.author = authorTextController.text; + }); + }); + }, + ), + ); } // Not overriding didUpdateWidget because the Android program can't change @@ -124,26 +125,28 @@ class _BookDetailState extends State { IconButton( icon: const Icon(Icons.check), // Pressing save sends the updated book to the platform. - onPressed: book != null - ? () { - hostApi.finishEditingBook(book!); - clear(); - } - : null, + onPressed: + book != null + ? () { + hostApi.finishEditingBook(book!); + clear(); + } + : null, ), ], ), - body: book == null - // Draw a spinner until the platform gives us the book to show details - // for. - ? const Center(child: CircularProgressIndicator()) - : BookForm( - book: book!, - focusNode: textFocusNode, - authorTextController: authorTextController, - subtitleTextController: subtitleTextController, - titleTextController: titleTextController, - ), + body: + book == null + // Draw a spinner until the platform gives us the book to show details + // for. + ? const Center(child: CircularProgressIndicator()) + : BookForm( + book: book!, + focusNode: textFocusNode, + authorTextController: authorTextController, + subtitleTextController: subtitleTextController, + titleTextController: titleTextController, + ), ); } } @@ -207,15 +210,14 @@ class BookForm extends StatelessWidget { child: Padding( padding: const EdgeInsets.all(8.0), child: Text( - '${book.pageCount} pages ~ published ${book.publishDate}'), + '${book.pageCount} pages ~ published ${book.publishDate}', + ), ), ), const Divider(), const SizedBox(height: 32), if (book.thumbnail?.url != null) ...[ - Center( - child: Image.network(book.thumbnail!.url!), - ), + Center(child: Image.network(book.thumbnail!.url!)), const SizedBox(height: 32), ], if (book.summary != null) ...[ @@ -234,7 +236,7 @@ class BookForm extends StatelessWidget { book.summary ?? '', style: TextStyle(color: Colors.grey.shade600, height: 1.24), ), - ] + ], ], ), ); diff --git a/add_to_app/books/flutter_module_books/pubspec.yaml b/add_to_app/books/flutter_module_books/pubspec.yaml index 0f2acfab0..02445ca87 100644 --- a/add_to_app/books/flutter_module_books/pubspec.yaml +++ b/add_to_app/books/flutter_module_books/pubspec.yaml @@ -6,7 +6,7 @@ description: A Flutter module using the Pigeon package to demonstrate version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/add_to_app/books/flutter_module_books/test/widget_test.dart b/add_to_app/books/flutter_module_books/test/widget_test.dart index cbf1b8aef..11b8d3c1f 100644 --- a/add_to_app/books/flutter_module_books/test/widget_test.dart +++ b/add_to_app/books/flutter_module_books/test/widget_test.dart @@ -12,9 +12,7 @@ void main() { MockHostBookApi mockHostApi = MockHostBookApi(); await tester.pumpWidget( - MaterialApp( - home: BookDetail(hostApi: mockHostApi), - ), + MaterialApp(home: BookDetail(hostApi: mockHostApi)), ); await tester.tap(find.byIcon(Icons.clear)); @@ -26,9 +24,7 @@ void main() { MockHostBookApi mockHostApi = MockHostBookApi(); await tester.pumpWidget( - MaterialApp( - home: BookDetail(book: Book(), hostApi: mockHostApi), - ), + MaterialApp(home: BookDetail(book: Book(), hostApi: mockHostApi)), ); await tester.tap(find.byIcon(Icons.check)); diff --git a/add_to_app/fullscreen/flutter_module/lib/main.dart b/add_to_app/fullscreen/flutter_module/lib/main.dart index 10505e5aa..99ad415e7 100644 --- a/add_to_app/fullscreen/flutter_module/lib/main.dart +++ b/add_to_app/fullscreen/flutter_module/lib/main.dart @@ -14,12 +14,7 @@ void main() { final model = CounterModel(); - runApp( - ChangeNotifierProvider.value( - value: model, - child: const MyApp(), - ), - ); + runApp(ChangeNotifierProvider.value(value: model, child: const MyApp())); } /// A simple model that uses a [MethodChannel] as the source of truth for the @@ -81,9 +76,7 @@ class FullScreenView extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Full-screen Flutter'), - ), + appBar: AppBar(title: const Text('Full-screen Flutter')), body: const Contents(showExit: true), ); } @@ -116,10 +109,7 @@ class Contents extends StatelessWidget { const Positioned.fill( child: Opacity( opacity: .25, - child: FittedBox( - fit: BoxFit.cover, - child: FlutterLogo(), - ), + child: FittedBox(fit: BoxFit.cover, child: FlutterLogo()), ), ), Center( diff --git a/add_to_app/fullscreen/flutter_module/pubspec.yaml b/add_to_app/fullscreen/flutter_module/pubspec.yaml index 9faf4fe6d..2c00a2cb1 100644 --- a/add_to_app/fullscreen/flutter_module/pubspec.yaml +++ b/add_to_app/fullscreen/flutter_module/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/add_to_app/multiple_flutters/multiple_flutters_module/lib/main.dart b/add_to_app/multiple_flutters/multiple_flutters_module/lib/main.dart index f4060e478..07fd235f1 100644 --- a/add_to_app/multiple_flutters/multiple_flutters_module/lib/main.dart +++ b/add_to_app/multiple_flutters/multiple_flutters_module/lib/main.dart @@ -72,24 +72,17 @@ class _MyHomePageState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: Text(widget.title), - ), + appBar: AppBar(title: Text(widget.title)), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - const Text( - 'You have pushed the button this many times:', - ), + const Text('You have pushed the button this many times:'), Text( '$_counter', style: Theme.of(context).textTheme.headlineMedium, ), - TextButton( - onPressed: _incrementCounter, - child: const Text('Add'), - ), + TextButton(onPressed: _incrementCounter, child: const Text('Add')), TextButton( onPressed: () { _channel.invokeMethod("next", _counter); diff --git a/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml b/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml index 87545fac5..baa095646 100644 --- a/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml +++ b/add_to_app/multiple_flutters/multiple_flutters_module/pubspec.yaml @@ -4,7 +4,7 @@ description: A module that is embedded in the multiple_flutters_ios and multiple version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/add_to_app/plugin/flutter_module_using_plugin/lib/cell.dart b/add_to_app/plugin/flutter_module_using_plugin/lib/cell.dart index b74ca2009..b1fe42aff 100644 --- a/add_to_app/plugin/flutter_module_using_plugin/lib/cell.dart +++ b/add_to_app/plugin/flutter_module_using_plugin/lib/cell.dart @@ -62,8 +62,12 @@ class _CellState extends State with WidgetsBindingObserver { Color randomLightColor() { _random ??= Random(cellNumber); - return Color.fromARGB(255, _random!.nextInt(50) + 205, - _random!.nextInt(50) + 205, _random!.nextInt(50) + 205); + return Color.fromARGB( + 255, + _random!.nextInt(50) + 205, + _random!.nextInt(50) + 205, + _random!.nextInt(50) + 205, + ); } @override @@ -108,9 +112,10 @@ class _CellState extends State with WidgetsBindingObserver { child: StreamBuilder( // Don't continuously rebuild for nothing when the // cell isn't visible. - stream: appLifecycleState == AppLifecycleState.resumed - ? accelerometerEventStream() - : Stream.value(defaultPosition), + stream: + appLifecycleState == AppLifecycleState.resumed + ? accelerometerEventStream() + : Stream.value(defaultPosition), initialData: defaultPosition, builder: (context, snapshot) { final data = snapshot.data; @@ -123,7 +128,8 @@ class _CellState extends State with WidgetsBindingObserver { transform: Matrix4.rotationX( data.y / gravity * pi / 2, )..multiply( - Matrix4.rotationY(data.x / gravity * pi / 2)), + Matrix4.rotationY(data.x / gravity * pi / 2), + ), alignment: Alignment.center, child: const FlutterLogo(size: 72), ); diff --git a/add_to_app/plugin/flutter_module_using_plugin/lib/main.dart b/add_to_app/plugin/flutter_module_using_plugin/lib/main.dart index 20a2fa4ec..275a0476b 100644 --- a/add_to_app/plugin/flutter_module_using_plugin/lib/main.dart +++ b/add_to_app/plugin/flutter_module_using_plugin/lib/main.dart @@ -17,12 +17,7 @@ void main() { final model = CounterModel(); - runApp( - ChangeNotifierProvider.value( - value: model, - child: const MyApp(), - ), - ); + runApp(ChangeNotifierProvider.value(value: model, child: const MyApp())); } /// This is on alternate entrypoint for this module to display Flutter UI in @@ -92,9 +87,7 @@ class FullScreenView extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Full-screen Flutter with plugin'), - ), + appBar: AppBar(title: const Text('Full-screen Flutter with plugin')), body: const Contents(showExit: true), ); } @@ -128,10 +121,7 @@ class Contents extends StatelessWidget { const Positioned.fill( child: Opacity( opacity: .25, - child: FittedBox( - fit: BoxFit.cover, - child: FlutterLogo(), - ), + child: FittedBox(fit: BoxFit.cover, child: FlutterLogo()), ), ), Center( diff --git a/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml b/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml index 4547346db..645caccaf 100644 --- a/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml +++ b/add_to_app/plugin/flutter_module_using_plugin/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module that uses a plugin. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/add_to_app/prebuilt_module/flutter_module/lib/main.dart b/add_to_app/prebuilt_module/flutter_module/lib/main.dart index 46c913ad2..2c29febac 100644 --- a/add_to_app/prebuilt_module/flutter_module/lib/main.dart +++ b/add_to_app/prebuilt_module/flutter_module/lib/main.dart @@ -14,12 +14,7 @@ void main() { final model = CounterModel(); - runApp( - ChangeNotifierProvider.value( - value: model, - child: const MyApp(), - ), - ); + runApp(ChangeNotifierProvider.value(value: model, child: const MyApp())); } /// A simple model that uses a [MethodChannel] as the source of truth for the @@ -81,9 +76,7 @@ class FullScreenView extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Full-screen Flutter'), - ), + appBar: AppBar(title: const Text('Full-screen Flutter')), body: const Contents(showExit: true), ); } @@ -116,10 +109,7 @@ class Contents extends StatelessWidget { const Positioned.fill( child: Opacity( opacity: .25, - child: FittedBox( - fit: BoxFit.cover, - child: FlutterLogo(), - ), + child: FittedBox(fit: BoxFit.cover, child: FlutterLogo()), ), ), Center( diff --git a/add_to_app/prebuilt_module/flutter_module/pubspec.yaml b/add_to_app/prebuilt_module/flutter_module/pubspec.yaml index 9faf4fe6d..2c00a2cb1 100644 --- a/add_to_app/prebuilt_module/flutter_module/pubspec.yaml +++ b/add_to_app/prebuilt_module/flutter_module/pubspec.yaml @@ -4,7 +4,7 @@ description: An example Flutter module. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/analysis_defaults/pubspec.yaml b/analysis_defaults/pubspec.yaml index 0ff95ea2e..d6160ec45 100644 --- a/analysis_defaults/pubspec.yaml +++ b/analysis_defaults/pubspec.yaml @@ -3,7 +3,7 @@ description: Analysis defaults for flutter/samples publish_to: none environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 # NOTE: Code is not allowed in this package. Do not add more dependencies. # The `flutter_lints` dependency is required for `lib/flutter.yaml`. diff --git a/android_splash_screen/lib/main.dart b/android_splash_screen/lib/main.dart index 08057a129..59a0eb45d 100644 --- a/android_splash_screen/lib/main.dart +++ b/android_splash_screen/lib/main.dart @@ -28,9 +28,7 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', - theme: ThemeData( - primarySwatch: Colors.blue, - ), + theme: ThemeData(primarySwatch: Colors.blue), home: const MyHomePage(title: 'Flutter Demo Home Page'), ); } @@ -61,12 +59,13 @@ class _MyHomePageState extends State { child: Column( children: [ const Padding( - padding: EdgeInsets.only(top: 42, bottom: 250), - child: Align( - alignment: Alignment.topCenter, child: CustomAppBar())), - const Text( - 'You have pushed the button this many times:', + padding: EdgeInsets.only(top: 42, bottom: 250), + child: Align( + alignment: Alignment.topCenter, + child: CustomAppBar(), + ), ), + const Text('You have pushed the button this many times:'), Text( '$_counter', style: Theme.of(context).textTheme.headlineMedium, @@ -105,8 +104,10 @@ class CustomAppBar extends StatelessWidget { ), const Padding( padding: EdgeInsets.only(top: 3), - child: Text("Super Splash Screen Demo", - style: TextStyle(color: Colors.black54, fontSize: 24)), + child: Text( + "Super Splash Screen Demo", + style: TextStyle(color: Colors.black54, fontSize: 24), + ), ), ], ); diff --git a/android_splash_screen/pubspec.yaml b/android_splash_screen/pubspec.yaml index 9acb8373a..12f2bae4c 100644 --- a/android_splash_screen/pubspec.yaml +++ b/android_splash_screen/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/animations/lib/main.dart b/animations/lib/main.dart index 83c4e312a..25530594c 100644 --- a/animations/lib/main.dart +++ b/animations/lib/main.dart @@ -27,11 +27,13 @@ void setupWindow() { setWindowMinSize(const Size(windowWidth, windowHeight)); setWindowMaxSize(const Size(windowWidth, windowHeight)); getCurrentScreen().then((screen) { - setWindowFrame(Rect.fromCenter( - center: screen!.frame.center, - width: windowWidth, - height: windowHeight, - )); + setWindowFrame( + Rect.fromCenter( + center: screen!.frame.center, + width: windowWidth, + height: windowHeight, + ), + ); }); } } @@ -41,11 +43,7 @@ class Demo { final String route; final WidgetBuilder builder; - const Demo({ - required this.name, - required this.route, - required this.builder, - }); + const Demo({required this.name, required this.route, required this.builder}); } final basicDemos = [ @@ -182,9 +180,7 @@ class AnimationSamples extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp.router( title: 'Animation Samples', - theme: ThemeData( - colorSchemeSeed: Colors.deepPurple, - ), + theme: ThemeData(colorSchemeSeed: Colors.deepPurple), routerConfig: router, ); } @@ -197,9 +193,7 @@ class HomePage extends StatelessWidget { Widget build(BuildContext context) { final headerStyle = Theme.of(context).textTheme.titleLarge; return Scaffold( - appBar: AppBar( - title: const Text('Animation Samples'), - ), + appBar: AppBar(title: const Text('Animation Samples')), body: ListView( children: [ ListTile(title: Text('Basics', style: headerStyle)), diff --git a/animations/lib/src/basics/animated_builder.dart b/animations/lib/src/basics/animated_builder.dart index d1f807ff1..a64c03bff 100644 --- a/animations/lib/src/basics/animated_builder.dart +++ b/animations/lib/src/basics/animated_builder.dart @@ -24,8 +24,10 @@ class _AnimatedBuilderDemoState extends State void initState() { super.initState(); controller = AnimationController(vsync: this, duration: duration); - animation = - ColorTween(begin: beginColor, end: endColor).animate(controller); + animation = ColorTween( + begin: beginColor, + end: endColor, + ).animate(controller); } @override @@ -37,9 +39,7 @@ class _AnimatedBuilderDemoState extends State @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('AnimatedBuilder'), - ), + appBar: AppBar(title: const Text('AnimatedBuilder')), body: Center( // AnimatedBuilder handles listening to a given animation and calling the builder // whenever the value of the animation change. This can be useful when a Widget @@ -49,9 +49,7 @@ class _AnimatedBuilderDemoState extends State animation: animation, builder: (context, child) { return ElevatedButton( - style: ElevatedButton.styleFrom( - backgroundColor: animation.value, - ), + style: ElevatedButton.styleFrom(backgroundColor: animation.value), child: child, onPressed: () { switch (controller.status) { diff --git a/animations/lib/src/basics/animated_container.dart b/animations/lib/src/basics/animated_container.dart index 2e3e39d9b..7a772a9fa 100644 --- a/animations/lib/src/basics/animated_container.dart +++ b/animations/lib/src/basics/animated_container.dart @@ -49,9 +49,7 @@ class _AnimatedContainerDemoState extends State { // the properties of a container. For example, you could use this to design expanding // and shrinking cards. return Scaffold( - appBar: AppBar( - title: const Text('AnimatedContainer'), - ), + appBar: AppBar(title: const Text('AnimatedContainer')), body: Center( child: Column( children: [ @@ -71,9 +69,7 @@ class _AnimatedContainerDemoState extends State { ), ), ElevatedButton( - child: const Text( - 'change', - ), + child: const Text('change'), onPressed: () => change(), ), ], diff --git a/animations/lib/src/basics/animation_controller.dart b/animations/lib/src/basics/animation_controller.dart index 761bb7c78..c389ca90b 100644 --- a/animations/lib/src/basics/animation_controller.dart +++ b/animations/lib/src/basics/animation_controller.dart @@ -54,9 +54,7 @@ class _AnimationControllerDemoState extends State // when building child widgets. You can also check the status to see if the animation // has completed. return Scaffold( - appBar: AppBar( - title: const Text('Animation Controller'), - ), + appBar: AppBar(title: const Text('Animation Controller')), body: Center( child: Column( mainAxisSize: MainAxisSize.min, @@ -79,7 +77,7 @@ class _AnimationControllerDemoState extends State controller.forward(); } }, - ) + ), ], ), ), diff --git a/animations/lib/src/basics/custom_tween.dart b/animations/lib/src/basics/custom_tween.dart index 36a4bbb4f..a8e1930a1 100644 --- a/animations/lib/src/basics/custom_tween.dart +++ b/animations/lib/src/basics/custom_tween.dart @@ -6,7 +6,7 @@ import 'package:flutter/material.dart'; class TypewriterTween extends Tween { TypewriterTween({String begin = '', String end = ''}) - : super(begin: begin, end: end); + : super(begin: begin, end: end); @override String lerp(double t) { @@ -89,7 +89,9 @@ class _CustomTweenDemoState extends State return Text( animation.value, style: const TextStyle( - fontSize: 16, fontFamily: 'SpecialElite'), + fontSize: 16, + fontFamily: 'SpecialElite', + ), ); }, ), diff --git a/animations/lib/src/basics/fade_transition.dart b/animations/lib/src/basics/fade_transition.dart index a10f70a78..8496987b6 100644 --- a/animations/lib/src/basics/fade_transition.dart +++ b/animations/lib/src/basics/fade_transition.dart @@ -30,10 +30,7 @@ class _FadeTransitionDemoState extends State _curve = CurvedAnimation(parent: _controller, curve: Curves.easeIn); - _animation = Tween( - begin: 1.0, - end: 0.0, - ).animate(_curve); + _animation = Tween(begin: 1.0, end: 0.0).animate(_curve); } @override @@ -45,29 +42,25 @@ class _FadeTransitionDemoState extends State @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text( - 'Fade Transition', - ), - ), + appBar: AppBar(title: const Text('Fade Transition')), body: Center( child: Column( mainAxisSize: MainAxisSize.min, children: [ FadeTransition( opacity: _animation, - child: const Icon( - Icons.star, - color: Colors.amber, - size: 300, - ), + child: const Icon(Icons.star, color: Colors.amber, size: 300), ), ElevatedButton( child: const Text('animate'), - onPressed: () => setState(() { - _controller.animateTo(1.0).then( - (value) => _controller.animateBack(0.0)); - }), + onPressed: + () => setState(() { + _controller + .animateTo(1.0) + .then( + (value) => _controller.animateBack(0.0), + ); + }), ), ], ), diff --git a/animations/lib/src/basics/page_route_builder.dart b/animations/lib/src/basics/page_route_builder.dart index 8033bc751..f9b474a41 100644 --- a/animations/lib/src/basics/page_route_builder.dart +++ b/animations/lib/src/basics/page_route_builder.dart @@ -11,9 +11,7 @@ class PageRouteBuilderDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Page 1'), - ), + appBar: AppBar(title: const Text('Page 1')), body: Center( child: ElevatedButton( child: const Text('Go!'), @@ -30,8 +28,10 @@ Route _createRoute() { return PageRouteBuilder( pageBuilder: (context, animation, secondaryAnimation) => _Page2(), transitionsBuilder: (context, animation, secondaryAnimation, child) { - var tween = - Tween(begin: const Offset(0.0, 1.0), end: Offset.zero); + var tween = Tween( + begin: const Offset(0.0, 1.0), + end: Offset.zero, + ); var curveTween = CurveTween(curve: Curves.ease); return SlideTransition( @@ -46,12 +46,12 @@ class _Page2 extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Page 2'), - ), + appBar: AppBar(title: const Text('Page 2')), body: Center( - child: - Text('Page 2!', style: Theme.of(context).textTheme.headlineMedium), + child: Text( + 'Page 2!', + style: Theme.of(context).textTheme.headlineMedium, + ), ), ); } diff --git a/animations/lib/src/basics/tween_sequence.dart b/animations/lib/src/basics/tween_sequence.dart index a494fb3dc..aaf79187e 100644 --- a/animations/lib/src/basics/tween_sequence.dart +++ b/animations/lib/src/basics/tween_sequence.dart @@ -60,9 +60,7 @@ class _TweenSequenceDemoState extends State @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Tween Sequences'), - ), + appBar: AppBar(title: const Text('Tween Sequences')), body: Center( child: AnimatedBuilder( animation: animation, diff --git a/animations/lib/src/basics/tweens.dart b/animations/lib/src/basics/tweens.dart index c6b40191c..c6120c849 100644 --- a/animations/lib/src/basics/tweens.dart +++ b/animations/lib/src/basics/tweens.dart @@ -40,27 +40,25 @@ class _TweenDemoState extends State @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Tweens'), - ), + appBar: AppBar(title: const Text('Tweens')), body: Center( child: Column( mainAxisSize: MainAxisSize.min, children: [ ConstrainedBox( constraints: const BoxConstraints(maxWidth: 200), - child: Text('\$${animation.value.toStringAsFixed(2)}', - style: const TextStyle(fontSize: 24)), - ), - ElevatedButton( child: Text( - switch (controller.status) { - AnimationStatus.completed => 'Buy a Mansion', - AnimationStatus.forward => 'Accruing...', - AnimationStatus.reverse => 'Spending...', - _ => 'Win the lottery', - }, + '\$${animation.value.toStringAsFixed(2)}', + style: const TextStyle(fontSize: 24), ), + ), + ElevatedButton( + child: Text(switch (controller.status) { + AnimationStatus.completed => 'Buy a Mansion', + AnimationStatus.forward => 'Accruing...', + AnimationStatus.reverse => 'Spending...', + _ => 'Win the lottery', + }), onPressed: () { switch (controller.status) { case AnimationStatus.completed: @@ -69,7 +67,7 @@ class _TweenDemoState extends State controller.forward(); } }, - ) + ), ], ), ), diff --git a/animations/lib/src/misc/animated_list.dart b/animations/lib/src/misc/animated_list.dart index 9e9167dd8..0971959c6 100644 --- a/animations/lib/src/misc/animated_list.dart +++ b/animations/lib/src/misc/animated_list.dart @@ -26,11 +26,11 @@ class _AnimatedListDemoState extends State { void addUser() { setState(() { var index = listData.length; - listData.add( - UserModel(++_maxIdValue, 'New', 'Person'), + listData.add(UserModel(++_maxIdValue, 'New', 'Person')); + _listKey.currentState!.insertItem( + index, + duration: const Duration(milliseconds: 300), ); - _listKey.currentState! - .insertItem(index, duration: const Duration(milliseconds: 300)); }); } @@ -38,22 +38,22 @@ class _AnimatedListDemoState extends State { setState(() { final index = listData.indexWhere((u) => u.id == id); var user = listData.removeAt(index); - _listKey.currentState!.removeItem( - index, - (context, animation) { - return FadeTransition( - opacity: CurvedAnimation( - parent: animation, curve: const Interval(0.5, 1.0)), - child: SizeTransition( - sizeFactor: CurvedAnimation( - parent: animation, curve: const Interval(0.0, 1.0)), - axisAlignment: 0.0, - child: _buildItem(user), + _listKey.currentState!.removeItem(index, (context, animation) { + return FadeTransition( + opacity: CurvedAnimation( + parent: animation, + curve: const Interval(0.5, 1.0), + ), + child: SizeTransition( + sizeFactor: CurvedAnimation( + parent: animation, + curve: const Interval(0.0, 1.0), ), - ); - }, - duration: const Duration(milliseconds: 600), - ); + axisAlignment: 0.0, + child: _buildItem(user), + ), + ); + }, duration: const Duration(milliseconds: 600)); }); } @@ -62,9 +62,7 @@ class _AnimatedListDemoState extends State { key: ValueKey(user), title: Text(user.firstName), subtitle: Text(user.lastName), - leading: const CircleAvatar( - child: Icon(Icons.person), - ), + leading: const CircleAvatar(child: Icon(Icons.person)), trailing: IconButton( icon: const Icon(Icons.delete), onPressed: () => deleteUser(user.id), @@ -77,12 +75,7 @@ class _AnimatedListDemoState extends State { return Scaffold( appBar: AppBar( title: const Text('AnimatedList'), - actions: [ - IconButton( - icon: const Icon(Icons.add), - onPressed: addUser, - ), - ], + actions: [IconButton(icon: const Icon(Icons.add), onPressed: addUser)], ), body: SafeArea( child: AnimatedList( @@ -101,11 +94,7 @@ class _AnimatedListDemoState extends State { } class UserModel { - UserModel( - this.id, - this.firstName, - this.lastName, - ); + UserModel(this.id, this.firstName, this.lastName); final int id; final String firstName; diff --git a/animations/lib/src/misc/animated_positioned.dart b/animations/lib/src/misc/animated_positioned.dart index a948b460d..4b661147f 100644 --- a/animations/lib/src/misc/animated_positioned.dart +++ b/animations/lib/src/misc/animated_positioned.dart @@ -54,10 +54,12 @@ class _AnimatedPositionedDemoState extends State { left: leftPosition, duration: const Duration(seconds: 1), child: InkWell( - onTap: () => changePosition( - size.height - - (appBar.preferredSize.height + topPadding + 50), - size.width - 150), + onTap: + () => changePosition( + size.height - + (appBar.preferredSize.height + topPadding + 50), + size.width - 150, + ), child: Container( alignment: Alignment.center, width: 150, diff --git a/animations/lib/src/misc/animated_switcher.dart b/animations/lib/src/misc/animated_switcher.dart index ee048f4a7..5f017efb8 100644 --- a/animations/lib/src/misc/animated_switcher.dart +++ b/animations/lib/src/misc/animated_switcher.dart @@ -9,18 +9,18 @@ import 'package:flutter/material.dart'; Color generateColor() => Color(0xFFFFFFFF & Random().nextInt(0xFFFFFFFF)); Widget generateContainer(int keyCount) => Container( - key: ValueKey(keyCount), - height: Random().nextDouble() * 200, - width: Random().nextDouble() * 200, - decoration: BoxDecoration( - color: generateColor(), - borderRadius: BorderRadius.circular(Random().nextDouble() * 100), - border: Border.all( - color: generateColor(), - width: Random().nextDouble() * 5, - ), - ), - ); + key: ValueKey(keyCount), + height: Random().nextDouble() * 200, + width: Random().nextDouble() * 200, + decoration: BoxDecoration( + color: generateColor(), + borderRadius: BorderRadius.circular(Random().nextDouble() * 100), + border: Border.all( + color: generateColor(), + width: Random().nextDouble() * 5, + ), + ), +); class AnimatedSwitcherDemo extends StatefulWidget { const AnimatedSwitcherDemo({super.key}); @@ -48,9 +48,8 @@ class _AnimatedSwitcherDemoState extends State { title: const Text('AnimatedSwitcher'), actions: [ TextButton( - onPressed: () => setState( - () => container = generateContainer(++keyCount), - ), + onPressed: + () => setState(() => container = generateContainer(++keyCount)), child: const Text('Change Widget'), ), ], @@ -62,10 +61,9 @@ class _AnimatedSwitcherDemoState extends State { child: AnimatedSwitcher( duration: const Duration(seconds: 1), child: container, - transitionBuilder: (child, animation) => ScaleTransition( - scale: animation, - child: child, - ), + transitionBuilder: + (child, animation) => + ScaleTransition(scale: animation, child: child), ), ), ); diff --git a/animations/lib/src/misc/card_swipe.dart b/animations/lib/src/misc/card_swipe.dart index 3fc74ec45..7458c983c 100644 --- a/animations/lib/src/misc/card_swipe.dart +++ b/animations/lib/src/misc/card_swipe.dart @@ -33,9 +33,7 @@ class _CardSwipeDemoState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Card Swipe'), - ), + appBar: AppBar(title: const Text('Card Swipe')), body: Padding( padding: const EdgeInsets.all(12.0), child: Center( @@ -100,8 +98,11 @@ class SwipeableCard extends StatefulWidget { final String imageAssetName; final VoidCallback onSwiped; - const SwipeableCard( - {required this.onSwiped, required this.imageAssetName, super.key}); + const SwipeableCard({ + required this.onSwiped, + required this.imageAssetName, + super.key, + }); @override State createState() => _SwipeableCardState(); @@ -118,10 +119,9 @@ class _SwipeableCardState extends State void initState() { super.initState(); _controller = AnimationController.unbounded(vsync: this); - _animation = _controller.drive(Tween( - begin: Offset.zero, - end: const Offset(1, 0), - )); + _animation = _controller.drive( + Tween(begin: Offset.zero, end: const Offset(1, 0)), + ); } @override @@ -179,17 +179,26 @@ class _SwipeableCardState extends State } void _updateAnimation(double dragPosition) { - _animation = _controller.drive(Tween( - begin: Offset.zero, - end: _isSwipingLeft ? const Offset(-1, 0) : const Offset(1, 0), - )); + _animation = _controller.drive( + Tween( + begin: Offset.zero, + end: _isSwipingLeft ? const Offset(-1, 0) : const Offset(1, 0), + ), + ); } void _animate({double velocity = 0}) { - var description = - const SpringDescription(mass: 50, stiffness: 1, damping: 1); - var simulation = - SpringSimulation(description, _controller.value, 1, velocity); + var description = const SpringDescription( + mass: 50, + stiffness: 1, + damping: 1, + ); + var simulation = SpringSimulation( + description, + _controller.value, + 1, + velocity, + ); _controller.animateWith(simulation).then((_) { widget.onSwiped(); }); diff --git a/animations/lib/src/misc/carousel.dart b/animations/lib/src/misc/carousel.dart index 02e903d74..c2f2b2974 100644 --- a/animations/lib/src/misc/carousel.dart +++ b/animations/lib/src/misc/carousel.dart @@ -21,9 +21,7 @@ class CarouselDemo extends StatelessWidget { @override Widget build(context) { return Scaffold( - appBar: AppBar( - title: const Text('Carousel Demo'), - ), + appBar: AppBar(title: const Text('Carousel Demo')), body: Center( child: Padding( padding: const EdgeInsets.all(16), @@ -79,30 +77,29 @@ class _CarouselState extends State { }, controller: _controller, scrollBehavior: ScrollConfiguration.of(context).copyWith( - dragDevices: { - ui.PointerDeviceKind.touch, - ui.PointerDeviceKind.mouse, - }, - ), - itemBuilder: (context, index) => AnimatedBuilder( - animation: _controller, - builder: (context, child) { - var result = _pageHasChanged ? _controller.page! : _currentPage * 1.0; - - // The horizontal position of the page between a 1 and 0 - var value = result - index; - value = (1 - (value.abs() * .5)).clamp(0.0, 1.0); - - return Center( - child: SizedBox( - height: Curves.easeOut.transform(value) * size.height, - width: Curves.easeOut.transform(value) * size.width, - child: child, - ), - ); - }, - child: widget.itemBuilder(context, index), + dragDevices: {ui.PointerDeviceKind.touch, ui.PointerDeviceKind.mouse}, ), + itemBuilder: + (context, index) => AnimatedBuilder( + animation: _controller, + builder: (context, child) { + var result = + _pageHasChanged ? _controller.page! : _currentPage * 1.0; + + // The horizontal position of the page between a 1 and 0 + var value = result - index; + value = (1 - (value.abs() * .5)).clamp(0.0, 1.0); + + return Center( + child: SizedBox( + height: Curves.easeOut.transform(value) * size.height, + width: Curves.easeOut.transform(value) * size.width, + child: child, + ), + ); + }, + child: widget.itemBuilder(context, index), + ), ); } diff --git a/animations/lib/src/misc/curved_animation.dart b/animations/lib/src/misc/curved_animation.dart index a3debe90c..500d7d28c 100644 --- a/animations/lib/src/misc/curved_animation.dart +++ b/animations/lib/src/misc/curved_animation.dart @@ -46,10 +46,7 @@ class _CurvedAnimationDemoState extends State @override void initState() { super.initState(); - controller = AnimationController( - duration: _duration, - vsync: this, - ); + controller = AnimationController(duration: _duration, vsync: this); selectedForwardCurve = curves[0]; selectedReverseCurve = curves[0]; curvedAnimation = CurvedAnimation( @@ -57,38 +54,35 @@ class _CurvedAnimationDemoState extends State curve: selectedForwardCurve.curve, reverseCurve: selectedReverseCurve.curve, ); - animationRotation = Tween( - begin: 0, - end: 2 * math.pi, - ).animate(curvedAnimation) - ..addListener(() { - setState(() {}); - }) - ..addStatusListener((status) { - if (status == AnimationStatus.completed) { - controller.reverse(); - } - }); - animationTranslation = Tween( - begin: const Offset(-1, 0), - end: const Offset(1, 0), - ).animate(curvedAnimation) - ..addListener(() { - setState(() {}); - }) - ..addStatusListener((status) { - if (status == AnimationStatus.completed) { - controller.reverse(); - } - }); + animationRotation = + Tween(begin: 0, end: 2 * math.pi).animate(curvedAnimation) + ..addListener(() { + setState(() {}); + }) + ..addStatusListener((status) { + if (status == AnimationStatus.completed) { + controller.reverse(); + } + }); + animationTranslation = + Tween( + begin: const Offset(-1, 0), + end: const Offset(1, 0), + ).animate(curvedAnimation) + ..addListener(() { + setState(() {}); + }) + ..addStatusListener((status) { + if (status == AnimationStatus.completed) { + controller.reverse(); + } + }); } @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Curved Animation'), - ), + appBar: AppBar(title: const Text('Curved Animation')), body: Column( children: [ const SizedBox(height: 20.0), @@ -97,10 +91,13 @@ class _CurvedAnimationDemoState extends State style: Theme.of(context).textTheme.titleLarge, ), DropdownButton( - items: curves.map((curve) { - return DropdownMenuItem( - value: curve, child: Text(curve.name)); - }).toList(), + items: + curves.map((curve) { + return DropdownMenuItem( + value: curve, + child: Text(curve.name), + ); + }).toList(), onChanged: (newCurve) { if (newCurve != null) { setState(() { @@ -117,10 +114,13 @@ class _CurvedAnimationDemoState extends State style: Theme.of(context).textTheme.titleLarge, ), DropdownButton( - items: curves.map((curve) { - return DropdownMenuItem( - value: curve, child: Text(curve.name)); - }).toList(), + items: + curves.map((curve) { + return DropdownMenuItem( + value: curve, + child: Text(curve.name), + ); + }).toList(), onChanged: (newCurve) { if (newCurve != null) { setState(() { @@ -134,18 +134,12 @@ class _CurvedAnimationDemoState extends State const SizedBox(height: 35.0), Transform.rotate( angle: animationRotation.value, - child: const Center( - child: FlutterLogo( - size: 100, - ), - ), + child: const Center(child: FlutterLogo(size: 100)), ), const SizedBox(height: 35.0), FractionalTranslation( translation: animationTranslation.value, - child: const FlutterLogo( - size: 100, - ), + child: const FlutterLogo(size: 100), ), const SizedBox(height: 25.0), ElevatedButton( diff --git a/animations/lib/src/misc/expand_card.dart b/animations/lib/src/misc/expand_card.dart index 0029ee597..c47829d4c 100644 --- a/animations/lib/src/misc/expand_card.dart +++ b/animations/lib/src/misc/expand_card.dart @@ -11,12 +11,8 @@ class ExpandCardDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Expandable Card'), - ), - body: const Center( - child: ExpandCard(), - ), + appBar: AppBar(title: const Text('Expandable Card')), + body: const Center(child: ExpandCard()), ); } } @@ -56,24 +52,23 @@ class _ExpandCardState extends State duration: duration, firstCurve: Curves.easeInOutCubic, secondCurve: Curves.easeInOutCubic, - crossFadeState: selected - ? CrossFadeState.showSecond - : CrossFadeState.showFirst, + crossFadeState: + selected + ? CrossFadeState.showSecond + : CrossFadeState.showFirst, // Use Positioned.fill() to pass the constraints to its children. // This allows the Images to use BoxFit.cover to cover the correct // size - layoutBuilder: - (topChild, topChildKey, bottomChild, bottomChildKey) { + layoutBuilder: ( + topChild, + topChildKey, + bottomChild, + bottomChildKey, + ) { return Stack( children: [ - Positioned.fill( - key: bottomChildKey, - child: bottomChild, - ), - Positioned.fill( - key: topChildKey, - child: topChild, - ), + Positioned.fill(key: bottomChildKey, child: bottomChild), + Positioned.fill(key: topChildKey, child: topChild), ], ); }, diff --git a/animations/lib/src/misc/flutter_animate.dart b/animations/lib/src/misc/flutter_animate.dart index 19530dcb7..88de877c6 100644 --- a/animations/lib/src/misc/flutter_animate.dart +++ b/animations/lib/src/misc/flutter_animate.dart @@ -14,19 +14,15 @@ class FlutterAnimateDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Flutter Animate Demo'), - ), + appBar: AppBar(title: const Text('Flutter Animate Demo')), body: Center( child: Padding( padding: const EdgeInsets.all(16), child: Text( - "Hello Flutter Animate", - style: Theme.of(context).textTheme.headlineLarge, - ) - .animate( - onPlay: (controller) => controller.repeat(), + "Hello Flutter Animate", + style: Theme.of(context).textTheme.headlineLarge, ) + .animate(onPlay: (controller) => controller.repeat()) .then(delay: 250.ms) .fadeIn(duration: 500.ms) .then(delay: 250.ms) diff --git a/animations/lib/src/misc/focus_image.dart b/animations/lib/src/misc/focus_image.dart index 665713a82..7031129cd 100644 --- a/animations/lib/src/misc/focus_image.dart +++ b/animations/lib/src/misc/focus_image.dart @@ -24,16 +24,15 @@ class Grid extends StatelessWidget { return Scaffold( body: GridView.builder( itemCount: 40, - gridDelegate: - const SliverGridDelegateWithFixedCrossAxisCount(crossAxisCount: 4), + gridDelegate: const SliverGridDelegateWithFixedCrossAxisCount( + crossAxisCount: 4, + ), itemBuilder: (context, index) { return (index >= 20) - ? const SmallCard( - imageAssetName: 'assets/eat_cape_town_sm.jpg', - ) + ? const SmallCard(imageAssetName: 'assets/eat_cape_town_sm.jpg') : const SmallCard( - imageAssetName: 'assets/eat_new_orleans_sm.jpg', - ); + imageAssetName: 'assets/eat_new_orleans_sm.jpg', + ); }, ), ); @@ -46,14 +45,12 @@ Route _createRoute(BuildContext parentContext, String image) { return _SecondPage(image); }, transitionsBuilder: (context, animation, secondaryAnimation, child) { - var rectAnimation = _createTween(parentContext) - .chain(CurveTween(curve: Curves.ease)) - .animate(animation); + var rectAnimation = _createTween( + parentContext, + ).chain(CurveTween(curve: Curves.ease)).animate(animation); return Stack( - children: [ - PositionedTransition(rect: rectAnimation, child: child), - ], + children: [PositionedTransition(rect: rectAnimation, child: child)], ); }, ); @@ -65,10 +62,7 @@ Tween _createTween(BuildContext context) { var rect = box.localToGlobal(Offset.zero) & box.size; var relativeRect = RelativeRect.fromSize(rect, windowSize); - return RelativeRectTween( - begin: relativeRect, - end: RelativeRect.fill, - ); + return RelativeRectTween(begin: relativeRect, end: RelativeRect.fill); } class SmallCard extends StatelessWidget { @@ -84,10 +78,7 @@ class SmallCard extends StatelessWidget { var nav = Navigator.of(context); nav.push(_createRoute(context, imageAssetName)); }, - child: Image.asset( - imageAssetName, - fit: BoxFit.cover, - ), + child: Image.asset(imageAssetName, fit: BoxFit.cover), ), ), ); @@ -109,10 +100,7 @@ class _SecondPage extends StatelessWidget { onTap: () => Navigator.of(context).pop(), child: AspectRatio( aspectRatio: 1, - child: Image.asset( - imageAssetName, - fit: BoxFit.cover, - ), + child: Image.asset(imageAssetName, fit: BoxFit.cover), ), ), ), diff --git a/animations/lib/src/misc/hero_animation.dart b/animations/lib/src/misc/hero_animation.dart index dbceeed2f..08bc030b9 100644 --- a/animations/lib/src/misc/hero_animation.dart +++ b/animations/lib/src/misc/hero_animation.dart @@ -11,19 +11,16 @@ class HeroAnimationDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Hero Animation'), - ), + appBar: AppBar(title: const Text('Hero Animation')), body: GestureDetector( child: Hero( tag: 'hero-page-child', - child: _createHeroContainer( - size: 50.0, - color: Colors.grey.shade300, - ), + child: _createHeroContainer(size: 50.0, color: Colors.grey.shade300), ), - onTap: () => Navigator.of(context).push( - MaterialPageRoute(builder: (context) => const HeroPage())), + onTap: + () => Navigator.of(context).push( + MaterialPageRoute(builder: (context) => const HeroPage()), + ), ), ); } @@ -40,10 +37,7 @@ class HeroPage extends StatelessWidget { body: Center( child: Hero( tag: 'hero-page-child', - child: _createHeroContainer( - size: 100.0, - color: Colors.white, - ), + child: _createHeroContainer(size: 100.0, color: Colors.white), ), ), ); @@ -59,10 +53,7 @@ StatelessWidget _createHeroContainer({ width: size, padding: const EdgeInsets.all(10.0), margin: size < 100.0 ? const EdgeInsets.all(10.0) : const EdgeInsets.all(0), - decoration: BoxDecoration( - shape: BoxShape.circle, - color: color, - ), + decoration: BoxDecoration(shape: BoxShape.circle, color: color), child: const FlutterLogo(), ); } diff --git a/animations/lib/src/misc/physics_card_drag.dart b/animations/lib/src/misc/physics_card_drag.dart index 5fe3a09cc..6249d20d3 100644 --- a/animations/lib/src/misc/physics_card_drag.dart +++ b/animations/lib/src/misc/physics_card_drag.dart @@ -12,14 +12,8 @@ class PhysicsCardDragDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Spring Physics'), - ), - body: const DraggableCard( - child: FlutterLogo( - size: 128, - ), - ), + appBar: AppBar(title: const Text('Spring Physics')), + body: const DraggableCard(child: FlutterLogo(size: 128)), ); } } @@ -67,14 +61,15 @@ class _DraggableCardState extends State /// Calculates and runs a [SpringSimulation] void _runAnimation(Offset velocity, Size size) { _animation = _controller.drive( - AlignmentTween( - begin: _dragAlignment, - end: Alignment.center, - ), + AlignmentTween(begin: _dragAlignment, end: Alignment.center), ); - final simulation = - SpringSimulation(_spring, 0, 1, _normalizeVelocity(velocity, size)); + final simulation = SpringSimulation( + _spring, + 0, + 1, + _normalizeVelocity(velocity, size), + ); _controller.animateWith(simulation); } @@ -97,20 +92,17 @@ class _DraggableCardState extends State final size = MediaQuery.of(context).size; return GestureDetector( onPanStart: (details) => _controller.stop(canceled: true), - onPanUpdate: (details) => setState( - () => _dragAlignment += Alignment( - details.delta.dx / (size.width / 2), - details.delta.dy / (size.height / 2), - ), - ), - onPanEnd: (details) => - _runAnimation(details.velocity.pixelsPerSecond, size), - child: Align( - alignment: _dragAlignment, - child: Card( - child: widget.child, - ), - ), + onPanUpdate: + (details) => setState( + () => + _dragAlignment += Alignment( + details.delta.dx / (size.width / 2), + details.delta.dy / (size.height / 2), + ), + ), + onPanEnd: + (details) => _runAnimation(details.velocity.pixelsPerSecond, size), + child: Align(alignment: _dragAlignment, child: Card(child: widget.child)), ); } } diff --git a/animations/lib/src/misc/repeating_animation.dart b/animations/lib/src/misc/repeating_animation.dart index 404317a9a..bc0b97808 100644 --- a/animations/lib/src/misc/repeating_animation.dart +++ b/animations/lib/src/misc/repeating_animation.dart @@ -21,9 +21,10 @@ class _RepeatingAnimationDemoState extends State void initState() { super.initState(); - _controller = - AnimationController(duration: const Duration(seconds: 2), vsync: this) - ..repeat(reverse: true); + _controller = AnimationController( + duration: const Duration(seconds: 2), + vsync: this, + )..repeat(reverse: true); _borderRadius = BorderRadiusTween( begin: BorderRadius.circular(100.0), diff --git a/animations/pubspec.yaml b/animations/pubspec.yaml index a86283df2..7c9c3f1f4 100644 --- a/animations/pubspec.yaml +++ b/animations/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/animations/test/basics/animated_builder_test.dart b/animations/test/basics/animated_builder_test.dart index 6b21b59e2..bdab93511 100644 --- a/animations/test/basics/animated_builder_test.dart +++ b/animations/test/basics/animated_builder_test.dart @@ -6,9 +6,8 @@ import 'package:animations/src/basics/basics.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -Widget createAnimatedBuilderDemoScreen() => const MaterialApp( - home: AnimatedBuilderDemo(), - ); +Widget createAnimatedBuilderDemoScreen() => + const MaterialApp(home: AnimatedBuilderDemo()); void main() { group('AnimatedBuilder Tests', () { diff --git a/animations/test/misc/animated_list_test.dart b/animations/test/misc/animated_list_test.dart index 6f817812f..bc03fca99 100644 --- a/animations/test/misc/animated_list_test.dart +++ b/animations/test/misc/animated_list_test.dart @@ -6,9 +6,8 @@ import 'package:animations/src/misc/animated_list.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -Widget createAnimatedListDemoScreen() => const MaterialApp( - home: AnimatedListDemo(), - ); +Widget createAnimatedListDemoScreen() => + const MaterialApp(home: AnimatedListDemo()); void main() { group('Animated List Tests', () { @@ -19,14 +18,12 @@ void main() { var initialLength = tester.widgetList(find.byType(ListTile)).length; // Initial length of list should be equal to 5. - expect( - initialLength, - equals(5), - ); + expect(initialLength, equals(5)); }); - testWidgets('Length of list increases on Add Icon Button tap', - (tester) async { + testWidgets('Length of list increases on Add Icon Button tap', ( + tester, + ) async { await tester.pumpWidget(createAnimatedListDemoScreen()); // Get the initial length of list. @@ -40,77 +37,68 @@ void main() { var newLength = tester.widgetList(find.byType(ListTile)).length; // New length should be greater than initial length by one. - expect( - newLength, - equals(initialLength + 1), - ); + expect(newLength, equals(initialLength + 1)); }); testWidgets( - 'Length of list decreases on Delete Icon Button tap at middle index', - (tester) async { - await tester.pumpWidget(createAnimatedListDemoScreen()); + 'Length of list decreases on Delete Icon Button tap at middle index', + (tester) async { + await tester.pumpWidget(createAnimatedListDemoScreen()); - // Get the initial length of list. - var initialLength = tester.widgetList(find.byType(ListTile)).length; + // Get the initial length of list. + var initialLength = tester.widgetList(find.byType(ListTile)).length; - // Tap on the Delete Icon Button at middle index. - await tester.tap(find.byIcon(Icons.delete).at(initialLength ~/ 2)); - await tester.pumpAndSettle(); + // Tap on the Delete Icon Button at middle index. + await tester.tap(find.byIcon(Icons.delete).at(initialLength ~/ 2)); + await tester.pumpAndSettle(); - // Get the new length of list. - var newLength = tester.widgetList(find.byType(ListTile)).length; + // Get the new length of list. + var newLength = tester.widgetList(find.byType(ListTile)).length; - // New length should be less than initial length by one. - expect( - newLength, - equals(initialLength - 1), - ); - }); + // New length should be less than initial length by one. + expect(newLength, equals(initialLength - 1)); + }, + ); testWidgets( - 'Length of list decreases on Delete Icon Button tap at start index', - (tester) async { - await tester.pumpWidget(createAnimatedListDemoScreen()); + 'Length of list decreases on Delete Icon Button tap at start index', + (tester) async { + await tester.pumpWidget(createAnimatedListDemoScreen()); - // Get the initial length of list. - var initialLength = tester.widgetList(find.byType(ListTile)).length; + // Get the initial length of list. + var initialLength = tester.widgetList(find.byType(ListTile)).length; - // Tap on the Delete Icon Button at start index. - await tester.tap(find.byIcon(Icons.delete).at(0)); - await tester.pumpAndSettle(); + // Tap on the Delete Icon Button at start index. + await tester.tap(find.byIcon(Icons.delete).at(0)); + await tester.pumpAndSettle(); - // Get the new length of list. - var newLength = tester.widgetList(find.byType(ListTile)).length; + // Get the new length of list. + var newLength = tester.widgetList(find.byType(ListTile)).length; - // New length should be less than initial length by one. - expect( - newLength, - equals(initialLength - 1), - ); - }); + // New length should be less than initial length by one. + expect(newLength, equals(initialLength - 1)); + }, + ); testWidgets( - 'Length of list decreases on Delete Icon Button tap at end index', - (tester) async { - await tester.pumpWidget(createAnimatedListDemoScreen()); + 'Length of list decreases on Delete Icon Button tap at end index', + (tester) async { + await tester.pumpWidget(createAnimatedListDemoScreen()); - // Get the initial length of list. - var initialLength = tester.widgetList(find.byType(ListTile)).length; + // Get the initial length of list. + var initialLength = tester.widgetList(find.byType(ListTile)).length; - // Tap on the Delete Icon Button at end index. - await tester.tap(find.byIcon(Icons.delete).at(initialLength - 1)); - await tester.pumpAndSettle(); + // Tap on the Delete Icon Button at end index. + await tester.tap(find.byIcon(Icons.delete).at(initialLength - 1)); + await tester.pumpAndSettle(); - // Get the new length of list. - var newLength = tester.widgetList(find.byType(ListTile)).length; + // Get the new length of list. + var newLength = tester.widgetList(find.byType(ListTile)).length; - // New Length should be less than initial length by one. - expect( - newLength, - equals(initialLength - 1), - ); - }); + // New Length should be less than initial length by one. + expect(newLength, equals(initialLength - 1)); + }, + ); testWidgets('All ListTiles deleted', (tester) async { await tester.pumpWidget(createAnimatedListDemoScreen()); @@ -129,10 +117,7 @@ void main() { var finalLength = tester.widgetList(find.byType(ListTile)).length; // New length should be zero. - expect( - finalLength, - equals(0), - ); + expect(finalLength, equals(0)); }); }); } diff --git a/animations/test/misc/animated_positioned_test.dart b/animations/test/misc/animated_positioned_test.dart index 3de643779..69bbc3050 100644 --- a/animations/test/misc/animated_positioned_test.dart +++ b/animations/test/misc/animated_positioned_test.dart @@ -6,9 +6,8 @@ import 'package:animations/src/misc/animated_positioned.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -Widget createAnimatedPositionedDemoScreen() => const MaterialApp( - home: AnimatedPositionedDemo(), - ); +Widget createAnimatedPositionedDemoScreen() => + const MaterialApp(home: AnimatedPositionedDemo()); void main() { group('AnimatedPositioned Tests', () { diff --git a/animations/test/misc/card_swipe_test.dart b/animations/test/misc/card_swipe_test.dart index 68f5601aa..85536c021 100644 --- a/animations/test/misc/card_swipe_test.dart +++ b/animations/test/misc/card_swipe_test.dart @@ -6,9 +6,7 @@ import 'package:animations/src/misc/card_swipe.dart'; import 'package:flutter/material.dart' hide Card; import 'package:flutter_test/flutter_test.dart'; -Widget createCardSwipeScreen() => const MaterialApp( - home: CardSwipeDemo(), - ); +Widget createCardSwipeScreen() => const MaterialApp(home: CardSwipeDemo()); void main() { group('Card Swipe Tests', () { diff --git a/animations/test/misc/carousel_test.dart b/animations/test/misc/carousel_test.dart index 7793a57c6..b1fb6bb59 100644 --- a/animations/test/misc/carousel_test.dart +++ b/animations/test/misc/carousel_test.dart @@ -6,9 +6,7 @@ import 'package:animations/src/misc/carousel.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -Widget createCarouselDemoScreen() => MaterialApp( - home: CarouselDemo(), - ); +Widget createCarouselDemoScreen() => MaterialApp(home: CarouselDemo()); void main() { group('CarouselDemo tests', () { diff --git a/animations/test/misc/expand_card_test.dart b/animations/test/misc/expand_card_test.dart index 1fb147bf2..d37ab0ae9 100644 --- a/animations/test/misc/expand_card_test.dart +++ b/animations/test/misc/expand_card_test.dart @@ -6,9 +6,7 @@ import 'package:animations/src/misc/expand_card.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -Widget createExpandCardScreen() => const MaterialApp( - home: ExpandCardDemo(), - ); +Widget createExpandCardScreen() => const MaterialApp(home: ExpandCardDemo()); void main() { group('ExpandCard Tests', () { @@ -24,10 +22,7 @@ void main() { // The size of ExpandCard must change once tapped. // The initialSize should be less than current ExpandCard size. - expect( - initialSize, - lessThan(tester.getSize(find.byType(ExpandCard))), - ); + expect(initialSize, lessThan(tester.getSize(find.byType(ExpandCard)))); }); testWidgets('ExpandCard changes image on tap', (tester) async { diff --git a/animations/test/misc/focus_image_test.dart b/animations/test/misc/focus_image_test.dart index e57787a08..a65fc9e02 100644 --- a/animations/test/misc/focus_image_test.dart +++ b/animations/test/misc/focus_image_test.dart @@ -6,9 +6,7 @@ import 'package:animations/src/misc/focus_image.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -Widget createFocusImageScreen() => const MaterialApp( - home: FocusImageDemo(), - ); +Widget createFocusImageScreen() => const MaterialApp(home: FocusImageDemo()); void main() { group('FocusImage Tests', () { @@ -32,10 +30,7 @@ void main() { var finalSize = tester.getSize(find.byWidget(finalInkwell)); // Final size should be greater than initial size. - expect( - finalSize, - greaterThan(initialSize), - ); + expect(finalSize, greaterThan(initialSize)); }); testWidgets('Final inkwell on tap goes back to the grid', (tester) async { diff --git a/animations/test/misc/hero_animation_test.dart b/animations/test/misc/hero_animation_test.dart index ce9480bb1..c006cdddd 100644 --- a/animations/test/misc/hero_animation_test.dart +++ b/animations/test/misc/hero_animation_test.dart @@ -6,9 +6,8 @@ import 'package:animations/src/misc/hero_animation.dart'; import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; -Widget createHeroAnimationDemoScreen() => const MaterialApp( - home: HeroAnimationDemo(), - ); +Widget createHeroAnimationDemoScreen() => + const MaterialApp(home: HeroAnimationDemo()); void main() { group('Hero Animation Tests', () { @@ -32,10 +31,7 @@ void main() { var finalSize = tester.getSize(find.byWidget(finalContainer)); // initialSize should be less than finalSize. - expect( - initialSize, - lessThan(finalSize), - ); + expect(initialSize, lessThan(finalSize)); }); testWidgets('Color of Container changes on Tap', (tester) async { @@ -62,9 +58,7 @@ void main() { // Final color should not be same as initial color. expect( (finalContainer.decoration as BoxDecoration).color, - isNot( - equals((initialContainer.decoration as BoxDecoration).color), - ), + isNot(equals((initialContainer.decoration as BoxDecoration).color)), ); }); @@ -82,10 +76,7 @@ void main() { final finalScreen = tester.firstWidget(find.byType(HeroPage)); // initialScreen should not be same as finalScreen. - expect( - initialScreen, - isNot(equals(finalScreen)), - ); + expect(initialScreen, isNot(equals(finalScreen))); }); }); } diff --git a/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart b/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart index cf49eca0d..f0d4e7518 100644 --- a/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart +++ b/asset_transformation/grayscale_transformer/bin/grayscale_transformer.dart @@ -11,9 +11,10 @@ int main(List arguments) { // the `--input` option and one for the `--output` option. // `--input` is the original asset file that this program should transform. // `--output` is where flutter expects the transformation output to be written to. - final parser = ArgParser() - ..addOption(inputOptionName, mandatory: true, abbr: 'i') - ..addOption(outputOptionName, mandatory: true, abbr: 'o'); + final parser = + ArgParser() + ..addOption(inputOptionName, mandatory: true, abbr: 'i') + ..addOption(outputOptionName, mandatory: true, abbr: 'o'); ArgResults argResults = parser.parse(arguments); final String inputFilePath = argResults[inputOptionName]; @@ -29,8 +30,10 @@ int main(List arguments) { // The flutter command line tool will see a non-zero exit code (1 in this case) // and fail the build. Anything written to stderr by the asset transformer // will be surfaced by flutter. - stderr.writeln('Unexpected exception when producing grayscale image.\n' - 'Details: $e'); + stderr.writeln( + 'Unexpected exception when producing grayscale image.\n' + 'Details: $e', + ); return 1; } } diff --git a/asset_transformation/grayscale_transformer/pubspec.yaml b/asset_transformation/grayscale_transformer/pubspec.yaml index 5f2d4a6b7..5fe707dd1 100644 --- a/asset_transformation/grayscale_transformer/pubspec.yaml +++ b/asset_transformation/grayscale_transformer/pubspec.yaml @@ -3,7 +3,7 @@ description: A sample command-line application. version: 1.0.0 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: args: ^2.4.2 diff --git a/asset_transformation/pubspec.yaml b/asset_transformation/pubspec.yaml index 31e92e910..ef57e2379 100644 --- a/asset_transformation/pubspec.yaml +++ b/asset_transformation/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 0.1.0 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/background_isolate_channels/lib/main.dart b/background_isolate_channels/lib/main.dart index 48c8f2261..a566f46ef 100644 --- a/background_isolate_channels/lib/main.dart +++ b/background_isolate_channels/lib/main.dart @@ -29,9 +29,7 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Background Isolate Channels', - theme: ThemeData( - primarySwatch: Colors.blue, - ), + theme: ThemeData(primarySwatch: Colors.blue), home: const MyHomePage(title: 'Background Isolate Channels'), ); } @@ -69,7 +67,8 @@ class _MyHomePageState extends State { // just for demonstration purposes. final Future sharedPreferencesSet = SharedPreferences.getInstance() .then( - (sharedPreferences) => sharedPreferences.setBool('isDebug', true)); + (sharedPreferences) => sharedPreferences.setBool('isDebug', true), + ); final Future tempDirFuture = path_provider.getTemporaryDirectory(); @@ -113,8 +112,9 @@ class _MyHomePageState extends State { /// Adds a UUID and a timestamp to the [SimpleDatabase]. void _addDate() { final DateTime now = DateTime.now(); - final DateFormat formatter = - DateFormat('EEEE MMMM d, HH:mm:ss\n${const uuid.Uuid().v4()}'); + final DateFormat formatter = DateFormat( + 'EEEE MMMM d, HH:mm:ss\n${const uuid.Uuid().v4()}', + ); final String formatted = formatter.format(now); _database!.addEntry(formatted).then((_) => _refresh()); } diff --git a/background_isolate_channels/lib/simple_database.dart b/background_isolate_channels/lib/simple_database.dart index 0f04dee74..f53e14954 100644 --- a/background_isolate_channels/lib/simple_database.dart +++ b/background_isolate_channels/lib/simple_database.dart @@ -45,14 +45,7 @@ const int _entrySize = 256; /// All the command codes that can be sent and received between [SimpleDatabase] and /// [_SimpleDatabaseServer]. -enum _Codes { - init, - add, - query, - ack, - result, - done, -} +enum _Codes { init, add, query, ack, result, done } /// A command sent between [SimpleDatabase] and [_SimpleDatabaseServer]. class _Command { @@ -85,8 +78,10 @@ class SimpleDatabase { /// Open the database at [path] and launch the server on a background isolate.. static Future open(String path) async { final ReceivePort receivePort = ReceivePort(); - final Isolate isolate = - await Isolate.spawn(_SimpleDatabaseServer._run, receivePort.sendPort); + final Isolate isolate = await Isolate.spawn( + _SimpleDatabaseServer._run, + receivePort.sendPort, + ); final SimpleDatabase result = SimpleDatabase._(isolate, path); Completer completer = Completer(); result._completers.addFirst(completer); @@ -130,8 +125,9 @@ class SimpleDatabase { // invoke [BackgroundIsolateBinaryMessenger.ensureInitialized]. // ---------------------------------------------------------------------- RootIsolateToken rootIsolateToken = RootIsolateToken.instance!; - _sendPort - .send(_Command(_Codes.init, arg0: _path, arg1: rootIsolateToken)); + _sendPort.send( + _Command(_Codes.init, arg0: _path, arg1: rootIsolateToken), + ); case _Codes.ack: _completers.removeLast().complete(); case _Codes.result: @@ -200,7 +196,8 @@ class _SimpleDatabaseServer { _doFind(command.arg0 as String); default: debugPrint( - '_SimpleDatabaseServer unrecognized command ${command.code}'); + '_SimpleDatabaseServer unrecognized command ${command.code}', + ); } } diff --git a/background_isolate_channels/pubspec.yaml b/background_isolate_channels/pubspec.yaml index 9b0d4c2e5..144297a59 100644 --- a/background_isolate_channels/pubspec.yaml +++ b/background_isolate_channels/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: cupertino_icons: ^1.0.2 diff --git a/code_sharing/client/lib/main.dart b/code_sharing/client/lib/main.dart index 1c669d519..a8aca2f48 100644 --- a/code_sharing/client/lib/main.dart +++ b/code_sharing/client/lib/main.dart @@ -10,20 +10,11 @@ final scheme = Platform.environment['SERVER_SCHEME'] ?? 'http'; final serverUrl = Uri.parse('$scheme://$host:$port/'); void main() { - runApp( - const MyApp( - getCount: getCount, - increment: increment, - ), - ); + runApp(const MyApp(getCount: getCount, increment: increment)); } class MyApp extends StatelessWidget { - const MyApp({ - super.key, - required this.getCount, - required this.increment, - }); + const MyApp({super.key, required this.getCount, required this.increment}); final Future Function() getCount; final Future Function(int) increment; @@ -32,9 +23,7 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', - theme: ThemeData( - colorSchemeSeed: Colors.blue, - ), + theme: ThemeData(colorSchemeSeed: Colors.blue), home: MyHomePage( title: 'Flutter Demo Home Page', getCount: getCount, @@ -74,26 +63,24 @@ class _MyHomePageState extends State { void _incrementCounter() { localClicks += 1; setState(() => isWriting = true); - widget.increment(localClicks).then( - (int val) => setState( - () { - _counter = val; - // Leave this up for at least a split second - Future.delayed( - const Duration(milliseconds: 200), - () => setState(() => isWriting = false), - ); - }, - ), + widget + .increment(localClicks) + .then( + (int val) => setState(() { + _counter = val; + // Leave this up for at least a split second + Future.delayed( + const Duration(milliseconds: 200), + () => setState(() => isWriting = false), + ); + }), ); } @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: Text(widget.title), - ), + appBar: AppBar(title: Text(widget.title)), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, diff --git a/code_sharing/client/pubspec.yaml b/code_sharing/client/pubspec.yaml index f8a7897fb..ae1e57dbe 100644 --- a/code_sharing/client/pubspec.yaml +++ b/code_sharing/client/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: cupertino_icons: ^1.0.2 diff --git a/code_sharing/server/bin/server.dart b/code_sharing/server/bin/server.dart index 6cb3608dd..5a4e45825 100644 --- a/code_sharing/server/bin/server.dart +++ b/code_sharing/server/bin/server.dart @@ -9,9 +9,10 @@ import 'package:shelf_router/shelf_router.dart'; int count = 0; // Configure routes. -final _router = Router() - ..post('/', _incrementHandler) - ..get('/', _getValueHandler); +final _router = + Router() + ..post('/', _incrementHandler) + ..get('/', _getValueHandler); Future _incrementHandler(Request request) async { final incr = Increment.fromJson(json.decode(await request.readAsString())); @@ -27,8 +28,9 @@ void main(List args) async { final ip = InternetAddress.anyIPv4; // Configure a pipeline that logs requests. - final handler = - Pipeline().addMiddleware(logRequests()).addHandler(_router.call); + final handler = Pipeline() + .addMiddleware(logRequests()) + .addHandler(_router.call); // For running in containers, we respect the PORT environment variable. final port = int.parse(Platform.environment['PORT'] ?? '8080'); diff --git a/code_sharing/server/pubspec.yaml b/code_sharing/server/pubspec.yaml index dada36669..abf86b08e 100644 --- a/code_sharing/server/pubspec.yaml +++ b/code_sharing/server/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0 publish_to: "none" environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: args: ^2.0.0 diff --git a/code_sharing/server/test/server_test.dart b/code_sharing/server/test/server_test.dart index 31f3d95ca..99edfe073 100644 --- a/code_sharing/server/test/server_test.dart +++ b/code_sharing/server/test/server_test.dart @@ -42,9 +42,7 @@ void main() { }); }, onPlatform: { - 'windows': [ - Skip('Failing on Windows CI'), - ] + 'windows': [Skip('Failing on Windows CI')], }, ); } diff --git a/code_sharing/shared/lib/src/models.freezed.dart b/code_sharing/shared/lib/src/models.freezed.dart index 4e2d5c9a2..7f0ca2e2d 100644 --- a/code_sharing/shared/lib/src/models.freezed.dart +++ b/code_sharing/shared/lib/src/models.freezed.dart @@ -12,7 +12,8 @@ part of 'models.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#custom-getters-and-methods', +); Increment _$IncrementFromJson(Map json) { return _Increment.fromJson(json); @@ -48,15 +49,17 @@ class _$IncrementCopyWithImpl<$Res, $Val extends Increment> @pragma('vm:prefer-inline') @override - $Res call({ - Object? by = null, - }) { - return _then(_value.copyWith( - by: null == by - ? _value.by - : by // ignore: cast_nullable_to_non_nullable - as int, - ) as $Val); + $Res call({Object? by = null}) { + return _then( + _value.copyWith( + by: + null == by + ? _value.by + : by // ignore: cast_nullable_to_non_nullable + as int, + ) + as $Val, + ); } } @@ -64,8 +67,9 @@ class _$IncrementCopyWithImpl<$Res, $Val extends Increment> abstract class _$$IncrementImplCopyWith<$Res> implements $IncrementCopyWith<$Res> { factory _$$IncrementImplCopyWith( - _$IncrementImpl value, $Res Function(_$IncrementImpl) then) = - __$$IncrementImplCopyWithImpl<$Res>; + _$IncrementImpl value, + $Res Function(_$IncrementImpl) then, + ) = __$$IncrementImplCopyWithImpl<$Res>; @override @useResult $Res call({int by}); @@ -76,20 +80,22 @@ class __$$IncrementImplCopyWithImpl<$Res> extends _$IncrementCopyWithImpl<$Res, _$IncrementImpl> implements _$$IncrementImplCopyWith<$Res> { __$$IncrementImplCopyWithImpl( - _$IncrementImpl _value, $Res Function(_$IncrementImpl) _then) - : super(_value, _then); + _$IncrementImpl _value, + $Res Function(_$IncrementImpl) _then, + ) : super(_value, _then); @pragma('vm:prefer-inline') @override - $Res call({ - Object? by = null, - }) { - return _then(_$IncrementImpl( - by: null == by - ? _value.by - : by // ignore: cast_nullable_to_non_nullable - as int, - )); + $Res call({Object? by = null}) { + return _then( + _$IncrementImpl( + by: + null == by + ? _value.by + : by // ignore: cast_nullable_to_non_nullable + as int, + ), + ); } } @@ -129,9 +135,7 @@ class _$IncrementImpl implements _Increment { @override Map toJson() { - return _$$IncrementImplToJson( - this, - ); + return _$$IncrementImplToJson(this); } } @@ -182,23 +186,26 @@ class _$CountCopyWithImpl<$Res, $Val extends Count> @pragma('vm:prefer-inline') @override - $Res call({ - Object? value = null, - }) { - return _then(_value.copyWith( - value: null == value - ? _value.value - : value // ignore: cast_nullable_to_non_nullable - as int, - ) as $Val); + $Res call({Object? value = null}) { + return _then( + _value.copyWith( + value: + null == value + ? _value.value + : value // ignore: cast_nullable_to_non_nullable + as int, + ) + as $Val, + ); } } /// @nodoc abstract class _$$CountImplCopyWith<$Res> implements $CountCopyWith<$Res> { factory _$$CountImplCopyWith( - _$CountImpl value, $Res Function(_$CountImpl) then) = - __$$CountImplCopyWithImpl<$Res>; + _$CountImpl value, + $Res Function(_$CountImpl) then, + ) = __$$CountImplCopyWithImpl<$Res>; @override @useResult $Res call({int value}); @@ -209,20 +216,21 @@ class __$$CountImplCopyWithImpl<$Res> extends _$CountCopyWithImpl<$Res, _$CountImpl> implements _$$CountImplCopyWith<$Res> { __$$CountImplCopyWithImpl( - _$CountImpl _value, $Res Function(_$CountImpl) _then) - : super(_value, _then); + _$CountImpl _value, + $Res Function(_$CountImpl) _then, + ) : super(_value, _then); @pragma('vm:prefer-inline') @override - $Res call({ - Object? value = null, - }) { - return _then(_$CountImpl( - null == value - ? _value.value - : value // ignore: cast_nullable_to_non_nullable - as int, - )); + $Res call({Object? value = null}) { + return _then( + _$CountImpl( + null == value + ? _value.value + : value // ignore: cast_nullable_to_non_nullable + as int, + ), + ); } } @@ -262,9 +270,7 @@ class _$CountImpl implements _Count { @override Map toJson() { - return _$$CountImplToJson( - this, - ); + return _$$CountImplToJson(this); } } diff --git a/code_sharing/shared/lib/src/models.g.dart b/code_sharing/shared/lib/src/models.g.dart index 81d648df6..dc48f20da 100644 --- a/code_sharing/shared/lib/src/models.g.dart +++ b/code_sharing/shared/lib/src/models.g.dart @@ -7,20 +7,13 @@ part of 'models.dart'; // ************************************************************************** _$IncrementImpl _$$IncrementImplFromJson(Map json) => - _$IncrementImpl( - by: json['by'] as int, - ); + _$IncrementImpl(by: json['by'] as int); Map _$$IncrementImplToJson(_$IncrementImpl instance) => - { - 'by': instance.by, - }; + {'by': instance.by}; -_$CountImpl _$$CountImplFromJson(Map json) => _$CountImpl( - json['value'] as int, - ); +_$CountImpl _$$CountImplFromJson(Map json) => + _$CountImpl(json['value'] as int); Map _$$CountImplToJson(_$CountImpl instance) => - { - 'value': instance.value, - }; + {'value': instance.value}; diff --git a/code_sharing/shared/pubspec.yaml b/code_sharing/shared/pubspec.yaml index a233df780..90c56017b 100644 --- a/code_sharing/shared/pubspec.yaml +++ b/code_sharing/shared/pubspec.yaml @@ -3,7 +3,7 @@ description: Common data models required by our client and server version: 1.0.0 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: freezed_annotation: ^2.1.0 diff --git a/compass_app/app/integration_test/app_local_data_test.dart b/compass_app/app/integration_test/app_local_data_test.dart index 3a8090e6a..db7caf2f8 100644 --- a/compass_app/app/integration_test/app_local_data_test.dart +++ b/compass_app/app/integration_test/app_local_data_test.dart @@ -24,20 +24,14 @@ void main() { testWidgets('should load app', (tester) async { // Load app widget. await tester.pumpWidget( - MultiProvider( - providers: providersLocal, - child: const MainApp(), - ), + MultiProvider(providers: providersLocal, child: const MainApp()), ); }); testWidgets('Open a booking', (tester) async { // Load app widget with local configuration await tester.pumpWidget( - MultiProvider( - providers: providersLocal, - child: const MainApp(), - ), + MultiProvider(providers: providersLocal, child: const MainApp()), ); await tester.pumpAndSettle(); @@ -61,10 +55,7 @@ void main() { testWidgets('Create booking', (tester) async { // Load app widget with local configuration await tester.pumpWidget( - MultiProvider( - providers: providersLocal, - child: const MainApp(), - ), + MultiProvider(providers: providersLocal, child: const MainApp()), ); await tester.pumpAndSettle(); @@ -97,8 +88,10 @@ void main() { await tester.pumpAndSettle(); // Select guests - await tester.tap(find.byKey(const ValueKey(addGuestsKey)), - warnIfMissed: false); + await tester.tap( + find.byKey(const ValueKey(addGuestsKey)), + warnIfMissed: false, + ); // Refresh screen state await tester.pumpAndSettle(); diff --git a/compass_app/app/integration_test/app_server_data_test.dart b/compass_app/app/integration_test/app_server_data_test.dart index d23d52874..cb4bb28b7 100644 --- a/compass_app/app/integration_test/app_server_data_test.dart +++ b/compass_app/app/integration_test/app_server_data_test.dart @@ -50,10 +50,7 @@ void main() { testWidgets('should load app', (tester) async { // Load app widget. await tester.pumpWidget( - MultiProvider( - providers: providersRemote, - child: const MainApp(), - ), + MultiProvider(providers: providersRemote, child: const MainApp()), ); await tester.pumpAndSettle(); @@ -65,10 +62,7 @@ void main() { testWidgets('Open a booking', (tester) async { // Load app widget with local configuration await tester.pumpWidget( - MultiProvider( - providers: providersRemote, - child: const MainApp(), - ), + MultiProvider(providers: providersRemote, child: const MainApp()), ); await tester.pumpAndSettle(); @@ -111,10 +105,7 @@ void main() { testWidgets('Create booking', (tester) async { // Load app widget with local configuration await tester.pumpWidget( - MultiProvider( - providers: providersRemote, - child: const MainApp(), - ), + MultiProvider(providers: providersRemote, child: const MainApp()), ); await tester.pumpAndSettle(); @@ -155,8 +146,10 @@ void main() { await tester.pumpAndSettle(); // Select guests - await tester.tap(find.byKey(const ValueKey('add_guests')), - warnIfMissed: false); + await tester.tap( + find.byKey(const ValueKey('add_guests')), + warnIfMissed: false, + ); // Refresh screen state await tester.pumpAndSettle(); diff --git a/compass_app/app/lib/config/dependencies.dart b/compass_app/app/lib/config/dependencies.dart index 3bd1f065e..3b2bd541a 100644 --- a/compass_app/app/lib/config/dependencies.dart +++ b/compass_app/app/lib/config/dependencies.dart @@ -36,11 +36,12 @@ import '../domain/use_cases/booking/booking_share_use_case.dart'; List _sharedProviders = [ Provider( lazy: true, - create: (context) => BookingCreateUseCase( - destinationRepository: context.read(), - activityRepository: context.read(), - bookingRepository: context.read(), - ), + create: + (context) => BookingCreateUseCase( + destinationRepository: context.read(), + activityRepository: context.read(), + bookingRepository: context.read(), + ), ), Provider( lazy: true, @@ -52,49 +53,50 @@ List _sharedProviders = [ /// This dependency list uses repositories that connect to a remote server. List get providersRemote { return [ - Provider( - create: (context) => AuthApiClient(), - ), - Provider( - create: (context) => ApiClient(), - ), - Provider( - create: (context) => SharedPreferencesService(), - ), + Provider(create: (context) => AuthApiClient()), + Provider(create: (context) => ApiClient()), + Provider(create: (context) => SharedPreferencesService()), ChangeNotifierProvider( - create: (context) => AuthRepositoryRemote( - authApiClient: context.read(), - apiClient: context.read(), - sharedPreferencesService: context.read(), - ) as AuthRepository, + create: + (context) => + AuthRepositoryRemote( + authApiClient: context.read(), + apiClient: context.read(), + sharedPreferencesService: context.read(), + ) + as AuthRepository, ), Provider( - create: (context) => DestinationRepositoryRemote( - apiClient: context.read(), - ) as DestinationRepository, + create: + (context) => + DestinationRepositoryRemote(apiClient: context.read()) + as DestinationRepository, ), Provider( - create: (context) => ContinentRepositoryRemote( - apiClient: context.read(), - ) as ContinentRepository, + create: + (context) => + ContinentRepositoryRemote(apiClient: context.read()) + as ContinentRepository, ), Provider( - create: (context) => ActivityRepositoryRemote( - apiClient: context.read(), - ) as ActivityRepository, + create: + (context) => + ActivityRepositoryRemote(apiClient: context.read()) + as ActivityRepository, ), Provider.value( value: ItineraryConfigRepositoryMemory() as ItineraryConfigRepository, ), Provider( - create: (context) => BookingRepositoryRemote( - apiClient: context.read(), - ) as BookingRepository, + create: + (context) => + BookingRepositoryRemote(apiClient: context.read()) + as BookingRepository, ), Provider( - create: (context) => UserRepositoryRemote( - apiClient: context.read(), - ) as UserRepository, + create: + (context) => + UserRepositoryRemote(apiClient: context.read()) as UserRepository, ), ..._sharedProviders, ]; @@ -105,39 +107,40 @@ List get providersRemote { /// The user is always logged in. List get providersLocal { return [ - ChangeNotifierProvider.value( - value: AuthRepositoryDev() as AuthRepository, - ), - Provider.value( - value: LocalDataService(), - ), + ChangeNotifierProvider.value(value: AuthRepositoryDev() as AuthRepository), + Provider.value(value: LocalDataService()), Provider( - create: (context) => DestinationRepositoryLocal( - localDataService: context.read(), - ) as DestinationRepository, + create: + (context) => + DestinationRepositoryLocal(localDataService: context.read()) + as DestinationRepository, ), Provider( - create: (context) => ContinentRepositoryLocal( - localDataService: context.read(), - ) as ContinentRepository, + create: + (context) => + ContinentRepositoryLocal(localDataService: context.read()) + as ContinentRepository, ), Provider( - create: (context) => ActivityRepositoryLocal( - localDataService: context.read(), - ) as ActivityRepository, + create: + (context) => + ActivityRepositoryLocal(localDataService: context.read()) + as ActivityRepository, ), Provider( - create: (context) => BookingRepositoryLocal( - localDataService: context.read(), - ) as BookingRepository, + create: + (context) => + BookingRepositoryLocal(localDataService: context.read()) + as BookingRepository, ), Provider.value( value: ItineraryConfigRepositoryMemory() as ItineraryConfigRepository, ), Provider( - create: (context) => UserRepositoryLocal( - localDataService: context.read(), - ) as UserRepository, + create: + (context) => + UserRepositoryLocal(localDataService: context.read()) + as UserRepository, ), ..._sharedProviders, ]; diff --git a/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart b/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart index fb2bb23a3..c18c96aef 100644 --- a/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart +++ b/compass_app/app/lib/data/repositories/activity/activity_repository_local.dart @@ -10,18 +10,18 @@ import 'activity_repository.dart'; /// Local implementation of ActivityRepository /// Uses data from assets folder class ActivityRepositoryLocal implements ActivityRepository { - ActivityRepositoryLocal({ - required LocalDataService localDataService, - }) : _localDataService = localDataService; + ActivityRepositoryLocal({required LocalDataService localDataService}) + : _localDataService = localDataService; final LocalDataService _localDataService; @override Future>> getByDestination(String ref) async { try { - final activities = (await _localDataService.getActivities()) - .where((activity) => activity.destinationRef == ref) - .toList(); + final activities = + (await _localDataService.getActivities()) + .where((activity) => activity.destinationRef == ref) + .toList(); return Result.ok(activities); } on Exception catch (error) { diff --git a/compass_app/app/lib/data/repositories/activity/activity_repository_remote.dart b/compass_app/app/lib/data/repositories/activity/activity_repository_remote.dart index be7ce02c6..62eef110a 100644 --- a/compass_app/app/lib/data/repositories/activity/activity_repository_remote.dart +++ b/compass_app/app/lib/data/repositories/activity/activity_repository_remote.dart @@ -11,9 +11,8 @@ import 'activity_repository.dart'; /// Implements basic local caching. /// See: https://docs.flutter.dev/get-started/fwe/local-caching class ActivityRepositoryRemote implements ActivityRepository { - ActivityRepositoryRemote({ - required ApiClient apiClient, - }) : _apiClient = apiClient; + ActivityRepositoryRemote({required ApiClient apiClient}) + : _apiClient = apiClient; final ApiClient _apiClient; diff --git a/compass_app/app/lib/data/repositories/auth/auth_repository.dart b/compass_app/app/lib/data/repositories/auth/auth_repository.dart index b2d1f98f0..f0225a563 100644 --- a/compass_app/app/lib/data/repositories/auth/auth_repository.dart +++ b/compass_app/app/lib/data/repositories/auth/auth_repository.dart @@ -12,10 +12,7 @@ abstract class AuthRepository extends ChangeNotifier { Future get isAuthenticated; /// Perform login - Future> login({ - required String email, - required String password, - }); + Future> login({required String email, required String password}); /// Perform logout Future> logout(); diff --git a/compass_app/app/lib/data/repositories/auth/auth_repository_remote.dart b/compass_app/app/lib/data/repositories/auth/auth_repository_remote.dart index 8d8687f68..078e8b727 100644 --- a/compass_app/app/lib/data/repositories/auth/auth_repository_remote.dart +++ b/compass_app/app/lib/data/repositories/auth/auth_repository_remote.dart @@ -17,9 +17,9 @@ class AuthRepositoryRemote extends AuthRepository { required ApiClient apiClient, required AuthApiClient authApiClient, required SharedPreferencesService sharedPreferencesService, - }) : _apiClient = apiClient, - _authApiClient = authApiClient, - _sharedPreferencesService = sharedPreferencesService { + }) : _apiClient = apiClient, + _authApiClient = authApiClient, + _sharedPreferencesService = sharedPreferencesService { _apiClient.authHeaderProvider = _authHeaderProvider; } @@ -64,10 +64,7 @@ class AuthRepositoryRemote extends AuthRepository { }) async { try { final result = await _authApiClient.login( - LoginRequest( - email: email, - password: password, - ), + LoginRequest(email: email, password: password), ); switch (result) { case Ok(): diff --git a/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart b/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart index a41660257..5e6a60bfc 100644 --- a/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart +++ b/compass_app/app/lib/data/repositories/booking/booking_repository_local.dart @@ -14,9 +14,8 @@ import '../../services/local/local_data_service.dart'; import 'booking_repository.dart'; class BookingRepositoryLocal implements BookingRepository { - BookingRepositoryLocal({ - required LocalDataService localDataService, - }) : _localDataService = localDataService; + BookingRepositoryLocal({required LocalDataService localDataService}) + : _localDataService = localDataService; // Only create default booking once bool _isInitialized = false; @@ -72,10 +71,11 @@ class BookingRepositoryLocal implements BookingRepository { // create a default booking the first time if (_bookings.isEmpty) { final destination = (await _localDataService.getDestinations()).first; - final activities = (await _localDataService.getActivities()) - .where((activity) => activity.destinationRef == destination.ref) - .take(4) - .toList(); + final activities = + (await _localDataService.getActivities()) + .where((activity) => activity.destinationRef == destination.ref) + .take(4) + .toList(); _bookings.add( Booking( diff --git a/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart b/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart index 94ca8fda5..6e721778f 100644 --- a/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart +++ b/compass_app/app/lib/data/repositories/booking/booking_repository_remote.dart @@ -12,9 +12,8 @@ import '../../services/api/model/booking/booking_api_model.dart'; import 'booking_repository.dart'; class BookingRepositoryRemote implements BookingRepository { - BookingRepositoryRemote({ - required ApiClient apiClient, - }) : _apiClient = apiClient; + BookingRepositoryRemote({required ApiClient apiClient}) + : _apiClient = apiClient; final ApiClient _apiClient; @@ -62,18 +61,21 @@ class BookingRepositoryRemote implements BookingRepository { // Get destination for booking final destination = _cachedDestinations!.firstWhere( - (destination) => destination.ref == booking.destinationRef); + (destination) => destination.ref == booking.destinationRef, + ); - final resultActivities = - await _apiClient.getActivityByDestination(destination.ref); + final resultActivities = await _apiClient.getActivityByDestination( + destination.ref, + ); switch (resultActivities) { case Error>(): return Result.error(resultActivities.error); case Ok>(): } - final activities = resultActivities.value - .where((activity) => booking.activitiesRef.contains(activity.ref)) - .toList(); + final activities = + resultActivities.value + .where((activity) => booking.activitiesRef.contains(activity.ref)) + .toList(); return Result.ok( Booking( @@ -96,16 +98,18 @@ class BookingRepositoryRemote implements BookingRepository { switch (result) { case Ok>(): final bookingsApi = result.value; - return Result.ok(bookingsApi - .map( - (bookingApi) => BookingSummary( - id: bookingApi.id!, - name: bookingApi.name, - startDate: bookingApi.startDate, - endDate: bookingApi.endDate, - ), - ) - .toList()); + return Result.ok( + bookingsApi + .map( + (bookingApi) => BookingSummary( + id: bookingApi.id!, + name: bookingApi.name, + startDate: bookingApi.startDate, + endDate: bookingApi.endDate, + ), + ) + .toList(), + ); case Error>(): return Result.error(result.error); } diff --git a/compass_app/app/lib/data/repositories/continent/continent_repository_local.dart b/compass_app/app/lib/data/repositories/continent/continent_repository_local.dart index 8c64f05f7..0ffac4201 100644 --- a/compass_app/app/lib/data/repositories/continent/continent_repository_local.dart +++ b/compass_app/app/lib/data/repositories/continent/continent_repository_local.dart @@ -9,9 +9,8 @@ import 'continent_repository.dart'; /// Local data source with all possible continents. class ContinentRepositoryLocal implements ContinentRepository { - ContinentRepositoryLocal({ - required LocalDataService localDataService, - }) : _localDataService = localDataService; + ContinentRepositoryLocal({required LocalDataService localDataService}) + : _localDataService = localDataService; final LocalDataService _localDataService; diff --git a/compass_app/app/lib/data/repositories/continent/continent_repository_remote.dart b/compass_app/app/lib/data/repositories/continent/continent_repository_remote.dart index a9b32f686..df2803bd6 100644 --- a/compass_app/app/lib/data/repositories/continent/continent_repository_remote.dart +++ b/compass_app/app/lib/data/repositories/continent/continent_repository_remote.dart @@ -11,9 +11,8 @@ import 'continent_repository.dart'; /// Implements basic local caching. /// See: https://docs.flutter.dev/get-started/fwe/local-caching class ContinentRepositoryRemote implements ContinentRepository { - ContinentRepositoryRemote({ - required ApiClient apiClient, - }) : _apiClient = apiClient; + ContinentRepositoryRemote({required ApiClient apiClient}) + : _apiClient = apiClient; final ApiClient _apiClient; diff --git a/compass_app/app/lib/data/repositories/destination/destination_repository_local.dart b/compass_app/app/lib/data/repositories/destination/destination_repository_local.dart index 8604251b7..f40f3e177 100644 --- a/compass_app/app/lib/data/repositories/destination/destination_repository_local.dart +++ b/compass_app/app/lib/data/repositories/destination/destination_repository_local.dart @@ -10,9 +10,8 @@ import 'destination_repository.dart'; /// Local implementation of DestinationRepository /// Uses data from assets folder class DestinationRepositoryLocal implements DestinationRepository { - DestinationRepositoryLocal({ - required LocalDataService localDataService, - }) : _localDataService = localDataService; + DestinationRepositoryLocal({required LocalDataService localDataService}) + : _localDataService = localDataService; final LocalDataService _localDataService; diff --git a/compass_app/app/lib/data/repositories/destination/destination_repository_remote.dart b/compass_app/app/lib/data/repositories/destination/destination_repository_remote.dart index a2357ba90..28edc2091 100644 --- a/compass_app/app/lib/data/repositories/destination/destination_repository_remote.dart +++ b/compass_app/app/lib/data/repositories/destination/destination_repository_remote.dart @@ -11,9 +11,8 @@ import 'destination_repository.dart'; /// Implements basic local caching. /// See: https://docs.flutter.dev/get-started/fwe/local-caching class DestinationRepositoryRemote implements DestinationRepository { - DestinationRepositoryRemote({ - required ApiClient apiClient, - }) : _apiClient = apiClient; + DestinationRepositoryRemote({required ApiClient apiClient}) + : _apiClient = apiClient; final ApiClient _apiClient; diff --git a/compass_app/app/lib/data/repositories/user/user_repository_local.dart b/compass_app/app/lib/data/repositories/user/user_repository_local.dart index 09ad4300b..0137d92ab 100644 --- a/compass_app/app/lib/data/repositories/user/user_repository_local.dart +++ b/compass_app/app/lib/data/repositories/user/user_repository_local.dart @@ -8,9 +8,8 @@ import '../../services/local/local_data_service.dart'; import 'user_repository.dart'; class UserRepositoryLocal implements UserRepository { - UserRepositoryLocal({ - required LocalDataService localDataService, - }) : _localDataService = localDataService; + UserRepositoryLocal({required LocalDataService localDataService}) + : _localDataService = localDataService; final LocalDataService _localDataService; diff --git a/compass_app/app/lib/data/repositories/user/user_repository_remote.dart b/compass_app/app/lib/data/repositories/user/user_repository_remote.dart index 35e47ff6d..bdade1fb9 100644 --- a/compass_app/app/lib/data/repositories/user/user_repository_remote.dart +++ b/compass_app/app/lib/data/repositories/user/user_repository_remote.dart @@ -9,9 +9,7 @@ import '../../services/api/model/user/user_api_model.dart'; import 'user_repository.dart'; class UserRepositoryRemote implements UserRepository { - UserRepositoryRemote({ - required ApiClient apiClient, - }) : _apiClient = apiClient; + UserRepositoryRemote({required ApiClient apiClient}) : _apiClient = apiClient; final ApiClient _apiClient; diff --git a/compass_app/app/lib/data/services/api/api_client.dart b/compass_app/app/lib/data/services/api/api_client.dart index 9b75a4d21..22c32e829 100644 --- a/compass_app/app/lib/data/services/api/api_client.dart +++ b/compass_app/app/lib/data/services/api/api_client.dart @@ -16,13 +16,10 @@ import 'model/user/user_api_model.dart'; typedef AuthHeaderProvider = String? Function(); class ApiClient { - ApiClient({ - String? host, - int? port, - HttpClient Function()? clientFactory, - }) : _host = host ?? 'localhost', - _port = port ?? 8080, - _clientFactory = clientFactory ?? HttpClient.new; + ApiClient({String? host, int? port, HttpClient Function()? clientFactory}) + : _host = host ?? 'localhost', + _port = port ?? 8080, + _clientFactory = clientFactory ?? HttpClient.new; final String _host; final int _port; @@ -51,7 +48,8 @@ class ApiClient { final stringData = await response.transform(utf8.decoder).join(); final json = jsonDecode(stringData) as List; return Result.ok( - json.map((element) => Continent.fromJson(element)).toList()); + json.map((element) => Continent.fromJson(element)).toList(), + ); } else { return const Result.error(HttpException("Invalid response")); } @@ -72,7 +70,8 @@ class ApiClient { final stringData = await response.transform(utf8.decoder).join(); final json = jsonDecode(stringData) as List; return Result.ok( - json.map((element) => Destination.fromJson(element)).toList()); + json.map((element) => Destination.fromJson(element)).toList(), + ); } else { return const Result.error(HttpException("Invalid response")); } @@ -86,8 +85,11 @@ class ApiClient { Future>> getActivityByDestination(String ref) async { final client = _clientFactory(); try { - final request = - await client.get(_host, _port, '/destination/$ref/activity'); + final request = await client.get( + _host, + _port, + '/destination/$ref/activity', + ); await _authHeader(request.headers); final response = await request.close(); if (response.statusCode == 200) { diff --git a/compass_app/app/lib/data/services/api/auth_api_client.dart b/compass_app/app/lib/data/services/api/auth_api_client.dart index 90cfb1619..a32ef590a 100644 --- a/compass_app/app/lib/data/services/api/auth_api_client.dart +++ b/compass_app/app/lib/data/services/api/auth_api_client.dart @@ -10,13 +10,10 @@ import 'model/login_request/login_request.dart'; import 'model/login_response/login_response.dart'; class AuthApiClient { - AuthApiClient({ - String? host, - int? port, - HttpClient Function()? clientFactory, - }) : _host = host ?? 'localhost', - _port = port ?? 8080, - _clientFactory = clientFactory ?? HttpClient.new; + AuthApiClient({String? host, int? port, HttpClient Function()? clientFactory}) + : _host = host ?? 'localhost', + _port = port ?? 8080, + _clientFactory = clientFactory ?? HttpClient.new; final String _host; final int _port; diff --git a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart index e3589dc52..6a6f31722 100644 --- a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart +++ b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.freezed.dart @@ -12,7 +12,8 @@ part of 'booking_api_model.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); BookingApiModel _$BookingApiModelFromJson(Map json) { return _BookingApiModel.fromJson(json); @@ -52,16 +53,18 @@ mixin _$BookingApiModel { /// @nodoc abstract class $BookingApiModelCopyWith<$Res> { factory $BookingApiModelCopyWith( - BookingApiModel value, $Res Function(BookingApiModel) then) = - _$BookingApiModelCopyWithImpl<$Res, BookingApiModel>; + BookingApiModel value, + $Res Function(BookingApiModel) then, + ) = _$BookingApiModelCopyWithImpl<$Res, BookingApiModel>; @useResult - $Res call( - {int? id, - DateTime startDate, - DateTime endDate, - String name, - String destinationRef, - List activitiesRef}); + $Res call({ + int? id, + DateTime startDate, + DateTime endDate, + String name, + String destinationRef, + List activitiesRef, + }); } /// @nodoc @@ -86,50 +89,61 @@ class _$BookingApiModelCopyWithImpl<$Res, $Val extends BookingApiModel> Object? destinationRef = null, Object? activitiesRef = null, }) { - return _then(_value.copyWith( - id: freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - destinationRef: null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - activitiesRef: null == activitiesRef - ? _value.activitiesRef - : activitiesRef // ignore: cast_nullable_to_non_nullable - as List, - ) as $Val); + return _then( + _value.copyWith( + id: + freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: + null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: + null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: + null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: + null == activitiesRef + ? _value.activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, + ) + as $Val, + ); } } /// @nodoc abstract class _$$BookingApiModelImplCopyWith<$Res> implements $BookingApiModelCopyWith<$Res> { - factory _$$BookingApiModelImplCopyWith(_$BookingApiModelImpl value, - $Res Function(_$BookingApiModelImpl) then) = - __$$BookingApiModelImplCopyWithImpl<$Res>; + factory _$$BookingApiModelImplCopyWith( + _$BookingApiModelImpl value, + $Res Function(_$BookingApiModelImpl) then, + ) = __$$BookingApiModelImplCopyWithImpl<$Res>; @override @useResult - $Res call( - {int? id, - DateTime startDate, - DateTime endDate, - String name, - String destinationRef, - List activitiesRef}); + $Res call({ + int? id, + DateTime startDate, + DateTime endDate, + String name, + String destinationRef, + List activitiesRef, + }); } /// @nodoc @@ -137,8 +151,9 @@ class __$$BookingApiModelImplCopyWithImpl<$Res> extends _$BookingApiModelCopyWithImpl<$Res, _$BookingApiModelImpl> implements _$$BookingApiModelImplCopyWith<$Res> { __$$BookingApiModelImplCopyWithImpl( - _$BookingApiModelImpl _value, $Res Function(_$BookingApiModelImpl) _then) - : super(_value, _then); + _$BookingApiModelImpl _value, + $Res Function(_$BookingApiModelImpl) _then, + ) : super(_value, _then); /// Create a copy of BookingApiModel /// with the given fields replaced by the non-null parameter values. @@ -152,46 +167,54 @@ class __$$BookingApiModelImplCopyWithImpl<$Res> Object? destinationRef = null, Object? activitiesRef = null, }) { - return _then(_$BookingApiModelImpl( - id: freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - destinationRef: null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - activitiesRef: null == activitiesRef - ? _value._activitiesRef - : activitiesRef // ignore: cast_nullable_to_non_nullable - as List, - )); + return _then( + _$BookingApiModelImpl( + id: + freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: + null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: + null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: + null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: + null == activitiesRef + ? _value._activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, + ), + ); } } /// @nodoc @JsonSerializable() class _$BookingApiModelImpl implements _BookingApiModel { - const _$BookingApiModelImpl( - {this.id, - required this.startDate, - required this.endDate, - required this.name, - required this.destinationRef, - required final List activitiesRef}) - : _activitiesRef = activitiesRef; + const _$BookingApiModelImpl({ + this.id, + required this.startDate, + required this.endDate, + required this.name, + required this.destinationRef, + required final List activitiesRef, + }) : _activitiesRef = activitiesRef; factory _$BookingApiModelImpl.fromJson(Map json) => _$$BookingApiModelImplFromJson(json); @@ -245,14 +268,23 @@ class _$BookingApiModelImpl implements _BookingApiModel { (identical(other.name, name) || other.name == name) && (identical(other.destinationRef, destinationRef) || other.destinationRef == destinationRef) && - const DeepCollectionEquality() - .equals(other._activitiesRef, _activitiesRef)); + const DeepCollectionEquality().equals( + other._activitiesRef, + _activitiesRef, + )); } @JsonKey(includeFromJson: false, includeToJson: false) @override - int get hashCode => Object.hash(runtimeType, id, startDate, endDate, name, - destinationRef, const DeepCollectionEquality().hash(_activitiesRef)); + int get hashCode => Object.hash( + runtimeType, + id, + startDate, + endDate, + name, + destinationRef, + const DeepCollectionEquality().hash(_activitiesRef), + ); /// Create a copy of BookingApiModel /// with the given fields replaced by the non-null parameter values. @@ -261,24 +293,25 @@ class _$BookingApiModelImpl implements _BookingApiModel { @pragma('vm:prefer-inline') _$$BookingApiModelImplCopyWith<_$BookingApiModelImpl> get copyWith => __$$BookingApiModelImplCopyWithImpl<_$BookingApiModelImpl>( - this, _$identity); + this, + _$identity, + ); @override Map toJson() { - return _$$BookingApiModelImplToJson( - this, - ); + return _$$BookingApiModelImplToJson(this); } } abstract class _BookingApiModel implements BookingApiModel { - const factory _BookingApiModel( - {final int? id, - required final DateTime startDate, - required final DateTime endDate, - required final String name, - required final String destinationRef, - required final List activitiesRef}) = _$BookingApiModelImpl; + const factory _BookingApiModel({ + final int? id, + required final DateTime startDate, + required final DateTime endDate, + required final String name, + required final String destinationRef, + required final List activitiesRef, + }) = _$BookingApiModelImpl; factory _BookingApiModel.fromJson(Map json) = _$BookingApiModelImpl.fromJson; diff --git a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart index 8be3181bf..d5df306a3 100644 --- a/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart +++ b/compass_app/app/lib/data/services/api/model/booking/booking_api_model.g.dart @@ -7,25 +7,24 @@ part of 'booking_api_model.dart'; // ************************************************************************** _$BookingApiModelImpl _$$BookingApiModelImplFromJson( - Map json) => - _$BookingApiModelImpl( - id: (json['id'] as num?)?.toInt(), - startDate: DateTime.parse(json['startDate'] as String), - endDate: DateTime.parse(json['endDate'] as String), - name: json['name'] as String, - destinationRef: json['destinationRef'] as String, - activitiesRef: (json['activitiesRef'] as List) - .map((e) => e as String) - .toList(), - ); + Map json, +) => _$BookingApiModelImpl( + id: (json['id'] as num?)?.toInt(), + startDate: DateTime.parse(json['startDate'] as String), + endDate: DateTime.parse(json['endDate'] as String), + name: json['name'] as String, + destinationRef: json['destinationRef'] as String, + activitiesRef: + (json['activitiesRef'] as List).map((e) => e as String).toList(), +); Map _$$BookingApiModelImplToJson( - _$BookingApiModelImpl instance) => - { - 'id': instance.id, - 'startDate': instance.startDate.toIso8601String(), - 'endDate': instance.endDate.toIso8601String(), - 'name': instance.name, - 'destinationRef': instance.destinationRef, - 'activitiesRef': instance.activitiesRef, - }; + _$BookingApiModelImpl instance, +) => { + 'id': instance.id, + 'startDate': instance.startDate.toIso8601String(), + 'endDate': instance.endDate.toIso8601String(), + 'name': instance.name, + 'destinationRef': instance.destinationRef, + 'activitiesRef': instance.activitiesRef, +}; diff --git a/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart b/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart index d130b9a4f..a45082a15 100644 --- a/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart +++ b/compass_app/app/lib/data/services/api/model/login_request/login_request.freezed.dart @@ -12,7 +12,8 @@ part of 'login_request.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); LoginRequest _$LoginRequestFromJson(Map json) { return _LoginRequest.fromJson(json); @@ -39,8 +40,9 @@ mixin _$LoginRequest { /// @nodoc abstract class $LoginRequestCopyWith<$Res> { factory $LoginRequestCopyWith( - LoginRequest value, $Res Function(LoginRequest) then) = - _$LoginRequestCopyWithImpl<$Res, LoginRequest>; + LoginRequest value, + $Res Function(LoginRequest) then, + ) = _$LoginRequestCopyWithImpl<$Res, LoginRequest>; @useResult $Res call({String email, String password}); } @@ -59,20 +61,22 @@ class _$LoginRequestCopyWithImpl<$Res, $Val extends LoginRequest> /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? email = null, - Object? password = null, - }) { - return _then(_value.copyWith( - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + $Res call({Object? email = null, Object? password = null}) { + return _then( + _value.copyWith( + email: + null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: + null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -80,8 +84,9 @@ class _$LoginRequestCopyWithImpl<$Res, $Val extends LoginRequest> abstract class _$$LoginRequestImplCopyWith<$Res> implements $LoginRequestCopyWith<$Res> { factory _$$LoginRequestImplCopyWith( - _$LoginRequestImpl value, $Res Function(_$LoginRequestImpl) then) = - __$$LoginRequestImplCopyWithImpl<$Res>; + _$LoginRequestImpl value, + $Res Function(_$LoginRequestImpl) then, + ) = __$$LoginRequestImplCopyWithImpl<$Res>; @override @useResult $Res call({String email, String password}); @@ -92,27 +97,29 @@ class __$$LoginRequestImplCopyWithImpl<$Res> extends _$LoginRequestCopyWithImpl<$Res, _$LoginRequestImpl> implements _$$LoginRequestImplCopyWith<$Res> { __$$LoginRequestImplCopyWithImpl( - _$LoginRequestImpl _value, $Res Function(_$LoginRequestImpl) _then) - : super(_value, _then); + _$LoginRequestImpl _value, + $Res Function(_$LoginRequestImpl) _then, + ) : super(_value, _then); /// Create a copy of LoginRequest /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? email = null, - Object? password = null, - }) { - return _then(_$LoginRequestImpl( - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, - )); + $Res call({Object? email = null, Object? password = null}) { + return _then( + _$LoginRequestImpl( + email: + null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: + null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } @@ -161,16 +168,15 @@ class _$LoginRequestImpl implements _LoginRequest { @override Map toJson() { - return _$$LoginRequestImplToJson( - this, - ); + return _$$LoginRequestImplToJson(this); } } abstract class _LoginRequest implements LoginRequest { - const factory _LoginRequest( - {required final String email, - required final String password}) = _$LoginRequestImpl; + const factory _LoginRequest({ + required final String email, + required final String password, + }) = _$LoginRequestImpl; factory _LoginRequest.fromJson(Map json) = _$LoginRequestImpl.fromJson; diff --git a/compass_app/app/lib/data/services/api/model/login_request/login_request.g.dart b/compass_app/app/lib/data/services/api/model/login_request/login_request.g.dart index 0a11bd9f2..0b7e89c75 100644 --- a/compass_app/app/lib/data/services/api/model/login_request/login_request.g.dart +++ b/compass_app/app/lib/data/services/api/model/login_request/login_request.g.dart @@ -13,7 +13,4 @@ _$LoginRequestImpl _$$LoginRequestImplFromJson(Map json) => ); Map _$$LoginRequestImplToJson(_$LoginRequestImpl instance) => - { - 'email': instance.email, - 'password': instance.password, - }; + {'email': instance.email, 'password': instance.password}; diff --git a/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart b/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart index bfc5829a6..49be034eb 100644 --- a/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart +++ b/compass_app/app/lib/data/services/api/model/login_response/login_response.freezed.dart @@ -12,7 +12,8 @@ part of 'login_response.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); LoginResponse _$LoginResponseFromJson(Map json) { return _LoginResponse.fromJson(json); @@ -39,8 +40,9 @@ mixin _$LoginResponse { /// @nodoc abstract class $LoginResponseCopyWith<$Res> { factory $LoginResponseCopyWith( - LoginResponse value, $Res Function(LoginResponse) then) = - _$LoginResponseCopyWithImpl<$Res, LoginResponse>; + LoginResponse value, + $Res Function(LoginResponse) then, + ) = _$LoginResponseCopyWithImpl<$Res, LoginResponse>; @useResult $Res call({String token, String userId}); } @@ -59,20 +61,22 @@ class _$LoginResponseCopyWithImpl<$Res, $Val extends LoginResponse> /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? token = null, - Object? userId = null, - }) { - return _then(_value.copyWith( - token: null == token - ? _value.token - : token // ignore: cast_nullable_to_non_nullable - as String, - userId: null == userId - ? _value.userId - : userId // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + $Res call({Object? token = null, Object? userId = null}) { + return _then( + _value.copyWith( + token: + null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: + null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -80,8 +84,9 @@ class _$LoginResponseCopyWithImpl<$Res, $Val extends LoginResponse> abstract class _$$LoginResponseImplCopyWith<$Res> implements $LoginResponseCopyWith<$Res> { factory _$$LoginResponseImplCopyWith( - _$LoginResponseImpl value, $Res Function(_$LoginResponseImpl) then) = - __$$LoginResponseImplCopyWithImpl<$Res>; + _$LoginResponseImpl value, + $Res Function(_$LoginResponseImpl) then, + ) = __$$LoginResponseImplCopyWithImpl<$Res>; @override @useResult $Res call({String token, String userId}); @@ -92,27 +97,29 @@ class __$$LoginResponseImplCopyWithImpl<$Res> extends _$LoginResponseCopyWithImpl<$Res, _$LoginResponseImpl> implements _$$LoginResponseImplCopyWith<$Res> { __$$LoginResponseImplCopyWithImpl( - _$LoginResponseImpl _value, $Res Function(_$LoginResponseImpl) _then) - : super(_value, _then); + _$LoginResponseImpl _value, + $Res Function(_$LoginResponseImpl) _then, + ) : super(_value, _then); /// Create a copy of LoginResponse /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? token = null, - Object? userId = null, - }) { - return _then(_$LoginResponseImpl( - token: null == token - ? _value.token - : token // ignore: cast_nullable_to_non_nullable - as String, - userId: null == userId - ? _value.userId - : userId // ignore: cast_nullable_to_non_nullable - as String, - )); + $Res call({Object? token = null, Object? userId = null}) { + return _then( + _$LoginResponseImpl( + token: + null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: + null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } @@ -160,16 +167,15 @@ class _$LoginResponseImpl implements _LoginResponse { @override Map toJson() { - return _$$LoginResponseImplToJson( - this, - ); + return _$$LoginResponseImplToJson(this); } } abstract class _LoginResponse implements LoginResponse { - const factory _LoginResponse( - {required final String token, - required final String userId}) = _$LoginResponseImpl; + const factory _LoginResponse({ + required final String token, + required final String userId, + }) = _$LoginResponseImpl; factory _LoginResponse.fromJson(Map json) = _$LoginResponseImpl.fromJson; diff --git a/compass_app/app/lib/data/services/api/model/login_response/login_response.g.dart b/compass_app/app/lib/data/services/api/model/login_response/login_response.g.dart index f1ee1db63..c044a4d26 100644 --- a/compass_app/app/lib/data/services/api/model/login_response/login_response.g.dart +++ b/compass_app/app/lib/data/services/api/model/login_response/login_response.g.dart @@ -13,7 +13,4 @@ _$LoginResponseImpl _$$LoginResponseImplFromJson(Map json) => ); Map _$$LoginResponseImplToJson(_$LoginResponseImpl instance) => - { - 'token': instance.token, - 'userId': instance.userId, - }; + {'token': instance.token, 'userId': instance.userId}; diff --git a/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart b/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart index 6725b7f02..1ba6de18f 100644 --- a/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart +++ b/compass_app/app/lib/data/services/api/model/user/user_api_model.freezed.dart @@ -12,7 +12,8 @@ part of 'user_api_model.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); UserApiModel _$UserApiModelFromJson(Map json) { return _UserApiModel.fromJson(json); @@ -45,8 +46,9 @@ mixin _$UserApiModel { /// @nodoc abstract class $UserApiModelCopyWith<$Res> { factory $UserApiModelCopyWith( - UserApiModel value, $Res Function(UserApiModel) then) = - _$UserApiModelCopyWithImpl<$Res, UserApiModel>; + UserApiModel value, + $Res Function(UserApiModel) then, + ) = _$UserApiModelCopyWithImpl<$Res, UserApiModel>; @useResult $Res call({String id, String name, String email, String picture}); } @@ -71,24 +73,31 @@ class _$UserApiModelCopyWithImpl<$Res, $Val extends UserApiModel> Object? email = null, Object? picture = null, }) { - return _then(_value.copyWith( - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - picture: null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + return _then( + _value.copyWith( + id: + null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: + null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: + null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -96,8 +105,9 @@ class _$UserApiModelCopyWithImpl<$Res, $Val extends UserApiModel> abstract class _$$UserApiModelImplCopyWith<$Res> implements $UserApiModelCopyWith<$Res> { factory _$$UserApiModelImplCopyWith( - _$UserApiModelImpl value, $Res Function(_$UserApiModelImpl) then) = - __$$UserApiModelImplCopyWithImpl<$Res>; + _$UserApiModelImpl value, + $Res Function(_$UserApiModelImpl) then, + ) = __$$UserApiModelImplCopyWithImpl<$Res>; @override @useResult $Res call({String id, String name, String email, String picture}); @@ -108,8 +118,9 @@ class __$$UserApiModelImplCopyWithImpl<$Res> extends _$UserApiModelCopyWithImpl<$Res, _$UserApiModelImpl> implements _$$UserApiModelImplCopyWith<$Res> { __$$UserApiModelImplCopyWithImpl( - _$UserApiModelImpl _value, $Res Function(_$UserApiModelImpl) _then) - : super(_value, _then); + _$UserApiModelImpl _value, + $Res Function(_$UserApiModelImpl) _then, + ) : super(_value, _then); /// Create a copy of UserApiModel /// with the given fields replaced by the non-null parameter values. @@ -121,35 +132,42 @@ class __$$UserApiModelImplCopyWithImpl<$Res> Object? email = null, Object? picture = null, }) { - return _then(_$UserApiModelImpl( - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - picture: null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, - )); + return _then( + _$UserApiModelImpl( + id: + null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: + null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: + null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } /// @nodoc @JsonSerializable() class _$UserApiModelImpl implements _UserApiModel { - const _$UserApiModelImpl( - {required this.id, - required this.name, - required this.email, - required this.picture}); + const _$UserApiModelImpl({ + required this.id, + required this.name, + required this.email, + required this.picture, + }); factory _$UserApiModelImpl.fromJson(Map json) => _$$UserApiModelImplFromJson(json); @@ -200,18 +218,17 @@ class _$UserApiModelImpl implements _UserApiModel { @override Map toJson() { - return _$$UserApiModelImplToJson( - this, - ); + return _$$UserApiModelImplToJson(this); } } abstract class _UserApiModel implements UserApiModel { - const factory _UserApiModel( - {required final String id, - required final String name, - required final String email, - required final String picture}) = _$UserApiModelImpl; + const factory _UserApiModel({ + required final String id, + required final String name, + required final String email, + required final String picture, + }) = _$UserApiModelImpl; factory _UserApiModel.fromJson(Map json) = _$UserApiModelImpl.fromJson; diff --git a/compass_app/app/lib/domain/models/activity/activity.dart b/compass_app/app/lib/domain/models/activity/activity.dart index eef66e8dc..654861a7d 100644 --- a/compass_app/app/lib/domain/models/activity/activity.dart +++ b/compass_app/app/lib/domain/models/activity/activity.dart @@ -8,13 +8,7 @@ part 'activity.freezed.dart'; part 'activity.g.dart'; -enum TimeOfDay { - any, - morning, - afternoon, - evening, - night, -} +enum TimeOfDay { any, morning, afternoon, evening, night } @freezed class Activity with _$Activity { diff --git a/compass_app/app/lib/domain/models/activity/activity.freezed.dart b/compass_app/app/lib/domain/models/activity/activity.freezed.dart index 6e277d0bc..b900e74da 100644 --- a/compass_app/app/lib/domain/models/activity/activity.freezed.dart +++ b/compass_app/app/lib/domain/models/activity/activity.freezed.dart @@ -12,7 +12,8 @@ part of 'activity.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); Activity _$ActivityFromJson(Map json) { return _Activity.fromJson(json); @@ -66,17 +67,18 @@ abstract class $ActivityCopyWith<$Res> { factory $ActivityCopyWith(Activity value, $Res Function(Activity) then) = _$ActivityCopyWithImpl<$Res, Activity>; @useResult - $Res call( - {String name, - String description, - String locationName, - int duration, - TimeOfDay timeOfDay, - bool familyFriendly, - int price, - String destinationRef, - String ref, - String imageUrl}); + $Res call({ + String name, + String description, + String locationName, + int duration, + TimeOfDay timeOfDay, + bool familyFriendly, + int price, + String destinationRef, + String ref, + String imageUrl, + }); } /// @nodoc @@ -105,48 +107,61 @@ class _$ActivityCopyWithImpl<$Res, $Val extends Activity> Object? ref = null, Object? imageUrl = null, }) { - return _then(_value.copyWith( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - description: null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - locationName: null == locationName - ? _value.locationName - : locationName // ignore: cast_nullable_to_non_nullable - as String, - duration: null == duration - ? _value.duration - : duration // ignore: cast_nullable_to_non_nullable - as int, - timeOfDay: null == timeOfDay - ? _value.timeOfDay - : timeOfDay // ignore: cast_nullable_to_non_nullable - as TimeOfDay, - familyFriendly: null == familyFriendly - ? _value.familyFriendly - : familyFriendly // ignore: cast_nullable_to_non_nullable - as bool, - price: null == price - ? _value.price - : price // ignore: cast_nullable_to_non_nullable - as int, - destinationRef: null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - ref: null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + return _then( + _value.copyWith( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: + null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: + null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: + null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: + null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: + null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: + null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: + null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: + null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -154,21 +169,23 @@ class _$ActivityCopyWithImpl<$Res, $Val extends Activity> abstract class _$$ActivityImplCopyWith<$Res> implements $ActivityCopyWith<$Res> { factory _$$ActivityImplCopyWith( - _$ActivityImpl value, $Res Function(_$ActivityImpl) then) = - __$$ActivityImplCopyWithImpl<$Res>; + _$ActivityImpl value, + $Res Function(_$ActivityImpl) then, + ) = __$$ActivityImplCopyWithImpl<$Res>; @override @useResult - $Res call( - {String name, - String description, - String locationName, - int duration, - TimeOfDay timeOfDay, - bool familyFriendly, - int price, - String destinationRef, - String ref, - String imageUrl}); + $Res call({ + String name, + String description, + String locationName, + int duration, + TimeOfDay timeOfDay, + bool familyFriendly, + int price, + String destinationRef, + String ref, + String imageUrl, + }); } /// @nodoc @@ -176,8 +193,9 @@ class __$$ActivityImplCopyWithImpl<$Res> extends _$ActivityCopyWithImpl<$Res, _$ActivityImpl> implements _$$ActivityImplCopyWith<$Res> { __$$ActivityImplCopyWithImpl( - _$ActivityImpl _value, $Res Function(_$ActivityImpl) _then) - : super(_value, _then); + _$ActivityImpl _value, + $Res Function(_$ActivityImpl) _then, + ) : super(_value, _then); /// Create a copy of Activity /// with the given fields replaced by the non-null parameter values. @@ -195,65 +213,78 @@ class __$$ActivityImplCopyWithImpl<$Res> Object? ref = null, Object? imageUrl = null, }) { - return _then(_$ActivityImpl( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - description: null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - locationName: null == locationName - ? _value.locationName - : locationName // ignore: cast_nullable_to_non_nullable - as String, - duration: null == duration - ? _value.duration - : duration // ignore: cast_nullable_to_non_nullable - as int, - timeOfDay: null == timeOfDay - ? _value.timeOfDay - : timeOfDay // ignore: cast_nullable_to_non_nullable - as TimeOfDay, - familyFriendly: null == familyFriendly - ? _value.familyFriendly - : familyFriendly // ignore: cast_nullable_to_non_nullable - as bool, - price: null == price - ? _value.price - : price // ignore: cast_nullable_to_non_nullable - as int, - destinationRef: null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - ref: null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - )); + return _then( + _$ActivityImpl( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: + null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: + null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: + null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: + null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: + null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: + null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: + null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: + null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } /// @nodoc @JsonSerializable() class _$ActivityImpl implements _Activity { - const _$ActivityImpl( - {required this.name, - required this.description, - required this.locationName, - required this.duration, - required this.timeOfDay, - required this.familyFriendly, - required this.price, - required this.destinationRef, - required this.ref, - required this.imageUrl}); + const _$ActivityImpl({ + required this.name, + required this.description, + required this.locationName, + required this.duration, + required this.timeOfDay, + required this.familyFriendly, + required this.price, + required this.destinationRef, + required this.ref, + required this.imageUrl, + }); factory _$ActivityImpl.fromJson(Map json) => _$$ActivityImplFromJson(json); @@ -331,17 +362,18 @@ class _$ActivityImpl implements _Activity { @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( - runtimeType, - name, - description, - locationName, - duration, - timeOfDay, - familyFriendly, - price, - destinationRef, - ref, - imageUrl); + runtimeType, + name, + description, + locationName, + duration, + timeOfDay, + familyFriendly, + price, + destinationRef, + ref, + imageUrl, + ); /// Create a copy of Activity /// with the given fields replaced by the non-null parameter values. @@ -353,24 +385,23 @@ class _$ActivityImpl implements _Activity { @override Map toJson() { - return _$$ActivityImplToJson( - this, - ); + return _$$ActivityImplToJson(this); } } abstract class _Activity implements Activity { - const factory _Activity( - {required final String name, - required final String description, - required final String locationName, - required final int duration, - required final TimeOfDay timeOfDay, - required final bool familyFriendly, - required final int price, - required final String destinationRef, - required final String ref, - required final String imageUrl}) = _$ActivityImpl; + const factory _Activity({ + required final String name, + required final String description, + required final String locationName, + required final int duration, + required final TimeOfDay timeOfDay, + required final bool familyFriendly, + required final int price, + required final String destinationRef, + required final String ref, + required final String imageUrl, + }) = _$ActivityImpl; factory _Activity.fromJson(Map json) = _$ActivityImpl.fromJson; diff --git a/compass_app/app/lib/domain/models/booking/booking.freezed.dart b/compass_app/app/lib/domain/models/booking/booking.freezed.dart index 680856e46..991449de1 100644 --- a/compass_app/app/lib/domain/models/booking/booking.freezed.dart +++ b/compass_app/app/lib/domain/models/booking/booking.freezed.dart @@ -12,7 +12,8 @@ part of 'booking.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); Booking _$BookingFromJson(Map json) { return _Booking.fromJson(json); @@ -50,12 +51,13 @@ abstract class $BookingCopyWith<$Res> { factory $BookingCopyWith(Booking value, $Res Function(Booking) then) = _$BookingCopyWithImpl<$Res, Booking>; @useResult - $Res call( - {int? id, - DateTime startDate, - DateTime endDate, - Destination destination, - List activity}); + $Res call({ + int? id, + DateTime startDate, + DateTime endDate, + Destination destination, + List activity, + }); $DestinationCopyWith<$Res> get destination; } @@ -81,28 +83,36 @@ class _$BookingCopyWithImpl<$Res, $Val extends Booking> Object? destination = null, Object? activity = null, }) { - return _then(_value.copyWith( - id: freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - destination: null == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as Destination, - activity: null == activity - ? _value.activity - : activity // ignore: cast_nullable_to_non_nullable - as List, - ) as $Val); + return _then( + _value.copyWith( + id: + freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: + null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: + null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + destination: + null == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as Destination, + activity: + null == activity + ? _value.activity + : activity // ignore: cast_nullable_to_non_nullable + as List, + ) + as $Val, + ); } /// Create a copy of Booking @@ -119,16 +129,18 @@ class _$BookingCopyWithImpl<$Res, $Val extends Booking> /// @nodoc abstract class _$$BookingImplCopyWith<$Res> implements $BookingCopyWith<$Res> { factory _$$BookingImplCopyWith( - _$BookingImpl value, $Res Function(_$BookingImpl) then) = - __$$BookingImplCopyWithImpl<$Res>; + _$BookingImpl value, + $Res Function(_$BookingImpl) then, + ) = __$$BookingImplCopyWithImpl<$Res>; @override @useResult - $Res call( - {int? id, - DateTime startDate, - DateTime endDate, - Destination destination, - List activity}); + $Res call({ + int? id, + DateTime startDate, + DateTime endDate, + Destination destination, + List activity, + }); @override $DestinationCopyWith<$Res> get destination; @@ -139,8 +151,9 @@ class __$$BookingImplCopyWithImpl<$Res> extends _$BookingCopyWithImpl<$Res, _$BookingImpl> implements _$$BookingImplCopyWith<$Res> { __$$BookingImplCopyWithImpl( - _$BookingImpl _value, $Res Function(_$BookingImpl) _then) - : super(_value, _then); + _$BookingImpl _value, + $Res Function(_$BookingImpl) _then, + ) : super(_value, _then); /// Create a copy of Booking /// with the given fields replaced by the non-null parameter values. @@ -153,41 +166,48 @@ class __$$BookingImplCopyWithImpl<$Res> Object? destination = null, Object? activity = null, }) { - return _then(_$BookingImpl( - id: freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - destination: null == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as Destination, - activity: null == activity - ? _value._activity - : activity // ignore: cast_nullable_to_non_nullable - as List, - )); + return _then( + _$BookingImpl( + id: + freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: + null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: + null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + destination: + null == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as Destination, + activity: + null == activity + ? _value._activity + : activity // ignore: cast_nullable_to_non_nullable + as List, + ), + ); } } /// @nodoc @JsonSerializable() class _$BookingImpl implements _Booking { - const _$BookingImpl( - {this.id, - required this.startDate, - required this.endDate, - required this.destination, - required final List activity}) - : _activity = activity; + const _$BookingImpl({ + this.id, + required this.startDate, + required this.endDate, + required this.destination, + required final List activity, + }) : _activity = activity; factory _$BookingImpl.fromJson(Map json) => _$$BookingImplFromJson(json); @@ -241,8 +261,14 @@ class _$BookingImpl implements _Booking { @JsonKey(includeFromJson: false, includeToJson: false) @override - int get hashCode => Object.hash(runtimeType, id, startDate, endDate, - destination, const DeepCollectionEquality().hash(_activity)); + int get hashCode => Object.hash( + runtimeType, + id, + startDate, + endDate, + destination, + const DeepCollectionEquality().hash(_activity), + ); /// Create a copy of Booking /// with the given fields replaced by the non-null parameter values. @@ -254,19 +280,18 @@ class _$BookingImpl implements _Booking { @override Map toJson() { - return _$$BookingImplToJson( - this, - ); + return _$$BookingImplToJson(this); } } abstract class _Booking implements Booking { - const factory _Booking( - {final int? id, - required final DateTime startDate, - required final DateTime endDate, - required final Destination destination, - required final List activity}) = _$BookingImpl; + const factory _Booking({ + final int? id, + required final DateTime startDate, + required final DateTime endDate, + required final Destination destination, + required final List activity, + }) = _$BookingImpl; factory _Booking.fromJson(Map json) = _$BookingImpl.fromJson; diff --git a/compass_app/app/lib/domain/models/booking/booking.g.dart b/compass_app/app/lib/domain/models/booking/booking.g.dart index 65a1990f9..7d800c47a 100644 --- a/compass_app/app/lib/domain/models/booking/booking.g.dart +++ b/compass_app/app/lib/domain/models/booking/booking.g.dart @@ -11,11 +11,13 @@ _$BookingImpl _$$BookingImplFromJson(Map json) => id: (json['id'] as num?)?.toInt(), startDate: DateTime.parse(json['startDate'] as String), endDate: DateTime.parse(json['endDate'] as String), - destination: - Destination.fromJson(json['destination'] as Map), - activity: (json['activity'] as List) - .map((e) => Activity.fromJson(e as Map)) - .toList(), + destination: Destination.fromJson( + json['destination'] as Map, + ), + activity: + (json['activity'] as List) + .map((e) => Activity.fromJson(e as Map)) + .toList(), ); Map _$$BookingImplToJson(_$BookingImpl instance) => diff --git a/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart b/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart index ddfe78ae7..e31b7faef 100644 --- a/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart +++ b/compass_app/app/lib/domain/models/booking/booking_summary.freezed.dart @@ -12,7 +12,8 @@ part of 'booking_summary.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); BookingSummary _$BookingSummaryFromJson(Map json) { return _BookingSummary.fromJson(json); @@ -45,8 +46,9 @@ mixin _$BookingSummary { /// @nodoc abstract class $BookingSummaryCopyWith<$Res> { factory $BookingSummaryCopyWith( - BookingSummary value, $Res Function(BookingSummary) then) = - _$BookingSummaryCopyWithImpl<$Res, BookingSummary>; + BookingSummary value, + $Res Function(BookingSummary) then, + ) = _$BookingSummaryCopyWithImpl<$Res, BookingSummary>; @useResult $Res call({int id, String name, DateTime startDate, DateTime endDate}); } @@ -71,33 +73,41 @@ class _$BookingSummaryCopyWithImpl<$Res, $Val extends BookingSummary> Object? startDate = null, Object? endDate = null, }) { - return _then(_value.copyWith( - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - startDate: null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - ) as $Val); + return _then( + _value.copyWith( + id: + null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + startDate: + null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: + null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + ) + as $Val, + ); } } /// @nodoc abstract class _$$BookingSummaryImplCopyWith<$Res> implements $BookingSummaryCopyWith<$Res> { - factory _$$BookingSummaryImplCopyWith(_$BookingSummaryImpl value, - $Res Function(_$BookingSummaryImpl) then) = - __$$BookingSummaryImplCopyWithImpl<$Res>; + factory _$$BookingSummaryImplCopyWith( + _$BookingSummaryImpl value, + $Res Function(_$BookingSummaryImpl) then, + ) = __$$BookingSummaryImplCopyWithImpl<$Res>; @override @useResult $Res call({int id, String name, DateTime startDate, DateTime endDate}); @@ -108,8 +118,9 @@ class __$$BookingSummaryImplCopyWithImpl<$Res> extends _$BookingSummaryCopyWithImpl<$Res, _$BookingSummaryImpl> implements _$$BookingSummaryImplCopyWith<$Res> { __$$BookingSummaryImplCopyWithImpl( - _$BookingSummaryImpl _value, $Res Function(_$BookingSummaryImpl) _then) - : super(_value, _then); + _$BookingSummaryImpl _value, + $Res Function(_$BookingSummaryImpl) _then, + ) : super(_value, _then); /// Create a copy of BookingSummary /// with the given fields replaced by the non-null parameter values. @@ -121,35 +132,42 @@ class __$$BookingSummaryImplCopyWithImpl<$Res> Object? startDate = null, Object? endDate = null, }) { - return _then(_$BookingSummaryImpl( - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - startDate: null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - )); + return _then( + _$BookingSummaryImpl( + id: + null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + startDate: + null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: + null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + ), + ); } } /// @nodoc @JsonSerializable() class _$BookingSummaryImpl implements _BookingSummary { - const _$BookingSummaryImpl( - {required this.id, - required this.name, - required this.startDate, - required this.endDate}); + const _$BookingSummaryImpl({ + required this.id, + required this.name, + required this.startDate, + required this.endDate, + }); factory _$BookingSummaryImpl.fromJson(Map json) => _$$BookingSummaryImplFromJson(json); @@ -198,22 +216,23 @@ class _$BookingSummaryImpl implements _BookingSummary { @pragma('vm:prefer-inline') _$$BookingSummaryImplCopyWith<_$BookingSummaryImpl> get copyWith => __$$BookingSummaryImplCopyWithImpl<_$BookingSummaryImpl>( - this, _$identity); + this, + _$identity, + ); @override Map toJson() { - return _$$BookingSummaryImplToJson( - this, - ); + return _$$BookingSummaryImplToJson(this); } } abstract class _BookingSummary implements BookingSummary { - const factory _BookingSummary( - {required final int id, - required final String name, - required final DateTime startDate, - required final DateTime endDate}) = _$BookingSummaryImpl; + const factory _BookingSummary({ + required final int id, + required final String name, + required final DateTime startDate, + required final DateTime endDate, + }) = _$BookingSummaryImpl; factory _BookingSummary.fromJson(Map json) = _$BookingSummaryImpl.fromJson; diff --git a/compass_app/app/lib/domain/models/booking/booking_summary.g.dart b/compass_app/app/lib/domain/models/booking/booking_summary.g.dart index 456acf50b..91d9e4da1 100644 --- a/compass_app/app/lib/domain/models/booking/booking_summary.g.dart +++ b/compass_app/app/lib/domain/models/booking/booking_summary.g.dart @@ -15,10 +15,10 @@ _$BookingSummaryImpl _$$BookingSummaryImplFromJson(Map json) => ); Map _$$BookingSummaryImplToJson( - _$BookingSummaryImpl instance) => - { - 'id': instance.id, - 'name': instance.name, - 'startDate': instance.startDate.toIso8601String(), - 'endDate': instance.endDate.toIso8601String(), - }; + _$BookingSummaryImpl instance, +) => { + 'id': instance.id, + 'name': instance.name, + 'startDate': instance.startDate.toIso8601String(), + 'endDate': instance.endDate.toIso8601String(), +}; diff --git a/compass_app/app/lib/domain/models/continent/continent.freezed.dart b/compass_app/app/lib/domain/models/continent/continent.freezed.dart index f69d01046..cb6688a65 100644 --- a/compass_app/app/lib/domain/models/continent/continent.freezed.dart +++ b/compass_app/app/lib/domain/models/continent/continent.freezed.dart @@ -12,7 +12,8 @@ part of 'continent.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); Continent _$ContinentFromJson(Map json) { return _Continent.fromJson(json); @@ -58,20 +59,22 @@ class _$ContinentCopyWithImpl<$Res, $Val extends Continent> /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? name = null, - Object? imageUrl = null, - }) { - return _then(_value.copyWith( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + $Res call({Object? name = null, Object? imageUrl = null}) { + return _then( + _value.copyWith( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -79,8 +82,9 @@ class _$ContinentCopyWithImpl<$Res, $Val extends Continent> abstract class _$$ContinentImplCopyWith<$Res> implements $ContinentCopyWith<$Res> { factory _$$ContinentImplCopyWith( - _$ContinentImpl value, $Res Function(_$ContinentImpl) then) = - __$$ContinentImplCopyWithImpl<$Res>; + _$ContinentImpl value, + $Res Function(_$ContinentImpl) then, + ) = __$$ContinentImplCopyWithImpl<$Res>; @override @useResult $Res call({String name, String imageUrl}); @@ -91,27 +95,29 @@ class __$$ContinentImplCopyWithImpl<$Res> extends _$ContinentCopyWithImpl<$Res, _$ContinentImpl> implements _$$ContinentImplCopyWith<$Res> { __$$ContinentImplCopyWithImpl( - _$ContinentImpl _value, $Res Function(_$ContinentImpl) _then) - : super(_value, _then); + _$ContinentImpl _value, + $Res Function(_$ContinentImpl) _then, + ) : super(_value, _then); /// Create a copy of Continent /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? name = null, - Object? imageUrl = null, - }) { - return _then(_$ContinentImpl( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - )); + $Res call({Object? name = null, Object? imageUrl = null}) { + return _then( + _$ContinentImpl( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } @@ -160,16 +166,15 @@ class _$ContinentImpl implements _Continent { @override Map toJson() { - return _$$ContinentImplToJson( - this, - ); + return _$$ContinentImplToJson(this); } } abstract class _Continent implements Continent { - const factory _Continent( - {required final String name, - required final String imageUrl}) = _$ContinentImpl; + const factory _Continent({ + required final String name, + required final String imageUrl, + }) = _$ContinentImpl; factory _Continent.fromJson(Map json) = _$ContinentImpl.fromJson; diff --git a/compass_app/app/lib/domain/models/continent/continent.g.dart b/compass_app/app/lib/domain/models/continent/continent.g.dart index 41aba78b6..8b3475274 100644 --- a/compass_app/app/lib/domain/models/continent/continent.g.dart +++ b/compass_app/app/lib/domain/models/continent/continent.g.dart @@ -13,7 +13,4 @@ _$ContinentImpl _$$ContinentImplFromJson(Map json) => ); Map _$$ContinentImplToJson(_$ContinentImpl instance) => - { - 'name': instance.name, - 'imageUrl': instance.imageUrl, - }; + {'name': instance.name, 'imageUrl': instance.imageUrl}; diff --git a/compass_app/app/lib/domain/models/destination/destination.freezed.dart b/compass_app/app/lib/domain/models/destination/destination.freezed.dart index faaec5902..30789a969 100644 --- a/compass_app/app/lib/domain/models/destination/destination.freezed.dart +++ b/compass_app/app/lib/domain/models/destination/destination.freezed.dart @@ -12,7 +12,8 @@ part of 'destination.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); Destination _$DestinationFromJson(Map json) { return _Destination.fromJson(json); @@ -54,17 +55,19 @@ mixin _$Destination { /// @nodoc abstract class $DestinationCopyWith<$Res> { factory $DestinationCopyWith( - Destination value, $Res Function(Destination) then) = - _$DestinationCopyWithImpl<$Res, Destination>; + Destination value, + $Res Function(Destination) then, + ) = _$DestinationCopyWithImpl<$Res, Destination>; @useResult - $Res call( - {String ref, - String name, - String country, - String continent, - String knownFor, - List tags, - String imageUrl}); + $Res call({ + String ref, + String name, + String country, + String continent, + String knownFor, + List tags, + String imageUrl, + }); } /// @nodoc @@ -90,36 +93,46 @@ class _$DestinationCopyWithImpl<$Res, $Val extends Destination> Object? tags = null, Object? imageUrl = null, }) { - return _then(_value.copyWith( - ref: null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - country: null == country - ? _value.country - : country // ignore: cast_nullable_to_non_nullable - as String, - continent: null == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String, - knownFor: null == knownFor - ? _value.knownFor - : knownFor // ignore: cast_nullable_to_non_nullable - as String, - tags: null == tags - ? _value.tags - : tags // ignore: cast_nullable_to_non_nullable - as List, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + return _then( + _value.copyWith( + ref: + null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: + null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: + null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: + null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: + null == tags + ? _value.tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -127,18 +140,20 @@ class _$DestinationCopyWithImpl<$Res, $Val extends Destination> abstract class _$$DestinationImplCopyWith<$Res> implements $DestinationCopyWith<$Res> { factory _$$DestinationImplCopyWith( - _$DestinationImpl value, $Res Function(_$DestinationImpl) then) = - __$$DestinationImplCopyWithImpl<$Res>; + _$DestinationImpl value, + $Res Function(_$DestinationImpl) then, + ) = __$$DestinationImplCopyWithImpl<$Res>; @override @useResult - $Res call( - {String ref, - String name, - String country, - String continent, - String knownFor, - List tags, - String imageUrl}); + $Res call({ + String ref, + String name, + String country, + String continent, + String knownFor, + List tags, + String imageUrl, + }); } /// @nodoc @@ -146,8 +161,9 @@ class __$$DestinationImplCopyWithImpl<$Res> extends _$DestinationCopyWithImpl<$Res, _$DestinationImpl> implements _$$DestinationImplCopyWith<$Res> { __$$DestinationImplCopyWithImpl( - _$DestinationImpl _value, $Res Function(_$DestinationImpl) _then) - : super(_value, _then); + _$DestinationImpl _value, + $Res Function(_$DestinationImpl) _then, + ) : super(_value, _then); /// Create a copy of Destination /// with the given fields replaced by the non-null parameter values. @@ -162,51 +178,60 @@ class __$$DestinationImplCopyWithImpl<$Res> Object? tags = null, Object? imageUrl = null, }) { - return _then(_$DestinationImpl( - ref: null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - country: null == country - ? _value.country - : country // ignore: cast_nullable_to_non_nullable - as String, - continent: null == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String, - knownFor: null == knownFor - ? _value.knownFor - : knownFor // ignore: cast_nullable_to_non_nullable - as String, - tags: null == tags - ? _value._tags - : tags // ignore: cast_nullable_to_non_nullable - as List, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - )); + return _then( + _$DestinationImpl( + ref: + null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: + null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: + null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: + null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: + null == tags + ? _value._tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } /// @nodoc @JsonSerializable() class _$DestinationImpl implements _Destination { - const _$DestinationImpl( - {required this.ref, - required this.name, - required this.country, - required this.continent, - required this.knownFor, - required final List tags, - required this.imageUrl}) - : _tags = tags; + const _$DestinationImpl({ + required this.ref, + required this.name, + required this.country, + required this.continent, + required this.knownFor, + required final List tags, + required this.imageUrl, + }) : _tags = tags; factory _$DestinationImpl.fromJson(Map json) => _$$DestinationImplFromJson(json); @@ -270,8 +295,16 @@ class _$DestinationImpl implements _Destination { @JsonKey(includeFromJson: false, includeToJson: false) @override - int get hashCode => Object.hash(runtimeType, ref, name, country, continent, - knownFor, const DeepCollectionEquality().hash(_tags), imageUrl); + int get hashCode => Object.hash( + runtimeType, + ref, + name, + country, + continent, + knownFor, + const DeepCollectionEquality().hash(_tags), + imageUrl, + ); /// Create a copy of Destination /// with the given fields replaced by the non-null parameter values. @@ -283,21 +316,20 @@ class _$DestinationImpl implements _Destination { @override Map toJson() { - return _$$DestinationImplToJson( - this, - ); + return _$$DestinationImplToJson(this); } } abstract class _Destination implements Destination { - const factory _Destination( - {required final String ref, - required final String name, - required final String country, - required final String continent, - required final String knownFor, - required final List tags, - required final String imageUrl}) = _$DestinationImpl; + const factory _Destination({ + required final String ref, + required final String name, + required final String country, + required final String continent, + required final String knownFor, + required final List tags, + required final String imageUrl, + }) = _$DestinationImpl; factory _Destination.fromJson(Map json) = _$DestinationImpl.fromJson; diff --git a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart index 38facb873..b4febdbc5 100644 --- a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart +++ b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.freezed.dart @@ -12,7 +12,8 @@ part of 'itinerary_config.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); ItineraryConfig _$ItineraryConfigFromJson(Map json) { return _ItineraryConfig.fromJson(json); @@ -51,16 +52,18 @@ mixin _$ItineraryConfig { /// @nodoc abstract class $ItineraryConfigCopyWith<$Res> { factory $ItineraryConfigCopyWith( - ItineraryConfig value, $Res Function(ItineraryConfig) then) = - _$ItineraryConfigCopyWithImpl<$Res, ItineraryConfig>; + ItineraryConfig value, + $Res Function(ItineraryConfig) then, + ) = _$ItineraryConfigCopyWithImpl<$Res, ItineraryConfig>; @useResult - $Res call( - {String? continent, - DateTime? startDate, - DateTime? endDate, - int? guests, - String? destination, - List activities}); + $Res call({ + String? continent, + DateTime? startDate, + DateTime? endDate, + int? guests, + String? destination, + List activities, + }); } /// @nodoc @@ -85,50 +88,61 @@ class _$ItineraryConfigCopyWithImpl<$Res, $Val extends ItineraryConfig> Object? destination = freezed, Object? activities = null, }) { - return _then(_value.copyWith( - continent: freezed == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String?, - startDate: freezed == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime?, - endDate: freezed == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime?, - guests: freezed == guests - ? _value.guests - : guests // ignore: cast_nullable_to_non_nullable - as int?, - destination: freezed == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as String?, - activities: null == activities - ? _value.activities - : activities // ignore: cast_nullable_to_non_nullable - as List, - ) as $Val); + return _then( + _value.copyWith( + continent: + freezed == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String?, + startDate: + freezed == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + endDate: + freezed == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + guests: + freezed == guests + ? _value.guests + : guests // ignore: cast_nullable_to_non_nullable + as int?, + destination: + freezed == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as String?, + activities: + null == activities + ? _value.activities + : activities // ignore: cast_nullable_to_non_nullable + as List, + ) + as $Val, + ); } } /// @nodoc abstract class _$$ItineraryConfigImplCopyWith<$Res> implements $ItineraryConfigCopyWith<$Res> { - factory _$$ItineraryConfigImplCopyWith(_$ItineraryConfigImpl value, - $Res Function(_$ItineraryConfigImpl) then) = - __$$ItineraryConfigImplCopyWithImpl<$Res>; + factory _$$ItineraryConfigImplCopyWith( + _$ItineraryConfigImpl value, + $Res Function(_$ItineraryConfigImpl) then, + ) = __$$ItineraryConfigImplCopyWithImpl<$Res>; @override @useResult - $Res call( - {String? continent, - DateTime? startDate, - DateTime? endDate, - int? guests, - String? destination, - List activities}); + $Res call({ + String? continent, + DateTime? startDate, + DateTime? endDate, + int? guests, + String? destination, + List activities, + }); } /// @nodoc @@ -136,8 +150,9 @@ class __$$ItineraryConfigImplCopyWithImpl<$Res> extends _$ItineraryConfigCopyWithImpl<$Res, _$ItineraryConfigImpl> implements _$$ItineraryConfigImplCopyWith<$Res> { __$$ItineraryConfigImplCopyWithImpl( - _$ItineraryConfigImpl _value, $Res Function(_$ItineraryConfigImpl) _then) - : super(_value, _then); + _$ItineraryConfigImpl _value, + $Res Function(_$ItineraryConfigImpl) _then, + ) : super(_value, _then); /// Create a copy of ItineraryConfig /// with the given fields replaced by the non-null parameter values. @@ -151,46 +166,54 @@ class __$$ItineraryConfigImplCopyWithImpl<$Res> Object? destination = freezed, Object? activities = null, }) { - return _then(_$ItineraryConfigImpl( - continent: freezed == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String?, - startDate: freezed == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime?, - endDate: freezed == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime?, - guests: freezed == guests - ? _value.guests - : guests // ignore: cast_nullable_to_non_nullable - as int?, - destination: freezed == destination - ? _value.destination - : destination // ignore: cast_nullable_to_non_nullable - as String?, - activities: null == activities - ? _value._activities - : activities // ignore: cast_nullable_to_non_nullable - as List, - )); + return _then( + _$ItineraryConfigImpl( + continent: + freezed == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String?, + startDate: + freezed == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + endDate: + freezed == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime?, + guests: + freezed == guests + ? _value.guests + : guests // ignore: cast_nullable_to_non_nullable + as int?, + destination: + freezed == destination + ? _value.destination + : destination // ignore: cast_nullable_to_non_nullable + as String?, + activities: + null == activities + ? _value._activities + : activities // ignore: cast_nullable_to_non_nullable + as List, + ), + ); } } /// @nodoc @JsonSerializable() class _$ItineraryConfigImpl implements _ItineraryConfig { - const _$ItineraryConfigImpl( - {this.continent, - this.startDate, - this.endDate, - this.guests, - this.destination, - final List activities = const []}) - : _activities = activities; + const _$ItineraryConfigImpl({ + this.continent, + this.startDate, + this.endDate, + this.guests, + this.destination, + final List activities = const [], + }) : _activities = activities; factory _$ItineraryConfigImpl.fromJson(Map json) => _$$ItineraryConfigImplFromJson(json); @@ -245,14 +268,23 @@ class _$ItineraryConfigImpl implements _ItineraryConfig { (identical(other.guests, guests) || other.guests == guests) && (identical(other.destination, destination) || other.destination == destination) && - const DeepCollectionEquality() - .equals(other._activities, _activities)); + const DeepCollectionEquality().equals( + other._activities, + _activities, + )); } @JsonKey(includeFromJson: false, includeToJson: false) @override - int get hashCode => Object.hash(runtimeType, continent, startDate, endDate, - guests, destination, const DeepCollectionEquality().hash(_activities)); + int get hashCode => Object.hash( + runtimeType, + continent, + startDate, + endDate, + guests, + destination, + const DeepCollectionEquality().hash(_activities), + ); /// Create a copy of ItineraryConfig /// with the given fields replaced by the non-null parameter values. @@ -261,24 +293,25 @@ class _$ItineraryConfigImpl implements _ItineraryConfig { @pragma('vm:prefer-inline') _$$ItineraryConfigImplCopyWith<_$ItineraryConfigImpl> get copyWith => __$$ItineraryConfigImplCopyWithImpl<_$ItineraryConfigImpl>( - this, _$identity); + this, + _$identity, + ); @override Map toJson() { - return _$$ItineraryConfigImplToJson( - this, - ); + return _$$ItineraryConfigImplToJson(this); } } abstract class _ItineraryConfig implements ItineraryConfig { - const factory _ItineraryConfig( - {final String? continent, - final DateTime? startDate, - final DateTime? endDate, - final int? guests, - final String? destination, - final List activities}) = _$ItineraryConfigImpl; + const factory _ItineraryConfig({ + final String? continent, + final DateTime? startDate, + final DateTime? endDate, + final int? guests, + final String? destination, + final List activities, + }) = _$ItineraryConfigImpl; factory _ItineraryConfig.fromJson(Map json) = _$ItineraryConfigImpl.fromJson; diff --git a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart index 1176e4239..6bd037844 100644 --- a/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart +++ b/compass_app/app/lib/domain/models/itinerary_config/itinerary_config.g.dart @@ -7,30 +7,33 @@ part of 'itinerary_config.dart'; // ************************************************************************** _$ItineraryConfigImpl _$$ItineraryConfigImplFromJson( - Map json) => - _$ItineraryConfigImpl( - continent: json['continent'] as String?, - startDate: json['startDate'] == null + Map json, +) => _$ItineraryConfigImpl( + continent: json['continent'] as String?, + startDate: + json['startDate'] == null ? null : DateTime.parse(json['startDate'] as String), - endDate: json['endDate'] == null + endDate: + json['endDate'] == null ? null : DateTime.parse(json['endDate'] as String), - guests: (json['guests'] as num?)?.toInt(), - destination: json['destination'] as String?, - activities: (json['activities'] as List?) - ?.map((e) => e as String) - .toList() ?? - const [], - ); + guests: (json['guests'] as num?)?.toInt(), + destination: json['destination'] as String?, + activities: + (json['activities'] as List?) + ?.map((e) => e as String) + .toList() ?? + const [], +); Map _$$ItineraryConfigImplToJson( - _$ItineraryConfigImpl instance) => - { - 'continent': instance.continent, - 'startDate': instance.startDate?.toIso8601String(), - 'endDate': instance.endDate?.toIso8601String(), - 'guests': instance.guests, - 'destination': instance.destination, - 'activities': instance.activities, - }; + _$ItineraryConfigImpl instance, +) => { + 'continent': instance.continent, + 'startDate': instance.startDate?.toIso8601String(), + 'endDate': instance.endDate?.toIso8601String(), + 'guests': instance.guests, + 'destination': instance.destination, + 'activities': instance.activities, +}; diff --git a/compass_app/app/lib/domain/models/user/user.freezed.dart b/compass_app/app/lib/domain/models/user/user.freezed.dart index 214f6d8b4..019912a02 100644 --- a/compass_app/app/lib/domain/models/user/user.freezed.dart +++ b/compass_app/app/lib/domain/models/user/user.freezed.dart @@ -12,7 +12,8 @@ part of 'user.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); User _$UserFromJson(Map json) { return _User.fromJson(json); @@ -57,28 +58,31 @@ class _$UserCopyWithImpl<$Res, $Val extends User> /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? name = null, - Object? picture = null, - }) { - return _then(_value.copyWith( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - picture: null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + $Res call({Object? name = null, Object? picture = null}) { + return _then( + _value.copyWith( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + picture: + null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } /// @nodoc abstract class _$$UserImplCopyWith<$Res> implements $UserCopyWith<$Res> { factory _$$UserImplCopyWith( - _$UserImpl value, $Res Function(_$UserImpl) then) = - __$$UserImplCopyWithImpl<$Res>; + _$UserImpl value, + $Res Function(_$UserImpl) then, + ) = __$$UserImplCopyWithImpl<$Res>; @override @useResult $Res call({String name, String picture}); @@ -89,26 +93,27 @@ class __$$UserImplCopyWithImpl<$Res> extends _$UserCopyWithImpl<$Res, _$UserImpl> implements _$$UserImplCopyWith<$Res> { __$$UserImplCopyWithImpl(_$UserImpl _value, $Res Function(_$UserImpl) _then) - : super(_value, _then); + : super(_value, _then); /// Create a copy of User /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? name = null, - Object? picture = null, - }) { - return _then(_$UserImpl( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - picture: null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, - )); + $Res call({Object? name = null, Object? picture = null}) { + return _then( + _$UserImpl( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + picture: + null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } @@ -156,15 +161,15 @@ class _$UserImpl implements _User { @override Map toJson() { - return _$$UserImplToJson( - this, - ); + return _$$UserImplToJson(this); } } abstract class _User implements User { - const factory _User( - {required final String name, required final String picture}) = _$UserImpl; + const factory _User({ + required final String name, + required final String picture, + }) = _$UserImpl; factory _User.fromJson(Map json) = _$UserImpl.fromJson; diff --git a/compass_app/app/lib/domain/models/user/user.g.dart b/compass_app/app/lib/domain/models/user/user.g.dart index 5493bf822..7bb221c12 100644 --- a/compass_app/app/lib/domain/models/user/user.g.dart +++ b/compass_app/app/lib/domain/models/user/user.g.dart @@ -7,12 +7,9 @@ part of 'user.dart'; // ************************************************************************** _$UserImpl _$$UserImplFromJson(Map json) => _$UserImpl( - name: json['name'] as String, - picture: json['picture'] as String, - ); + name: json['name'] as String, + picture: json['picture'] as String, +); Map _$$UserImplToJson(_$UserImpl instance) => - { - 'name': instance.name, - 'picture': instance.picture, - }; + {'name': instance.name, 'picture': instance.picture}; diff --git a/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart b/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart index 001ed7fc1..50f0eff76 100644 --- a/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart +++ b/compass_app/app/lib/domain/use_cases/booking/booking_create_use_case.dart @@ -22,9 +22,9 @@ class BookingCreateUseCase { required DestinationRepository destinationRepository, required ActivityRepository activityRepository, required BookingRepository bookingRepository, - }) : _destinationRepository = destinationRepository, - _activityRepository = activityRepository, - _bookingRepository = bookingRepository; + }) : _destinationRepository = destinationRepository, + _activityRepository = activityRepository, + _bookingRepository = bookingRepository; final DestinationRepository _destinationRepository; final ActivityRepository _activityRepository; @@ -38,8 +38,9 @@ class BookingCreateUseCase { _log.warning('Destination is not set'); return Result.error(Exception('Destination is not set')); } - final destinationResult = - await _fetchDestination(itineraryConfig.destination!); + final destinationResult = await _fetchDestination( + itineraryConfig.destination!, + ); switch (destinationResult) { case Ok(): _log.fine('Destination loaded: ${destinationResult.value.ref}'); @@ -62,11 +63,12 @@ class BookingCreateUseCase { return Result.error(activitiesResult.error); case Ok>(): } - final activities = activitiesResult.value - .where( - (activity) => itineraryConfig.activities.contains(activity.ref), - ) - .toList(); + final activities = + activitiesResult.value + .where( + (activity) => itineraryConfig.activities.contains(activity.ref), + ) + .toList(); _log.fine('Activities loaded (${activities.length})'); // Check if dates are set @@ -100,8 +102,9 @@ class BookingCreateUseCase { final result = await _destinationRepository.getDestinations(); switch (result) { case Ok>(): - final destination = result.value - .firstWhere((destination) => destination.ref == destinationRef); + final destination = result.value.firstWhere( + (destination) => destination.ref == destinationRef, + ); return Result.ok(destination); case Error>(): return Result.error(result.error); diff --git a/compass_app/app/lib/domain/use_cases/booking/booking_share_use_case.dart b/compass_app/app/lib/domain/use_cases/booking/booking_share_use_case.dart index ecfab18c1..c7abf67d8 100644 --- a/compass_app/app/lib/domain/use_cases/booking/booking_share_use_case.dart +++ b/compass_app/app/lib/domain/use_cases/booking/booking_share_use_case.dart @@ -28,7 +28,8 @@ class BookingShareUseCase { final _log = Logger('BookingShareUseCase'); Future> shareBooking(Booking booking) async { - final text = 'Trip to ${booking.destination.name}\n' + final text = + 'Trip to ${booking.destination.name}\n' 'on ${dateFormatStartEnd(DateTimeRange(start: booking.startDate, end: booking.endDate))}\n' 'Activities:\n' '${booking.activity.map((a) => ' - ${a.name}').join('\n')}.'; diff --git a/compass_app/app/lib/main_development.dart b/compass_app/app/lib/main_development.dart index 4754e22cd..163f2f472 100644 --- a/compass_app/app/lib/main_development.dart +++ b/compass_app/app/lib/main_development.dart @@ -15,10 +15,5 @@ import 'main.dart'; void main() { Logger.root.level = Level.ALL; - runApp( - MultiProvider( - providers: providersLocal, - child: const MainApp(), - ), - ); + runApp(MultiProvider(providers: providersLocal, child: const MainApp())); } diff --git a/compass_app/app/lib/main_staging.dart b/compass_app/app/lib/main_staging.dart index d6d87ba99..4f4e51cdc 100644 --- a/compass_app/app/lib/main_staging.dart +++ b/compass_app/app/lib/main_staging.dart @@ -15,10 +15,5 @@ import 'main.dart'; void main() { Logger.root.level = Level.ALL; - runApp( - MultiProvider( - providers: providersRemote, - child: const MainApp(), - ), - ); + runApp(MultiProvider(providers: providersRemote, child: const MainApp())); } diff --git a/compass_app/app/lib/routing/router.dart b/compass_app/app/lib/routing/router.dart index e1112101a..1ed94ed02 100644 --- a/compass_app/app/lib/routing/router.dart +++ b/compass_app/app/lib/routing/router.dart @@ -25,72 +25,81 @@ import 'routes.dart'; /// /// Listens to changes in [AuthTokenRepository] to redirect the user /// to /login when the user logs out. -GoRouter router( - AuthRepository authRepository, -) => - GoRouter( - initialLocation: Routes.home, - debugLogDiagnostics: true, - redirect: _redirect, - refreshListenable: authRepository, +GoRouter router(AuthRepository authRepository) => GoRouter( + initialLocation: Routes.home, + debugLogDiagnostics: true, + redirect: _redirect, + refreshListenable: authRepository, + routes: [ + GoRoute( + path: Routes.login, + builder: (context, state) { + return LoginScreen( + viewModel: LoginViewModel(authRepository: context.read()), + ); + }, + ), + GoRoute( + path: Routes.home, + builder: (context, state) { + final viewModel = HomeViewModel( + bookingRepository: context.read(), + userRepository: context.read(), + ); + return HomeScreen(viewModel: viewModel); + }, routes: [ GoRoute( - path: Routes.login, + path: Routes.searchRelative, builder: (context, state) { - return LoginScreen( - viewModel: LoginViewModel( - authRepository: context.read(), - ), + final viewModel = SearchFormViewModel( + continentRepository: context.read(), + itineraryConfigRepository: context.read(), ); + return SearchFormScreen(viewModel: viewModel); }, ), GoRoute( - path: Routes.home, + path: Routes.resultsRelative, builder: (context, state) { - final viewModel = HomeViewModel( + final viewModel = ResultsViewModel( + destinationRepository: context.read(), + itineraryConfigRepository: context.read(), + ); + return ResultsScreen(viewModel: viewModel); + }, + ), + GoRoute( + path: Routes.activitiesRelative, + builder: (context, state) { + final viewModel = ActivitiesViewModel( + activityRepository: context.read(), + itineraryConfigRepository: context.read(), + ); + return ActivitiesScreen(viewModel: viewModel); + }, + ), + GoRoute( + path: Routes.bookingRelative, + builder: (context, state) { + final viewModel = BookingViewModel( + itineraryConfigRepository: context.read(), + createBookingUseCase: context.read(), + shareBookingUseCase: context.read(), bookingRepository: context.read(), - userRepository: context.read(), ); - return HomeScreen(viewModel: viewModel); + + // When opening the booking screen directly + // create a new booking from the stored ItineraryConfig. + viewModel.createBooking.execute(); + + return BookingScreen(viewModel: viewModel); }, routes: [ GoRoute( - path: Routes.searchRelative, - builder: (context, state) { - final viewModel = SearchFormViewModel( - continentRepository: context.read(), - itineraryConfigRepository: context.read(), - ); - return SearchFormScreen(viewModel: viewModel); - }, - ), - GoRoute( - path: Routes.resultsRelative, - builder: (context, state) { - final viewModel = ResultsViewModel( - destinationRepository: context.read(), - itineraryConfigRepository: context.read(), - ); - return ResultsScreen( - viewModel: viewModel, - ); - }, - ), - GoRoute( - path: Routes.activitiesRelative, - builder: (context, state) { - final viewModel = ActivitiesViewModel( - activityRepository: context.read(), - itineraryConfigRepository: context.read(), - ); - return ActivitiesScreen( - viewModel: viewModel, - ); - }, - ), - GoRoute( - path: Routes.bookingRelative, + path: ':id', builder: (context, state) { + final id = int.parse(state.pathParameters['id']!); final viewModel = BookingViewModel( itineraryConfigRepository: context.read(), createBookingUseCase: context.read(), @@ -98,41 +107,19 @@ GoRouter router( bookingRepository: context.read(), ); - // When opening the booking screen directly - // create a new booking from the stored ItineraryConfig. - viewModel.createBooking.execute(); + // When opening the booking screen with an existing id + // load and display that booking. + viewModel.loadBooking.execute(id); - return BookingScreen( - viewModel: viewModel, - ); + return BookingScreen(viewModel: viewModel); }, - routes: [ - GoRoute( - path: ':id', - builder: (context, state) { - final id = int.parse(state.pathParameters['id']!); - final viewModel = BookingViewModel( - itineraryConfigRepository: context.read(), - createBookingUseCase: context.read(), - shareBookingUseCase: context.read(), - bookingRepository: context.read(), - ); - - // When opening the booking screen with an existing id - // load and display that booking. - viewModel.loadBooking.execute(id); - - return BookingScreen( - viewModel: viewModel, - ); - }, - ), - ], ), ], ), ], - ); + ), + ], +); // From https://github.com/flutter/packages/blob/main/packages/go_router/example/lib/redirection.dart Future _redirect(BuildContext context, GoRouterState state) async { diff --git a/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart b/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart index 5c6fa4af9..cda783531 100644 --- a/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart +++ b/compass_app/app/lib/ui/activities/view_models/activities_viewmodel.dart @@ -16,8 +16,8 @@ class ActivitiesViewModel extends ChangeNotifier { ActivitiesViewModel({ required ActivityRepository activityRepository, required ItineraryConfigRepository itineraryConfigRepository, - }) : _activityRepository = activityRepository, - _itineraryConfigRepository = itineraryConfigRepository { + }) : _activityRepository = activityRepository, + _itineraryConfigRepository = itineraryConfigRepository { loadActivities = Command0(_loadActivities)..execute(); saveActivities = Command0(_saveActivities); } @@ -48,10 +48,7 @@ class ActivitiesViewModel extends ChangeNotifier { final result = await _itineraryConfigRepository.getItineraryConfig(); switch (result) { case Error(): - _log.warning( - 'Failed to load stored ItineraryConfig', - result.error, - ); + _log.warning('Failed to load stored ItineraryConfig', result.error); return result; case Ok(): } @@ -64,28 +61,37 @@ class ActivitiesViewModel extends ChangeNotifier { _selectedActivities.addAll(result.value.activities); - final resultActivities = - await _activityRepository.getByDestination(destinationRef); + final resultActivities = await _activityRepository.getByDestination( + destinationRef, + ); switch (resultActivities) { case Ok(): { - _daytimeActivities = resultActivities.value - .where((activity) => [ - TimeOfDay.any, - TimeOfDay.morning, - TimeOfDay.afternoon, - ].contains(activity.timeOfDay)) - .toList(); - - _eveningActivities = resultActivities.value - .where((activity) => [ - TimeOfDay.evening, - TimeOfDay.night, - ].contains(activity.timeOfDay)) - .toList(); - - _log.fine('Activities (daytime: ${_daytimeActivities.length}, ' - 'evening: ${_eveningActivities.length}) loaded'); + _daytimeActivities = + resultActivities.value + .where( + (activity) => [ + TimeOfDay.any, + TimeOfDay.morning, + TimeOfDay.afternoon, + ].contains(activity.timeOfDay), + ) + .toList(); + + _eveningActivities = + resultActivities.value + .where( + (activity) => [ + TimeOfDay.evening, + TimeOfDay.night, + ].contains(activity.timeOfDay), + ) + .toList(); + + _log.fine( + 'Activities (daytime: ${_daytimeActivities.length}, ' + 'evening: ${_eveningActivities.length}) loaded', + ); } case Error(): { @@ -100,8 +106,9 @@ class ActivitiesViewModel extends ChangeNotifier { /// Add [Activity] to selected list. void addActivity(String activityRef) { assert( - (_daytimeActivities + _eveningActivities) - .any((activity) => activity.ref == activityRef), + (_daytimeActivities + _eveningActivities).any( + (activity) => activity.ref == activityRef, + ), "Activity $activityRef not found", ); _selectedActivities.add(activityRef); @@ -112,8 +119,9 @@ class ActivitiesViewModel extends ChangeNotifier { /// Remove [Activity] from selected list. void removeActivity(String activityRef) { assert( - (_daytimeActivities + _eveningActivities) - .any((activity) => activity.ref == activityRef), + (_daytimeActivities + _eveningActivities).any( + (activity) => activity.ref == activityRef, + ), "Activity $activityRef not found", ); _selectedActivities.remove(activityRef); @@ -135,12 +143,10 @@ class ActivitiesViewModel extends ChangeNotifier { final itineraryConfig = resultConfig.value; final result = await _itineraryConfigRepository.setItineraryConfig( - itineraryConfig.copyWith(activities: _selectedActivities.toList())); + itineraryConfig.copyWith(activities: _selectedActivities.toList()), + ); if (result is Error) { - _log.warning( - 'Failed to store ItineraryConfig', - result.error, - ); + _log.warning('Failed to store ItineraryConfig', result.error); } return result; } diff --git a/compass_app/app/lib/ui/activities/widgets/activities_list.dart b/compass_app/app/lib/ui/activities/widgets/activities_list.dart index dcb0b69eb..197fe0f92 100644 --- a/compass_app/app/lib/ui/activities/widgets/activities_list.dart +++ b/compass_app/app/lib/ui/activities/widgets/activities_list.dart @@ -33,28 +33,24 @@ class ActivitiesList extends StatelessWidget { bottom: Dimens.paddingVertical, ), sliver: SliverList( - delegate: SliverChildBuilderDelegate( - (context, index) { - final activity = list[index]; - return Padding( - padding: - EdgeInsets.only(bottom: index < list.length - 1 ? 20 : 0), - child: ActivityEntry( - key: ValueKey(activity.ref), - activity: activity, - selected: viewModel.selectedActivities.contains(activity.ref), - onChanged: (value) { - if (value!) { - viewModel.addActivity(activity.ref); - } else { - viewModel.removeActivity(activity.ref); - } - }, - ), - ); - }, - childCount: list.length, - ), + delegate: SliverChildBuilderDelegate((context, index) { + final activity = list[index]; + return Padding( + padding: EdgeInsets.only(bottom: index < list.length - 1 ? 20 : 0), + child: ActivityEntry( + key: ValueKey(activity.ref), + activity: activity, + selected: viewModel.selectedActivities.contains(activity.ref), + onChanged: (value) { + if (value!) { + viewModel.addActivity(activity.ref); + } else { + viewModel.removeActivity(activity.ref); + } + }, + ), + ); + }, childCount: list.length), ), ); } diff --git a/compass_app/app/lib/ui/activities/widgets/activities_screen.dart b/compass_app/app/lib/ui/activities/widgets/activities_screen.dart index 00565e74a..7b784ac58 100644 --- a/compass_app/app/lib/ui/activities/widgets/activities_screen.dart +++ b/compass_app/app/lib/ui/activities/widgets/activities_screen.dart @@ -18,10 +18,7 @@ import 'activity_time_of_day.dart'; const String confirmButtonKey = 'confirm-button'; class ActivitiesScreen extends StatefulWidget { - const ActivitiesScreen({ - super.key, - required this.viewModel, - }); + const ActivitiesScreen({super.key, required this.viewModel}); final ActivitiesViewModel viewModel; @@ -68,13 +65,16 @@ class _ActivitiesScreenState extends State { const ActivitiesHeader(), if (widget.viewModel.loadActivities.running) const Expanded( - child: Center(child: CircularProgressIndicator())), + child: Center(child: CircularProgressIndicator()), + ), if (widget.viewModel.loadActivities.error) Expanded( child: Center( child: ErrorIndicator( - title: AppLocalization.of(context) - .errorWhileLoadingActivities, + title: + AppLocalization.of( + context, + ).errorWhileLoadingActivities, label: AppLocalization.of(context).tryAgain, onPressed: widget.viewModel.loadActivities.execute, ), @@ -91,9 +91,7 @@ class _ActivitiesScreenState extends State { Expanded( child: CustomScrollView( slivers: [ - const SliverToBoxAdapter( - child: ActivitiesHeader(), - ), + const SliverToBoxAdapter(child: ActivitiesHeader()), ActivitiesTitle( viewModel: widget.viewModel, activityTimeOfDay: ActivityTimeOfDay.daytime, @@ -145,9 +143,7 @@ class _ActivitiesScreenState extends State { } class _BottomArea extends StatelessWidget { - const _BottomArea({ - required this.viewModel, - }); + const _BottomArea({required this.viewModel}); final ActivitiesViewModel viewModel; @@ -168,15 +164,17 @@ class _BottomArea extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ Text( - AppLocalization.of(context) - .selected(viewModel.selectedActivities.length), + AppLocalization.of( + context, + ).selected(viewModel.selectedActivities.length), style: Theme.of(context).textTheme.labelLarge, ), FilledButton( key: const Key(confirmButtonKey), - onPressed: viewModel.selectedActivities.isNotEmpty - ? viewModel.saveActivities.execute - : null, + onPressed: + viewModel.selectedActivities.isNotEmpty + ? viewModel.saveActivities.execute + : null, child: Text(AppLocalization.of(context).confirm), ), ], diff --git a/compass_app/app/lib/ui/activities/widgets/activities_title.dart b/compass_app/app/lib/ui/activities/widgets/activities_title.dart index 9319db4f1..2c381f742 100644 --- a/compass_app/app/lib/ui/activities/widgets/activities_title.dart +++ b/compass_app/app/lib/ui/activities/widgets/activities_title.dart @@ -37,7 +37,7 @@ class ActivitiesTitle extends StatelessWidget { } String _label(BuildContext context) => switch (activityTimeOfDay) { - ActivityTimeOfDay.daytime => AppLocalization.of(context).daytime, - ActivityTimeOfDay.evening => AppLocalization.of(context).evening, - }; + ActivityTimeOfDay.daytime => AppLocalization.of(context).daytime, + ActivityTimeOfDay.evening => AppLocalization.of(context).evening, + }; } diff --git a/compass_app/app/lib/ui/activities/widgets/activity_entry.dart b/compass_app/app/lib/ui/activities/widgets/activity_entry.dart index 884919603..300e560a7 100644 --- a/compass_app/app/lib/ui/activities/widgets/activity_entry.dart +++ b/compass_app/app/lib/ui/activities/widgets/activity_entry.dart @@ -60,7 +60,7 @@ class ActivityEntry extends StatelessWidget { key: ValueKey('${activity.ref}-checkbox'), value: selected, onChanged: onChanged, - ) + ), ], ), ); diff --git a/compass_app/app/lib/ui/auth/login/view_models/login_viewmodel.dart b/compass_app/app/lib/ui/auth/login/view_models/login_viewmodel.dart index f81d1e774..76fc000a6 100644 --- a/compass_app/app/lib/ui/auth/login/view_models/login_viewmodel.dart +++ b/compass_app/app/lib/ui/auth/login/view_models/login_viewmodel.dart @@ -9,9 +9,8 @@ import '../../../../utils/command.dart'; import '../../../../utils/result.dart'; class LoginViewModel { - LoginViewModel({ - required AuthRepository authRepository, - }) : _authRepository = authRepository { + LoginViewModel({required AuthRepository authRepository}) + : _authRepository = authRepository { login = Command1(_login); } diff --git a/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart b/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart index 8734f2271..fb8ed14eb 100644 --- a/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart +++ b/compass_app/app/lib/ui/auth/login/widgets/login_screen.dart @@ -12,10 +12,7 @@ import '../view_models/login_viewmodel.dart'; import 'tilted_cards.dart'; class LoginScreen extends StatefulWidget { - const LoginScreen({ - super.key, - required this.viewModel, - }); + const LoginScreen({super.key, required this.viewModel}); final LoginViewModel viewModel; @@ -24,10 +21,12 @@ class LoginScreen extends StatefulWidget { } class _LoginScreenState extends State { - final TextEditingController _email = - TextEditingController(text: 'email@example.com'); - final TextEditingController _password = - TextEditingController(text: 'password'); + final TextEditingController _email = TextEditingController( + text: 'email@example.com', + ); + final TextEditingController _password = TextEditingController( + text: 'password', + ); @override void initState() { @@ -61,22 +60,19 @@ class _LoginScreenState extends State { child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ - TextField( - controller: _email, - ), + TextField(controller: _email), const SizedBox(height: Dimens.paddingVertical), - TextField( - controller: _password, - obscureText: true, - ), + TextField(controller: _password, obscureText: true), const SizedBox(height: Dimens.paddingVertical), ListenableBuilder( listenable: widget.viewModel.login, builder: (context, _) { return FilledButton( onPressed: () { - widget.viewModel.login - .execute((_email.value.text, _password.value.text)); + widget.viewModel.login.execute(( + _email.value.text, + _password.value.text, + )); }, child: Text(AppLocalization.of(context).login), ); @@ -103,8 +99,11 @@ class _LoginScreenState extends State { content: Text(AppLocalization.of(context).errorWhileLogin), action: SnackBarAction( label: AppLocalization.of(context).tryAgain, - onPressed: () => widget.viewModel.login - .execute((_email.value.text, _password.value.text)), + onPressed: + () => widget.viewModel.login.execute(( + _email.value.text, + _password.value.text, + )), ), ), ); diff --git a/compass_app/app/lib/ui/auth/logout/view_models/logout_viewmodel.dart b/compass_app/app/lib/ui/auth/logout/view_models/logout_viewmodel.dart index 7c40dee8c..c0f85668d 100644 --- a/compass_app/app/lib/ui/auth/logout/view_models/logout_viewmodel.dart +++ b/compass_app/app/lib/ui/auth/logout/view_models/logout_viewmodel.dart @@ -12,8 +12,8 @@ class LogoutViewModel { LogoutViewModel({ required AuthRepository authRepository, required ItineraryConfigRepository itineraryConfigRepository, - }) : _authLogoutRepository = authRepository, - _itineraryConfigRepository = itineraryConfigRepository { + }) : _authLogoutRepository = authRepository, + _itineraryConfigRepository = itineraryConfigRepository { logout = Command0(_logout); } final AuthRepository _authLogoutRepository; @@ -25,8 +25,9 @@ class LogoutViewModel { switch (result) { case Ok(): // clear stored itinerary config - return _itineraryConfigRepository - .setItineraryConfig(const ItineraryConfig()); + return _itineraryConfigRepository.setItineraryConfig( + const ItineraryConfig(), + ); case Error(): return result; } diff --git a/compass_app/app/lib/ui/auth/logout/widgets/logout_button.dart b/compass_app/app/lib/ui/auth/logout/widgets/logout_button.dart index ff500bed0..4175871b3 100644 --- a/compass_app/app/lib/ui/auth/logout/widgets/logout_button.dart +++ b/compass_app/app/lib/ui/auth/logout/widgets/logout_button.dart @@ -9,10 +9,7 @@ import '../../../core/themes/colors.dart'; import '../view_models/logout_viewmodel.dart'; class LogoutButton extends StatefulWidget { - const LogoutButton({ - super.key, - required this.viewModel, - }); + const LogoutButton({super.key, required this.viewModel}); final LogoutViewModel viewModel; diff --git a/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart b/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart index 46105a18d..2ab853b52 100644 --- a/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart +++ b/compass_app/app/lib/ui/booking/view_models/booking_viewmodel.dart @@ -20,10 +20,10 @@ class BookingViewModel extends ChangeNotifier { required BookingShareUseCase shareBookingUseCase, required ItineraryConfigRepository itineraryConfigRepository, required BookingRepository bookingRepository, - }) : _createUseCase = createBookingUseCase, - _shareUseCase = shareBookingUseCase, - _itineraryConfigRepository = itineraryConfigRepository, - _bookingRepository = bookingRepository { + }) : _createUseCase = createBookingUseCase, + _shareUseCase = shareBookingUseCase, + _itineraryConfigRepository = itineraryConfigRepository, + _bookingRepository = bookingRepository { createBooking = Command0(_createBooking); shareBooking = Command0(() => _shareUseCase.shareBooking(_booking!)); loadBooking = Command1(_load); diff --git a/compass_app/app/lib/ui/booking/widgets/booking_body.dart b/compass_app/app/lib/ui/booking/widgets/booking_body.dart index 9d36ad1c8..0e55ce147 100644 --- a/compass_app/app/lib/ui/booking/widgets/booking_body.dart +++ b/compass_app/app/lib/ui/booking/widgets/booking_body.dart @@ -12,10 +12,7 @@ import '../view_models/booking_viewmodel.dart'; import 'booking_header.dart'; class BookingBody extends StatelessWidget { - const BookingBody({ - super.key, - required this.viewModel, - }); + const BookingBody({super.key, required this.viewModel}); final BookingViewModel viewModel; @@ -30,13 +27,10 @@ class BookingBody extends StatelessWidget { slivers: [ SliverToBoxAdapter(child: BookingHeader(booking: booking)), SliverList( - delegate: SliverChildBuilderDelegate( - (context, index) { - final activity = booking.activity[index]; - return _Activity(activity: activity); - }, - childCount: booking.activity.length, - ), + delegate: SliverChildBuilderDelegate((context, index) { + final activity = booking.activity[index]; + return _Activity(activity: activity); + }, childCount: booking.activity.length), ), const SliverToBoxAdapter(child: SizedBox(height: 200)), ], @@ -47,9 +41,7 @@ class BookingBody extends StatelessWidget { } class _Activity extends StatelessWidget { - const _Activity({ - required this.activity, - }); + const _Activity({required this.activity}); final Activity activity; diff --git a/compass_app/app/lib/ui/booking/widgets/booking_header.dart b/compass_app/app/lib/ui/booking/widgets/booking_header.dart index e1d767857..474417d8e 100644 --- a/compass_app/app/lib/ui/booking/widgets/booking_header.dart +++ b/compass_app/app/lib/ui/booking/widgets/booking_header.dart @@ -15,10 +15,7 @@ import '../../core/ui/home_button.dart'; import '../../core/ui/tag_chip.dart'; class BookingHeader extends StatelessWidget { - const BookingHeader({ - super.key, - required this.booking, - }); + const BookingHeader({super.key, required this.booking}); final Booking booking; @@ -51,9 +48,7 @@ class BookingHeader extends StatelessWidget { } class _Top extends StatelessWidget { - const _Top({ - required this.booking, - }); + const _Top({required this.booking}); final Booking booking; @@ -70,10 +65,7 @@ class _Top extends StatelessWidget { Positioned( right: Dimens.of(context).paddingScreenHorizontal, top: Dimens.of(context).paddingScreenVertical, - child: const SafeArea( - top: true, - child: HomeButton(blur: true), - ), + child: const SafeArea(top: true, child: HomeButton(blur: true)), ), ], ), @@ -82,9 +74,7 @@ class _Top extends StatelessWidget { } class _Tags extends StatelessWidget { - const _Tags({ - required this.booking, - }); + const _Tags({required this.booking}); final Booking booking; @@ -100,26 +90,25 @@ class _Tags extends StatelessWidget { child: Wrap( spacing: 6, runSpacing: 6, - children: booking.destination.tags - .map( - (tag) => TagChip( - tag: tag, - fontSize: 16, - height: 32, - chipColor: chipColor, - onChipColor: Theme.of(context).colorScheme.onSurface, - ), - ) - .toList(), + children: + booking.destination.tags + .map( + (tag) => TagChip( + tag: tag, + fontSize: 16, + height: 32, + chipColor: chipColor, + onChipColor: Theme.of(context).colorScheme.onSurface, + ), + ) + .toList(), ), ); } } class _Headline extends StatelessWidget { - const _Headline({ - required this.booking, - }); + const _Headline({required this.booking}); final Booking booking; @@ -139,10 +128,7 @@ class _Headline extends StatelessWidget { ), Text( dateFormatStartEnd( - DateTimeRange( - start: booking.startDate, - end: booking.endDate, - ), + DateTimeRange(start: booking.startDate, end: booking.endDate), ), style: Theme.of(context).textTheme.headlineSmall, ), @@ -154,9 +140,7 @@ class _Headline extends StatelessWidget { } class _HeaderImage extends StatelessWidget { - const _HeaderImage({ - required this.booking, - }); + const _HeaderImage({required this.booking}); final Booking booking; @@ -180,10 +164,7 @@ class _Gradient extends StatelessWidget { gradient: LinearGradient( begin: Alignment.topCenter, end: Alignment.bottomCenter, - colors: [ - Colors.transparent, - Theme.of(context).colorScheme.surface, - ], + colors: [Colors.transparent, Theme.of(context).colorScheme.surface], ), ), ); diff --git a/compass_app/app/lib/ui/booking/widgets/booking_screen.dart b/compass_app/app/lib/ui/booking/widgets/booking_screen.dart index 1c87036fc..379a628cd 100644 --- a/compass_app/app/lib/ui/booking/widgets/booking_screen.dart +++ b/compass_app/app/lib/ui/booking/widgets/booking_screen.dart @@ -12,10 +12,7 @@ import '../view_models/booking_viewmodel.dart'; import 'booking_body.dart'; class BookingScreen extends StatefulWidget { - const BookingScreen({ - super.key, - required this.viewModel, - }); + const BookingScreen({super.key, required this.viewModel}); final BookingViewModel viewModel; @@ -47,16 +44,18 @@ class _BookingScreenState extends State { child: Scaffold( floatingActionButton: ListenableBuilder( listenable: widget.viewModel, - builder: (context, _) => FloatingActionButton.extended( - // Workaround for https://github.com/flutter/flutter/issues/115358#issuecomment-2117157419 - heroTag: null, - key: const ValueKey('share-button'), - onPressed: widget.viewModel.booking != null - ? widget.viewModel.shareBooking.execute - : null, - label: Text(AppLocalization.of(context).shareTrip), - icon: const Icon(Icons.share_outlined), - ), + builder: + (context, _) => FloatingActionButton.extended( + // Workaround for https://github.com/flutter/flutter/issues/115358#issuecomment-2117157419 + heroTag: null, + key: const ValueKey('share-button'), + onPressed: + widget.viewModel.booking != null + ? widget.viewModel.shareBooking.execute + : null, + label: Text(AppLocalization.of(context).shareTrip), + icon: const Icon(Icons.share_outlined), + ), ), body: ListenableBuilder( // Listen to changes in both commands @@ -68,9 +67,7 @@ class _BookingScreenState extends State { // If either command is running, show progress indicator if (widget.viewModel.createBooking.running || widget.viewModel.loadBooking.running) { - return const Center( - child: CircularProgressIndicator(), - ); + return const Center(child: CircularProgressIndicator()); } // If fails to create booking, tap to try again if (widget.viewModel.createBooking.error) { @@ -103,13 +100,15 @@ class _BookingScreenState extends State { void _listener() { if (widget.viewModel.shareBooking.error) { widget.viewModel.shareBooking.clearResult(); - ScaffoldMessenger.of(context).showSnackBar(SnackBar( - content: Text(AppLocalization.of(context).errorWhileSharing), - action: SnackBarAction( - label: AppLocalization.of(context).tryAgain, - onPressed: widget.viewModel.shareBooking.execute, + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(AppLocalization.of(context).errorWhileSharing), + action: SnackBarAction( + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.shareBooking.execute, + ), ), - )); + ); } } } diff --git a/compass_app/app/lib/ui/core/localization/applocalization.dart b/compass_app/app/lib/ui/core/localization/applocalization.dart index 923796cbb..b4aa2823c 100644 --- a/compass_app/app/lib/ui/core/localization/applocalization.dart +++ b/compass_app/app/lib/ui/core/localization/applocalization.dart @@ -5,8 +5,6 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; -/// Simple Localizations similar to -/// https://docs.flutter.dev/ui/accessibility-and-internationalization/internationalization#an-alternative-class-for-the-apps-localized-resources class AppLocalization { static AppLocalization of(BuildContext context) { return Localizations.of(context, AppLocalization); diff --git a/compass_app/app/lib/ui/core/themes/colors.dart b/compass_app/app/lib/ui/core/themes/colors.dart index 8c98c8c70..817728a6b 100644 --- a/compass_app/app/lib/ui/core/themes/colors.dart +++ b/compass_app/app/lib/ui/core/themes/colors.dart @@ -10,8 +10,9 @@ abstract final class AppColors { static const grey1 = Color(0xFFF2F2F2); static const grey2 = Color(0xFF4D4D4D); static const grey3 = Color(0xFFA4A4A4); - static const whiteTransparent = - Color(0x4DFFFFFF); // Figma rgba(255, 255, 255, 0.3) + static const whiteTransparent = Color( + 0x4DFFFFFF, + ); // Figma rgba(255, 255, 255, 0.3) static const blackTransparent = Color(0x4D000000); static const red1 = Color(0xFFE74C3C); diff --git a/compass_app/app/lib/ui/core/themes/dimens.dart b/compass_app/app/lib/ui/core/themes/dimens.dart index 8599f0ba6..e77492223 100644 --- a/compass_app/app/lib/ui/core/themes/dimens.dart +++ b/compass_app/app/lib/ui/core/themes/dimens.dart @@ -27,17 +27,20 @@ abstract final class Dimens { /// Symmetric padding for screen edges EdgeInsets get edgeInsetsScreenSymmetric => EdgeInsets.symmetric( - horizontal: paddingScreenHorizontal, vertical: paddingScreenVertical); + horizontal: paddingScreenHorizontal, + vertical: paddingScreenVertical, + ); static const Dimens desktop = _DimensDesktop(); static const Dimens mobile = _DimensMobile(); /// Get dimensions definition based on screen size - factory Dimens.of(BuildContext context) => - switch (MediaQuery.sizeOf(context).width) { - > 600 => desktop, - _ => mobile, - }; + factory Dimens.of(BuildContext context) => switch (MediaQuery.sizeOf( + context, + ).width) { + > 600 && < 840 => desktop, + _ => mobile, + }; } /// Mobile dimensions diff --git a/compass_app/app/lib/ui/core/themes/theme.dart b/compass_app/app/lib/ui/core/themes/theme.dart index a61b1fa8d..22962eef8 100644 --- a/compass_app/app/lib/ui/core/themes/theme.dart +++ b/compass_app/app/lib/ui/core/themes/theme.dart @@ -9,26 +9,11 @@ import 'colors.dart'; abstract final class AppTheme { static const _textTheme = TextTheme( - headlineLarge: TextStyle( - fontSize: 32, - fontWeight: FontWeight.w500, - ), - headlineSmall: TextStyle( - fontSize: 18, - fontWeight: FontWeight.w400, - ), - titleMedium: TextStyle( - fontSize: 18, - fontWeight: FontWeight.w500, - ), - bodyLarge: TextStyle( - fontSize: 18, - fontWeight: FontWeight.w400, - ), - bodyMedium: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w400, - ), + headlineLarge: TextStyle(fontSize: 32, fontWeight: FontWeight.w500), + headlineSmall: TextStyle(fontSize: 18, fontWeight: FontWeight.w400), + titleMedium: TextStyle(fontSize: 18, fontWeight: FontWeight.w500), + bodyLarge: TextStyle(fontSize: 18, fontWeight: FontWeight.w400), + bodyMedium: TextStyle(fontSize: 16, fontWeight: FontWeight.w400), bodySmall: TextStyle( fontSize: 14, fontWeight: FontWeight.w400, diff --git a/compass_app/app/lib/ui/core/ui/back_button.dart b/compass_app/app/lib/ui/core/ui/back_button.dart index 5d0bf5f46..8bb78f74e 100644 --- a/compass_app/app/lib/ui/core/ui/back_button.dart +++ b/compass_app/app/lib/ui/core/ui/back_button.dart @@ -10,11 +10,7 @@ import 'blur_filter.dart'; /// Custom back button to pop navigation. class CustomBackButton extends StatelessWidget { - const CustomBackButton({ - super.key, - this.onTap, - this.blur = false, - }); + const CustomBackButton({super.key, this.onTap, this.blur = false}); final bool blur; final GestureTapCallback? onTap; diff --git a/compass_app/app/lib/ui/core/ui/custom_checkbox.dart b/compass_app/app/lib/ui/core/ui/custom_checkbox.dart index 515e91a3d..d08ea6339 100644 --- a/compass_app/app/lib/ui/core/ui/custom_checkbox.dart +++ b/compass_app/app/lib/ui/core/ui/custom_checkbox.dart @@ -28,9 +28,10 @@ class CustomCheckbox extends StatelessWidget { ), child: Material( borderRadius: BorderRadius.circular(24), - color: value - ? Theme.of(context).colorScheme.primary - : Colors.transparent, + color: + value + ? Theme.of(context).colorScheme.primary + : Colors.transparent, child: SizedBox( width: 24, height: 24, diff --git a/compass_app/app/lib/ui/core/ui/error_indicator.dart b/compass_app/app/lib/ui/core/ui/error_indicator.dart index 5e328546b..5c6692fd4 100644 --- a/compass_app/app/lib/ui/core/ui/error_indicator.dart +++ b/compass_app/app/lib/ui/core/ui/error_indicator.dart @@ -46,9 +46,7 @@ class ErrorIndicator extends StatelessWidget { ), ), ), - const SizedBox( - height: 10, - ), + const SizedBox(height: 10), FilledButton( onPressed: onPressed, style: const ButtonStyle( diff --git a/compass_app/app/lib/ui/core/ui/home_button.dart b/compass_app/app/lib/ui/core/ui/home_button.dart index 460c6b301..a7d4efa98 100644 --- a/compass_app/app/lib/ui/core/ui/home_button.dart +++ b/compass_app/app/lib/ui/core/ui/home_button.dart @@ -11,10 +11,7 @@ import 'blur_filter.dart'; /// Home button to navigate back to the '/' path. class HomeButton extends StatelessWidget { - const HomeButton({ - super.key, - this.blur = false, - }); + const HomeButton({super.key, this.blur = false}); final bool blur; diff --git a/compass_app/app/lib/ui/core/ui/scroll_behavior.dart b/compass_app/app/lib/ui/core/ui/scroll_behavior.dart index eda9d171c..6d8342436 100644 --- a/compass_app/app/lib/ui/core/ui/scroll_behavior.dart +++ b/compass_app/app/lib/ui/core/ui/scroll_behavior.dart @@ -10,8 +10,8 @@ import 'package:flutter/material.dart'; class AppCustomScrollBehavior extends MaterialScrollBehavior { @override Set get dragDevices => { - PointerDeviceKind.touch, - // Allow to drag with mouse on Regions carousel - PointerDeviceKind.mouse, - }; + PointerDeviceKind.touch, + // Allow to drag with mouse on Regions carousel + PointerDeviceKind.mouse, + }; } diff --git a/compass_app/app/lib/ui/core/ui/search_bar.dart b/compass_app/app/lib/ui/core/ui/search_bar.dart index 59d5b10a1..1c50779aa 100644 --- a/compass_app/app/lib/ui/core/ui/search_bar.dart +++ b/compass_app/app/lib/ui/core/ui/search_bar.dart @@ -16,11 +16,7 @@ import 'home_button.dart'; /// Displays a search bar with the current configuration. /// Includes [HomeButton] to navigate back to the '/' path. class AppSearchBar extends StatelessWidget { - const AppSearchBar({ - super.key, - this.config, - this.onTap, - }); + const AppSearchBar({super.key, this.config, this.onTap}); final ItineraryConfig? config; final GestureTapCallback? onTap; @@ -59,9 +55,7 @@ class AppSearchBar extends StatelessWidget { } class _QueryText extends StatelessWidget { - const _QueryText({ - required this.config, - }); + const _QueryText({required this.config}); final ItineraryConfig? config; diff --git a/compass_app/app/lib/ui/core/ui/tag_chip.dart b/compass_app/app/lib/ui/core/ui/tag_chip.dart index 02d8c50d1..1979909cd 100644 --- a/compass_app/app/lib/ui/core/ui/tag_chip.dart +++ b/compass_app/app/lib/ui/core/ui/tag_chip.dart @@ -34,7 +34,8 @@ class TagChip extends StatelessWidget { filter: ImageFilter.blur(sigmaX: 3, sigmaY: 3), child: DecoratedBox( decoration: BoxDecoration( - color: chipColor ?? + color: + chipColor ?? Theme.of(context).extension()?.chipColor ?? AppColors.whiteTransparent, ), @@ -48,10 +49,11 @@ class TagChip extends StatelessWidget { children: [ Icon( _iconFrom(tag), - color: onChipColor ?? - Theme.of(context) - .extension() - ?.onChipColor ?? + color: + onChipColor ?? + Theme.of( + context, + ).extension()?.onChipColor ?? Colors.white, size: fontSize, ), @@ -98,25 +100,23 @@ class TagChip extends StatelessWidget { // Note: original Figma file uses Google Sans // which is not available on GoogleFonts TextStyle _textStyle(BuildContext context) => GoogleFonts.openSans( - textStyle: TextStyle( - fontWeight: FontWeight.w500, - fontSize: fontSize, - color: onChipColor ?? - Theme.of(context).extension()?.onChipColor ?? - Colors.white, - textBaseline: TextBaseline.alphabetic, - ), - ); + textStyle: TextStyle( + fontWeight: FontWeight.w500, + fontSize: fontSize, + color: + onChipColor ?? + Theme.of(context).extension()?.onChipColor ?? + Colors.white, + textBaseline: TextBaseline.alphabetic, + ), + ); } class TagChipTheme extends ThemeExtension { final Color chipColor; final Color onChipColor; - TagChipTheme({ - required this.chipColor, - required this.onChipColor, - }); + TagChipTheme({required this.chipColor, required this.onChipColor}); @override ThemeExtension copyWith({ diff --git a/compass_app/app/lib/ui/home/view_models/home_viewmodel.dart b/compass_app/app/lib/ui/home/view_models/home_viewmodel.dart index 093cb75fc..df4a2e479 100644 --- a/compass_app/app/lib/ui/home/view_models/home_viewmodel.dart +++ b/compass_app/app/lib/ui/home/view_models/home_viewmodel.dart @@ -18,8 +18,8 @@ class HomeViewModel extends ChangeNotifier { HomeViewModel({ required BookingRepository bookingRepository, required UserRepository userRepository, - }) : _bookingRepository = bookingRepository, - _userRepository = userRepository { + }) : _bookingRepository = bookingRepository, + _userRepository = userRepository { load = Command0(_load)..execute(); deleteBooking = Command1(_deleteBooking); } diff --git a/compass_app/app/lib/ui/home/widgets/home_screen.dart b/compass_app/app/lib/ui/home/widgets/home_screen.dart index 7ee012ef3..39f4dcdaf 100644 --- a/compass_app/app/lib/ui/home/widgets/home_screen.dart +++ b/compass_app/app/lib/ui/home/widgets/home_screen.dart @@ -18,10 +18,7 @@ import 'home_title.dart'; const String bookingButtonKey = 'booking-button'; class HomeScreen extends StatefulWidget { - const HomeScreen({ - super.key, - required this.viewModel, - }); + const HomeScreen({super.key, required this.viewModel}); final HomeViewModel viewModel; @@ -67,9 +64,7 @@ class _HomeScreenState extends State { listenable: widget.viewModel.load, builder: (context, child) { if (widget.viewModel.load.running) { - return const Center( - child: CircularProgressIndicator(), - ); + return const Center(child: CircularProgressIndicator()); } if (widget.viewModel.load.error) { @@ -98,27 +93,32 @@ class _HomeScreenState extends State { ), SliverList.builder( itemCount: widget.viewModel.bookings.length, - itemBuilder: (_, index) => _Booking( - key: ValueKey(widget.viewModel.bookings[index].id), - booking: widget.viewModel.bookings[index], - onTap: () => context.push(Routes.bookingWithId( - widget.viewModel.bookings[index].id)), - confirmDismiss: (_) async { - // wait for command to complete - await widget.viewModel.deleteBooking.execute( - widget.viewModel.bookings[index].id, - ); - // if command completed successfully, return true - if (widget.viewModel.deleteBooking.completed) { - // removes the dismissable from the list - return true; - } else { - // the dismissable stays in the list - return false; - } - }, - ), - ) + itemBuilder: + (_, index) => _Booking( + key: ValueKey(widget.viewModel.bookings[index].id), + booking: widget.viewModel.bookings[index], + onTap: + () => context.push( + Routes.bookingWithId( + widget.viewModel.bookings[index].id, + ), + ), + confirmDismiss: (_) async { + // wait for command to complete + await widget.viewModel.deleteBooking.execute( + widget.viewModel.bookings[index].id, + ); + // if command completed successfully, return true + if (widget.viewModel.deleteBooking.completed) { + // removes the dismissable from the list + return true; + } else { + // the dismissable stays in the list + return false; + } + }, + ), + ), ], ); }, @@ -132,9 +132,7 @@ class _HomeScreenState extends State { if (widget.viewModel.deleteBooking.completed) { widget.viewModel.deleteBooking.clearResult(); ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: Text(AppLocalization.of(context).bookingDeleted), - ), + SnackBar(content: Text(AppLocalization.of(context).bookingDeleted)), ); } @@ -189,16 +187,10 @@ class _Booking extends StatelessWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text( - booking.name, - style: Theme.of(context).textTheme.titleLarge, - ), + Text(booking.name, style: Theme.of(context).textTheme.titleLarge), Text( dateFormatStartEnd( - DateTimeRange( - start: booking.startDate, - end: booking.endDate, - ), + DateTimeRange(start: booking.startDate, end: booking.endDate), ), style: Theme.of(context).textTheme.bodyLarge, ), diff --git a/compass_app/app/lib/ui/home/widgets/home_title.dart b/compass_app/app/lib/ui/home/widgets/home_title.dart index 4d9dfacf5..7086ccdf0 100644 --- a/compass_app/app/lib/ui/home/widgets/home_title.dart +++ b/compass_app/app/lib/ui/home/widgets/home_title.dart @@ -13,10 +13,7 @@ import '../../core/themes/dimens.dart'; import '../view_models/home_viewmodel.dart'; class HomeHeader extends StatelessWidget { - const HomeHeader({ - super.key, - required this.viewModel, - }); + const HomeHeader({super.key, required this.viewModel}); final HomeViewModel viewModel; @@ -49,18 +46,14 @@ class HomeHeader extends StatelessWidget { ], ), const SizedBox(height: Dimens.paddingVertical), - _Title( - text: AppLocalization.of(context).nameTrips(user.name), - ), + _Title(text: AppLocalization.of(context).nameTrips(user.name)), ], ); } } class _Title extends StatelessWidget { - const _Title({ - required this.text, - }); + const _Title({required this.text}); final String text; @@ -68,16 +61,12 @@ class _Title extends StatelessWidget { Widget build(BuildContext context) { return ShaderMask( blendMode: BlendMode.srcIn, - shaderCallback: (bounds) => RadialGradient( - center: Alignment.bottomLeft, - radius: 2, - colors: [ - Colors.purple.shade700, - Colors.purple.shade400, - ], - ).createShader( - Rect.fromLTWH(0, 0, bounds.width, bounds.height), - ), + shaderCallback: + (bounds) => RadialGradient( + center: Alignment.bottomLeft, + radius: 2, + colors: [Colors.purple.shade700, Colors.purple.shade400], + ).createShader(Rect.fromLTWH(0, 0, bounds.width, bounds.height)), child: Text( text, style: GoogleFonts.rubik( diff --git a/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart b/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart index ad2b71a0a..33ba262b3 100644 --- a/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart +++ b/compass_app/app/lib/ui/results/view_models/results_viewmodel.dart @@ -18,8 +18,8 @@ class ResultsViewModel extends ChangeNotifier { ResultsViewModel({ required DestinationRepository destinationRepository, required ItineraryConfigRepository itineraryConfigRepository, - }) : _destinationRepository = destinationRepository, - _itineraryConfigRepository = itineraryConfigRepository { + }) : _destinationRepository = destinationRepository, + _itineraryConfigRepository = itineraryConfigRepository { updateItineraryConfig = Command1(_updateItineraryConfig); search = Command0(_search)..execute(); } @@ -67,10 +67,13 @@ class ResultsViewModel extends ChangeNotifier { case Ok(): { // If the result is Ok, update the list of destinations - _destinations = result.value - .where((destination) => - destination.continent == _itineraryConfig!.continent) - .toList(); + _destinations = + result.value + .where( + (destination) => + destination.continent == _itineraryConfig!.continent, + ) + .toList(); _log.fine('Destinations (${_destinations.length}) loaded'); } case Error(): @@ -99,16 +102,11 @@ class ResultsViewModel extends ChangeNotifier { } final itineraryConfig = resultConfig.value; - final result = await _itineraryConfigRepository - .setItineraryConfig(itineraryConfig.copyWith( - destination: destinationRef, - activities: [], - )); + final result = await _itineraryConfigRepository.setItineraryConfig( + itineraryConfig.copyWith(destination: destinationRef, activities: []), + ); if (result is Error) { - _log.warning( - 'Failed to store ItineraryConfig', - result.error, - ); + _log.warning('Failed to store ItineraryConfig', result.error); } return result; } diff --git a/compass_app/app/lib/ui/results/widgets/result_card.dart b/compass_app/app/lib/ui/results/widgets/result_card.dart index 7a3adc6a8..adcdad91a 100644 --- a/compass_app/app/lib/ui/results/widgets/result_card.dart +++ b/compass_app/app/lib/ui/results/widgets/result_card.dart @@ -10,11 +10,7 @@ import '../../../utils/image_error_listener.dart'; import '../../core/ui/tag_chip.dart'; class ResultCard extends StatelessWidget { - const ResultCard({ - super.key, - required this.destination, - required this.onTap, - }); + const ResultCard({super.key, required this.destination, required this.onTap}); final Destination destination; final GestureTapCallback onTap; @@ -40,13 +36,8 @@ class ResultCard extends StatelessWidget { mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text( - destination.name.toUpperCase(), - style: _cardTitleStyle, - ), - const SizedBox( - height: 6, - ), + Text(destination.name.toUpperCase(), style: _cardTitleStyle), + const SizedBox(height: 6), Wrap( spacing: 4.0, runSpacing: 4.0, @@ -61,9 +52,7 @@ class ResultCard extends StatelessWidget { Positioned.fill( child: Material( color: Colors.transparent, - child: InkWell( - onTap: onTap, - ), + child: InkWell(onTap: onTap), ), ), ], @@ -80,10 +69,7 @@ final _cardTitleStyle = GoogleFonts.rubik( letterSpacing: 1, shadows: [ // Helps to read the text a bit better - Shadow( - blurRadius: 3.0, - color: Colors.black, - ) + Shadow(blurRadius: 3.0, color: Colors.black), ], ), ); diff --git a/compass_app/app/lib/ui/results/widgets/results_screen.dart b/compass_app/app/lib/ui/results/widgets/results_screen.dart index 2a93bcd40..2bfc3d377 100644 --- a/compass_app/app/lib/ui/results/widgets/results_screen.dart +++ b/compass_app/app/lib/ui/results/widgets/results_screen.dart @@ -14,10 +14,7 @@ import '../view_models/results_viewmodel.dart'; import 'result_card.dart'; class ResultsScreen extends StatefulWidget { - const ResultsScreen({ - super.key, - required this.viewModel, - }); + const ResultsScreen({super.key, required this.viewModel}); final ResultsViewModel viewModel; @@ -64,13 +61,16 @@ class _ResultsScreenState extends State { _AppSearchBar(widget: widget), if (widget.viewModel.search.running) const Expanded( - child: Center(child: CircularProgressIndicator())), + child: Center(child: CircularProgressIndicator()), + ), if (widget.viewModel.search.error) Expanded( child: Center( child: ErrorIndicator( - title: AppLocalization.of(context) - .errorWhileLoadingDestinations, + title: + AppLocalization.of( + context, + ).errorWhileLoadingDestinations, label: AppLocalization.of(context).tryAgain, onPressed: widget.viewModel.search.execute, ), @@ -86,9 +86,7 @@ class _ResultsScreenState extends State { padding: Dimens.of(context).edgeInsetsScreenHorizontal, child: CustomScrollView( slivers: [ - SliverToBoxAdapter( - child: _AppSearchBar(widget: widget), - ), + SliverToBoxAdapter(child: _AppSearchBar(widget: widget)), _Grid(viewModel: widget.viewModel), ], ), @@ -118,9 +116,7 @@ class _ResultsScreenState extends State { } class _AppSearchBar extends StatelessWidget { - const _AppSearchBar({ - required this.widget, - }); + const _AppSearchBar({required this.widget}); final ResultsScreen widget; @@ -147,9 +143,7 @@ class _AppSearchBar extends StatelessWidget { } class _Grid extends StatelessWidget { - const _Grid({ - required this.viewModel, - }); + const _Grid({required this.viewModel}); final ResultsViewModel viewModel; @@ -162,19 +156,16 @@ class _Grid extends StatelessWidget { mainAxisSpacing: 8.0, childAspectRatio: 182 / 222, ), - delegate: SliverChildBuilderDelegate( - (context, index) { - final destination = viewModel.destinations[index]; - return ResultCard( - key: ValueKey(destination.ref), - destination: destination, - onTap: () { - viewModel.updateItineraryConfig.execute(destination.ref); - }, - ); - }, - childCount: viewModel.destinations.length, - ), + delegate: SliverChildBuilderDelegate((context, index) { + final destination = viewModel.destinations[index]; + return ResultCard( + key: ValueKey(destination.ref), + destination: destination, + onTap: () { + viewModel.updateItineraryConfig.execute(destination.ref); + }, + ); + }, childCount: viewModel.destinations.length), ); } } diff --git a/compass_app/app/lib/ui/search_form/view_models/search_form_viewmodel.dart b/compass_app/app/lib/ui/search_form/view_models/search_form_viewmodel.dart index c1eed2f92..3093434f8 100644 --- a/compass_app/app/lib/ui/search_form/view_models/search_form_viewmodel.dart +++ b/compass_app/app/lib/ui/search_form/view_models/search_form_viewmodel.dart @@ -20,8 +20,8 @@ class SearchFormViewModel extends ChangeNotifier { SearchFormViewModel({ required ContinentRepository continentRepository, required ItineraryConfigRepository itineraryConfigRepository, - }) : _continentRepository = continentRepository, - _itineraryConfigRepository = itineraryConfigRepository { + }) : _continentRepository = continentRepository, + _itineraryConfigRepository = itineraryConfigRepository { updateItineraryConfig = Command0(_updateItineraryConfig); load = Command0(_load)..execute(); } @@ -125,10 +125,7 @@ class SearchFormViewModel extends ChangeNotifier { _log.fine('ItineraryConfig loaded'); notifyListeners(); case Error(): - _log.warning( - 'Failed to load stored ItineraryConfig', - result.error, - ); + _log.warning('Failed to load stored ItineraryConfig', result.error); } return result; } diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart index d6fc65dd2..a12991886 100644 --- a/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_continent.dart @@ -20,10 +20,7 @@ import '../view_models/search_form_viewmodel.dart'; /// Users can tap one item to select it. /// Tapping again the same item will deselect it. class SearchFormContinent extends StatelessWidget { - const SearchFormContinent({ - super.key, - required this.viewModel, - }); + const SearchFormContinent({super.key, required this.viewModel}); final SearchFormViewModel viewModel; @@ -35,9 +32,7 @@ class SearchFormContinent extends StatelessWidget { listenable: viewModel.load, builder: (context, child) { if (viewModel.load.running) { - return const Center( - child: CircularProgressIndicator(), - ); + return const Center(child: CircularProgressIndicator()); } if (viewModel.load.error) { return Center( @@ -110,9 +105,7 @@ class _CarouselItem extends StatelessWidget { // NOTE: Getting "invalid image data" error for some of the images // e.g. https://rstr.in/google/tripedia/jlbgFDrSUVE return const DecoratedBox( - decoration: BoxDecoration( - color: AppColors.grey3, - ), + decoration: BoxDecoration(color: AppColors.grey3), child: SizedBox(width: 140, height: 140), ); }, diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_date.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_date.dart index ba1cd5920..e84eeb3cc 100644 --- a/compass_app/app/lib/ui/search_form/widgets/search_form_date.dart +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_date.dart @@ -14,10 +14,7 @@ import '../view_models/search_form_viewmodel.dart'; /// /// Opens a date range picker dialog when tapped. class SearchFormDate extends StatelessWidget { - const SearchFormDate({ - super.key, - required this.viewModel, - }); + const SearchFormDate({super.key, required this.viewModel}); final SearchFormViewModel viewModel; @@ -71,7 +68,7 @@ class SearchFormDate extends StatelessWidget { ); } }, - ) + ), ], ), ), diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart index e803dd11d..3772c0f85 100644 --- a/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_guests.dart @@ -16,10 +16,7 @@ const String addGuestsKey = 'add-guests'; /// Users can tap the Plus and Minus icons to increase or decrease /// the number of guests. class SearchFormGuests extends StatelessWidget { - const SearchFormGuests({ - super.key, - required this.viewModel, - }); + const SearchFormGuests({super.key, required this.viewModel}); final SearchFormViewModel viewModel; @@ -44,10 +41,7 @@ class SearchFormGuests extends StatelessWidget { child: Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, children: [ - Text( - 'Who', - style: Theme.of(context).textTheme.titleMedium, - ), + Text('Who', style: Theme.of(context).textTheme.titleMedium), _QuantitySelector(viewModel), ], ), @@ -81,22 +75,21 @@ class _QuantitySelector extends StatelessWidget { ), ListenableBuilder( listenable: viewModel, - builder: (context, _) => Text( - viewModel.guests.toString(), - style: viewModel.guests == 0 - ? Theme.of(context).inputDecorationTheme.hintStyle - : Theme.of(context).textTheme.bodyMedium, - ), + builder: + (context, _) => Text( + viewModel.guests.toString(), + style: + viewModel.guests == 0 + ? Theme.of(context).inputDecorationTheme.hintStyle + : Theme.of(context).textTheme.bodyMedium, + ), ), InkWell( key: const ValueKey(addGuestsKey), onTap: () { viewModel.guests++; }, - child: const Icon( - Icons.add_circle_outline, - color: AppColors.grey3, - ), + child: const Icon(Icons.add_circle_outline, color: AppColors.grey3), ), ], ), diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_screen.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_screen.dart index bfa4aa9b1..cf4ce1166 100644 --- a/compass_app/app/lib/ui/search_form/widgets/search_form_screen.dart +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_screen.dart @@ -21,10 +21,7 @@ import 'search_form_submit.dart'; /// Tapping on the submit button opens the [ResultsScreen] screen /// passing the search options as query parameters. class SearchFormScreen extends StatelessWidget { - const SearchFormScreen({ - super.key, - required this.viewModel, - }); + const SearchFormScreen({super.key, required this.viewModel}); final SearchFormViewModel viewModel; diff --git a/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart b/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart index a1ebe35c8..a4c6113a1 100644 --- a/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart +++ b/compass_app/app/lib/ui/search_form/widgets/search_form_submit.dart @@ -19,10 +19,7 @@ const String searchFormSubmitButtonKey = 'submit-button'; /// When tapped, it navigates to the [ResultsScreen] /// passing the search options as query parameters. class SearchFormSubmit extends StatefulWidget { - const SearchFormSubmit({ - super.key, - required this.viewModel, - }); + const SearchFormSubmit({super.key, required this.viewModel}); final SearchFormViewModel viewModel; @@ -63,16 +60,15 @@ class _SearchFormSubmitState extends State { listenable: widget.viewModel, child: SizedBox( height: 52, - child: Center( - child: Text(AppLocalization.of(context).search), - ), + child: Center(child: Text(AppLocalization.of(context).search)), ), builder: (context, child) { return FilledButton( key: const ValueKey(searchFormSubmitButtonKey), - onPressed: widget.viewModel.valid - ? widget.viewModel.updateItineraryConfig.execute - : null, + onPressed: + widget.viewModel.valid + ? widget.viewModel.updateItineraryConfig.execute + : null, child: child, ); }, @@ -88,13 +84,15 @@ class _SearchFormSubmitState extends State { if (widget.viewModel.updateItineraryConfig.error) { widget.viewModel.updateItineraryConfig.clearResult(); - ScaffoldMessenger.of(context).showSnackBar(SnackBar( - content: Text(AppLocalization.of(context).errorWhileSavingItinerary), - action: SnackBarAction( - label: AppLocalization.of(context).tryAgain, - onPressed: widget.viewModel.updateItineraryConfig.execute, + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text(AppLocalization.of(context).errorWhileSavingItinerary), + action: SnackBarAction( + label: AppLocalization.of(context).tryAgain, + onPressed: widget.viewModel.updateItineraryConfig.execute, + ), ), - )); + ); } } } diff --git a/compass_app/app/macos/Runner/Release.entitlements b/compass_app/app/macos/Runner/Release.entitlements index 852fa1a47..48271acc9 100644 --- a/compass_app/app/macos/Runner/Release.entitlements +++ b/compass_app/app/macos/Runner/Release.entitlements @@ -4,5 +4,7 @@ com.apple.security.app-sandbox + com.apple.security.network.client + diff --git a/compass_app/app/pubspec.yaml b/compass_app/app/pubspec.yaml index 10413e293..b3f9dad40 100644 --- a/compass_app/app/pubspec.yaml +++ b/compass_app/app/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 0.1.0 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: cached_network_image: ^3.4.1 diff --git a/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart b/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart index 822405060..94987b64e 100644 --- a/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart +++ b/compass_app/app/test/data/repositories/booking/booking_repository_remote_test.dart @@ -18,9 +18,7 @@ void main() { setUp(() { fakeApiClient = FakeApiClient(); - bookingRepository = BookingRepositoryRemote( - apiClient: fakeApiClient, - ); + bookingRepository = BookingRepositoryRemote(apiClient: fakeApiClient); }); test('should get booking', () async { diff --git a/compass_app/app/test/data/services/api/api_client_test.dart b/compass_app/app/test/data/services/api/api_client_test.dart index 2bcf8de3f..ae76522b1 100644 --- a/compass_app/app/test/data/services/api/api_client_test.dart +++ b/compass_app/app/test/data/services/api/api_client_test.dart @@ -37,8 +37,9 @@ void main() { '/destination/${kDestination1.ref}/activity', activites, ); - final result = - await apiClient.getActivityByDestination(kDestination1.ref); + final result = await apiClient.getActivityByDestination( + kDestination1.ref, + ); expect(result.asOk.value, activites); }); diff --git a/compass_app/app/test/data/services/api/auth_api_client_test.dart b/compass_app/app/test/data/services/api/auth_api_client_test.dart index 18222ba62..a9bcd7edb 100644 --- a/compass_app/app/test/data/services/api/auth_api_client_test.dart +++ b/compass_app/app/test/data/services/api/auth_api_client_test.dart @@ -21,20 +21,10 @@ void main() { }); test('should post login', () async { - const loginResponse = LoginResponse( - token: 'TOKEN', - userId: '123', - ); - mockHttpClient.mockPost( - '/login', - loginResponse, - 200, - ); + const loginResponse = LoginResponse(token: 'TOKEN', userId: '123'); + mockHttpClient.mockPost('/login', loginResponse, 200); final result = await apiClient.login( - const LoginRequest( - email: 'EMAIL', - password: 'PASSWORD', - ), + const LoginRequest(email: 'EMAIL', password: 'PASSWORD'), ); expect(result.asOk.value, loginResponse); }); diff --git a/compass_app/app/test/ui/activities/activities_screen_test.dart b/compass_app/app/test/ui/activities/activities_screen_test.dart index 97ac3366c..fb76286e6 100644 --- a/compass_app/app/test/ui/activities/activities_screen_test.dart +++ b/compass_app/app/test/ui/activities/activities_screen_test.dart @@ -60,8 +60,9 @@ void main() { }); }); - testWidgets('should select activity and confirm', - (WidgetTester tester) async { + testWidgets('should select activity and confirm', ( + WidgetTester tester, + ) async { await mockNetworkImages(() async { await loadScreen(tester); // Select one activity diff --git a/compass_app/app/test/ui/auth/login_screen_test.dart b/compass_app/app/test/ui/auth/login_screen_test.dart index f454ea625..a893e8eaa 100644 --- a/compass_app/app/test/ui/auth/login_screen_test.dart +++ b/compass_app/app/test/ui/auth/login_screen_test.dart @@ -20,9 +20,7 @@ void main() { setUp(() { fakeAuthRepository = FakeAuthRepository(); - viewModel = LoginViewModel( - authRepository: fakeAuthRepository, - ); + viewModel = LoginViewModel(authRepository: fakeAuthRepository); goRouter = MockGoRouter(); }); diff --git a/compass_app/app/test/ui/auth/logout_button_test.dart b/compass_app/app/test/ui/auth/logout_button_test.dart index 383ceadb7..07891ce89 100644 --- a/compass_app/app/test/ui/auth/logout_button_test.dart +++ b/compass_app/app/test/ui/auth/logout_button_test.dart @@ -27,7 +27,8 @@ void main() { fakeAuthRepository.token = 'TOKEN'; // Setup an ItineraryConfig with some data, should be cleared after logout fakeItineraryConfigRepository = FakeItineraryConfigRepository( - itineraryConfig: const ItineraryConfig(continent: 'CONTINENT')); + itineraryConfig: const ItineraryConfig(continent: 'CONTINENT'), + ); viewModel = LogoutViewModel( authRepository: fakeAuthRepository, itineraryConfigRepository: fakeItineraryConfigRepository, diff --git a/compass_app/app/test/ui/booking/booking_screen_test.dart b/compass_app/app/test/ui/booking/booking_screen_test.dart index 808a3b837..0036e1703 100644 --- a/compass_app/app/test/ui/booking/booking_screen_test.dart +++ b/compass_app/app/test/ui/booking/booking_screen_test.dart @@ -84,8 +84,9 @@ void main() { expect(find.text(kBooking.destination.tags.first), findsOneWidget); }); - testWidgets('should create booking from itinerary config', - (WidgetTester tester) async { + testWidgets('should create booking from itinerary config', ( + WidgetTester tester, + ) async { await loadScreen(tester); // Create a new booking from stored itinerary config diff --git a/compass_app/app/test/ui/results/results_screen_test.dart b/compass_app/app/test/ui/results/results_screen_test.dart index f27383742..cfb1ce3a3 100644 --- a/compass_app/app/test/ui/results/results_screen_test.dart +++ b/compass_app/app/test/ui/results/results_screen_test.dart @@ -62,8 +62,9 @@ void main() { }); }); - testWidgets('should tap and navigate to activities', - (WidgetTester tester) async { + testWidgets('should tap and navigate to activities', ( + WidgetTester tester, + ) async { await mockNetworkImages(() async { await loadScreen(tester); diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart index 5b868b6ee..6015cecec 100644 --- a/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart +++ b/compass_app/app/test/ui/search_form/widgets/search_form_continent_test.dart @@ -25,8 +25,9 @@ void main() { await testApp(tester, SearchFormContinent(viewModel: viewModel)); } - testWidgets('Should load and select continent', - (WidgetTester tester) async { + testWidgets('Should load and select continent', ( + WidgetTester tester, + ) async { await loadWidget(tester); expect(find.byType(SearchFormContinent), findsOneWidget); diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart index eb1de1d18..f099dc2ab 100644 --- a/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart +++ b/compass_app/app/test/ui/search_form/widgets/search_form_date_test.dart @@ -26,8 +26,9 @@ void main() { await testApp(tester, SearchFormDate(viewModel: viewModel)); } - testWidgets('should display date in different month', - (WidgetTester tester) async { + testWidgets('should display date in different month', ( + WidgetTester tester, + ) async { await loadWidget(tester); expect(find.byType(SearchFormDate), findsOneWidget); @@ -36,14 +37,17 @@ void main() { // Simulate date picker input: viewModel.dateRange = DateTimeRange( - start: DateTime(2024, 6, 12), end: DateTime(2024, 7, 23)); + start: DateTime(2024, 6, 12), + end: DateTime(2024, 7, 23), + ); await tester.pumpAndSettle(); expect(find.text('12 Jun - 23 Jul'), findsOneWidget); }); - testWidgets('should display date in same month', - (WidgetTester tester) async { + testWidgets('should display date in same month', ( + WidgetTester tester, + ) async { await loadWidget(tester); expect(find.byType(SearchFormDate), findsOneWidget); @@ -52,7 +56,9 @@ void main() { // Simulate date picker input: viewModel.dateRange = DateTimeRange( - start: DateTime(2024, 6, 12), end: DateTime(2024, 6, 23)); + start: DateTime(2024, 6, 12), + end: DateTime(2024, 6, 23), + ); await tester.pumpAndSettle(); expect(find.text('12 - 23 Jun'), findsOneWidget); diff --git a/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart b/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart index 5071b163b..355cc80f8 100644 --- a/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart +++ b/compass_app/app/test/ui/search_form/widgets/search_form_screen_test.dart @@ -46,8 +46,9 @@ void main() { ); } - testWidgets('Should fill form and perform search', - (WidgetTester tester) async { + testWidgets('Should fill form and perform search', ( + WidgetTester tester, + ) async { await loadWidget(tester); expect(find.byType(SearchFormScreen), findsOneWidget); @@ -56,7 +57,9 @@ void main() { // Select date viewModel.dateRange = DateTimeRange( - start: DateTime(2024, 6, 12), end: DateTime(2024, 7, 23)); + start: DateTime(2024, 6, 12), + end: DateTime(2024, 7, 23), + ); // Select guests await tester.tap(find.byKey(const ValueKey(addGuestsKey))); diff --git a/compass_app/app/test/utils/command_test.dart b/compass_app/app/test/utils/command_test.dart index 3d925a980..4633fb41f 100644 --- a/compass_app/app/test/utils/command_test.dart +++ b/compass_app/app/test/utils/command_test.dart @@ -66,8 +66,9 @@ void main() { }); test('should handle errors', () async { - final command = - Command0(() => Future.value(Result.error(Exception('ERROR!')))); + final command = Command0( + () => Future.value(Result.error(Exception('ERROR!'))), + ); await command.execute(); expect(command.error, true); expect(command.result, isA()); @@ -90,8 +91,9 @@ void main() { test('should complete bool command, bool argument', () async { // Action that returns bool argument - final command = - Command1((a) => Future.value(const Result.ok(true))); + final command = Command1( + (a) => Future.value(const Result.ok(true)), + ); // Run action with result and argument await command.execute(true); diff --git a/compass_app/app/testing/app.dart b/compass_app/app/testing/app.dart index dad9b8ce9..48ff31337 100644 --- a/compass_app/app/testing/app.dart +++ b/compass_app/app/testing/app.dart @@ -30,9 +30,7 @@ Future testApp( theme: AppTheme.lightTheme, home: InheritedGoRouter( goRouter: goRouter ?? MockGoRouter(), - child: Scaffold( - body: body, - ), + child: Scaffold(body: body), ), ), ); diff --git a/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart b/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart index 1021cc023..12a3b5008 100644 --- a/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_continent_repository.dart @@ -10,10 +10,12 @@ import 'package:flutter/foundation.dart'; class FakeContinentRepository implements ContinentRepository { @override Future>> getContinents() { - return SynchronousFuture(Result.ok([ - const Continent(name: 'CONTINENT', imageUrl: 'URL'), - const Continent(name: 'CONTINENT2', imageUrl: 'URL'), - const Continent(name: 'CONTINENT3', imageUrl: 'URL'), - ])); + return SynchronousFuture( + Result.ok([ + const Continent(name: 'CONTINENT', imageUrl: 'URL'), + const Continent(name: 'CONTINENT2', imageUrl: 'URL'), + const Continent(name: 'CONTINENT3', imageUrl: 'URL'), + ]), + ); } } diff --git a/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart b/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart index d59d1318e..2260e8bac 100644 --- a/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart +++ b/compass_app/app/testing/fakes/repositories/fake_itinerary_config_repository.dart @@ -15,7 +15,8 @@ class FakeItineraryConfigRepository implements ItineraryConfigRepository { @override Future> getItineraryConfig() { return SynchronousFuture( - Result.ok(itineraryConfig ?? const ItineraryConfig())); + Result.ok(itineraryConfig ?? const ItineraryConfig()), + ); } @override diff --git a/compass_app/app/testing/fakes/services/fake_api_client.dart b/compass_app/app/testing/fakes/services/fake_api_client.dart index 9f053e57e..e2e1459fc 100644 --- a/compass_app/app/testing/fakes/services/fake_api_client.dart +++ b/compass_app/app/testing/fakes/services/fake_api_client.dart @@ -31,28 +31,26 @@ class FakeApiClient implements ApiClient { @override Future>> getDestinations() async { requestCount++; - return Result.ok( - [ - const Destination( - ref: 'ref1', - name: 'name1', - country: 'country1', - continent: 'Europe', - knownFor: 'knownFor1', - tags: ['tags1'], - imageUrl: 'imageUrl1', - ), - const Destination( - ref: 'ref2', - name: 'name2', - country: 'country2', - continent: 'Europe', - knownFor: 'knownFor2', - tags: ['tags2'], - imageUrl: 'imageUrl2', - ), - ], - ); + return Result.ok([ + const Destination( + ref: 'ref1', + name: 'name1', + country: 'country1', + continent: 'Europe', + knownFor: 'knownFor1', + tags: ['tags1'], + imageUrl: 'imageUrl1', + ), + const Destination( + ref: 'ref2', + name: 'name2', + country: 'country2', + continent: 'Europe', + knownFor: 'knownFor2', + tags: ['tags2'], + imageUrl: 'imageUrl2', + ), + ]); } @override diff --git a/compass_app/app/testing/mocks.dart b/compass_app/app/testing/mocks.dart index 429ed99d9..d8e78c6d5 100644 --- a/compass_app/app/testing/mocks.dart +++ b/compass_app/app/testing/mocks.dart @@ -26,8 +26,9 @@ extension HttpMethodMocks on MockHttpClient { when(() => request.close()).thenAnswer((_) => Future.value(response)); when(() => request.headers).thenReturn(MockHttpHeaders()); when(() => response.statusCode).thenReturn(200); - when(() => response.transform(utf8.decoder)) - .thenAnswer((_) => Stream.value(jsonEncode(object))); + when( + () => response.transform(utf8.decoder), + ).thenAnswer((_) => Stream.value(jsonEncode(object))); return Future.value(request); }); } @@ -39,8 +40,9 @@ extension HttpMethodMocks on MockHttpClient { when(() => request.close()).thenAnswer((_) => Future.value(response)); when(() => request.headers).thenReturn(MockHttpHeaders()); when(() => response.statusCode).thenReturn(statusCode); - when(() => response.transform(utf8.decoder)) - .thenAnswer((_) => Stream.value(jsonEncode(object))); + when( + () => response.transform(utf8.decoder), + ).thenAnswer((_) => Stream.value(jsonEncode(object))); return Future.value(request); }); } diff --git a/compass_app/app/testing/models/user.dart b/compass_app/app/testing/models/user.dart index a49b3413e..60d98585f 100644 --- a/compass_app/app/testing/models/user.dart +++ b/compass_app/app/testing/models/user.dart @@ -12,7 +12,4 @@ const userApiModel = UserApiModel( picture: 'assets/user.jpg', ); -const user = User( - name: 'NAME', - picture: 'assets/user.jpg', -); +const user = User(name: 'NAME', picture: 'assets/user.jpg'); diff --git a/compass_app/server/bin/compass_server.dart b/compass_app/server/bin/compass_server.dart index 7f2011552..05bdfc011 100644 --- a/compass_app/server/bin/compass_server.dart +++ b/compass_app/server/bin/compass_server.dart @@ -15,12 +15,13 @@ import 'package:shelf/shelf_io.dart'; import 'package:shelf_router/shelf_router.dart'; // Configure routes. -final _router = Router() - ..get('/continent', continentHandler) - ..mount('/destination', DestinationApi().router.call) - ..mount('/booking', BookingApi().router.call) - ..mount('/user', UserApi().router.call) - ..mount('/login', LoginApi().router.call); +final _router = + Router() + ..get('/continent', continentHandler) + ..mount('/destination', DestinationApi().router.call) + ..mount('/booking', BookingApi().router.call) + ..mount('/user', UserApi().router.call) + ..mount('/login', LoginApi().router.call); void main(List args) async { // Use any available host or container IP (usually `0.0.0.0`). diff --git a/compass_app/server/lib/middleware/auth.dart b/compass_app/server/lib/middleware/auth.dart index 4ee13c6ff..e9108abc5 100644 --- a/compass_app/server/lib/middleware/auth.dart +++ b/compass_app/server/lib/middleware/auth.dart @@ -17,14 +17,14 @@ import '../config/constants.dart'; /// /// This token does not expire and is not secure. Middleware authRequests() => (innerHandler) { - return (Request request) async { - if (request.url.path != 'login' && - request.headers['Authorization'] != 'Bearer ${Constants.token}') { - // If the request is not a login request and the token is not present, - // return a 401 Unauthorized response. - return Response.unauthorized('Unauthorized'); - } + return (Request request) async { + if (request.url.path != 'login' && + request.headers['Authorization'] != 'Bearer ${Constants.token}') { + // If the request is not a login request and the token is not present, + // return a 401 Unauthorized response. + return Response.unauthorized('Unauthorized'); + } - return innerHandler(request); - }; - }; + return innerHandler(request); + }; +}; diff --git a/compass_app/server/lib/model/activity/activity.dart b/compass_app/server/lib/model/activity/activity.dart index eef66e8dc..654861a7d 100644 --- a/compass_app/server/lib/model/activity/activity.dart +++ b/compass_app/server/lib/model/activity/activity.dart @@ -8,13 +8,7 @@ part 'activity.freezed.dart'; part 'activity.g.dart'; -enum TimeOfDay { - any, - morning, - afternoon, - evening, - night, -} +enum TimeOfDay { any, morning, afternoon, evening, night } @freezed class Activity with _$Activity { diff --git a/compass_app/server/lib/model/activity/activity.freezed.dart b/compass_app/server/lib/model/activity/activity.freezed.dart index 6e277d0bc..b900e74da 100644 --- a/compass_app/server/lib/model/activity/activity.freezed.dart +++ b/compass_app/server/lib/model/activity/activity.freezed.dart @@ -12,7 +12,8 @@ part of 'activity.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); Activity _$ActivityFromJson(Map json) { return _Activity.fromJson(json); @@ -66,17 +67,18 @@ abstract class $ActivityCopyWith<$Res> { factory $ActivityCopyWith(Activity value, $Res Function(Activity) then) = _$ActivityCopyWithImpl<$Res, Activity>; @useResult - $Res call( - {String name, - String description, - String locationName, - int duration, - TimeOfDay timeOfDay, - bool familyFriendly, - int price, - String destinationRef, - String ref, - String imageUrl}); + $Res call({ + String name, + String description, + String locationName, + int duration, + TimeOfDay timeOfDay, + bool familyFriendly, + int price, + String destinationRef, + String ref, + String imageUrl, + }); } /// @nodoc @@ -105,48 +107,61 @@ class _$ActivityCopyWithImpl<$Res, $Val extends Activity> Object? ref = null, Object? imageUrl = null, }) { - return _then(_value.copyWith( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - description: null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - locationName: null == locationName - ? _value.locationName - : locationName // ignore: cast_nullable_to_non_nullable - as String, - duration: null == duration - ? _value.duration - : duration // ignore: cast_nullable_to_non_nullable - as int, - timeOfDay: null == timeOfDay - ? _value.timeOfDay - : timeOfDay // ignore: cast_nullable_to_non_nullable - as TimeOfDay, - familyFriendly: null == familyFriendly - ? _value.familyFriendly - : familyFriendly // ignore: cast_nullable_to_non_nullable - as bool, - price: null == price - ? _value.price - : price // ignore: cast_nullable_to_non_nullable - as int, - destinationRef: null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - ref: null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + return _then( + _value.copyWith( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: + null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: + null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: + null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: + null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: + null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: + null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: + null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: + null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -154,21 +169,23 @@ class _$ActivityCopyWithImpl<$Res, $Val extends Activity> abstract class _$$ActivityImplCopyWith<$Res> implements $ActivityCopyWith<$Res> { factory _$$ActivityImplCopyWith( - _$ActivityImpl value, $Res Function(_$ActivityImpl) then) = - __$$ActivityImplCopyWithImpl<$Res>; + _$ActivityImpl value, + $Res Function(_$ActivityImpl) then, + ) = __$$ActivityImplCopyWithImpl<$Res>; @override @useResult - $Res call( - {String name, - String description, - String locationName, - int duration, - TimeOfDay timeOfDay, - bool familyFriendly, - int price, - String destinationRef, - String ref, - String imageUrl}); + $Res call({ + String name, + String description, + String locationName, + int duration, + TimeOfDay timeOfDay, + bool familyFriendly, + int price, + String destinationRef, + String ref, + String imageUrl, + }); } /// @nodoc @@ -176,8 +193,9 @@ class __$$ActivityImplCopyWithImpl<$Res> extends _$ActivityCopyWithImpl<$Res, _$ActivityImpl> implements _$$ActivityImplCopyWith<$Res> { __$$ActivityImplCopyWithImpl( - _$ActivityImpl _value, $Res Function(_$ActivityImpl) _then) - : super(_value, _then); + _$ActivityImpl _value, + $Res Function(_$ActivityImpl) _then, + ) : super(_value, _then); /// Create a copy of Activity /// with the given fields replaced by the non-null parameter values. @@ -195,65 +213,78 @@ class __$$ActivityImplCopyWithImpl<$Res> Object? ref = null, Object? imageUrl = null, }) { - return _then(_$ActivityImpl( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - description: null == description - ? _value.description - : description // ignore: cast_nullable_to_non_nullable - as String, - locationName: null == locationName - ? _value.locationName - : locationName // ignore: cast_nullable_to_non_nullable - as String, - duration: null == duration - ? _value.duration - : duration // ignore: cast_nullable_to_non_nullable - as int, - timeOfDay: null == timeOfDay - ? _value.timeOfDay - : timeOfDay // ignore: cast_nullable_to_non_nullable - as TimeOfDay, - familyFriendly: null == familyFriendly - ? _value.familyFriendly - : familyFriendly // ignore: cast_nullable_to_non_nullable - as bool, - price: null == price - ? _value.price - : price // ignore: cast_nullable_to_non_nullable - as int, - destinationRef: null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - ref: null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - )); + return _then( + _$ActivityImpl( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + description: + null == description + ? _value.description + : description // ignore: cast_nullable_to_non_nullable + as String, + locationName: + null == locationName + ? _value.locationName + : locationName // ignore: cast_nullable_to_non_nullable + as String, + duration: + null == duration + ? _value.duration + : duration // ignore: cast_nullable_to_non_nullable + as int, + timeOfDay: + null == timeOfDay + ? _value.timeOfDay + : timeOfDay // ignore: cast_nullable_to_non_nullable + as TimeOfDay, + familyFriendly: + null == familyFriendly + ? _value.familyFriendly + : familyFriendly // ignore: cast_nullable_to_non_nullable + as bool, + price: + null == price + ? _value.price + : price // ignore: cast_nullable_to_non_nullable + as int, + destinationRef: + null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + ref: + null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } /// @nodoc @JsonSerializable() class _$ActivityImpl implements _Activity { - const _$ActivityImpl( - {required this.name, - required this.description, - required this.locationName, - required this.duration, - required this.timeOfDay, - required this.familyFriendly, - required this.price, - required this.destinationRef, - required this.ref, - required this.imageUrl}); + const _$ActivityImpl({ + required this.name, + required this.description, + required this.locationName, + required this.duration, + required this.timeOfDay, + required this.familyFriendly, + required this.price, + required this.destinationRef, + required this.ref, + required this.imageUrl, + }); factory _$ActivityImpl.fromJson(Map json) => _$$ActivityImplFromJson(json); @@ -331,17 +362,18 @@ class _$ActivityImpl implements _Activity { @JsonKey(includeFromJson: false, includeToJson: false) @override int get hashCode => Object.hash( - runtimeType, - name, - description, - locationName, - duration, - timeOfDay, - familyFriendly, - price, - destinationRef, - ref, - imageUrl); + runtimeType, + name, + description, + locationName, + duration, + timeOfDay, + familyFriendly, + price, + destinationRef, + ref, + imageUrl, + ); /// Create a copy of Activity /// with the given fields replaced by the non-null parameter values. @@ -353,24 +385,23 @@ class _$ActivityImpl implements _Activity { @override Map toJson() { - return _$$ActivityImplToJson( - this, - ); + return _$$ActivityImplToJson(this); } } abstract class _Activity implements Activity { - const factory _Activity( - {required final String name, - required final String description, - required final String locationName, - required final int duration, - required final TimeOfDay timeOfDay, - required final bool familyFriendly, - required final int price, - required final String destinationRef, - required final String ref, - required final String imageUrl}) = _$ActivityImpl; + const factory _Activity({ + required final String name, + required final String description, + required final String locationName, + required final int duration, + required final TimeOfDay timeOfDay, + required final bool familyFriendly, + required final int price, + required final String destinationRef, + required final String ref, + required final String imageUrl, + }) = _$ActivityImpl; factory _Activity.fromJson(Map json) = _$ActivityImpl.fromJson; diff --git a/compass_app/server/lib/model/booking/booking.freezed.dart b/compass_app/server/lib/model/booking/booking.freezed.dart index 848015f73..24c38badb 100644 --- a/compass_app/server/lib/model/booking/booking.freezed.dart +++ b/compass_app/server/lib/model/booking/booking.freezed.dart @@ -12,7 +12,8 @@ part of 'booking.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); Booking _$BookingFromJson(Map json) { return _Booking.fromJson(json); @@ -53,13 +54,14 @@ abstract class $BookingCopyWith<$Res> { factory $BookingCopyWith(Booking value, $Res Function(Booking) then) = _$BookingCopyWithImpl<$Res, Booking>; @useResult - $Res call( - {int? id, - DateTime startDate, - DateTime endDate, - String name, - String destinationRef, - List activitiesRef}); + $Res call({ + int? id, + DateTime startDate, + DateTime endDate, + String name, + String destinationRef, + List activitiesRef, + }); } /// @nodoc @@ -84,49 +86,60 @@ class _$BookingCopyWithImpl<$Res, $Val extends Booking> Object? destinationRef = null, Object? activitiesRef = null, }) { - return _then(_value.copyWith( - id: freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - destinationRef: null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - activitiesRef: null == activitiesRef - ? _value.activitiesRef - : activitiesRef // ignore: cast_nullable_to_non_nullable - as List, - ) as $Val); + return _then( + _value.copyWith( + id: + freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: + null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: + null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: + null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: + null == activitiesRef + ? _value.activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, + ) + as $Val, + ); } } /// @nodoc abstract class _$$BookingImplCopyWith<$Res> implements $BookingCopyWith<$Res> { factory _$$BookingImplCopyWith( - _$BookingImpl value, $Res Function(_$BookingImpl) then) = - __$$BookingImplCopyWithImpl<$Res>; + _$BookingImpl value, + $Res Function(_$BookingImpl) then, + ) = __$$BookingImplCopyWithImpl<$Res>; @override @useResult - $Res call( - {int? id, - DateTime startDate, - DateTime endDate, - String name, - String destinationRef, - List activitiesRef}); + $Res call({ + int? id, + DateTime startDate, + DateTime endDate, + String name, + String destinationRef, + List activitiesRef, + }); } /// @nodoc @@ -134,8 +147,9 @@ class __$$BookingImplCopyWithImpl<$Res> extends _$BookingCopyWithImpl<$Res, _$BookingImpl> implements _$$BookingImplCopyWith<$Res> { __$$BookingImplCopyWithImpl( - _$BookingImpl _value, $Res Function(_$BookingImpl) _then) - : super(_value, _then); + _$BookingImpl _value, + $Res Function(_$BookingImpl) _then, + ) : super(_value, _then); /// Create a copy of Booking /// with the given fields replaced by the non-null parameter values. @@ -149,46 +163,54 @@ class __$$BookingImplCopyWithImpl<$Res> Object? destinationRef = null, Object? activitiesRef = null, }) { - return _then(_$BookingImpl( - id: freezed == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as int?, - startDate: null == startDate - ? _value.startDate - : startDate // ignore: cast_nullable_to_non_nullable - as DateTime, - endDate: null == endDate - ? _value.endDate - : endDate // ignore: cast_nullable_to_non_nullable - as DateTime, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - destinationRef: null == destinationRef - ? _value.destinationRef - : destinationRef // ignore: cast_nullable_to_non_nullable - as String, - activitiesRef: null == activitiesRef - ? _value._activitiesRef - : activitiesRef // ignore: cast_nullable_to_non_nullable - as List, - )); + return _then( + _$BookingImpl( + id: + freezed == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as int?, + startDate: + null == startDate + ? _value.startDate + : startDate // ignore: cast_nullable_to_non_nullable + as DateTime, + endDate: + null == endDate + ? _value.endDate + : endDate // ignore: cast_nullable_to_non_nullable + as DateTime, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + destinationRef: + null == destinationRef + ? _value.destinationRef + : destinationRef // ignore: cast_nullable_to_non_nullable + as String, + activitiesRef: + null == activitiesRef + ? _value._activitiesRef + : activitiesRef // ignore: cast_nullable_to_non_nullable + as List, + ), + ); } } /// @nodoc @JsonSerializable() class _$BookingImpl implements _Booking { - const _$BookingImpl( - {this.id, - required this.startDate, - required this.endDate, - required this.name, - required this.destinationRef, - required final List activitiesRef}) - : _activitiesRef = activitiesRef; + const _$BookingImpl({ + this.id, + required this.startDate, + required this.endDate, + required this.name, + required this.destinationRef, + required final List activitiesRef, + }) : _activitiesRef = activitiesRef; factory _$BookingImpl.fromJson(Map json) => _$$BookingImplFromJson(json); @@ -242,14 +264,23 @@ class _$BookingImpl implements _Booking { (identical(other.name, name) || other.name == name) && (identical(other.destinationRef, destinationRef) || other.destinationRef == destinationRef) && - const DeepCollectionEquality() - .equals(other._activitiesRef, _activitiesRef)); + const DeepCollectionEquality().equals( + other._activitiesRef, + _activitiesRef, + )); } @JsonKey(includeFromJson: false, includeToJson: false) @override - int get hashCode => Object.hash(runtimeType, id, startDate, endDate, name, - destinationRef, const DeepCollectionEquality().hash(_activitiesRef)); + int get hashCode => Object.hash( + runtimeType, + id, + startDate, + endDate, + name, + destinationRef, + const DeepCollectionEquality().hash(_activitiesRef), + ); /// Create a copy of Booking /// with the given fields replaced by the non-null parameter values. @@ -261,20 +292,19 @@ class _$BookingImpl implements _Booking { @override Map toJson() { - return _$$BookingImplToJson( - this, - ); + return _$$BookingImplToJson(this); } } abstract class _Booking implements Booking { - const factory _Booking( - {final int? id, - required final DateTime startDate, - required final DateTime endDate, - required final String name, - required final String destinationRef, - required final List activitiesRef}) = _$BookingImpl; + const factory _Booking({ + final int? id, + required final DateTime startDate, + required final DateTime endDate, + required final String name, + required final String destinationRef, + required final List activitiesRef, + }) = _$BookingImpl; factory _Booking.fromJson(Map json) = _$BookingImpl.fromJson; diff --git a/compass_app/server/lib/model/booking/booking.g.dart b/compass_app/server/lib/model/booking/booking.g.dart index 829d766bf..676d95d96 100644 --- a/compass_app/server/lib/model/booking/booking.g.dart +++ b/compass_app/server/lib/model/booking/booking.g.dart @@ -13,9 +13,10 @@ _$BookingImpl _$$BookingImplFromJson(Map json) => endDate: DateTime.parse(json['endDate'] as String), name: json['name'] as String, destinationRef: json['destinationRef'] as String, - activitiesRef: (json['activitiesRef'] as List) - .map((e) => e as String) - .toList(), + activitiesRef: + (json['activitiesRef'] as List) + .map((e) => e as String) + .toList(), ); Map _$$BookingImplToJson(_$BookingImpl instance) => diff --git a/compass_app/server/lib/model/continent/continent.freezed.dart b/compass_app/server/lib/model/continent/continent.freezed.dart index f69d01046..cb6688a65 100644 --- a/compass_app/server/lib/model/continent/continent.freezed.dart +++ b/compass_app/server/lib/model/continent/continent.freezed.dart @@ -12,7 +12,8 @@ part of 'continent.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); Continent _$ContinentFromJson(Map json) { return _Continent.fromJson(json); @@ -58,20 +59,22 @@ class _$ContinentCopyWithImpl<$Res, $Val extends Continent> /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? name = null, - Object? imageUrl = null, - }) { - return _then(_value.copyWith( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + $Res call({Object? name = null, Object? imageUrl = null}) { + return _then( + _value.copyWith( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -79,8 +82,9 @@ class _$ContinentCopyWithImpl<$Res, $Val extends Continent> abstract class _$$ContinentImplCopyWith<$Res> implements $ContinentCopyWith<$Res> { factory _$$ContinentImplCopyWith( - _$ContinentImpl value, $Res Function(_$ContinentImpl) then) = - __$$ContinentImplCopyWithImpl<$Res>; + _$ContinentImpl value, + $Res Function(_$ContinentImpl) then, + ) = __$$ContinentImplCopyWithImpl<$Res>; @override @useResult $Res call({String name, String imageUrl}); @@ -91,27 +95,29 @@ class __$$ContinentImplCopyWithImpl<$Res> extends _$ContinentCopyWithImpl<$Res, _$ContinentImpl> implements _$$ContinentImplCopyWith<$Res> { __$$ContinentImplCopyWithImpl( - _$ContinentImpl _value, $Res Function(_$ContinentImpl) _then) - : super(_value, _then); + _$ContinentImpl _value, + $Res Function(_$ContinentImpl) _then, + ) : super(_value, _then); /// Create a copy of Continent /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? name = null, - Object? imageUrl = null, - }) { - return _then(_$ContinentImpl( - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - )); + $Res call({Object? name = null, Object? imageUrl = null}) { + return _then( + _$ContinentImpl( + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } @@ -160,16 +166,15 @@ class _$ContinentImpl implements _Continent { @override Map toJson() { - return _$$ContinentImplToJson( - this, - ); + return _$$ContinentImplToJson(this); } } abstract class _Continent implements Continent { - const factory _Continent( - {required final String name, - required final String imageUrl}) = _$ContinentImpl; + const factory _Continent({ + required final String name, + required final String imageUrl, + }) = _$ContinentImpl; factory _Continent.fromJson(Map json) = _$ContinentImpl.fromJson; diff --git a/compass_app/server/lib/model/continent/continent.g.dart b/compass_app/server/lib/model/continent/continent.g.dart index 41aba78b6..8b3475274 100644 --- a/compass_app/server/lib/model/continent/continent.g.dart +++ b/compass_app/server/lib/model/continent/continent.g.dart @@ -13,7 +13,4 @@ _$ContinentImpl _$$ContinentImplFromJson(Map json) => ); Map _$$ContinentImplToJson(_$ContinentImpl instance) => - { - 'name': instance.name, - 'imageUrl': instance.imageUrl, - }; + {'name': instance.name, 'imageUrl': instance.imageUrl}; diff --git a/compass_app/server/lib/model/destination/destination.freezed.dart b/compass_app/server/lib/model/destination/destination.freezed.dart index faaec5902..30789a969 100644 --- a/compass_app/server/lib/model/destination/destination.freezed.dart +++ b/compass_app/server/lib/model/destination/destination.freezed.dart @@ -12,7 +12,8 @@ part of 'destination.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); Destination _$DestinationFromJson(Map json) { return _Destination.fromJson(json); @@ -54,17 +55,19 @@ mixin _$Destination { /// @nodoc abstract class $DestinationCopyWith<$Res> { factory $DestinationCopyWith( - Destination value, $Res Function(Destination) then) = - _$DestinationCopyWithImpl<$Res, Destination>; + Destination value, + $Res Function(Destination) then, + ) = _$DestinationCopyWithImpl<$Res, Destination>; @useResult - $Res call( - {String ref, - String name, - String country, - String continent, - String knownFor, - List tags, - String imageUrl}); + $Res call({ + String ref, + String name, + String country, + String continent, + String knownFor, + List tags, + String imageUrl, + }); } /// @nodoc @@ -90,36 +93,46 @@ class _$DestinationCopyWithImpl<$Res, $Val extends Destination> Object? tags = null, Object? imageUrl = null, }) { - return _then(_value.copyWith( - ref: null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - country: null == country - ? _value.country - : country // ignore: cast_nullable_to_non_nullable - as String, - continent: null == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String, - knownFor: null == knownFor - ? _value.knownFor - : knownFor // ignore: cast_nullable_to_non_nullable - as String, - tags: null == tags - ? _value.tags - : tags // ignore: cast_nullable_to_non_nullable - as List, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + return _then( + _value.copyWith( + ref: + null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: + null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: + null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: + null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: + null == tags + ? _value.tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -127,18 +140,20 @@ class _$DestinationCopyWithImpl<$Res, $Val extends Destination> abstract class _$$DestinationImplCopyWith<$Res> implements $DestinationCopyWith<$Res> { factory _$$DestinationImplCopyWith( - _$DestinationImpl value, $Res Function(_$DestinationImpl) then) = - __$$DestinationImplCopyWithImpl<$Res>; + _$DestinationImpl value, + $Res Function(_$DestinationImpl) then, + ) = __$$DestinationImplCopyWithImpl<$Res>; @override @useResult - $Res call( - {String ref, - String name, - String country, - String continent, - String knownFor, - List tags, - String imageUrl}); + $Res call({ + String ref, + String name, + String country, + String continent, + String knownFor, + List tags, + String imageUrl, + }); } /// @nodoc @@ -146,8 +161,9 @@ class __$$DestinationImplCopyWithImpl<$Res> extends _$DestinationCopyWithImpl<$Res, _$DestinationImpl> implements _$$DestinationImplCopyWith<$Res> { __$$DestinationImplCopyWithImpl( - _$DestinationImpl _value, $Res Function(_$DestinationImpl) _then) - : super(_value, _then); + _$DestinationImpl _value, + $Res Function(_$DestinationImpl) _then, + ) : super(_value, _then); /// Create a copy of Destination /// with the given fields replaced by the non-null parameter values. @@ -162,51 +178,60 @@ class __$$DestinationImplCopyWithImpl<$Res> Object? tags = null, Object? imageUrl = null, }) { - return _then(_$DestinationImpl( - ref: null == ref - ? _value.ref - : ref // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - country: null == country - ? _value.country - : country // ignore: cast_nullable_to_non_nullable - as String, - continent: null == continent - ? _value.continent - : continent // ignore: cast_nullable_to_non_nullable - as String, - knownFor: null == knownFor - ? _value.knownFor - : knownFor // ignore: cast_nullable_to_non_nullable - as String, - tags: null == tags - ? _value._tags - : tags // ignore: cast_nullable_to_non_nullable - as List, - imageUrl: null == imageUrl - ? _value.imageUrl - : imageUrl // ignore: cast_nullable_to_non_nullable - as String, - )); + return _then( + _$DestinationImpl( + ref: + null == ref + ? _value.ref + : ref // ignore: cast_nullable_to_non_nullable + as String, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + country: + null == country + ? _value.country + : country // ignore: cast_nullable_to_non_nullable + as String, + continent: + null == continent + ? _value.continent + : continent // ignore: cast_nullable_to_non_nullable + as String, + knownFor: + null == knownFor + ? _value.knownFor + : knownFor // ignore: cast_nullable_to_non_nullable + as String, + tags: + null == tags + ? _value._tags + : tags // ignore: cast_nullable_to_non_nullable + as List, + imageUrl: + null == imageUrl + ? _value.imageUrl + : imageUrl // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } /// @nodoc @JsonSerializable() class _$DestinationImpl implements _Destination { - const _$DestinationImpl( - {required this.ref, - required this.name, - required this.country, - required this.continent, - required this.knownFor, - required final List tags, - required this.imageUrl}) - : _tags = tags; + const _$DestinationImpl({ + required this.ref, + required this.name, + required this.country, + required this.continent, + required this.knownFor, + required final List tags, + required this.imageUrl, + }) : _tags = tags; factory _$DestinationImpl.fromJson(Map json) => _$$DestinationImplFromJson(json); @@ -270,8 +295,16 @@ class _$DestinationImpl implements _Destination { @JsonKey(includeFromJson: false, includeToJson: false) @override - int get hashCode => Object.hash(runtimeType, ref, name, country, continent, - knownFor, const DeepCollectionEquality().hash(_tags), imageUrl); + int get hashCode => Object.hash( + runtimeType, + ref, + name, + country, + continent, + knownFor, + const DeepCollectionEquality().hash(_tags), + imageUrl, + ); /// Create a copy of Destination /// with the given fields replaced by the non-null parameter values. @@ -283,21 +316,20 @@ class _$DestinationImpl implements _Destination { @override Map toJson() { - return _$$DestinationImplToJson( - this, - ); + return _$$DestinationImplToJson(this); } } abstract class _Destination implements Destination { - const factory _Destination( - {required final String ref, - required final String name, - required final String country, - required final String continent, - required final String knownFor, - required final List tags, - required final String imageUrl}) = _$DestinationImpl; + const factory _Destination({ + required final String ref, + required final String name, + required final String country, + required final String continent, + required final String knownFor, + required final List tags, + required final String imageUrl, + }) = _$DestinationImpl; factory _Destination.fromJson(Map json) = _$DestinationImpl.fromJson; diff --git a/compass_app/server/lib/model/login_request/login_request.freezed.dart b/compass_app/server/lib/model/login_request/login_request.freezed.dart index d130b9a4f..a45082a15 100644 --- a/compass_app/server/lib/model/login_request/login_request.freezed.dart +++ b/compass_app/server/lib/model/login_request/login_request.freezed.dart @@ -12,7 +12,8 @@ part of 'login_request.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); LoginRequest _$LoginRequestFromJson(Map json) { return _LoginRequest.fromJson(json); @@ -39,8 +40,9 @@ mixin _$LoginRequest { /// @nodoc abstract class $LoginRequestCopyWith<$Res> { factory $LoginRequestCopyWith( - LoginRequest value, $Res Function(LoginRequest) then) = - _$LoginRequestCopyWithImpl<$Res, LoginRequest>; + LoginRequest value, + $Res Function(LoginRequest) then, + ) = _$LoginRequestCopyWithImpl<$Res, LoginRequest>; @useResult $Res call({String email, String password}); } @@ -59,20 +61,22 @@ class _$LoginRequestCopyWithImpl<$Res, $Val extends LoginRequest> /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? email = null, - Object? password = null, - }) { - return _then(_value.copyWith( - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + $Res call({Object? email = null, Object? password = null}) { + return _then( + _value.copyWith( + email: + null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: + null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -80,8 +84,9 @@ class _$LoginRequestCopyWithImpl<$Res, $Val extends LoginRequest> abstract class _$$LoginRequestImplCopyWith<$Res> implements $LoginRequestCopyWith<$Res> { factory _$$LoginRequestImplCopyWith( - _$LoginRequestImpl value, $Res Function(_$LoginRequestImpl) then) = - __$$LoginRequestImplCopyWithImpl<$Res>; + _$LoginRequestImpl value, + $Res Function(_$LoginRequestImpl) then, + ) = __$$LoginRequestImplCopyWithImpl<$Res>; @override @useResult $Res call({String email, String password}); @@ -92,27 +97,29 @@ class __$$LoginRequestImplCopyWithImpl<$Res> extends _$LoginRequestCopyWithImpl<$Res, _$LoginRequestImpl> implements _$$LoginRequestImplCopyWith<$Res> { __$$LoginRequestImplCopyWithImpl( - _$LoginRequestImpl _value, $Res Function(_$LoginRequestImpl) _then) - : super(_value, _then); + _$LoginRequestImpl _value, + $Res Function(_$LoginRequestImpl) _then, + ) : super(_value, _then); /// Create a copy of LoginRequest /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? email = null, - Object? password = null, - }) { - return _then(_$LoginRequestImpl( - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - password: null == password - ? _value.password - : password // ignore: cast_nullable_to_non_nullable - as String, - )); + $Res call({Object? email = null, Object? password = null}) { + return _then( + _$LoginRequestImpl( + email: + null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + password: + null == password + ? _value.password + : password // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } @@ -161,16 +168,15 @@ class _$LoginRequestImpl implements _LoginRequest { @override Map toJson() { - return _$$LoginRequestImplToJson( - this, - ); + return _$$LoginRequestImplToJson(this); } } abstract class _LoginRequest implements LoginRequest { - const factory _LoginRequest( - {required final String email, - required final String password}) = _$LoginRequestImpl; + const factory _LoginRequest({ + required final String email, + required final String password, + }) = _$LoginRequestImpl; factory _LoginRequest.fromJson(Map json) = _$LoginRequestImpl.fromJson; diff --git a/compass_app/server/lib/model/login_request/login_request.g.dart b/compass_app/server/lib/model/login_request/login_request.g.dart index 0a11bd9f2..0b7e89c75 100644 --- a/compass_app/server/lib/model/login_request/login_request.g.dart +++ b/compass_app/server/lib/model/login_request/login_request.g.dart @@ -13,7 +13,4 @@ _$LoginRequestImpl _$$LoginRequestImplFromJson(Map json) => ); Map _$$LoginRequestImplToJson(_$LoginRequestImpl instance) => - { - 'email': instance.email, - 'password': instance.password, - }; + {'email': instance.email, 'password': instance.password}; diff --git a/compass_app/server/lib/model/login_response/login_response.freezed.dart b/compass_app/server/lib/model/login_response/login_response.freezed.dart index bfc5829a6..49be034eb 100644 --- a/compass_app/server/lib/model/login_response/login_response.freezed.dart +++ b/compass_app/server/lib/model/login_response/login_response.freezed.dart @@ -12,7 +12,8 @@ part of 'login_response.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); LoginResponse _$LoginResponseFromJson(Map json) { return _LoginResponse.fromJson(json); @@ -39,8 +40,9 @@ mixin _$LoginResponse { /// @nodoc abstract class $LoginResponseCopyWith<$Res> { factory $LoginResponseCopyWith( - LoginResponse value, $Res Function(LoginResponse) then) = - _$LoginResponseCopyWithImpl<$Res, LoginResponse>; + LoginResponse value, + $Res Function(LoginResponse) then, + ) = _$LoginResponseCopyWithImpl<$Res, LoginResponse>; @useResult $Res call({String token, String userId}); } @@ -59,20 +61,22 @@ class _$LoginResponseCopyWithImpl<$Res, $Val extends LoginResponse> /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? token = null, - Object? userId = null, - }) { - return _then(_value.copyWith( - token: null == token - ? _value.token - : token // ignore: cast_nullable_to_non_nullable - as String, - userId: null == userId - ? _value.userId - : userId // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + $Res call({Object? token = null, Object? userId = null}) { + return _then( + _value.copyWith( + token: + null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: + null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } @@ -80,8 +84,9 @@ class _$LoginResponseCopyWithImpl<$Res, $Val extends LoginResponse> abstract class _$$LoginResponseImplCopyWith<$Res> implements $LoginResponseCopyWith<$Res> { factory _$$LoginResponseImplCopyWith( - _$LoginResponseImpl value, $Res Function(_$LoginResponseImpl) then) = - __$$LoginResponseImplCopyWithImpl<$Res>; + _$LoginResponseImpl value, + $Res Function(_$LoginResponseImpl) then, + ) = __$$LoginResponseImplCopyWithImpl<$Res>; @override @useResult $Res call({String token, String userId}); @@ -92,27 +97,29 @@ class __$$LoginResponseImplCopyWithImpl<$Res> extends _$LoginResponseCopyWithImpl<$Res, _$LoginResponseImpl> implements _$$LoginResponseImplCopyWith<$Res> { __$$LoginResponseImplCopyWithImpl( - _$LoginResponseImpl _value, $Res Function(_$LoginResponseImpl) _then) - : super(_value, _then); + _$LoginResponseImpl _value, + $Res Function(_$LoginResponseImpl) _then, + ) : super(_value, _then); /// Create a copy of LoginResponse /// with the given fields replaced by the non-null parameter values. @pragma('vm:prefer-inline') @override - $Res call({ - Object? token = null, - Object? userId = null, - }) { - return _then(_$LoginResponseImpl( - token: null == token - ? _value.token - : token // ignore: cast_nullable_to_non_nullable - as String, - userId: null == userId - ? _value.userId - : userId // ignore: cast_nullable_to_non_nullable - as String, - )); + $Res call({Object? token = null, Object? userId = null}) { + return _then( + _$LoginResponseImpl( + token: + null == token + ? _value.token + : token // ignore: cast_nullable_to_non_nullable + as String, + userId: + null == userId + ? _value.userId + : userId // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } @@ -160,16 +167,15 @@ class _$LoginResponseImpl implements _LoginResponse { @override Map toJson() { - return _$$LoginResponseImplToJson( - this, - ); + return _$$LoginResponseImplToJson(this); } } abstract class _LoginResponse implements LoginResponse { - const factory _LoginResponse( - {required final String token, - required final String userId}) = _$LoginResponseImpl; + const factory _LoginResponse({ + required final String token, + required final String userId, + }) = _$LoginResponseImpl; factory _LoginResponse.fromJson(Map json) = _$LoginResponseImpl.fromJson; diff --git a/compass_app/server/lib/model/login_response/login_response.g.dart b/compass_app/server/lib/model/login_response/login_response.g.dart index f1ee1db63..c044a4d26 100644 --- a/compass_app/server/lib/model/login_response/login_response.g.dart +++ b/compass_app/server/lib/model/login_response/login_response.g.dart @@ -13,7 +13,4 @@ _$LoginResponseImpl _$$LoginResponseImplFromJson(Map json) => ); Map _$$LoginResponseImplToJson(_$LoginResponseImpl instance) => - { - 'token': instance.token, - 'userId': instance.userId, - }; + {'token': instance.token, 'userId': instance.userId}; diff --git a/compass_app/server/lib/model/user/user.freezed.dart b/compass_app/server/lib/model/user/user.freezed.dart index a0e0ed628..ca8a4b81e 100644 --- a/compass_app/server/lib/model/user/user.freezed.dart +++ b/compass_app/server/lib/model/user/user.freezed.dart @@ -12,7 +12,8 @@ part of 'user.dart'; T _$identity(T value) => value; final _privateConstructorUsedError = UnsupportedError( - 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models'); + 'It seems like you constructed your class using `MyClass._()`. This constructor is only meant to be used by freezed and you are not supposed to need it nor use it.\nPlease check the documentation here for more information: https://github.com/rrousselGit/freezed#adding-getters-and-methods-to-our-models', +); User _$UserFromJson(Map json) { return _User.fromJson(json); @@ -69,32 +70,40 @@ class _$UserCopyWithImpl<$Res, $Val extends User> Object? email = null, Object? picture = null, }) { - return _then(_value.copyWith( - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - picture: null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, - ) as $Val); + return _then( + _value.copyWith( + id: + null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: + null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: + null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ) + as $Val, + ); } } /// @nodoc abstract class _$$UserImplCopyWith<$Res> implements $UserCopyWith<$Res> { factory _$$UserImplCopyWith( - _$UserImpl value, $Res Function(_$UserImpl) then) = - __$$UserImplCopyWithImpl<$Res>; + _$UserImpl value, + $Res Function(_$UserImpl) then, + ) = __$$UserImplCopyWithImpl<$Res>; @override @useResult $Res call({String id, String name, String email, String picture}); @@ -105,7 +114,7 @@ class __$$UserImplCopyWithImpl<$Res> extends _$UserCopyWithImpl<$Res, _$UserImpl> implements _$$UserImplCopyWith<$Res> { __$$UserImplCopyWithImpl(_$UserImpl _value, $Res Function(_$UserImpl) _then) - : super(_value, _then); + : super(_value, _then); /// Create a copy of User /// with the given fields replaced by the non-null parameter values. @@ -117,35 +126,42 @@ class __$$UserImplCopyWithImpl<$Res> Object? email = null, Object? picture = null, }) { - return _then(_$UserImpl( - id: null == id - ? _value.id - : id // ignore: cast_nullable_to_non_nullable - as String, - name: null == name - ? _value.name - : name // ignore: cast_nullable_to_non_nullable - as String, - email: null == email - ? _value.email - : email // ignore: cast_nullable_to_non_nullable - as String, - picture: null == picture - ? _value.picture - : picture // ignore: cast_nullable_to_non_nullable - as String, - )); + return _then( + _$UserImpl( + id: + null == id + ? _value.id + : id // ignore: cast_nullable_to_non_nullable + as String, + name: + null == name + ? _value.name + : name // ignore: cast_nullable_to_non_nullable + as String, + email: + null == email + ? _value.email + : email // ignore: cast_nullable_to_non_nullable + as String, + picture: + null == picture + ? _value.picture + : picture // ignore: cast_nullable_to_non_nullable + as String, + ), + ); } } /// @nodoc @JsonSerializable() class _$UserImpl implements _User { - const _$UserImpl( - {required this.id, - required this.name, - required this.email, - required this.picture}); + const _$UserImpl({ + required this.id, + required this.name, + required this.email, + required this.picture, + }); factory _$UserImpl.fromJson(Map json) => _$$UserImplFromJson(json); @@ -196,18 +212,17 @@ class _$UserImpl implements _User { @override Map toJson() { - return _$$UserImplToJson( - this, - ); + return _$$UserImplToJson(this); } } abstract class _User implements User { - const factory _User( - {required final String id, - required final String name, - required final String email, - required final String picture}) = _$UserImpl; + const factory _User({ + required final String id, + required final String name, + required final String email, + required final String picture, + }) = _$UserImpl; factory _User.fromJson(Map json) = _$UserImpl.fromJson; diff --git a/compass_app/server/lib/model/user/user.g.dart b/compass_app/server/lib/model/user/user.g.dart index f13122846..34a78e614 100644 --- a/compass_app/server/lib/model/user/user.g.dart +++ b/compass_app/server/lib/model/user/user.g.dart @@ -7,11 +7,11 @@ part of 'user.dart'; // ************************************************************************** _$UserImpl _$$UserImplFromJson(Map json) => _$UserImpl( - id: json['id'] as String, - name: json['name'] as String, - email: json['email'] as String, - picture: json['picture'] as String, - ); + id: json['id'] as String, + name: json['name'] as String, + email: json['email'] as String, + picture: json['picture'] as String, +); Map _$$UserImplToJson(_$UserImpl instance) => { diff --git a/compass_app/server/lib/routes/booking.dart b/compass_app/server/lib/routes/booking.dart index 83941bfc2..8952b1b1c 100644 --- a/compass_app/server/lib/routes/booking.dart +++ b/compass_app/server/lib/routes/booking.dart @@ -23,10 +23,11 @@ class BookingApi { BookingApi() { // Create a default booking final destination = Assets.destinations.first; - final activitiesRef = Assets.activities - .where((activity) => activity.destinationRef == destination.ref) - .map((activity) => activity.ref) - .toList(); + final activitiesRef = + Assets.activities + .where((activity) => activity.destinationRef == destination.ref) + .map((activity) => activity.ref) + .toList(); _bookings.add( Booking( id: _sequentialId++, @@ -60,8 +61,9 @@ class BookingApi { // Get a booking by id router.get('/', (Request request, String id) { final bookingId = int.parse(id); - final booking = - _bookings.firstWhereOrNull((booking) => booking.id == bookingId); + final booking = _bookings.firstWhereOrNull( + (booking) => booking.id == bookingId, + ); if (booking == null) { return Response.notFound('Invalid id'); @@ -81,7 +83,8 @@ class BookingApi { if (booking.id != null) { // POST endpoint only allows newly created bookings return Response.badRequest( - body: 'Booking already has id, use PUT instead.'); + body: 'Booking already has id, use PUT instead.', + ); } // Add ID to new booking @@ -101,8 +104,9 @@ class BookingApi { // Delete booking router.delete('/', (Request request, String id) async { final bookingId = int.parse(id); - final booking = - _bookings.firstWhereOrNull((booking) => booking.id == bookingId); + final booking = _bookings.firstWhereOrNull( + (booking) => booking.id == bookingId, + ); if (booking == null) { return Response.notFound('Invalid id'); } diff --git a/compass_app/server/lib/routes/destination.dart b/compass_app/server/lib/routes/destination.dart index 7d63ca577..c10ea18af 100644 --- a/compass_app/server/lib/routes/destination.dart +++ b/compass_app/server/lib/routes/destination.dart @@ -21,9 +21,10 @@ class DestinationApi { }); router.get('//activity', (Request request, String id) { - final list = Assets.activities - .where((activity) => activity.destinationRef == id) - .toList(); + final list = + Assets.activities + .where((activity) => activity.destinationRef == id) + .toList(); return Response.ok( json.encode(list), headers: {'Content-Type': 'application/json'}, diff --git a/compass_app/server/lib/routes/login.dart b/compass_app/server/lib/routes/login.dart index 35b3473b6..dd4c5445d 100644 --- a/compass_app/server/lib/routes/login.dart +++ b/compass_app/server/lib/routes/login.dart @@ -33,10 +33,7 @@ class LoginApi { loginRequest.password == Constants.password) { return Response.ok( json.encode( - LoginResponse( - token: Constants.token, - userId: Constants.userId, - ), + LoginResponse(token: Constants.token, userId: Constants.userId), ), headers: {'Content-Type': 'application/json'}, ); diff --git a/compass_app/server/pubspec.yaml b/compass_app/server/pubspec.yaml index 2cb38cff4..67e940540 100644 --- a/compass_app/server/pubspec.yaml +++ b/compass_app/server/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: args: ^2.4.0 diff --git a/compass_app/server/test/server_test.dart b/compass_app/server/test/server_test.dart index 2020a9519..3416d2407 100644 --- a/compass_app/server/test/server_test.dart +++ b/compass_app/server/test/server_test.dart @@ -21,9 +21,7 @@ void main() { final host = 'http://127.0.0.1:$port'; late Process p; - final headers = { - 'Authorization': 'Bearer ${Constants.token}', - }; + final headers = {'Authorization': 'Bearer ${Constants.token}'}; setUp(() async { p = await Process.start( @@ -39,10 +37,7 @@ void main() { test('Get Continent end-point', () async { // Query /continent end-point - final response = await get( - Uri.parse('$host/continent'), - headers: headers, - ); + final response = await get(Uri.parse('$host/continent'), headers: headers); expect(response.statusCode, 200); // Parse json response list @@ -84,10 +79,7 @@ void main() { }); test('Get bookings end-point', () async { - final response = await get( - Uri.parse('$host/booking'), - headers: headers, - ); + final response = await get(Uri.parse('$host/booking'), headers: headers); expect(response.statusCode, 200); // Parse json response list final list = jsonDecode(response.body) as List; @@ -98,10 +90,7 @@ void main() { }); test('Get booking with id 0', () async { - final response = await get( - Uri.parse('$host/booking/0'), - headers: headers, - ); + final response = await get(Uri.parse('$host/booking/0'), headers: headers); expect(response.statusCode, 200); final booking = Booking.fromJson(jsonDecode(response.body)); @@ -169,10 +158,7 @@ void main() { }); test('Get user', () async { - final response = await get( - Uri.parse('$host/user'), - headers: headers, - ); + final response = await get(Uri.parse('$host/user'), headers: headers); expect(response.statusCode, 200); final user = User.fromJson(jsonDecode(response.body)); @@ -182,10 +168,7 @@ void main() { }); test('404', () async { - final response = await get( - Uri.parse('$host/foobar'), - headers: headers, - ); + final response = await get(Uri.parse('$host/foobar'), headers: headers); expect(response.statusCode, 404); }); @@ -193,10 +176,7 @@ void main() { final response = await post( Uri.parse('$host/login'), body: jsonEncode( - LoginRequest( - email: Constants.email, - password: Constants.password, - ), + LoginRequest(email: Constants.email, password: Constants.password), ), ); expect(response.statusCode, 200); @@ -208,12 +188,7 @@ void main() { test('Login with wrong credentials', () async { final response = await post( Uri.parse('$host/login'), - body: jsonEncode( - LoginRequest( - email: 'INVALID', - password: 'INVALID', - ), - ), + body: jsonEncode(LoginRequest(email: 'INVALID', password: 'INVALID')), ); expect(response.statusCode, 401); }); @@ -221,9 +196,7 @@ void main() { test('Unauthorized request', () async { // Query /continent end-point // No auth headers - final response = await get( - Uri.parse('$host/continent'), - ); + final response = await get(Uri.parse('$host/continent')); expect(response.statusCode, 401); }); diff --git a/context_menus/lib/anywhere_page.dart b/context_menus/lib/anywhere_page.dart index 13a1006e7..78f4346b1 100644 --- a/context_menus/lib/anywhere_page.dart +++ b/context_menus/lib/anywhere_page.dart @@ -7,10 +7,7 @@ import 'context_menu_region.dart'; import 'platform_selector.dart'; class AnywherePage extends StatelessWidget { - AnywherePage({ - super.key, - required this.onChangedPlatform, - }); + AnywherePage({super.key, required this.onChangedPlatform}); static const String route = 'anywhere'; static const String title = 'Context Menu Anywhere Example'; @@ -36,9 +33,7 @@ class AnywherePage extends StatelessWidget { appBar: AppBar( title: const Text(AnywherePage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { diff --git a/context_menus/lib/cascading_menu_page.dart b/context_menus/lib/cascading_menu_page.dart index d02d1233f..f8d018981 100644 --- a/context_menus/lib/cascading_menu_page.dart +++ b/context_menus/lib/cascading_menu_page.dart @@ -10,10 +10,7 @@ import 'platform_selector.dart'; // https://master-api.flutter.dev/flutter/material/MenuBar-class.html class CascadingMenuPage extends StatelessWidget { - const CascadingMenuPage({ - super.key, - required this.onChangedPlatform, - }); + const CascadingMenuPage({super.key, required this.onChangedPlatform}); static const String route = 'cascading'; static const String title = 'Cascading Menu Example'; @@ -29,9 +26,7 @@ class CascadingMenuPage extends StatelessWidget { appBar: AppBar( title: const Text(CascadingMenuPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -117,7 +112,8 @@ class _MyContextMenuRegionState extends State<_MyContextMenuRegion> { ), ), Text( - _lastSelection != null ? 'Last Selected: $_lastSelection' : ''), + _lastSelection != null ? 'Last Selected: $_lastSelection' : '', + ), ], ), ), @@ -130,10 +126,15 @@ class _MyContextMenuRegionState extends State<_MyContextMenuRegion> { /// This sort of class is not required, but illustrates one way that defining /// menus could be done. class MenuEntry { - const MenuEntry( - {required this.label, this.shortcut, this.onPressed, this.menuChildren}) - : assert(menuChildren == null || onPressed == null, - 'onPressed is ignored if menuChildren are provided'); + const MenuEntry({ + required this.label, + this.shortcut, + this.onPressed, + this.menuChildren, + }) : assert( + menuChildren == null || onPressed == null, + 'onPressed is ignored if menuChildren are provided', + ); final String label; final MenuSerializableShortcut? shortcut; @@ -159,7 +160,8 @@ class MenuEntry { } static Map shortcuts( - List selections) { + List selections, + ) { final Map result = {}; for (final MenuEntry selection in selections) { @@ -167,8 +169,9 @@ class MenuEntry { result.addAll(MenuEntry.shortcuts(selection.menuChildren!)); } else { if (selection.shortcut != null && selection.onPressed != null) { - result[selection.shortcut!] = - VoidCallbackIntent(selection.onPressed!); + result[selection.shortcut!] = VoidCallbackIntent( + selection.onPressed!, + ); } } } @@ -221,7 +224,8 @@ class _MyCascadingContextMenuState extends State<_MyCascadingContextMenu> { onPressed: () { ContextMenuController.removeAny(); widget.onChangeSelection( - widget.showingMessage ? 'Hide Message' : 'Show Message'); + widget.showingMessage ? 'Hide Message' : 'Show Message', + ); widget.onToggleMessageVisibility(); }, shortcut: const SingleActivator(LogicalKeyboardKey.keyS, control: true), @@ -230,13 +234,14 @@ class _MyCascadingContextMenuState extends State<_MyCascadingContextMenu> { // already hidden. MenuEntry( label: 'Reset', - onPressed: widget.showingMessage - ? () { - ContextMenuController.removeAny(); - widget.onChangeSelection('Reset'); - widget.onToggleMessageVisibility(); - } - : null, + onPressed: + widget.showingMessage + ? () { + ContextMenuController.removeAny(); + widget.onChangeSelection('Reset'); + widget.onToggleMessageVisibility(); + } + : null, shortcut: const SingleActivator(LogicalKeyboardKey.escape), ), MenuEntry( @@ -249,8 +254,10 @@ class _MyCascadingContextMenuState extends State<_MyCascadingContextMenu> { widget.onChangeSelection('Red Background'); widget.onChangeBackgroundColor(Colors.red); }, - shortcut: - const SingleActivator(LogicalKeyboardKey.keyR, control: true), + shortcut: const SingleActivator( + LogicalKeyboardKey.keyR, + control: true, + ), ), MenuEntry( label: 'Green', @@ -259,8 +266,10 @@ class _MyCascadingContextMenuState extends State<_MyCascadingContextMenu> { widget.onChangeSelection('Green Background'); widget.onChangeBackgroundColor(Colors.green); }, - shortcut: - const SingleActivator(LogicalKeyboardKey.keyG, control: true), + shortcut: const SingleActivator( + LogicalKeyboardKey.keyG, + control: true, + ), ), MenuEntry( label: 'Blue', @@ -269,8 +278,10 @@ class _MyCascadingContextMenuState extends State<_MyCascadingContextMenu> { widget.onChangeSelection('Blue Background'); widget.onChangeBackgroundColor(Colors.blue); }, - shortcut: - const SingleActivator(LogicalKeyboardKey.keyB, control: true), + shortcut: const SingleActivator( + LogicalKeyboardKey.keyB, + control: true, + ), ), ], ), @@ -278,8 +289,9 @@ class _MyCascadingContextMenuState extends State<_MyCascadingContextMenu> { // (Re-)register the shortcuts with the ShortcutRegistry so that they are // available to the entire application, and update them if they've changed. _shortcutsEntry?.dispose(); - _shortcutsEntry = - ShortcutRegistry.of(context).addAll(MenuEntry.shortcuts(result)); + _shortcutsEntry = ShortcutRegistry.of( + context, + ).addAll(MenuEntry.shortcuts(result)); return result; } diff --git a/context_menus/lib/context_menu_region.dart b/context_menus/lib/context_menu_region.dart index e9f7e4452..89aa5f842 100644 --- a/context_menus/lib/context_menu_region.dart +++ b/context_menus/lib/context_menu_region.dart @@ -1,8 +1,8 @@ import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; -typedef ContextMenuBuilder = Widget Function( - BuildContext context, Offset offset); +typedef ContextMenuBuilder = + Widget Function(BuildContext context, Offset offset); /// Shows and hides the context menu based on user gestures. /// diff --git a/context_menus/lib/custom_buttons_page.dart b/context_menus/lib/custom_buttons_page.dart index 957d78024..1f8b87ac8 100644 --- a/context_menus/lib/custom_buttons_page.dart +++ b/context_menus/lib/custom_buttons_page.dart @@ -6,10 +6,7 @@ import 'constants.dart'; import 'platform_selector.dart'; class CustomButtonsPage extends StatelessWidget { - CustomButtonsPage({ - super.key, - required this.onChangedPlatform, - }); + CustomButtonsPage({super.key, required this.onChangedPlatform}); static const String route = 'custom-buttons'; static const String title = 'Custom Buttons'; @@ -31,9 +28,7 @@ class CustomButtonsPage extends StatelessWidget { appBar: AppBar( title: const Text(CustomButtonsPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -59,22 +54,24 @@ class CustomButtonsPage extends StatelessWidget { // different buttons depending on the platform. children: editableTextState.contextMenuButtonItems.map((buttonItem) { - return CupertinoButton( - borderRadius: null, - color: const Color(0xffaaaa00), - disabledColor: const Color(0xffaaaaff), - onPressed: buttonItem.onPressed, - padding: const EdgeInsets.all(10.0), - pressedOpacity: 0.7, - child: SizedBox( - width: 200.0, - child: Text( - CupertinoTextSelectionToolbarButton.getButtonLabel( - context, buttonItem), - ), - ), - ); - }).toList(), + return CupertinoButton( + borderRadius: null, + color: const Color(0xffaaaa00), + disabledColor: const Color(0xffaaaaff), + onPressed: buttonItem.onPressed, + padding: const EdgeInsets.all(10.0), + pressedOpacity: 0.7, + child: SizedBox( + width: 200.0, + child: Text( + CupertinoTextSelectionToolbarButton.getButtonLabel( + context, + buttonItem, + ), + ), + ), + ); + }).toList(), ); }, ), diff --git a/context_menus/lib/custom_menu_page.dart b/context_menus/lib/custom_menu_page.dart index 3d9b16eee..9645391ac 100644 --- a/context_menus/lib/custom_menu_page.dart +++ b/context_menus/lib/custom_menu_page.dart @@ -5,10 +5,7 @@ import 'constants.dart'; import 'platform_selector.dart'; class CustomMenuPage extends StatelessWidget { - CustomMenuPage({ - super.key, - required this.onChangedPlatform, - }); + CustomMenuPage({super.key, required this.onChangedPlatform}); static const String route = 'custom-menu'; static const String title = 'Custom Menu'; @@ -29,9 +26,7 @@ class CustomMenuPage extends StatelessWidget { appBar: AppBar( title: const Text(CustomMenuPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -52,10 +47,11 @@ class CustomMenuPage extends StatelessWidget { contextMenuBuilder: (context, editableTextState) { return _MyContextMenu( anchor: editableTextState.contextMenuAnchors.primaryAnchor, - children: AdaptiveTextSelectionToolbar.getAdaptiveButtons( - context, - editableTextState.contextMenuButtonItems, - ).toList(), + children: + AdaptiveTextSelectionToolbar.getAdaptiveButtons( + context, + editableTextState.contextMenuButtonItems, + ).toList(), ); }, ), @@ -66,10 +62,7 @@ class CustomMenuPage extends StatelessWidget { } class _MyContextMenu extends StatelessWidget { - const _MyContextMenu({ - required this.anchor, - required this.children, - }); + const _MyContextMenu({required this.anchor, required this.children}); final Offset anchor; final List children; @@ -85,9 +78,7 @@ class _MyContextMenu extends StatelessWidget { width: 200.0, height: 200.0, color: Colors.amberAccent, - child: Column( - children: children, - ), + child: Column(children: children), ), ), ], diff --git a/context_menus/lib/default_values_page.dart b/context_menus/lib/default_values_page.dart index 27a8640ff..d3759a63d 100644 --- a/context_menus/lib/default_values_page.dart +++ b/context_menus/lib/default_values_page.dart @@ -5,10 +5,7 @@ import 'constants.dart'; import 'platform_selector.dart'; class DefaultValuesPage extends StatelessWidget { - DefaultValuesPage({ - super.key, - required this.onChangedPlatform, - }); + DefaultValuesPage({super.key, required this.onChangedPlatform}); static const String route = 'default-values'; static const String title = 'Default API Values Example'; @@ -44,9 +41,7 @@ class DefaultValuesPage extends StatelessWidget { appBar: AppBar( title: const Text(DefaultValuesPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -66,14 +61,8 @@ class DefaultValuesPage extends StatelessWidget { const Text( 'This example simply shows what happens when contextMenuBuilder is given null, a custom value, or omitted altogether.', ), - const SizedBox( - height: 40.0, - ), - TextField( - maxLines: 2, - minLines: 2, - controller: _controllerNone, - ), + const SizedBox(height: 40.0), + TextField(maxLines: 2, minLines: 2, controller: _controllerNone), TextField( maxLines: 2, minLines: 2, @@ -92,8 +81,12 @@ class DefaultValuesPage extends StatelessWidget { label: 'Custom button', onPressed: () { ContextMenuController.removeAny(); - Navigator.of(context).push(_showDialog( - context, 'You clicked the custom button.')); + Navigator.of(context).push( + _showDialog( + context, + 'You clicked the custom button.', + ), + ); }, ), ...editableTextState.contextMenuButtonItems, diff --git a/context_menus/lib/email_button_page.dart b/context_menus/lib/email_button_page.dart index 8c927acb2..a5c7f35d1 100644 --- a/context_menus/lib/email_button_page.dart +++ b/context_menus/lib/email_button_page.dart @@ -6,10 +6,7 @@ import 'is_valid_email.dart'; import 'platform_selector.dart'; class EmailButtonPage extends StatelessWidget { - EmailButtonPage({ - super.key, - required this.onChangedPlatform, - }); + EmailButtonPage({super.key, required this.onChangedPlatform}); static const String route = 'email-button'; static const String title = 'Email Button'; @@ -25,8 +22,9 @@ class EmailButtonPage extends StatelessWidget { DialogRoute _showDialog(BuildContext context) { return DialogRoute( context: context, - builder: (context) => - const AlertDialog(title: Text('You clicked send email!')), + builder: + (context) => + const AlertDialog(title: Text('You clicked send email!')), ); } @@ -36,9 +34,7 @@ class EmailButtonPage extends StatelessWidget { appBar: AppBar( title: const Text(EmailButtonPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -70,14 +66,15 @@ class EmailButtonPage extends StatelessWidget { editableTextState.contextMenuButtonItems; if (isValidEmail(value.selection.textInside(value.text))) { buttonItems.insert( - 0, - ContextMenuButtonItem( - label: 'Send email', - onPressed: () { - ContextMenuController.removeAny(); - Navigator.of(context).push(_showDialog(context)); - }, - )); + 0, + ContextMenuButtonItem( + label: 'Send email', + onPressed: () { + ContextMenuController.removeAny(); + Navigator.of(context).push(_showDialog(context)); + }, + ), + ); } return AdaptiveTextSelectionToolbar.buttonItems( anchors: editableTextState.contextMenuAnchors, diff --git a/context_menus/lib/field_types_page.dart b/context_menus/lib/field_types_page.dart index 5184e0bb7..2fde4bbee 100644 --- a/context_menus/lib/field_types_page.dart +++ b/context_menus/lib/field_types_page.dart @@ -6,10 +6,7 @@ import 'constants.dart'; import 'platform_selector.dart'; class FieldTypesPage extends StatelessWidget { - FieldTypesPage({ - super.key, - required this.onChangedPlatform, - }); + FieldTypesPage({super.key, required this.onChangedPlatform}); static const String route = 'field-types'; static const String title = 'The Context Menu in Different Field Types'; @@ -36,8 +33,9 @@ class FieldTypesPage extends StatelessWidget { final TextEditingController _cupertinoControllerForced = TextEditingController( - text: 'Or forced to always show a specific menu (Material desktop menu).', - ); + text: + 'Or forced to always show a specific menu (Material desktop menu).', + ); final TextEditingController _editableController = TextEditingController( text: @@ -50,9 +48,7 @@ class FieldTypesPage extends StatelessWidget { appBar: AppBar( title: const Text(FieldTypesPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -69,15 +65,9 @@ class FieldTypesPage extends StatelessWidget { child: ListView( children: [ const SizedBox(height: 20.0), - TextField( - maxLines: 3, - controller: _controller, - ), + TextField(maxLines: 3, controller: _controller), const SizedBox(height: 60.0), - CupertinoTextField( - maxLines: 3, - controller: _cupertinoController, - ), + CupertinoTextField(maxLines: 3, controller: _cupertinoController), const SizedBox(height: 20.0), CupertinoTextField( maxLines: 3, @@ -95,10 +85,11 @@ class FieldTypesPage extends StatelessWidget { contextMenuBuilder: (context, editableTextState) { return DesktopTextSelectionToolbar( anchor: editableTextState.contextMenuAnchors.primaryAnchor, - children: AdaptiveTextSelectionToolbar.getAdaptiveButtons( - context, - editableTextState.contextMenuButtonItems, - ).toList(), + children: + AdaptiveTextSelectionToolbar.getAdaptiveButtons( + context, + editableTextState.contextMenuButtonItems, + ).toList(), ); }, ), diff --git a/context_menus/lib/full_page.dart b/context_menus/lib/full_page.dart index 6d4bb0115..9ce311c23 100644 --- a/context_menus/lib/full_page.dart +++ b/context_menus/lib/full_page.dart @@ -8,10 +8,7 @@ import 'is_valid_email.dart'; import 'platform_selector.dart'; class FullPage extends StatelessWidget { - FullPage({ - super.key, - required this.onChangedPlatform, - }); + FullPage({super.key, required this.onChangedPlatform}); static const String route = 'full'; static const String title = 'Combined Example'; @@ -38,9 +35,7 @@ class FullPage extends StatelessWidget { appBar: AppBar( title: const Text(FullPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -54,9 +49,7 @@ class FullPage extends StatelessWidget { body: ContextMenuRegion( contextMenuBuilder: (context, offset) { return AdaptiveTextSelectionToolbar.buttonItems( - anchors: TextSelectionToolbarAnchors( - primaryAnchor: offset, - ), + anchors: TextSelectionToolbarAnchors(primaryAnchor: offset), buttonItems: [ ContextMenuButtonItem( onPressed: () { @@ -77,9 +70,7 @@ class FullPage extends StatelessWidget { const Text( 'This example simply shows how many of the previous examples can be combined in a single app.', ), - const SizedBox( - height: 60.0, - ), + const SizedBox(height: 60.0), ContextMenuRegion( contextMenuBuilder: (context, offset) { return AdaptiveTextSelectionToolbar.buttonItems( @@ -90,8 +81,12 @@ class FullPage extends StatelessWidget { ContextMenuButtonItem( onPressed: () { ContextMenuController.removeAny(); - Navigator.of(context).push(_showDialog( - context, 'Image saved! (not really though)')); + Navigator.of(context).push( + _showDialog( + context, + 'Image saved! (not really though)', + ), + ); }, label: 'Save', ), @@ -114,38 +109,43 @@ class FullPage extends StatelessWidget { editableTextState.contextMenuButtonItems; if (isValidEmail(value.selection.textInside(value.text))) { buttonItems.insert( - 0, - ContextMenuButtonItem( - label: 'Send email', - onPressed: () { - ContextMenuController.removeAny(); - Navigator.of(context).push(_showDialog( - context, 'You clicked send email')); - }, - )); + 0, + ContextMenuButtonItem( + label: 'Send email', + onPressed: () { + ContextMenuController.removeAny(); + Navigator.of(context).push( + _showDialog(context, 'You clicked send email'), + ); + }, + ), + ); } return AdaptiveTextSelectionToolbar( anchors: editableTextState.contextMenuAnchors, // Build the default buttons, but make them look crazy. // Note that in a real project you may want to build // different buttons depending on the platform. - children: buttonItems.map((buttonItem) { - return CupertinoButton( - borderRadius: null, - color: const Color(0xffaaaa00), - disabledColor: const Color(0xffaaaaff), - onPressed: buttonItem.onPressed, - padding: const EdgeInsets.all(10.0), - pressedOpacity: 0.7, - child: SizedBox( - width: 200.0, - child: Text( - CupertinoTextSelectionToolbarButton - .getButtonLabel(context, buttonItem), - ), - ), - ); - }).toList(), + children: + buttonItems.map((buttonItem) { + return CupertinoButton( + borderRadius: null, + color: const Color(0xffaaaa00), + disabledColor: const Color(0xffaaaaff), + onPressed: buttonItem.onPressed, + padding: const EdgeInsets.all(10.0), + pressedOpacity: 0.7, + child: SizedBox( + width: 200.0, + child: Text( + CupertinoTextSelectionToolbarButton.getButtonLabel( + context, + buttonItem, + ), + ), + ), + ); + }).toList(), ); }, ), diff --git a/context_menus/lib/global_selection_page.dart b/context_menus/lib/global_selection_page.dart index 3123f7056..35c53b7df 100644 --- a/context_menus/lib/global_selection_page.dart +++ b/context_menus/lib/global_selection_page.dart @@ -5,10 +5,7 @@ import 'constants.dart'; import 'platform_selector.dart'; class GlobalSelectionPage extends StatelessWidget { - GlobalSelectionPage({ - super.key, - required this.onChangedPlatform, - }); + GlobalSelectionPage({super.key, required this.onChangedPlatform}); static const String route = 'global-selection'; static const String title = 'Global Selection Example'; @@ -43,9 +40,7 @@ class GlobalSelectionPage extends StatelessWidget { appBar: AppBar( title: const Text(GlobalSelectionPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -69,7 +64,8 @@ class GlobalSelectionPage extends StatelessWidget { TextField(controller: _controller), const SizedBox(height: 40.0), const SelectableText( - 'SelectableText also shows its own separate context menu.'), + 'SelectableText also shows its own separate context menu.', + ), ], ), ), diff --git a/context_menus/lib/image_page.dart b/context_menus/lib/image_page.dart index 1cc9932d1..c3ebf1cf7 100644 --- a/context_menus/lib/image_page.dart +++ b/context_menus/lib/image_page.dart @@ -6,10 +6,7 @@ import 'context_menu_region.dart'; import 'platform_selector.dart'; class ImagePage extends StatelessWidget { - const ImagePage({ - super.key, - required this.onChangedPlatform, - }); + const ImagePage({super.key, required this.onChangedPlatform}); static const String route = 'image'; static const String title = 'ContextMenu on an Image'; @@ -22,8 +19,10 @@ class ImagePage extends StatelessWidget { DialogRoute _showDialog(BuildContext context) { return DialogRoute( context: context, - builder: (context) => - const AlertDialog(title: Text('Image saved! (not really though)')), + builder: + (context) => const AlertDialog( + title: Text('Image saved! (not really though)'), + ), ); } @@ -33,9 +32,7 @@ class ImagePage extends StatelessWidget { appBar: AppBar( title: const Text(ImagePage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -52,9 +49,7 @@ class ImagePage extends StatelessWidget { ContextMenuRegion( contextMenuBuilder: (context, offset) { return AdaptiveTextSelectionToolbar.buttonItems( - anchors: TextSelectionToolbarAnchors( - primaryAnchor: offset, - ), + anchors: TextSelectionToolbarAnchors(primaryAnchor: offset), buttonItems: [ ContextMenuButtonItem( onPressed: () { diff --git a/context_menus/lib/main.dart b/context_menus/lib/main.dart index 6ca9af6aa..566534f5b 100644 --- a/context_menus/lib/main.dart +++ b/context_menus/lib/main.dart @@ -21,9 +21,7 @@ void main() { } class MyApp extends StatefulWidget { - const MyApp({ - super.key, - }); + const MyApp({super.key}); @override State createState() => _MyAppState(); @@ -66,40 +64,43 @@ class _MyAppState extends State { initialRoute: '/', routes: { '/': (context) => MyHomePage(onChangedPlatform: onChangedPlatform), - AnywherePage.route: (context) => - AnywherePage(onChangedPlatform: onChangedPlatform), - CustomButtonsPage.route: (context) => - CustomButtonsPage(onChangedPlatform: onChangedPlatform), - CustomMenuPage.route: (context) => - CustomMenuPage(onChangedPlatform: onChangedPlatform), - ReorderedButtonsPage.route: (context) => - ReorderedButtonsPage(onChangedPlatform: onChangedPlatform), - EmailButtonPage.route: (context) => - EmailButtonPage(onChangedPlatform: onChangedPlatform), - ImagePage.route: (context) => - ImagePage(onChangedPlatform: onChangedPlatform), - FieldTypesPage.route: (context) => - FieldTypesPage(onChangedPlatform: onChangedPlatform), - FullPage.route: (context) => - FullPage(onChangedPlatform: onChangedPlatform), - ModifiedActionPage.route: (context) => - ModifiedActionPage(onChangedPlatform: onChangedPlatform), - GlobalSelectionPage.route: (context) => - GlobalSelectionPage(onChangedPlatform: onChangedPlatform), - DefaultValuesPage.route: (context) => - DefaultValuesPage(onChangedPlatform: onChangedPlatform), - CascadingMenuPage.route: (context) => - CascadingMenuPage(onChangedPlatform: onChangedPlatform), + AnywherePage.route: + (context) => AnywherePage(onChangedPlatform: onChangedPlatform), + CustomButtonsPage.route: + (context) => + CustomButtonsPage(onChangedPlatform: onChangedPlatform), + CustomMenuPage.route: + (context) => CustomMenuPage(onChangedPlatform: onChangedPlatform), + ReorderedButtonsPage.route: + (context) => + ReorderedButtonsPage(onChangedPlatform: onChangedPlatform), + EmailButtonPage.route: + (context) => EmailButtonPage(onChangedPlatform: onChangedPlatform), + ImagePage.route: + (context) => ImagePage(onChangedPlatform: onChangedPlatform), + FieldTypesPage.route: + (context) => FieldTypesPage(onChangedPlatform: onChangedPlatform), + FullPage.route: + (context) => FullPage(onChangedPlatform: onChangedPlatform), + ModifiedActionPage.route: + (context) => + ModifiedActionPage(onChangedPlatform: onChangedPlatform), + GlobalSelectionPage.route: + (context) => + GlobalSelectionPage(onChangedPlatform: onChangedPlatform), + DefaultValuesPage.route: + (context) => + DefaultValuesPage(onChangedPlatform: onChangedPlatform), + CascadingMenuPage.route: + (context) => + CascadingMenuPage(onChangedPlatform: onChangedPlatform), }, ); } } class MyHomePage extends StatelessWidget { - const MyHomePage({ - super.key, - required this.onChangedPlatform, - }); + const MyHomePage({super.key, required this.onChangedPlatform}); final PlatformCallback onChangedPlatform; @@ -109,9 +110,7 @@ class MyHomePage extends StatelessWidget { appBar: AppBar( title: const Text('Context Menu Demos'), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), ], ), body: ListView( @@ -203,10 +202,7 @@ class _MyListItem extends StatelessWidget { margin: const EdgeInsets.all(12.0), child: Padding( padding: const EdgeInsets.all(24.0), - child: ListTile( - title: Text(title), - subtitle: Text(subtitle), - ), + child: ListTile(title: Text(title), subtitle: Text(subtitle)), ), ), ); diff --git a/context_menus/lib/modified_action_page.dart b/context_menus/lib/modified_action_page.dart index 2a2e506e1..b14568615 100644 --- a/context_menus/lib/modified_action_page.dart +++ b/context_menus/lib/modified_action_page.dart @@ -5,10 +5,7 @@ import 'constants.dart'; import 'platform_selector.dart'; class ModifiedActionPage extends StatelessWidget { - ModifiedActionPage({ - super.key, - required this.onChangedPlatform, - }); + ModifiedActionPage({super.key, required this.onChangedPlatform}); static const String route = 'modified-action'; static const String title = 'Modified Action'; @@ -25,8 +22,10 @@ class ModifiedActionPage extends StatelessWidget { DialogRoute _showDialog(BuildContext context) { return DialogRoute( context: context, - builder: (context) => const AlertDialog( - title: Text('Copied, but also showed this dialog.')), + builder: + (context) => const AlertDialog( + title: Text('Copied, but also showed this dialog.'), + ), ); } @@ -36,9 +35,7 @@ class ModifiedActionPage extends StatelessWidget { appBar: AppBar( title: const Text(ModifiedActionPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -58,20 +55,18 @@ class ModifiedActionPage extends StatelessWidget { const Text( 'This example shows adding to the behavior of a default button.', ), - const SizedBox( - height: 30.0, - ), + const SizedBox(height: 30.0), TextField( controller: _controller, contextMenuBuilder: (context, editableTextState) { final List buttonItems = editableTextState.contextMenuButtonItems; // Modify the copy buttonItem to show a dialog after copying. - final int copyButtonIndex = buttonItems.indexWhere( - (buttonItem) { - return buttonItem.type == ContextMenuButtonType.copy; - }, - ); + final int copyButtonIndex = buttonItems.indexWhere(( + buttonItem, + ) { + return buttonItem.type == ContextMenuButtonType.copy; + }); if (copyButtonIndex >= 0) { final ContextMenuButtonItem copyButtonItem = buttonItems[copyButtonIndex]; diff --git a/context_menus/lib/platform_selector.dart b/context_menus/lib/platform_selector.dart index 48b444b54..5ce1eeafe 100644 --- a/context_menus/lib/platform_selector.dart +++ b/context_menus/lib/platform_selector.dart @@ -4,10 +4,7 @@ import 'package:flutter/material.dart'; typedef PlatformCallback = void Function(TargetPlatform platform); class PlatformSelector extends StatefulWidget { - const PlatformSelector({ - super.key, - required this.onChangedPlatform, - }); + const PlatformSelector({super.key, required this.onChangedPlatform}); final PlatformCallback onChangedPlatform; @@ -40,21 +37,19 @@ class _PlatformSelectorState extends State { widget.onChangedPlatform(value); setState(() {}); }, - items: TargetPlatform.values.map((platform) { - return DropdownMenuItem( - value: platform, - child: Row( - children: [ - if (platform == originaPlatform) - const Icon( - Icons.home, - color: Color(0xff616161), - ), - Text(_platformToString(platform)), - ], - ), - ); - }).toList(), + items: + TargetPlatform.values.map((platform) { + return DropdownMenuItem( + value: platform, + child: Row( + children: [ + if (platform == originaPlatform) + const Icon(Icons.home, color: Color(0xff616161)), + Text(_platformToString(platform)), + ], + ), + ); + }).toList(), ), ); } diff --git a/context_menus/lib/reordered_buttons_page.dart b/context_menus/lib/reordered_buttons_page.dart index cb528835d..700bbd2b1 100644 --- a/context_menus/lib/reordered_buttons_page.dart +++ b/context_menus/lib/reordered_buttons_page.dart @@ -7,10 +7,7 @@ import 'constants.dart'; import 'platform_selector.dart'; class ReorderedButtonsPage extends StatelessWidget { - ReorderedButtonsPage({ - super.key, - required this.onChangedPlatform, - }); + ReorderedButtonsPage({super.key, required this.onChangedPlatform}); static const String route = 'reordered-buttons'; static const String title = 'Reordered Buttons'; @@ -33,9 +30,7 @@ class ReorderedButtonsPage extends StatelessWidget { appBar: AppBar( title: const Text(ReorderedButtonsPage.title), actions: [ - PlatformSelector( - onChangedPlatform: onChangedPlatform, - ), + PlatformSelector(onChangedPlatform: onChangedPlatform), IconButton( icon: const Icon(Icons.code), onPressed: () async { @@ -52,10 +47,7 @@ class ReorderedButtonsPage extends StatelessWidget { child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - TextField( - maxLines: 2, - controller: _controllerNormal, - ), + TextField(maxLines: 2, controller: _controllerNormal), const SizedBox(height: 20.0), TextField( controller: _controllerReordered, @@ -63,16 +55,17 @@ class ReorderedButtonsPage extends StatelessWidget { contextMenuBuilder: (context, editableTextState) { // Reorder the button datas by type. final HashMap - buttonItemsMap = + buttonItemsMap = HashMap(); for (ContextMenuButtonItem buttonItem in editableTextState.contextMenuButtonItems) { buttonItemsMap[buttonItem.type] = buttonItem; } - final List reorderedButtonItems = - [ - if (buttonItemsMap - .containsKey(ContextMenuButtonType.selectAll)) + final List + reorderedButtonItems = [ + if (buttonItemsMap.containsKey( + ContextMenuButtonType.selectAll, + )) buttonItemsMap[ContextMenuButtonType.selectAll]!, if (buttonItemsMap.containsKey(ContextMenuButtonType.paste)) buttonItemsMap[ContextMenuButtonType.paste]!, diff --git a/context_menus/pubspec.yaml b/context_menus/pubspec.yaml index 3705005d3..2b66fb6df 100644 --- a/context_menus/pubspec.yaml +++ b/context_menus/pubspec.yaml @@ -20,7 +20,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/context_menus/test/cascading_menu_page_test.dart b/context_menus/test/cascading_menu_page_test.dart index 180510819..3f0d1b32a 100644 --- a/context_menus/test/cascading_menu_page_test.dart +++ b/context_menus/test/cascading_menu_page_test.dart @@ -6,121 +6,124 @@ import 'package:flutter/services.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { - testWidgets('Can show and use the cascading menu', (tester) async { - await tester.pumpWidget(const MyApp()); + testWidgets( + 'Can show and use the cascading menu', + (tester) async { + await tester.pumpWidget(const MyApp()); - // Navigate to the CascadingMenuPage example. - await tester.dragUntilVisible( - find.text(CascadingMenuPage.title), - find.byType(ListView), - const Offset(0.0, -250.0), - ); - await tester.pumpAndSettle(); - await tester.tap(find.text(CascadingMenuPage.title)); - await tester.pumpAndSettle(); + // Navigate to the CascadingMenuPage example. + await tester.dragUntilVisible( + find.text(CascadingMenuPage.title), + find.byType(ListView), + const Offset(0.0, -250.0), + ); + await tester.pumpAndSettle(); + await tester.tap(find.text(CascadingMenuPage.title)); + await tester.pumpAndSettle(); - const String message = - 'Right click or long press anywhere to show the cascading menu.'; - expect(find.text(message), findsOneWidget); + const String message = + 'Right click or long press anywhere to show the cascading menu.'; + expect(find.text(message), findsOneWidget); - // Right click on the background of the app to show the cascading context - // menu. - TestGesture gesture = await tester.startGesture( - const Offset(0.0, 100.0), - kind: PointerDeviceKind.mouse, - buttons: kSecondaryMouseButton, - ); - await tester.pump(); - await gesture.up(); - await gesture.removePointer(); - await tester.pumpAndSettle(); + // Right click on the background of the app to show the cascading context + // menu. + TestGesture gesture = await tester.startGesture( + const Offset(0.0, 100.0), + kind: PointerDeviceKind.mouse, + buttons: kSecondaryMouseButton, + ); + await tester.pump(); + await gesture.up(); + await gesture.removePointer(); + await tester.pumpAndSettle(); - // The custom cascading context menu is shown. - expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); - expect(find.text('About'), findsOneWidget); - expect(find.text('Show'), findsNothing); - expect(find.text('Hide'), findsOneWidget); - expect(find.text('Reset'), findsOneWidget); - expect(find.text('Color'), findsOneWidget); + // The custom cascading context menu is shown. + expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); + expect(find.text('About'), findsOneWidget); + expect(find.text('Show'), findsNothing); + expect(find.text('Hide'), findsOneWidget); + expect(find.text('Reset'), findsOneWidget); + expect(find.text('Color'), findsOneWidget); - // Click "Hide Message" and the message and menu are hidden. - await tester.tap(find.text('Hide')); - await tester.pumpAndSettle(); - expect(find.byType(DesktopTextSelectionToolbar), findsNothing); - expect(find.text(message), findsNothing); + // Click "Hide Message" and the message and menu are hidden. + await tester.tap(find.text('Hide')); + await tester.pumpAndSettle(); + expect(find.byType(DesktopTextSelectionToolbar), findsNothing); + expect(find.text(message), findsNothing); - // Right click to show the menu again. - gesture = await tester.startGesture( - const Offset(0.0, 100.0), - kind: PointerDeviceKind.mouse, - buttons: kSecondaryMouseButton, - ); - await tester.pump(); - await gesture.up(); - await gesture.removePointer(); - await tester.pumpAndSettle(); - expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); - expect(find.text('About'), findsOneWidget); - expect(find.text('Show'), findsOneWidget); - expect(find.text('Hide'), findsNothing); - expect(find.text('Reset'), findsOneWidget); - expect(find.text('Color'), findsOneWidget); + // Right click to show the menu again. + gesture = await tester.startGesture( + const Offset(0.0, 100.0), + kind: PointerDeviceKind.mouse, + buttons: kSecondaryMouseButton, + ); + await tester.pump(); + await gesture.up(); + await gesture.removePointer(); + await tester.pumpAndSettle(); + expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); + expect(find.text('About'), findsOneWidget); + expect(find.text('Show'), findsOneWidget); + expect(find.text('Hide'), findsNothing); + expect(find.text('Reset'), findsOneWidget); + expect(find.text('Color'), findsOneWidget); - // Use the shortcut to show the message again. - await tester.sendKeyDownEvent(LogicalKeyboardKey.control); - await tester.sendKeyDownEvent(LogicalKeyboardKey.keyS); - await tester.sendKeyUpEvent(LogicalKeyboardKey.control); - await tester.sendKeyUpEvent(LogicalKeyboardKey.keyS); - await tester.pumpAndSettle(); - expect(find.byType(DesktopTextSelectionToolbar), findsNothing); - expect(find.text(message), findsOneWidget); + // Use the shortcut to show the message again. + await tester.sendKeyDownEvent(LogicalKeyboardKey.control); + await tester.sendKeyDownEvent(LogicalKeyboardKey.keyS); + await tester.sendKeyUpEvent(LogicalKeyboardKey.control); + await tester.sendKeyUpEvent(LogicalKeyboardKey.keyS); + await tester.pumpAndSettle(); + expect(find.byType(DesktopTextSelectionToolbar), findsNothing); + expect(find.text(message), findsOneWidget); - // Right click to show the menu again. - gesture = await tester.startGesture( - const Offset(0.0, 100.0), - kind: PointerDeviceKind.mouse, - buttons: kSecondaryMouseButton, - ); - await tester.pump(); - await gesture.up(); - await gesture.removePointer(); - await tester.pumpAndSettle(); - expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); - expect(find.text('About'), findsOneWidget); - expect(find.text('Show'), findsNothing); - expect(find.text('Hide'), findsOneWidget); - expect(find.text('Reset'), findsOneWidget); - expect(find.text('Color'), findsOneWidget); - expect(find.text('Red'), findsNothing); - expect(find.text('Green'), findsNothing); - expect(find.text('Blue'), findsNothing); + // Right click to show the menu again. + gesture = await tester.startGesture( + const Offset(0.0, 100.0), + kind: PointerDeviceKind.mouse, + buttons: kSecondaryMouseButton, + ); + await tester.pump(); + await gesture.up(); + await gesture.removePointer(); + await tester.pumpAndSettle(); + expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); + expect(find.text('About'), findsOneWidget); + expect(find.text('Show'), findsNothing); + expect(find.text('Hide'), findsOneWidget); + expect(find.text('Reset'), findsOneWidget); + expect(find.text('Color'), findsOneWidget); + expect(find.text('Red'), findsNothing); + expect(find.text('Green'), findsNothing); + expect(find.text('Blue'), findsNothing); - // Hover Background Color. - gesture = await tester.startGesture( - //tester.getCenter(find.text('Color')), - const Offset(0.0, 100), - kind: PointerDeviceKind.mouse, - ); - await tester.pump(); - await gesture.moveTo(tester.getCenter(find.text('Color'))); - await tester.pumpAndSettle(); + // Hover Background Color. + gesture = await tester.startGesture( + //tester.getCenter(find.text('Color')), + const Offset(0.0, 100), + kind: PointerDeviceKind.mouse, + ); + await tester.pump(); + await gesture.moveTo(tester.getCenter(find.text('Color'))); + await tester.pumpAndSettle(); - // Background colors are shown. - expect(find.text('Red'), findsOneWidget); - expect(find.text('Green'), findsOneWidget); - expect(find.text('Blue'), findsOneWidget); + // Background colors are shown. + expect(find.text('Red'), findsOneWidget); + expect(find.text('Green'), findsOneWidget); + expect(find.text('Blue'), findsOneWidget); - // Select green. - await gesture.moveTo(tester.getCenter(find.text('Green'))); - await tester.pump(); - await tester.tap(find.text('Green')); - await tester.pump(); - await gesture.removePointer(); + // Select green. + await gesture.moveTo(tester.getCenter(find.text('Green'))); + await tester.pump(); + await tester.tap(find.text('Green')); + await tester.pump(); + await gesture.removePointer(); - // The menu is gone and the UI shows green was selected. - expect(find.byType(DesktopTextSelectionToolbar), findsNothing); - expect(find.text('Last Selected: Green Background'), findsOneWidget); - }, - // TODO(justinmc): https://github.com/flutter/samples/issues/2086 - skip: true); + // The menu is gone and the UI shows green was selected. + expect(find.byType(DesktopTextSelectionToolbar), findsNothing); + expect(find.text('Last Selected: Green Background'), findsOneWidget); + }, + // TODO(justinmc): https://github.com/flutter/samples/issues/2086 + skip: true, + ); } diff --git a/context_menus/test/custom_buttons_page_test.dart b/context_menus/test/custom_buttons_page_test.dart index a4a6f5ff8..ea070a753 100644 --- a/context_menus/test/custom_buttons_page_test.dart +++ b/context_menus/test/custom_buttons_page_test.dart @@ -7,8 +7,9 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { - testWidgets('Shows custom buttons in the built-in context menu', - (tester) async { + testWidgets('Shows custom buttons in the built-in context menu', ( + tester, + ) async { await tester.pumpWidget(const MyApp()); // Navigate to the CustomButtonsPage example. @@ -40,8 +41,10 @@ void main() { expect(find.byType(CupertinoButton), findsNWidgets(2)); case TargetPlatform.macOS: expect(find.byType(CupertinoButton), findsNWidgets(2)); - expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), - findsNothing); + expect( + find.byType(CupertinoDesktopTextSelectionToolbarButton), + findsNothing, + ); case TargetPlatform.android: case TargetPlatform.fuchsia: expect(find.byType(CupertinoButton), findsNWidgets(1)); diff --git a/context_menus/test/custom_menu_page_test.dart b/context_menus/test/custom_menu_page_test.dart index 0b087b203..1a98fe096 100644 --- a/context_menus/test/custom_menu_page_test.dart +++ b/context_menus/test/custom_menu_page_test.dart @@ -37,17 +37,23 @@ void main() { switch (defaultTargetPlatform) { case TargetPlatform.iOS: expect( - find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(2)); + find.byType(CupertinoTextSelectionToolbarButton), + findsNWidgets(2), + ); case TargetPlatform.macOS: - expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), - findsNWidgets(2)); + expect( + find.byType(CupertinoDesktopTextSelectionToolbarButton), + findsNWidgets(2), + ); case TargetPlatform.android: case TargetPlatform.fuchsia: expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(1)); case TargetPlatform.linux: case TargetPlatform.windows: expect( - find.byType(DesktopTextSelectionToolbarButton), findsNWidgets(1)); + find.byType(DesktopTextSelectionToolbarButton), + findsNWidgets(1), + ); } }); } diff --git a/context_menus/test/default_values_page_test.dart b/context_menus/test/default_values_page_test.dart index bacfde458..7dfe325f4 100644 --- a/context_menus/test/default_values_page_test.dart +++ b/context_menus/test/default_values_page_test.dart @@ -7,8 +7,9 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { - testWidgets('Gives correct behavior for all values of contextMenuBuilder', - (tester) async { + testWidgets('Gives correct behavior for all values of contextMenuBuilder', ( + tester, + ) async { await tester.pumpWidget(const MyApp()); // Navigate to the DefaultValuesPage example. @@ -44,17 +45,23 @@ void main() { switch (defaultTargetPlatform) { case TargetPlatform.iOS: expect( - find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(2)); + find.byType(CupertinoTextSelectionToolbarButton), + findsNWidgets(2), + ); case TargetPlatform.macOS: - expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), - findsNWidgets(2)); + expect( + find.byType(CupertinoDesktopTextSelectionToolbarButton), + findsNWidgets(2), + ); case TargetPlatform.android: case TargetPlatform.fuchsia: expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(1)); case TargetPlatform.linux: case TargetPlatform.windows: expect( - find.byType(DesktopTextSelectionToolbarButton), findsNWidgets(1)); + find.byType(DesktopTextSelectionToolbarButton), + findsNWidgets(1), + ); } // Tap the next field to hide the context menu. diff --git a/context_menus/test/email_button_page_test.dart b/context_menus/test/email_button_page_test.dart index c3306ae32..351dbcf8f 100644 --- a/context_menus/test/email_button_page_test.dart +++ b/context_menus/test/email_button_page_test.dart @@ -10,8 +10,9 @@ import 'package:flutter_test/flutter_test.dart'; import 'utils.dart'; void main() { - testWidgets('Selecting the email address shows a custom button', - (tester) async { + testWidgets('Selecting the email address shows a custom button', ( + tester, + ) async { await tester.pumpWidget(const MyApp()); // Navigate to the EmailButtonPage example. @@ -50,17 +51,23 @@ void main() { switch (defaultTargetPlatform) { case TargetPlatform.iOS: expect( - find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(2)); + find.byType(CupertinoTextSelectionToolbarButton), + findsNWidgets(2), + ); case TargetPlatform.macOS: - expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), - findsNWidgets(2)); + expect( + find.byType(CupertinoDesktopTextSelectionToolbarButton), + findsNWidgets(2), + ); case TargetPlatform.android: case TargetPlatform.fuchsia: expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(3)); case TargetPlatform.linux: case TargetPlatform.windows: expect( - find.byType(DesktopTextSelectionToolbarButton), findsNWidgets(3)); + find.byType(DesktopTextSelectionToolbarButton), + findsNWidgets(3), + ); } // Click on "Copy" to hide the context menu. @@ -94,17 +101,23 @@ void main() { switch (defaultTargetPlatform) { case TargetPlatform.iOS: expect( - find.byType(CupertinoTextSelectionToolbarButton), findsNWidgets(3)); + find.byType(CupertinoTextSelectionToolbarButton), + findsNWidgets(3), + ); case TargetPlatform.macOS: - expect(find.byType(CupertinoDesktopTextSelectionToolbarButton), - findsNWidgets(3)); + expect( + find.byType(CupertinoDesktopTextSelectionToolbarButton), + findsNWidgets(3), + ); case TargetPlatform.android: case TargetPlatform.fuchsia: expect(find.byType(TextSelectionToolbarTextButton), findsNWidgets(4)); case TargetPlatform.linux: case TargetPlatform.windows: expect( - find.byType(DesktopTextSelectionToolbarButton), findsNWidgets(4)); + find.byType(DesktopTextSelectionToolbarButton), + findsNWidgets(4), + ); } // TODO: Test failing on Flutter 3.18.0-7.0.pre.57 https://github.com/flutter/samples/issues/2110 }, skip: true); diff --git a/context_menus/test/field_types_page_test.dart b/context_menus/test/field_types_page_test.dart index b43b45585..fa4ce8cf7 100644 --- a/context_menus/test/field_types_page_test.dart +++ b/context_menus/test/field_types_page_test.dart @@ -52,8 +52,10 @@ void main() { case TargetPlatform.windows: expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); case TargetPlatform.macOS: - expect(find.byType(CupertinoDesktopTextSelectionToolbar), - findsOneWidget); + expect( + find.byType(CupertinoDesktopTextSelectionToolbar), + findsOneWidget, + ); } // Tap the next field to hide the context menu. @@ -74,7 +76,9 @@ void main() { // The default Cupertino context menu is shown. expect( - find.byType(CupertinoAdaptiveTextSelectionToolbar), findsOneWidget); + find.byType(CupertinoAdaptiveTextSelectionToolbar), + findsOneWidget, + ); switch (defaultTargetPlatform) { case TargetPlatform.iOS: case TargetPlatform.android: @@ -83,8 +87,10 @@ void main() { case TargetPlatform.macOS: case TargetPlatform.linux: case TargetPlatform.windows: - expect(find.byType(CupertinoDesktopTextSelectionToolbar), - findsOneWidget); + expect( + find.byType(CupertinoDesktopTextSelectionToolbar), + findsOneWidget, + ); } // Tap the next field to hide the context menu. @@ -115,8 +121,10 @@ void main() { case TargetPlatform.windows: expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); case TargetPlatform.macOS: - expect(find.byType(CupertinoDesktopTextSelectionToolbar), - findsOneWidget); + expect( + find.byType(CupertinoDesktopTextSelectionToolbar), + findsOneWidget, + ); } // Tap the next field to hide the context menu. @@ -168,8 +176,10 @@ void main() { case TargetPlatform.windows: expect(find.byType(DesktopTextSelectionToolbar), findsOneWidget); case TargetPlatform.macOS: - expect(find.byType(CupertinoDesktopTextSelectionToolbar), - findsOneWidget); + expect( + find.byType(CupertinoDesktopTextSelectionToolbar), + findsOneWidget, + ); } }, variant: TargetPlatformVariant.all(), diff --git a/context_menus/test/global_selection_page_test.dart b/context_menus/test/global_selection_page_test.dart index 4ddbe8c6a..9f6a52fb8 100644 --- a/context_menus/test/global_selection_page_test.dart +++ b/context_menus/test/global_selection_page_test.dart @@ -5,8 +5,9 @@ import 'package:flutter/material.dart'; import 'package:flutter_test/flutter_test.dart'; void main() { - testWidgets('Gives correct behavior for all values of contextMenuBuilder', - (tester) async { + testWidgets('Gives correct behavior for all values of contextMenuBuilder', ( + tester, + ) async { await tester.pumpWidget(const MyApp()); // Navigate to the GlobalSelectionPage example. @@ -28,10 +29,9 @@ void main() { // Right click on the plain Text widget. TestGesture gesture = await tester.startGesture( - tester.getCenter(find.descendant( - of: find.byType(ListView), - matching: find.byType(Text), - )), + tester.getCenter( + find.descendant(of: find.byType(ListView), matching: find.byType(Text)), + ), kind: PointerDeviceKind.mouse, buttons: kSecondaryMouseButton, ); diff --git a/context_menus/test/utils.dart b/context_menus/test/utils.dart index 3f5f9caa3..a54ce5cd7 100644 --- a/context_menus/test/utils.dart +++ b/context_menus/test/utils.dart @@ -36,11 +36,10 @@ Offset textOffsetToPosition(WidgetTester tester, int offset) { } List globalize( - Iterable points, RenderBox box) { + Iterable points, + RenderBox box, +) { return points.map((point) { - return TextSelectionPoint( - box.localToGlobal(point.point), - point.direction, - ); + return TextSelectionPoint(box.localToGlobal(point.point), point.direction); }).toList(); } diff --git a/deeplink_store_example/lib/main.dart b/deeplink_store_example/lib/main.dart index 3653947aa..0206c1fe6 100644 --- a/deeplink_store_example/lib/main.dart +++ b/deeplink_store_example/lib/main.dart @@ -39,8 +39,9 @@ class MyApp extends StatelessWidget { ], ), GoRoute( - path: '/category/:category', - builder: (_, __) => const ProductCategoryList()), + path: '/category/:category', + builder: (_, __) => const ProductCategoryList(), + ), ], ), ); diff --git a/deeplink_store_example/lib/model/products_repository.dart b/deeplink_store_example/lib/model/products_repository.dart index 3165e2074..cf390dba1 100644 --- a/deeplink_store_example/lib/model/products_repository.dart +++ b/deeplink_store_example/lib/model/products_repository.dart @@ -12,12 +12,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -enum Category { - all, - accessories, - clothing, - home, -} +enum Category { all, accessories, clothing, home } class ProductsRepository { static const _allProducts = [ @@ -75,12 +70,7 @@ class ProductsRepository { name: 'Shrug bag', price: 198, ), - Product( - category: Category.home, - id: 9, - name: 'Gilt desk trio', - price: 58, - ), + Product(category: Category.home, id: 9, name: 'Gilt desk trio', price: 58), Product( category: Category.home, id: 10, @@ -99,18 +89,8 @@ class ProductsRepository { name: 'Hurrahs tea set', price: 34, ), - Product( - category: Category.home, - id: 13, - name: 'Blue stone mug', - price: 18, - ), - Product( - category: Category.home, - id: 14, - name: 'Rainwater tray', - price: 27, - ), + Product(category: Category.home, id: 13, name: 'Blue stone mug', price: 18), + Product(category: Category.home, id: 14, name: 'Rainwater tray', price: 27), Product( category: Category.home, id: 15, @@ -123,12 +103,7 @@ class ProductsRepository { name: 'Succulent planters', price: 16, ), - Product( - category: Category.home, - id: 17, - name: 'Quartet table', - price: 175, - ), + Product(category: Category.home, id: 17, name: 'Quartet table', price: 175), Product( category: Category.home, id: 18, @@ -141,12 +116,7 @@ class ProductsRepository { name: 'Clay sweater', price: 48, ), - Product( - category: Category.clothing, - id: 20, - name: 'Sea tunic', - price: 45, - ), + Product(category: Category.clothing, id: 20, name: 'Sea tunic', price: 45), Product( category: Category.clothing, id: 21, @@ -265,11 +235,11 @@ class ProductsRepository { } String getCategoryTitle(Category category) => switch (category) { - Category.all => 'All', - Category.accessories => 'Accessories', - Category.clothing => 'Clothing', - Category.home => 'Home Decorations' - }; + Category.all => 'All', + Category.accessories => 'Accessories', + Category.clothing => 'Clothing', + Category.home => 'Home Decorations', +}; class Product { const Product({ diff --git a/deeplink_store_example/lib/product_category_list.dart b/deeplink_store_example/lib/product_category_list.dart index 6ee3cbf11..210156d4a 100644 --- a/deeplink_store_example/lib/product_category_list.dart +++ b/deeplink_store_example/lib/product_category_list.dart @@ -31,22 +31,22 @@ class ProductCategoryList extends StatelessWidget { orElse: () => Category.all, ); final List children = - ProductsRepository.loadProducts(category: category) - .map((Product p) => RowItem(product: p)) - .toList(); + ProductsRepository.loadProducts( + category: category, + ).map((Product p) => RowItem(product: p)).toList(); return Scaffold( backgroundColor: Styles.scaffoldBackground, body: CustomScrollView( slivers: [ SliverAppBar( - title: Text(getCategoryTitle(category), - style: Styles.productListTitle), + title: Text( + getCategoryTitle(category), + style: Styles.productListTitle, + ), backgroundColor: Styles.scaffoldAppBarBackground, pinned: true, ), - SliverList( - delegate: SliverChildListDelegate(children), - ), + SliverList(delegate: SliverChildListDelegate(children)), ], ), ); diff --git a/deeplink_store_example/lib/product_details.dart b/deeplink_store_example/lib/product_details.dart index 6e59aa6ca..fe475589e 100644 --- a/deeplink_store_example/lib/product_details.dart +++ b/deeplink_store_example/lib/product_details.dart @@ -24,8 +24,9 @@ class ProductDetails extends StatelessWidget { @override Widget build(BuildContext context) { final String currentId = GoRouterState.of(context).pathParameters['id']!; - final Product product = - ProductsRepository.loadProduct(id: int.parse(currentId)); + final Product product = ProductsRepository.loadProduct( + id: int.parse(currentId), + ); return Scaffold( body: ListView( children: [ diff --git a/deeplink_store_example/lib/product_list.dart b/deeplink_store_example/lib/product_list.dart index d0ed40e78..50ef37848 100644 --- a/deeplink_store_example/lib/product_list.dart +++ b/deeplink_store_example/lib/product_list.dart @@ -23,9 +23,10 @@ class ProductList extends StatelessWidget { @override Widget build(BuildContext context) { - final List children = ProductsRepository.loadProducts() - .map((Product p) => RowItem(product: p)) - .toList(); + final List children = + ProductsRepository.loadProducts() + .map((Product p) => RowItem(product: p)) + .toList(); return Scaffold( backgroundColor: Styles.scaffoldBackground, body: CustomScrollView( @@ -35,9 +36,7 @@ class ProductList extends StatelessWidget { backgroundColor: Styles.scaffoldAppBarBackground, pinned: true, ), - SliverList( - delegate: SliverChildListDelegate(children), - ), + SliverList(delegate: SliverChildListDelegate(children)), ], ), ); diff --git a/deeplink_store_example/lib/row_item.dart b/deeplink_store_example/lib/row_item.dart index 30c114ce9..b46697e94 100644 --- a/deeplink_store_example/lib/row_item.dart +++ b/deeplink_store_example/lib/row_item.dart @@ -19,10 +19,7 @@ import 'model/products_repository.dart'; import 'styles.dart'; class RowItem extends StatelessWidget { - const RowItem({ - required this.product, - super.key, - }); + const RowItem({required this.product, super.key}); final Product product; @@ -42,14 +39,8 @@ class RowItem extends StatelessWidget { height: 68, ), ), - title: Text( - product.name, - style: Styles.productRowItemName, - ), - subtitle: Text( - '\$${product.price}', - style: Styles.productRowItemPrice, - ), + title: Text(product.name, style: Styles.productRowItemName), + subtitle: Text('\$${product.price}', style: Styles.productRowItemPrice), onTap: () => context.push('/${product.id}'), ); } diff --git a/deeplink_store_example/pubspec.yaml b/deeplink_store_example/pubspec.yaml index cf28b8949..812484e47 100644 --- a/deeplink_store_example/pubspec.yaml +++ b/deeplink_store_example/pubspec.yaml @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/desktop_photo_search/fluent_ui/lib/main.dart b/desktop_photo_search/fluent_ui/lib/main.dart index 7dcd10dbb..7c57e7f13 100644 --- a/desktop_photo_search/fluent_ui/lib/main.dart +++ b/desktop_photo_search/fluent_ui/lib/main.dart @@ -28,8 +28,10 @@ void main() { }); if (unsplashAccessKey.isEmpty) { - Logger('main').severe('Unsplash Access Key is required. ' - 'Please add to `lib/unsplash_access_key.dart`.'); + Logger('main').severe( + 'Unsplash Access Key is required. ' + 'Please add to `lib/unsplash_access_key.dart`.', + ); exit(1); } @@ -37,9 +39,8 @@ void main() { runApp( ChangeNotifierProvider( - create: (context) => PhotoSearchModel( - Unsplash(accessKey: unsplashAccessKey), - ), + create: + (context) => PhotoSearchModel(Unsplash(accessKey: unsplashAccessKey)), child: const UnsplashSearchApp(), ), ); @@ -75,46 +76,54 @@ class UnsplashHomePage extends StatelessWidget { Widget build(BuildContext context) { final photoSearchModel = Provider.of(context); menubar.setApplicationMenu([ - menubar.NativeSubmenu(label: 'Search', children: [ - menubar.NativeMenuItem( - label: 'Search…', - onSelected: () { - showDialog( - context: context, - builder: (context) => - PhotoSearchDialog(callback: photoSearchModel.addSearch), - ); - }, - ), - if (!Platform.isMacOS) + menubar.NativeSubmenu( + label: 'Search', + children: [ + menubar.NativeMenuItem( + label: 'Search…', + onSelected: () { + showDialog( + context: context, + builder: + (context) => + PhotoSearchDialog(callback: photoSearchModel.addSearch), + ); + }, + ), + if (!Platform.isMacOS) + menubar.NativeMenuItem( + label: 'Quit', + onSelected: () { + SystemNavigator.pop(); + }, + ), + ], + ), + menubar.NativeSubmenu( + label: 'About', + children: [ menubar.NativeMenuItem( - label: 'Quit', + label: 'About', onSelected: () { - SystemNavigator.pop(); + showDialog( + context: context, + builder: (context) => const PolicyDialog(), + ); }, ), - ]), - menubar.NativeSubmenu(label: 'About', children: [ - menubar.NativeMenuItem( - label: 'About', - onSelected: () { - showDialog( - context: context, - builder: (context) => const PolicyDialog(), - ); - }, - ), - ]) + ], + ), ]); return UnsplashNotice( child: Container( color: Colors.white, - child: photoSearchModel.entries.isNotEmpty - ? const UnsplashSearchContent() - : const Center( - child: Text('Search for Photos using the Search menu'), - ), + child: + photoSearchModel.entries.isNotEmpty + ? const UnsplashSearchContent() + : const Center( + child: Text('Search for Photos using the Search menu'), + ), ), ); } diff --git a/desktop_photo_search/fluent_ui/lib/src/model/search.dart b/desktop_photo_search/fluent_ui/lib/src/model/search.dart index be2487a9e..4b85be8c7 100644 --- a/desktop_photo_search/fluent_ui/lib/src/model/search.dart +++ b/desktop_photo_search/fluent_ui/lib/src/model/search.dart @@ -29,7 +29,9 @@ abstract class Search implements Built { static Search? fromJson(String jsonString) { return serializers.deserializeWith( - Search.serializer, json.decode(jsonString)); + Search.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$searchSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/model/search.g.dart b/desktop_photo_search/fluent_ui/lib/src/model/search.g.dart index bc5c6920f..27a09b458 100644 --- a/desktop_photo_search/fluent_ui/lib/src/model/search.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/model/search.g.dart @@ -19,24 +19,33 @@ class _$SearchSerializer implements StructuredSerializer { final String wireName = 'Search'; @override - Iterable serialize(Serializers serializers, Search object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Search object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'query', - serializers.serialize(object.query, - specifiedType: const FullType(String)), + serializers.serialize( + object.query, + specifiedType: const FullType(String), + ), 'results', - serializers.serialize(object.results, - specifiedType: - const FullType(BuiltList, const [const FullType(Photo)])), + serializers.serialize( + object.results, + specifiedType: const FullType(BuiltList, const [const FullType(Photo)]), + ), ]; return result; } @override - Search deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Search deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new SearchBuilder(); final iterator = serialized.iterator; @@ -46,14 +55,23 @@ class _$SearchSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'query': - result.query = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.query = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'results': - result.results.replace(serializers.deserialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(Photo)]))! - as BuiltList); + result.results.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(Photo), + ]), + )! + as BuiltList, + ); break; } } @@ -148,11 +166,16 @@ class SearchBuilder implements Builder { _$Search _build() { _$Search _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$Search._( - query: BuiltValueNullFieldError.checkNotNull( - query, r'Search', 'query'), - results: results.build()); + query: BuiltValueNullFieldError.checkNotNull( + query, + r'Search', + 'query', + ), + results: results.build(), + ); } catch (_) { late String _$failedField; try { @@ -160,7 +183,10 @@ class SearchBuilder implements Builder { results.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'Search', _$failedField, e.toString()); + r'Search', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/fluent_ui/lib/src/serializers.g.dart b/desktop_photo_search/fluent_ui/lib/src/serializers.g.dart index a824cf65a..f2d79862c 100644 --- a/desktop_photo_search/fluent_ui/lib/src/serializers.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/serializers.g.dart @@ -10,35 +10,42 @@ part of 'serializers.dart'; // BuiltValueGenerator // ************************************************************************** -Serializers _$serializers = (new Serializers().toBuilder() - ..add(ApiError.serializer) - ..add(CurrentUserCollections.serializer) - ..add(Exif.serializer) - ..add(Links.serializer) - ..add(Location.serializer) - ..add(Photo.serializer) - ..add(Position.serializer) - ..add(Search.serializer) - ..add(SearchPhotosResponse.serializer) - ..add(Tags.serializer) - ..add(Urls.serializer) - ..add(User.serializer) - ..addBuilderFactory( - const FullType(BuiltList, const [const FullType(Photo)]), - () => new ListBuilder()) - ..addBuilderFactory( - const FullType(BuiltList, const [const FullType(Photo)]), - () => new ListBuilder()) - ..addBuilderFactory( - const FullType(BuiltList, const [const FullType(String)]), - () => new ListBuilder()) - ..addBuilderFactory( - const FullType(BuiltList, const [const FullType(Tags)]), - () => new ListBuilder()) - ..addBuilderFactory( - const FullType( - BuiltList, const [const FullType(CurrentUserCollections)]), - () => new ListBuilder())) - .build(); +Serializers _$serializers = + (new Serializers().toBuilder() + ..add(ApiError.serializer) + ..add(CurrentUserCollections.serializer) + ..add(Exif.serializer) + ..add(Links.serializer) + ..add(Location.serializer) + ..add(Photo.serializer) + ..add(Position.serializer) + ..add(Search.serializer) + ..add(SearchPhotosResponse.serializer) + ..add(Tags.serializer) + ..add(Urls.serializer) + ..add(User.serializer) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(Photo)]), + () => new ListBuilder(), + ) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(Photo)]), + () => new ListBuilder(), + ) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(String)]), + () => new ListBuilder(), + ) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(Tags)]), + () => new ListBuilder(), + ) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(CurrentUserCollections), + ]), + () => new ListBuilder(), + )) + .build(); // ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart index 72e48a691..f1bd35648 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.dart @@ -26,7 +26,9 @@ abstract class ApiError implements Built { static ApiError? fromJson(String jsonString) { return serializers.deserializeWith( - ApiError.serializer, json.decode(jsonString)); + ApiError.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$apiErrorSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.g.dart index 2c6a7b787..191309a7b 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/api_error.g.dart @@ -19,24 +19,35 @@ class _$ApiErrorSerializer implements StructuredSerializer { final String wireName = 'ApiError'; @override - Iterable serialize(Serializers serializers, ApiError object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + ApiError object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.errors; if (value != null) { result ..add('errors') - ..add(serializers.serialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(String)]))); + ..add( + serializers.serialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(String), + ]), + ), + ); } return result; } @override - ApiError deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + ApiError deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new ApiErrorBuilder(); final iterator = serialized.iterator; @@ -46,10 +57,15 @@ class _$ApiErrorSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'errors': - result.errors.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, const [const FullType(String)]))! - as BuiltList); + result.errors.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(String), + ]), + )! + as BuiltList, + ); break; } } @@ -90,8 +106,8 @@ class _$ApiError extends ApiError { @override String toString() { - return (newBuiltValueToStringHelper(r'ApiError')..add('errors', errors)) - .toString(); + return (newBuiltValueToStringHelper(r'ApiError') + ..add('errors', errors)).toString(); } } @@ -139,7 +155,10 @@ class ApiErrorBuilder implements Builder { _errors?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'ApiError', _$failedField, e.toString()); + r'ApiError', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.dart index 205b3e755..610ae215d 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.dart @@ -13,9 +13,9 @@ part 'current_user_collections.g.dart'; abstract class CurrentUserCollections implements Built { - factory CurrentUserCollections( - [void Function(CurrentUserCollectionsBuilder)? updates]) = - _$CurrentUserCollections; + factory CurrentUserCollections([ + void Function(CurrentUserCollectionsBuilder)? updates, + ]) = _$CurrentUserCollections; CurrentUserCollections._(); @@ -33,12 +33,15 @@ abstract class CurrentUserCollections String toJson() { return json.encode( - serializers.serializeWith(CurrentUserCollections.serializer, this)); + serializers.serializeWith(CurrentUserCollections.serializer, this), + ); } static CurrentUserCollections? fromJson(String jsonString) { return serializers.deserializeWith( - CurrentUserCollections.serializer, json.decode(jsonString)); + CurrentUserCollections.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.g.dart index bcf8a27ee..40b38857d 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/current_user_collections.g.dart @@ -18,15 +18,17 @@ class _$CurrentUserCollectionsSerializer @override final Iterable types = const [ CurrentUserCollections, - _$CurrentUserCollections + _$CurrentUserCollections, ]; @override final String wireName = 'CurrentUserCollections'; @override Iterable serialize( - Serializers serializers, CurrentUserCollections object, - {FullType specifiedType = FullType.unspecified}) { + Serializers serializers, + CurrentUserCollections object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(int)), @@ -36,30 +38,35 @@ class _$CurrentUserCollectionsSerializer if (value != null) { result ..add('title') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.publishedAt; if (value != null) { result ..add('published_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.updatedAt; if (value != null) { result ..add('updated_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } return result; } @override CurrentUserCollections deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new CurrentUserCollectionsBuilder(); final iterator = serialized.iterator; @@ -69,20 +76,36 @@ class _$CurrentUserCollectionsSerializer final Object? value = iterator.current; switch (key) { case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; + result.id = + serializers.deserialize( + value, + specifiedType: const FullType(int), + )! + as int; break; case 'title': - result.title = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.title = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'published_at': - result.publishedAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.publishedAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'updated_at': - result.updatedAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.updatedAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; } } @@ -101,20 +124,23 @@ class _$CurrentUserCollections extends CurrentUserCollections { @override final String? updatedAt; - factory _$CurrentUserCollections( - [void Function(CurrentUserCollectionsBuilder)? updates]) => - (new CurrentUserCollectionsBuilder()..update(updates))._build(); + factory _$CurrentUserCollections([ + void Function(CurrentUserCollectionsBuilder)? updates, + ]) => (new CurrentUserCollectionsBuilder()..update(updates))._build(); - _$CurrentUserCollections._( - {required this.id, this.title, this.publishedAt, this.updatedAt}) - : super._() { + _$CurrentUserCollections._({ + required this.id, + this.title, + this.publishedAt, + this.updatedAt, + }) : super._() { BuiltValueNullFieldError.checkNotNull(id, r'CurrentUserCollections', 'id'); } @override CurrentUserCollections rebuild( - void Function(CurrentUserCollectionsBuilder) updates) => - (toBuilder()..update(updates)).build(); + void Function(CurrentUserCollectionsBuilder) updates, + ) => (toBuilder()..update(updates)).build(); @override CurrentUserCollectionsBuilder toBuilder() => @@ -201,13 +227,18 @@ class CurrentUserCollectionsBuilder CurrentUserCollections build() => _build(); _$CurrentUserCollections _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$CurrentUserCollections._( - id: BuiltValueNullFieldError.checkNotNull( - id, r'CurrentUserCollections', 'id'), - title: title, - publishedAt: publishedAt, - updatedAt: updatedAt); + id: BuiltValueNullFieldError.checkNotNull( + id, + r'CurrentUserCollections', + 'id', + ), + title: title, + publishedAt: publishedAt, + updatedAt: updatedAt, + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.dart index 709b5b209..9eb505d1e 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.dart @@ -40,7 +40,9 @@ abstract class Exif implements Built { static Exif? fromJson(String jsonString) { return serializers.deserializeWith( - Exif.serializer, json.decode(jsonString)); + Exif.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$exifSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.g.dart index dc564add5..b65aa8b30 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/exif.g.dart @@ -19,44 +19,52 @@ class _$ExifSerializer implements StructuredSerializer { final String wireName = 'Exif'; @override - Iterable serialize(Serializers serializers, Exif object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Exif object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.make; if (value != null) { result ..add('make') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.model; if (value != null) { result ..add('model') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.exposureTime; if (value != null) { result ..add('exposure_time') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.aperture; if (value != null) { result ..add('aperture') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.focalLength; if (value != null) { result ..add('focal_length') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.iso; if (value != null) { @@ -68,8 +76,11 @@ class _$ExifSerializer implements StructuredSerializer { } @override - Exif deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Exif deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new ExifBuilder(); final iterator = serialized.iterator; @@ -79,28 +90,49 @@ class _$ExifSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'make': - result.make = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.make = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'model': - result.model = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.model = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'exposure_time': - result.exposureTime = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.exposureTime = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'aperture': - result.aperture = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.aperture = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'focal_length': - result.focalLength = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.focalLength = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'iso': - result.iso = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.iso = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; } } @@ -126,14 +158,14 @@ class _$Exif extends Exif { factory _$Exif([void Function(ExifBuilder)? updates]) => (new ExifBuilder()..update(updates))._build(); - _$Exif._( - {this.make, - this.model, - this.exposureTime, - this.aperture, - this.focalLength, - this.iso}) - : super._(); + _$Exif._({ + this.make, + this.model, + this.exposureTime, + this.aperture, + this.focalLength, + this.iso, + }) : super._(); @override Exif rebuild(void Function(ExifBuilder) updates) => @@ -238,14 +270,16 @@ class ExifBuilder implements Builder { Exif build() => _build(); _$Exif _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Exif._( - make: make, - model: model, - exposureTime: exposureTime, - aperture: aperture, - focalLength: focalLength, - iso: iso); + make: make, + model: model, + exposureTime: exposureTime, + aperture: aperture, + focalLength: focalLength, + iso: iso, + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/links.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/links.dart index 612195b1b..20b101836 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/links.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/links.dart @@ -34,7 +34,9 @@ abstract class Links implements Built { static Links? fromJson(String jsonString) { return serializers.deserializeWith( - Links.serializer, json.decode(jsonString)); + Links.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$linksSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/links.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/links.g.dart index 1095b8b07..7327ab571 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/links.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/links.g.dart @@ -19,44 +19,54 @@ class _$LinksSerializer implements StructuredSerializer { final String wireName = 'Links'; @override - Iterable serialize(Serializers serializers, Links object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Links object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.self; if (value != null) { result ..add('self') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.html; if (value != null) { result ..add('html') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.download; if (value != null) { result ..add('download') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.downloadLocation; if (value != null) { result ..add('download_location') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } return result; } @override - Links deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Links deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new LinksBuilder(); final iterator = serialized.iterator; @@ -66,20 +76,36 @@ class _$LinksSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'self': - result.self = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.self = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'html': - result.html = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.html = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'download': - result.download = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.download = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'download_location': - result.downloadLocation = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.downloadLocation = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; } } @@ -102,7 +128,7 @@ class _$Links extends Links { (new LinksBuilder()..update(updates))._build(); _$Links._({this.self, this.html, this.download, this.downloadLocation}) - : super._(); + : super._(); @override Links rebuild(void Function(LinksBuilder) updates) => @@ -192,12 +218,14 @@ class LinksBuilder implements Builder { Links build() => _build(); _$Links _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Links._( - self: self, - html: html, - download: download, - downloadLocation: downloadLocation); + self: self, + html: html, + download: download, + downloadLocation: downloadLocation, + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/location.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/location.dart index e426bef97..f79667b1c 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/location.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/location.dart @@ -32,7 +32,9 @@ abstract class Location implements Built { static Location? fromJson(String jsonString) { return serializers.deserializeWith( - Location.serializer, json.decode(jsonString)); + Location.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$locationSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/location.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/location.g.dart index 6e987640a..7b0e1d5ed 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/location.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/location.g.dart @@ -19,37 +19,46 @@ class _$LocationSerializer implements StructuredSerializer { final String wireName = 'Location'; @override - Iterable serialize(Serializers serializers, Location object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Location object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.city; if (value != null) { result ..add('city') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.country; if (value != null) { result ..add('country') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.position; if (value != null) { result ..add('position') - ..add(serializers.serialize(value, - specifiedType: const FullType(Position))); + ..add( + serializers.serialize(value, specifiedType: const FullType(Position)), + ); } return result; } @override - Location deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Location deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new LocationBuilder(); final iterator = serialized.iterator; @@ -59,16 +68,29 @@ class _$LocationSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'city': - result.city = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.city = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'country': - result.country = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.country = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'position': - result.position.replace(serializers.deserialize(value, - specifiedType: const FullType(Position))! as Position); + result.position.replace( + serializers.deserialize( + value, + specifiedType: const FullType(Position), + )! + as Position, + ); break; } } @@ -171,9 +193,13 @@ class LocationBuilder implements Builder { _$Location _build() { _$Location _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$Location._( - city: city, country: country, position: _position?.build()); + city: city, + country: country, + position: _position?.build(), + ); } catch (_) { late String _$failedField; try { @@ -181,7 +207,10 @@ class LocationBuilder implements Builder { _position?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'Location', _$failedField, e.toString()); + r'Location', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.dart index e303fad4c..2e0de565a 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.dart @@ -81,7 +81,9 @@ abstract class Photo implements Built { static Photo? fromJson(String jsonString) { return serializers.deserializeWith( - Photo.serializer, json.decode(jsonString)); + Photo.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$photoSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.g.dart index d7f14ae36..854a39489 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/photo.g.dart @@ -19,8 +19,11 @@ class _$PhotoSerializer implements StructuredSerializer { final String wireName = 'Photo'; @override - Iterable serialize(Serializers serializers, Photo object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Photo object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(String)), @@ -30,15 +33,17 @@ class _$PhotoSerializer implements StructuredSerializer { if (value != null) { result ..add('created_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.updatedAt; if (value != null) { result ..add('updated_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.width; if (value != null) { @@ -56,8 +61,9 @@ class _$PhotoSerializer implements StructuredSerializer { if (value != null) { result ..add('color') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.downloads; if (value != null) { @@ -76,72 +82,92 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('liked_by_user') ..add( - serializers.serialize(value, specifiedType: const FullType(bool))); + serializers.serialize(value, specifiedType: const FullType(bool)), + ); } value = object.description; if (value != null) { result ..add('description') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.exif; if (value != null) { result ..add('exif') ..add( - serializers.serialize(value, specifiedType: const FullType(Exif))); + serializers.serialize(value, specifiedType: const FullType(Exif)), + ); } value = object.location; if (value != null) { result ..add('location') - ..add(serializers.serialize(value, - specifiedType: const FullType(Location))); + ..add( + serializers.serialize(value, specifiedType: const FullType(Location)), + ); } value = object.tags; if (value != null) { result ..add('tags') - ..add(serializers.serialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(Tags)]))); + ..add( + serializers.serialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(Tags), + ]), + ), + ); } value = object.currentUserCollections; if (value != null) { result ..add('current_user_collections') - ..add(serializers.serialize(value, - specifiedType: const FullType( - BuiltList, const [const FullType(CurrentUserCollections)]))); + ..add( + serializers.serialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(CurrentUserCollections), + ]), + ), + ); } value = object.urls; if (value != null) { result ..add('urls') ..add( - serializers.serialize(value, specifiedType: const FullType(Urls))); + serializers.serialize(value, specifiedType: const FullType(Urls)), + ); } value = object.links; if (value != null) { result ..add('links') ..add( - serializers.serialize(value, specifiedType: const FullType(Links))); + serializers.serialize(value, specifiedType: const FullType(Links)), + ); } value = object.user; if (value != null) { result ..add('user') ..add( - serializers.serialize(value, specifiedType: const FullType(User))); + serializers.serialize(value, specifiedType: const FullType(User)), + ); } return result; } @override - Photo deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Photo deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new PhotoBuilder(); final iterator = serialized.iterator; @@ -151,76 +177,130 @@ class _$PhotoSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.id = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'created_at': - result.createdAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.createdAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'updated_at': - result.updatedAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.updatedAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'width': - result.width = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.width = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'height': - result.height = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.height = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'color': - result.color = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.color = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'downloads': - result.downloads = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.downloads = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'likes': - result.likes = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.likes = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'liked_by_user': - result.likedByUser = serializers.deserialize(value, - specifiedType: const FullType(bool)) as bool?; + result.likedByUser = + serializers.deserialize( + value, + specifiedType: const FullType(bool), + ) + as bool?; break; case 'description': - result.description = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.description = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'exif': - result.exif.replace(serializers.deserialize(value, - specifiedType: const FullType(Exif))! as Exif); + result.exif.replace( + serializers.deserialize(value, specifiedType: const FullType(Exif))! + as Exif, + ); break; case 'location': - result.location.replace(serializers.deserialize(value, - specifiedType: const FullType(Location))! as Location); + result.location.replace( + serializers.deserialize( + value, + specifiedType: const FullType(Location), + )! + as Location, + ); break; case 'tags': - result.tags.replace(serializers.deserialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(Tags)]))! - as BuiltList); + result.tags.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(Tags), + ]), + )! + as BuiltList, + ); break; case 'current_user_collections': - result.currentUserCollections.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, const [ - const FullType(CurrentUserCollections) - ]))! as BuiltList); + result.currentUserCollections.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(CurrentUserCollections), + ]), + )! + as BuiltList, + ); break; case 'urls': - result.urls.replace(serializers.deserialize(value, - specifiedType: const FullType(Urls))! as Urls); + result.urls.replace( + serializers.deserialize(value, specifiedType: const FullType(Urls))! + as Urls, + ); break; case 'links': - result.links.replace(serializers.deserialize(value, - specifiedType: const FullType(Links))! as Links); + result.links.replace( + serializers.deserialize( + value, + specifiedType: const FullType(Links), + )! + as Links, + ); break; case 'user': - result.user.replace(serializers.deserialize(value, - specifiedType: const FullType(User))! as User); + result.user.replace( + serializers.deserialize(value, specifiedType: const FullType(User))! + as User, + ); break; } } @@ -268,25 +348,25 @@ class _$Photo extends Photo { factory _$Photo([void Function(PhotoBuilder)? updates]) => (new PhotoBuilder()..update(updates))._build(); - _$Photo._( - {required this.id, - this.createdAt, - this.updatedAt, - this.width, - this.height, - this.color, - this.downloads, - this.likes, - this.likedByUser, - this.description, - this.exif, - this.location, - this.tags, - this.currentUserCollections, - this.urls, - this.links, - this.user}) - : super._() { + _$Photo._({ + required this.id, + this.createdAt, + this.updatedAt, + this.width, + this.height, + this.color, + this.downloads, + this.likes, + this.likedByUser, + this.description, + this.exif, + this.location, + this.tags, + this.currentUserCollections, + this.urls, + this.links, + this.user, + }) : super._() { BuiltValueNullFieldError.checkNotNull(id, r'Photo', 'id'); } @@ -428,8 +508,8 @@ class PhotoBuilder implements Builder { _$this._currentUserCollections ??= new ListBuilder(); set currentUserCollections( - ListBuilder? currentUserCollections) => - _$this._currentUserCollections = currentUserCollections; + ListBuilder? currentUserCollections, + ) => _$this._currentUserCollections = currentUserCollections; UrlsBuilder? _urls; UrlsBuilder get urls => _$this._urls ??= new UrlsBuilder(); @@ -487,25 +567,27 @@ class PhotoBuilder implements Builder { _$Photo _build() { _$Photo _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$Photo._( - id: BuiltValueNullFieldError.checkNotNull(id, r'Photo', 'id'), - createdAt: createdAt, - updatedAt: updatedAt, - width: width, - height: height, - color: color, - downloads: downloads, - likes: likes, - likedByUser: likedByUser, - description: description, - exif: _exif?.build(), - location: _location?.build(), - tags: _tags?.build(), - currentUserCollections: _currentUserCollections?.build(), - urls: _urls?.build(), - links: _links?.build(), - user: _user?.build()); + id: BuiltValueNullFieldError.checkNotNull(id, r'Photo', 'id'), + createdAt: createdAt, + updatedAt: updatedAt, + width: width, + height: height, + color: color, + downloads: downloads, + likes: likes, + likedByUser: likedByUser, + description: description, + exif: _exif?.build(), + location: _location?.build(), + tags: _tags?.build(), + currentUserCollections: _currentUserCollections?.build(), + urls: _urls?.build(), + links: _links?.build(), + user: _user?.build(), + ); } catch (_) { late String _$failedField; try { @@ -525,7 +607,10 @@ class PhotoBuilder implements Builder { _user?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'Photo', _$failedField, e.toString()); + r'Photo', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/position.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/position.dart index 4399eb23f..f09be4dc8 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/position.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/position.dart @@ -28,7 +28,9 @@ abstract class Position implements Built { static Position? fromJson(String jsonString) { return serializers.deserializeWith( - Position.serializer, json.decode(jsonString)); + Position.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$positionSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/position.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/position.g.dart index a7369fa60..3126843db 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/position.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/position.g.dart @@ -19,23 +19,33 @@ class _$PositionSerializer implements StructuredSerializer { final String wireName = 'Position'; @override - Iterable serialize(Serializers serializers, Position object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Position object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'latitude', - serializers.serialize(object.latitude, - specifiedType: const FullType(double)), + serializers.serialize( + object.latitude, + specifiedType: const FullType(double), + ), 'longitude', - serializers.serialize(object.longitude, - specifiedType: const FullType(double)), + serializers.serialize( + object.longitude, + specifiedType: const FullType(double), + ), ]; return result; } @override - Position deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Position deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new PositionBuilder(); final iterator = serialized.iterator; @@ -45,12 +55,20 @@ class _$PositionSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'latitude': - result.latitude = serializers.deserialize(value, - specifiedType: const FullType(double))! as double; + result.latitude = + serializers.deserialize( + value, + specifiedType: const FullType(double), + )! + as double; break; case 'longitude': - result.longitude = serializers.deserialize(value, - specifiedType: const FullType(double))! as double; + result.longitude = + serializers.deserialize( + value, + specifiedType: const FullType(double), + )! + as double; break; } } @@ -144,12 +162,20 @@ class PositionBuilder implements Builder { Position build() => _build(); _$Position _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Position._( - latitude: BuiltValueNullFieldError.checkNotNull( - latitude, r'Position', 'latitude'), - longitude: BuiltValueNullFieldError.checkNotNull( - longitude, r'Position', 'longitude')); + latitude: BuiltValueNullFieldError.checkNotNull( + latitude, + r'Position', + 'latitude', + ), + longitude: BuiltValueNullFieldError.checkNotNull( + longitude, + r'Position', + 'longitude', + ), + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.dart index 2d4905024..7ccc4ea72 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.dart @@ -15,9 +15,9 @@ part 'search_photos_response.g.dart'; abstract class SearchPhotosResponse implements Built { - factory SearchPhotosResponse( - [void Function(SearchPhotosResponseBuilder)? updates]) = - _$SearchPhotosResponse; + factory SearchPhotosResponse([ + void Function(SearchPhotosResponseBuilder)? updates, + ]) = _$SearchPhotosResponse; SearchPhotosResponse._(); @@ -32,12 +32,15 @@ abstract class SearchPhotosResponse String toJson() { return json.encode( - serializers.serializeWith(SearchPhotosResponse.serializer, this)); + serializers.serializeWith(SearchPhotosResponse.serializer, this), + ); } static SearchPhotosResponse? fromJson(String jsonString) { return serializers.deserializeWith( - SearchPhotosResponse.serializer, json.decode(jsonString)); + SearchPhotosResponse.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.g.dart index a79ae312e..e34fd9f15 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/search_photos_response.g.dart @@ -18,20 +18,23 @@ class _$SearchPhotosResponseSerializer @override final Iterable types = const [ SearchPhotosResponse, - _$SearchPhotosResponse + _$SearchPhotosResponse, ]; @override final String wireName = 'SearchPhotosResponse'; @override Iterable serialize( - Serializers serializers, SearchPhotosResponse object, - {FullType specifiedType = FullType.unspecified}) { + Serializers serializers, + SearchPhotosResponse object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'results', - serializers.serialize(object.results, - specifiedType: - const FullType(BuiltList, const [const FullType(Photo)])), + serializers.serialize( + object.results, + specifiedType: const FullType(BuiltList, const [const FullType(Photo)]), + ), ]; Object? value; value = object.total; @@ -51,8 +54,10 @@ class _$SearchPhotosResponseSerializer @override SearchPhotosResponse deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new SearchPhotosResponseBuilder(); final iterator = serialized.iterator; @@ -62,18 +67,25 @@ class _$SearchPhotosResponseSerializer final Object? value = iterator.current; switch (key) { case 'total': - result.total = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.total = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'total_pages': - result.totalPages = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.totalPages = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'results': - result.results.replace(serializers.deserialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(Photo)]))! - as BuiltList); + result.results.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(Photo), + ]), + )! + as BuiltList, + ); break; } } @@ -90,20 +102,23 @@ class _$SearchPhotosResponse extends SearchPhotosResponse { @override final BuiltList results; - factory _$SearchPhotosResponse( - [void Function(SearchPhotosResponseBuilder)? updates]) => - (new SearchPhotosResponseBuilder()..update(updates))._build(); + factory _$SearchPhotosResponse([ + void Function(SearchPhotosResponseBuilder)? updates, + ]) => (new SearchPhotosResponseBuilder()..update(updates))._build(); _$SearchPhotosResponse._({this.total, this.totalPages, required this.results}) - : super._() { + : super._() { BuiltValueNullFieldError.checkNotNull( - results, r'SearchPhotosResponse', 'results'); + results, + r'SearchPhotosResponse', + 'results', + ); } @override SearchPhotosResponse rebuild( - void Function(SearchPhotosResponseBuilder) updates) => - (toBuilder()..update(updates)).build(); + void Function(SearchPhotosResponseBuilder) updates, + ) => (toBuilder()..update(updates)).build(); @override SearchPhotosResponseBuilder toBuilder() => @@ -185,9 +200,13 @@ class SearchPhotosResponseBuilder _$SearchPhotosResponse _build() { _$SearchPhotosResponse _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$SearchPhotosResponse._( - total: total, totalPages: totalPages, results: results.build()); + total: total, + totalPages: totalPages, + results: results.build(), + ); } catch (_) { late String _$failedField; try { @@ -195,7 +214,10 @@ class SearchPhotosResponseBuilder results.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'SearchPhotosResponse', _$failedField, e.toString()); + r'SearchPhotosResponse', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.dart index 0073a6f34..b366e52c1 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.dart @@ -25,7 +25,9 @@ abstract class Tags implements Built { static Tags? fromJson(String jsonString) { return serializers.deserializeWith( - Tags.serializer, json.decode(jsonString)); + Tags.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$tagsSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.g.dart index 4c934862e..c01972084 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/tags.g.dart @@ -19,20 +19,28 @@ class _$TagsSerializer implements StructuredSerializer { final String wireName = 'Tags'; @override - Iterable serialize(Serializers serializers, Tags object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Tags object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'title', - serializers.serialize(object.title, - specifiedType: const FullType(String)), + serializers.serialize( + object.title, + specifiedType: const FullType(String), + ), ]; return result; } @override - Tags deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Tags deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new TagsBuilder(); final iterator = serialized.iterator; @@ -42,8 +50,12 @@ class _$TagsSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'title': - result.title = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.title = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; } } @@ -86,8 +98,8 @@ class _$Tags extends Tags { @override String toString() { - return (newBuiltValueToStringHelper(r'Tags')..add('title', title)) - .toString(); + return (newBuiltValueToStringHelper(r'Tags') + ..add('title', title)).toString(); } } @@ -124,10 +136,11 @@ class TagsBuilder implements Builder { Tags build() => _build(); _$Tags _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Tags._( - title: - BuiltValueNullFieldError.checkNotNull(title, r'Tags', 'title')); + title: BuiltValueNullFieldError.checkNotNull(title, r'Tags', 'title'), + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/unsplash.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/unsplash.dart index df486e93e..413f2a2b4 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/unsplash.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/unsplash.dart @@ -19,11 +19,9 @@ final _unsplashBaseUrl = Uri.parse('https://api.unsplash.com/'); /// [Unsplash API](https://unsplash.com/developers) `accessKey` to make /// requests to the Unsplash API. class Unsplash { - Unsplash({ - required String accessKey, - http.BaseClient? httpClient, - }) : _accessKey = accessKey, - _client = httpClient ?? http.Client(); + Unsplash({required String accessKey, http.BaseClient? httpClient}) + : _accessKey = accessKey, + _client = httpClient ?? http.Client(); final String _accessKey; final http.Client _client; @@ -36,19 +34,21 @@ class Unsplash { List collections = const [], SearchPhotosOrientation? orientation, }) async { - final searchPhotosUrl = _unsplashBaseUrl - .replace(path: '/search/photos', queryParameters: { - 'query': query, - if (page != 1) 'page': '$page', - if (perPage != 10) 'per_page': '$perPage', - if (collections.isNotEmpty) 'collections': collections.join(','), - if (orientation == SearchPhotosOrientation.landscape) - 'orientation': 'landscape', - if (orientation == SearchPhotosOrientation.portrait) - 'orientation': 'portrait', - if (orientation == SearchPhotosOrientation.squarish) - 'orientation': 'squarish', - }); + final searchPhotosUrl = _unsplashBaseUrl.replace( + path: '/search/photos', + queryParameters: { + 'query': query, + if (page != 1) 'page': '$page', + if (perPage != 10) 'per_page': '$perPage', + if (collections.isNotEmpty) 'collections': collections.join(','), + if (orientation == SearchPhotosOrientation.landscape) + 'orientation': 'landscape', + if (orientation == SearchPhotosOrientation.portrait) + 'orientation': 'portrait', + if (orientation == SearchPhotosOrientation.squarish) + 'orientation': 'squarish', + }, + ); _log.info('GET $searchPhotosUrl'); final response = await _client.get( @@ -81,26 +81,30 @@ class Unsplash { // https://help.unsplash.com/en/articles/2511258-guideline-triggering-a-download _log.info('GET ${photo.urls!.full}'); - final futureBytes = http.readBytes(Uri.parse(photo.urls!.full!), headers: { - 'Accept-Version': 'v1', - 'Authorization': 'Client-ID $_accessKey', - }); + final futureBytes = http.readBytes( + Uri.parse(photo.urls!.full!), + headers: { + 'Accept-Version': 'v1', + 'Authorization': 'Client-ID $_accessKey', + }, + ); _log.info('GET ${photo.links!.downloadLocation}'); - unawaited(http.get(Uri.parse(photo.links!.downloadLocation!), headers: { - 'Accept-Version': 'v1', - 'Authorization': 'Client-ID $_accessKey', - })); + unawaited( + http.get( + Uri.parse(photo.links!.downloadLocation!), + headers: { + 'Accept-Version': 'v1', + 'Authorization': 'Client-ID $_accessKey', + }, + ), + ); return futureBytes; } } -enum SearchPhotosOrientation { - landscape, - portrait, - squarish, -} +enum SearchPhotosOrientation { landscape, portrait, squarish } class UnsplashException implements Exception { UnsplashException([this.message]); diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.dart index 1a834304b..dc514c934 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.dart @@ -37,7 +37,9 @@ abstract class Urls implements Built { static Urls? fromJson(String jsonString) { return serializers.deserializeWith( - Urls.serializer, json.decode(jsonString)); + Urls.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$urlsSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart index 1fd1b2247..d35e8705e 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/urls.g.dart @@ -19,51 +19,62 @@ class _$UrlsSerializer implements StructuredSerializer { final String wireName = 'Urls'; @override - Iterable serialize(Serializers serializers, Urls object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Urls object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.raw; if (value != null) { result ..add('raw') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.full; if (value != null) { result ..add('full') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.regular; if (value != null) { result ..add('regular') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.small; if (value != null) { result ..add('small') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.thumb; if (value != null) { result ..add('thumb') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } return result; } @override - Urls deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Urls deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new UrlsBuilder(); final iterator = serialized.iterator; @@ -73,24 +84,44 @@ class _$UrlsSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'raw': - result.raw = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.raw = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'full': - result.full = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.full = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'regular': - result.regular = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.regular = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'small': - result.small = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.small = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'thumb': - result.thumb = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.thumb = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; } } @@ -115,7 +146,7 @@ class _$Urls extends Urls { (new UrlsBuilder()..update(updates))._build(); _$Urls._({this.raw, this.full, this.regular, this.small, this.thumb}) - : super._(); + : super._(); @override Urls rebuild(void Function(UrlsBuilder) updates) => @@ -212,9 +243,15 @@ class UrlsBuilder implements Builder { Urls build() => _build(); _$Urls _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Urls._( - raw: raw, full: full, regular: regular, small: small, thumb: thumb); + raw: raw, + full: full, + regular: regular, + small: small, + thumb: thumb, + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/user.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/user.dart index c8b141179..98f0178fa 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/user.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/user.dart @@ -56,7 +56,9 @@ abstract class User implements Built { static User? fromJson(String jsonString) { return serializers.deserializeWith( - User.serializer, json.decode(jsonString)); + User.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$userSerializer; diff --git a/desktop_photo_search/fluent_ui/lib/src/unsplash/user.g.dart b/desktop_photo_search/fluent_ui/lib/src/unsplash/user.g.dart index 4eb50c011..5281c3faa 100644 --- a/desktop_photo_search/fluent_ui/lib/src/unsplash/user.g.dart +++ b/desktop_photo_search/fluent_ui/lib/src/unsplash/user.g.dart @@ -19,14 +19,19 @@ class _$UserSerializer implements StructuredSerializer { final String wireName = 'User'; @override - Iterable serialize(Serializers serializers, User object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + User object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(String)), 'username', - serializers.serialize(object.username, - specifiedType: const FullType(String)), + serializers.serialize( + object.username, + specifiedType: const FullType(String), + ), 'name', serializers.serialize(object.name, specifiedType: const FullType(String)), ]; @@ -35,29 +40,33 @@ class _$UserSerializer implements StructuredSerializer { if (value != null) { result ..add('updated_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.portfolioUrl; if (value != null) { result ..add('portfolio_url') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.bio; if (value != null) { result ..add('bio') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.location; if (value != null) { result ..add('location') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.totalLikes; if (value != null) { @@ -82,14 +91,18 @@ class _$UserSerializer implements StructuredSerializer { result ..add('links') ..add( - serializers.serialize(value, specifiedType: const FullType(Links))); + serializers.serialize(value, specifiedType: const FullType(Links)), + ); } return result; } @override - User deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + User deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new UserBuilder(); final iterator = serialized.iterator; @@ -99,48 +112,84 @@ class _$UserSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.id = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'updated_at': - result.updatedAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.updatedAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'username': - result.username = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.username = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'name': - result.name = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.name = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'portfolio_url': - result.portfolioUrl = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.portfolioUrl = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'bio': - result.bio = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.bio = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'location': - result.location = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.location = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'total_likes': - result.totalLikes = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.totalLikes = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'total_photos': - result.totalPhotos = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.totalPhotos = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'total_collections': - result.totalCollections = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.totalCollections = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'links': - result.links.replace(serializers.deserialize(value, - specifiedType: const FullType(Links))! as Links); + result.links.replace( + serializers.deserialize( + value, + specifiedType: const FullType(Links), + )! + as Links, + ); break; } } @@ -176,19 +225,19 @@ class _$User extends User { factory _$User([void Function(UserBuilder)? updates]) => (new UserBuilder()..update(updates))._build(); - _$User._( - {required this.id, - this.updatedAt, - required this.username, - required this.name, - this.portfolioUrl, - this.bio, - this.location, - this.totalLikes, - this.totalPhotos, - this.totalCollections, - this.links}) - : super._() { + _$User._({ + required this.id, + this.updatedAt, + required this.username, + required this.name, + this.portfolioUrl, + this.bio, + this.location, + this.totalLikes, + this.totalPhotos, + this.totalCollections, + this.links, + }) : super._() { BuiltValueNullFieldError.checkNotNull(id, r'User', 'id'); BuiltValueNullFieldError.checkNotNull(username, r'User', 'username'); BuiltValueNullFieldError.checkNotNull(name, r'User', 'name'); @@ -340,21 +389,25 @@ class UserBuilder implements Builder { _$User _build() { _$User _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$User._( - id: BuiltValueNullFieldError.checkNotNull(id, r'User', 'id'), - updatedAt: updatedAt, - username: BuiltValueNullFieldError.checkNotNull( - username, r'User', 'username'), - name: - BuiltValueNullFieldError.checkNotNull(name, r'User', 'name'), - portfolioUrl: portfolioUrl, - bio: bio, - location: location, - totalLikes: totalLikes, - totalPhotos: totalPhotos, - totalCollections: totalCollections, - links: _links?.build()); + id: BuiltValueNullFieldError.checkNotNull(id, r'User', 'id'), + updatedAt: updatedAt, + username: BuiltValueNullFieldError.checkNotNull( + username, + r'User', + 'username', + ), + name: BuiltValueNullFieldError.checkNotNull(name, r'User', 'name'), + portfolioUrl: portfolioUrl, + bio: bio, + location: location, + totalLikes: totalLikes, + totalPhotos: totalPhotos, + totalCollections: totalCollections, + links: _links?.build(), + ); } catch (_) { late String _$failedField; try { @@ -362,7 +415,10 @@ class UserBuilder implements Builder { _links?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'User', _$failedField, e.toString()); + r'User', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart index 1de3e96ff..743abdaf3 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_details.dart @@ -12,7 +12,8 @@ import '../../unsplash_access_key.dart'; import '../unsplash/photo.dart'; final _unsplashHomepage = Uri.parse( - 'https://unsplash.com/?utm_source=$unsplashAppName&utm_medium=referral'); + 'https://unsplash.com/?utm_source=$unsplashAppName&utm_medium=referral', +); typedef PhotoDetailsPhotoSaveCallback = void Function(Photo); @@ -36,19 +37,22 @@ class _PhotoDetailsState extends State { const Text('Photo by'), Link( uri: Uri.parse( - 'https://unsplash.com/@${widget.photo.user!.username}?utm_source=$unsplashAppName&utm_medium=referral'), - builder: (context, followLink) => HyperlinkButton( - onPressed: followLink, - child: Text(widget.photo.user!.name), + 'https://unsplash.com/@${widget.photo.user!.username}?utm_source=$unsplashAppName&utm_medium=referral', ), + builder: + (context, followLink) => HyperlinkButton( + onPressed: followLink, + child: Text(widget.photo.user!.name), + ), ), const Text('on'), Link( uri: _unsplashHomepage, - builder: (context, followLink) => HyperlinkButton( - onPressed: followLink, - child: const Text('Unsplash'), - ), + builder: + (context, followLink) => HyperlinkButton( + onPressed: followLink, + child: const Text('Unsplash'), + ), ), ], ); diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_search_dialog.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_search_dialog.dart index 1ef925827..37de11f9e 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/photo_search_dialog.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/photo_search_dialog.dart @@ -35,33 +35,34 @@ class _PhotoSearchDialogState extends State { @override Widget build(BuildContext context) => ContentDialog( - title: const Text('Photo Search'), - content: TextBox( - autofocus: true, - controller: _controller, - onSubmitted: (content) { - if (content.isNotEmpty) { - widget.callback(content); - Navigator.of(context).pop(); - } - }, - ), - actions: [ - FilledButton( - onPressed: _searchEnabled + title: const Text('Photo Search'), + content: TextBox( + autofocus: true, + controller: _controller, + onSubmitted: (content) { + if (content.isNotEmpty) { + widget.callback(content); + Navigator.of(context).pop(); + } + }, + ), + actions: [ + FilledButton( + onPressed: + _searchEnabled ? () { - widget.callback(_controller.text); - Navigator.of(context).pop(); - } + widget.callback(_controller.text); + Navigator.of(context).pop(); + } : null, - child: const Text('Search'), - ), - Button( - onPressed: () { - Navigator.of(context).pop(); - }, - child: const Text('Cancel'), - ), - ], - ); + child: const Text('Search'), + ), + Button( + onPressed: () { + Navigator.of(context).pop(); + }, + child: const Text('Cancel'), + ), + ], + ); } diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/policy_dialog.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/policy_dialog.dart index 8ef8e937f..a0c91ab89 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/policy_dialog.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/policy_dialog.dart @@ -26,16 +26,20 @@ class PolicyDialog extends StatelessWidget { TextSpan( text: 'https://policies.google.com/terms', style: TextStyle( - fontWeight: FontWeight.bold, color: Colors.blue.normal), - recognizer: TapGestureRecognizer() - ..onTap = () async { - final url = - Uri.parse('https://policies.google.com/terms'); - if (await url_launcher.canLaunchUrl(url)) { - await url_launcher.launchUrl(url); - } - }, - ) + fontWeight: FontWeight.bold, + color: Colors.blue.normal, + ), + recognizer: + TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse( + 'https://policies.google.com/terms', + ); + if (await url_launcher.canLaunchUrl(url)) { + await url_launcher.launchUrl(url); + } + }, + ), ], ), ), @@ -48,15 +52,18 @@ class PolicyDialog extends StatelessWidget { TextSpan( text: 'https://unsplash.com/terms', style: TextStyle( - fontWeight: FontWeight.bold, color: Colors.blue.normal), - recognizer: TapGestureRecognizer() - ..onTap = () async { - final url = Uri.parse('https://unsplash.com/terms'); - if (await url_launcher.canLaunchUrl(url)) { - await url_launcher.launchUrl(url); - } - }, - ) + fontWeight: FontWeight.bold, + color: Colors.blue.normal, + ), + recognizer: + TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse('https://unsplash.com/terms'); + if (await url_launcher.canLaunchUrl(url)) { + await url_launcher.launchUrl(url); + } + }, + ), ], ), ), diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/split.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/split.dart index 7d71cb320..4790bf8bc 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/split.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/split.dart @@ -173,9 +173,7 @@ class _SplitState extends State { child: SizedBox( width: isHorizontal ? Split.dividerMainAxisSize : width, height: isHorizontal ? height : Split.dividerMainAxisSize, - child: Center( - child: dragIndicator, - ), + child: Center(child: dragIndicator), ), ), SizedBox( diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_notice.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_notice.dart index 67bb7e641..ed86de980 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_notice.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_notice.dart @@ -9,9 +9,11 @@ import 'package:url_launcher/url_launcher.dart'; import '../../unsplash_access_key.dart'; final _unsplashHomepage = Uri.parse( - 'https://unsplash.com/?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral'); + 'https://unsplash.com/?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral', +); final _unsplashPrivacyPolicy = Uri.parse( - 'https://unsplash.com/privacy?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral'); + 'https://unsplash.com/privacy?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral', +); class UnsplashNotice extends StatefulWidget { const UnsplashNotice({super.key, required this.child}); @@ -29,14 +31,17 @@ class _UnsplashNoticeState extends State { super.initState(); WidgetsBinding.instance.addPostFrameCallback((timeStamp) { showDialog( - context: context, - builder: (context) { - return _UnsplashDialog(accepted: () { + context: context, + builder: (context) { + return _UnsplashDialog( + accepted: () { setState(() { noticeAccepted = true; }); - }); - }); + }, + ); + }, + ); }); } @@ -56,50 +61,53 @@ class _UnsplashDialog extends StatelessWidget { title: const Text('Unsplash Notice'), content: RichText( text: TextSpan( - text: 'This is a sample desktop application provided by Google' - ' that enables you to search ', - style: const TextStyle(color: Colors.grey), - children: [ - TextSpan( - text: 'Unsplash', - recognizer: TapGestureRecognizer() - ..onTap = () async { - if (!await launchUrl(_unsplashHomepage)) { - throw 'Could not launch $_unsplashHomepage'; - } - }, - style: TextStyle(color: Colors.blue), - ), - const TextSpan( - text: ' for photographs that interest you. When you search' - ' for and interact with photos, Unsplash will collect' - ' information about you and your use of the Unsplash' - ' services. Learn more about ', - style: TextStyle(color: Colors.grey), - ), - TextSpan( - text: 'how Unsplash collects and uses data', - recognizer: TapGestureRecognizer() - ..onTap = () async { - if (!await launchUrl(_unsplashPrivacyPolicy)) { - throw 'Could not launch $_unsplashPrivacyPolicy'; - } - }, - style: TextStyle(color: Colors.blue), - ), - const TextSpan( - text: '.', - style: TextStyle(color: Colors.grey), - ), - ]), + text: + 'This is a sample desktop application provided by Google' + ' that enables you to search ', + style: const TextStyle(color: Colors.grey), + children: [ + TextSpan( + text: 'Unsplash', + recognizer: + TapGestureRecognizer() + ..onTap = () async { + if (!await launchUrl(_unsplashHomepage)) { + throw 'Could not launch $_unsplashHomepage'; + } + }, + style: TextStyle(color: Colors.blue), + ), + const TextSpan( + text: + ' for photographs that interest you. When you search' + ' for and interact with photos, Unsplash will collect' + ' information about you and your use of the Unsplash' + ' services. Learn more about ', + style: TextStyle(color: Colors.grey), + ), + TextSpan( + text: 'how Unsplash collects and uses data', + recognizer: + TapGestureRecognizer() + ..onTap = () async { + if (!await launchUrl(_unsplashPrivacyPolicy)) { + throw 'Could not launch $_unsplashPrivacyPolicy'; + } + }, + style: TextStyle(color: Colors.blue), + ), + const TextSpan(text: '.', style: TextStyle(color: Colors.grey)), + ], + ), ), actions: [ Button( - child: const Text('Got it'), - onPressed: () { - accepted(); - Navigator.pop(context); - }) + child: const Text('Got it'), + onPressed: () { + accepted(); + Navigator.pop(context); + }, + ), ], ); } diff --git a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart index da2cce9f8..85738d3b2 100644 --- a/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart +++ b/desktop_photo_search/fluent_ui/lib/src/widgets/unsplash_search_content.dart @@ -44,30 +44,34 @@ class _UnsplashSearchContentState extends State { ), ), secondChild: Center( - child: photoSearchModel.selectedPhoto != null - ? PhotoDetails( - photo: photoSearchModel.selectedPhoto!, - onPhotoSave: (photo) async { - final saveLocation = await getSaveLocation( - suggestedName: '${photo.id}.jpg', - acceptedTypeGroups: [ - const XTypeGroup( - label: 'JPG', - extensions: ['jpg'], - mimeTypes: ['image/jpeg'], - ), - ], - ); - if (saveLocation != null) { - final fileData = - await photoSearchModel.download(photo: photo); - final photoFile = - XFile.fromData(fileData, mimeType: 'image/jpeg'); - await photoFile.saveTo(saveLocation.path); - } - }, - ) - : Container(), + child: + photoSearchModel.selectedPhoto != null + ? PhotoDetails( + photo: photoSearchModel.selectedPhoto!, + onPhotoSave: (photo) async { + final saveLocation = await getSaveLocation( + suggestedName: '${photo.id}.jpg', + acceptedTypeGroups: [ + const XTypeGroup( + label: 'JPG', + extensions: ['jpg'], + mimeTypes: ['image/jpeg'], + ), + ], + ); + if (saveLocation != null) { + final fileData = await photoSearchModel.download( + photo: photo, + ); + final photoFile = XFile.fromData( + fileData, + mimeType: 'image/jpeg', + ); + await photoFile.saveTo(saveLocation.path); + } + }, + ) + : Container(), ), ); } @@ -81,25 +85,26 @@ class _UnsplashSearchContentState extends State { return TreeViewItem( content: Text(searchEntry.query), - children: searchEntry.photos - .map( - (photo) => TreeViewItem( - content: Semantics( - button: true, - onTap: () => selectPhoto(photo), - label: labelForPhoto(photo), - excludeSemantics: true, - child: GestureDetector( - onTap: () => selectPhoto(photo), - child: Text( - labelForPhoto(photo), - style: const TextStyle(color: Colors.black), + children: + searchEntry.photos + .map( + (photo) => TreeViewItem( + content: Semantics( + button: true, + onTap: () => selectPhoto(photo), + label: labelForPhoto(photo), + excludeSemantics: true, + child: GestureDetector( + onTap: () => selectPhoto(photo), + child: Text( + labelForPhoto(photo), + style: const TextStyle(color: Colors.black), + ), + ), ), ), - ), - ), - ) - .toList(), + ) + .toList(), ); } } diff --git a/desktop_photo_search/fluent_ui/pubspec.yaml b/desktop_photo_search/fluent_ui/pubspec.yaml index c775746bf..38e6c7988 100644 --- a/desktop_photo_search/fluent_ui/pubspec.yaml +++ b/desktop_photo_search/fluent_ui/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: built_collection: ^5.1.1 diff --git a/desktop_photo_search/fluent_ui/test/unsplash_test.dart b/desktop_photo_search/fluent_ui/test/unsplash_test.dart index 41a2789f2..5d0d5bd2a 100644 --- a/desktop_photo_search/fluent_ui/test/unsplash_test.dart +++ b/desktop_photo_search/fluent_ui/test/unsplash_test.dart @@ -313,8 +313,10 @@ void main() { await unsplashClient.searchPhotos(query: 'red'); fail('UnsplashException should have been thrown'); } on UnsplashException catch (e) { - expect(e.toString(), - 'UnsplashException: OAuth error: The access token is invalid'); + expect( + e.toString(), + 'UnsplashException: OAuth error: The access token is invalid', + ); } }); diff --git a/desktop_photo_search/fluent_ui/test/widget_test.dart b/desktop_photo_search/fluent_ui/test/widget_test.dart index 2d8864ca7..d169c146c 100644 --- a/desktop_photo_search/fluent_ui/test/widget_test.dart +++ b/desktop_photo_search/fluent_ui/test/widget_test.dart @@ -67,12 +67,13 @@ class FakeUnsplash implements Unsplash { '''; @override - Future searchPhotos( - {String? query, - num page = 1, - num perPage = 10, - List collections = const [], - SearchPhotosOrientation? orientation}) async { + Future searchPhotos({ + String? query, + num page = 1, + num perPage = 10, + List collections = const [], + SearchPhotosOrientation? orientation, + }) async { return SearchPhotosResponse.fromJson(searchPhotosResponse); } diff --git a/desktop_photo_search/fluent_ui/tool/grind.dart b/desktop_photo_search/fluent_ui/tool/grind.dart index 1f6bb89db..4bd6473af 100644 --- a/desktop_photo_search/fluent_ui/tool/grind.dart +++ b/desktop_photo_search/fluent_ui/tool/grind.dart @@ -16,52 +16,35 @@ void main(List args) => grind(args); void build() {} @Task() -Future pubGet() async => _logProcessOutput( - Process.start( - 'flutter', - ['pub', 'get'], - ), - ); +Future pubGet() async => + _logProcessOutput(Process.start('flutter', ['pub', 'get'])); @Task() Future generateJsonBindings() async => _logProcessOutput( - Process.start( - 'flutter', - ['pub', 'run', 'build_runner', 'build', '--delete-conflicting-outputs'], - ), - ); + Process.start('flutter', [ + 'pub', + 'run', + 'build_runner', + 'build', + '--delete-conflicting-outputs', + ]), +); @Task() Future watch() async => _logProcessOutput( - Process.start( - 'flutter', - ['pub', 'run', 'build_runner', 'watch'], - ), - ); + Process.start('flutter', ['pub', 'run', 'build_runner', 'watch']), +); @Task() -Future analyzeSource() async => _logProcessOutput( - Process.start( - 'flutter', - ['analyze'], - ), - ); +Future analyzeSource() async => + _logProcessOutput(Process.start('flutter', ['analyze'])); @Task() -Future test() async => _logProcessOutput( - Process.start( - 'flutter', - ['test'], - ), - ); +Future test() async => + _logProcessOutput(Process.start('flutter', ['test'])); @Task() -Future clean() => _logProcessOutput( - Process.start( - 'flutter', - ['clean'], - ), - ); +Future clean() => _logProcessOutput(Process.start('flutter', ['clean'])); Future _logProcessOutput(Future proc) async { final process = await proc; diff --git a/desktop_photo_search/material/lib/main.dart b/desktop_photo_search/material/lib/main.dart index 7b27d7ac1..27b42135b 100644 --- a/desktop_photo_search/material/lib/main.dart +++ b/desktop_photo_search/material/lib/main.dart @@ -28,8 +28,10 @@ void main() { }); if (unsplashAccessKey.isEmpty) { - Logger('main').severe('Unsplash Access Key is required. ' - 'Please add to `lib/unsplash_access_key.dart`.'); + Logger('main').severe( + 'Unsplash Access Key is required. ' + 'Please add to `lib/unsplash_access_key.dart`.', + ); exit(1); } @@ -37,9 +39,8 @@ void main() { runApp( ChangeNotifierProvider( - create: (context) => PhotoSearchModel( - Unsplash(accessKey: unsplashAccessKey), - ), + create: + (context) => PhotoSearchModel(Unsplash(accessKey: unsplashAccessKey)), child: const UnsplashSearchApp(), ), ); @@ -62,9 +63,7 @@ class UnsplashSearchApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Photo Search', - theme: ThemeData( - colorSchemeSeed: Colors.orange, - ), + theme: ThemeData(colorSchemeSeed: Colors.orange), home: const UnsplashHomePage(title: 'Photo Search'), ); } @@ -78,54 +77,62 @@ class UnsplashHomePage extends StatelessWidget { Widget build(BuildContext context) { final photoSearchModel = Provider.of(context); menubar.setApplicationMenu([ - menubar.NativeSubmenu(label: 'Search', children: [ - menubar.NativeMenuItem( - label: 'Search…', - onSelected: () { - showDialog( - context: context, - builder: (context) => - PhotoSearchDialog(callback: photoSearchModel.addSearch), - ); - }, - ), - if (!Platform.isMacOS) + menubar.NativeSubmenu( + label: 'Search', + children: [ menubar.NativeMenuItem( - label: 'Quit', + label: 'Search…', onSelected: () { - SystemNavigator.pop(); + showDialog( + context: context, + builder: + (context) => + PhotoSearchDialog(callback: photoSearchModel.addSearch), + ); }, ), - ]), - menubar.NativeSubmenu(label: 'About', children: [ - menubar.NativeMenuItem( - label: 'About', - onSelected: () { - showDialog( - context: context, - builder: (context) => const PolicyDialog(), - ); - }, - ), - ]) + if (!Platform.isMacOS) + menubar.NativeMenuItem( + label: 'Quit', + onSelected: () { + SystemNavigator.pop(); + }, + ), + ], + ), + menubar.NativeSubmenu( + label: 'About', + children: [ + menubar.NativeMenuItem( + label: 'About', + onSelected: () { + showDialog( + context: context, + builder: (context) => const PolicyDialog(), + ); + }, + ), + ], + ), ]); return UnsplashNotice( child: Scaffold( - appBar: AppBar( - title: Text(title), - ), - body: photoSearchModel.entries.isNotEmpty - ? const UnsplashSearchContent() - : const Center( - child: Text('Search for Photos using the Fab button'), - ), + appBar: AppBar(title: Text(title)), + body: + photoSearchModel.entries.isNotEmpty + ? const UnsplashSearchContent() + : const Center( + child: Text('Search for Photos using the Fab button'), + ), floatingActionButton: FloatingActionButton( - onPressed: () => showDialog( - context: context, - builder: (context) => - PhotoSearchDialog(callback: photoSearchModel.addSearch), - ), + onPressed: + () => showDialog( + context: context, + builder: + (context) => + PhotoSearchDialog(callback: photoSearchModel.addSearch), + ), tooltip: 'Search for a photo', child: const Icon(Icons.search), ), diff --git a/desktop_photo_search/material/lib/src/model/search.dart b/desktop_photo_search/material/lib/src/model/search.dart index be2487a9e..4b85be8c7 100644 --- a/desktop_photo_search/material/lib/src/model/search.dart +++ b/desktop_photo_search/material/lib/src/model/search.dart @@ -29,7 +29,9 @@ abstract class Search implements Built { static Search? fromJson(String jsonString) { return serializers.deserializeWith( - Search.serializer, json.decode(jsonString)); + Search.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$searchSerializer; diff --git a/desktop_photo_search/material/lib/src/model/search.g.dart b/desktop_photo_search/material/lib/src/model/search.g.dart index bc5c6920f..27a09b458 100644 --- a/desktop_photo_search/material/lib/src/model/search.g.dart +++ b/desktop_photo_search/material/lib/src/model/search.g.dart @@ -19,24 +19,33 @@ class _$SearchSerializer implements StructuredSerializer { final String wireName = 'Search'; @override - Iterable serialize(Serializers serializers, Search object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Search object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'query', - serializers.serialize(object.query, - specifiedType: const FullType(String)), + serializers.serialize( + object.query, + specifiedType: const FullType(String), + ), 'results', - serializers.serialize(object.results, - specifiedType: - const FullType(BuiltList, const [const FullType(Photo)])), + serializers.serialize( + object.results, + specifiedType: const FullType(BuiltList, const [const FullType(Photo)]), + ), ]; return result; } @override - Search deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Search deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new SearchBuilder(); final iterator = serialized.iterator; @@ -46,14 +55,23 @@ class _$SearchSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'query': - result.query = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.query = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'results': - result.results.replace(serializers.deserialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(Photo)]))! - as BuiltList); + result.results.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(Photo), + ]), + )! + as BuiltList, + ); break; } } @@ -148,11 +166,16 @@ class SearchBuilder implements Builder { _$Search _build() { _$Search _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$Search._( - query: BuiltValueNullFieldError.checkNotNull( - query, r'Search', 'query'), - results: results.build()); + query: BuiltValueNullFieldError.checkNotNull( + query, + r'Search', + 'query', + ), + results: results.build(), + ); } catch (_) { late String _$failedField; try { @@ -160,7 +183,10 @@ class SearchBuilder implements Builder { results.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'Search', _$failedField, e.toString()); + r'Search', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/material/lib/src/serializers.g.dart b/desktop_photo_search/material/lib/src/serializers.g.dart index a824cf65a..f2d79862c 100644 --- a/desktop_photo_search/material/lib/src/serializers.g.dart +++ b/desktop_photo_search/material/lib/src/serializers.g.dart @@ -10,35 +10,42 @@ part of 'serializers.dart'; // BuiltValueGenerator // ************************************************************************** -Serializers _$serializers = (new Serializers().toBuilder() - ..add(ApiError.serializer) - ..add(CurrentUserCollections.serializer) - ..add(Exif.serializer) - ..add(Links.serializer) - ..add(Location.serializer) - ..add(Photo.serializer) - ..add(Position.serializer) - ..add(Search.serializer) - ..add(SearchPhotosResponse.serializer) - ..add(Tags.serializer) - ..add(Urls.serializer) - ..add(User.serializer) - ..addBuilderFactory( - const FullType(BuiltList, const [const FullType(Photo)]), - () => new ListBuilder()) - ..addBuilderFactory( - const FullType(BuiltList, const [const FullType(Photo)]), - () => new ListBuilder()) - ..addBuilderFactory( - const FullType(BuiltList, const [const FullType(String)]), - () => new ListBuilder()) - ..addBuilderFactory( - const FullType(BuiltList, const [const FullType(Tags)]), - () => new ListBuilder()) - ..addBuilderFactory( - const FullType( - BuiltList, const [const FullType(CurrentUserCollections)]), - () => new ListBuilder())) - .build(); +Serializers _$serializers = + (new Serializers().toBuilder() + ..add(ApiError.serializer) + ..add(CurrentUserCollections.serializer) + ..add(Exif.serializer) + ..add(Links.serializer) + ..add(Location.serializer) + ..add(Photo.serializer) + ..add(Position.serializer) + ..add(Search.serializer) + ..add(SearchPhotosResponse.serializer) + ..add(Tags.serializer) + ..add(Urls.serializer) + ..add(User.serializer) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(Photo)]), + () => new ListBuilder(), + ) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(Photo)]), + () => new ListBuilder(), + ) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(String)]), + () => new ListBuilder(), + ) + ..addBuilderFactory( + const FullType(BuiltList, const [const FullType(Tags)]), + () => new ListBuilder(), + ) + ..addBuilderFactory( + const FullType(BuiltList, const [ + const FullType(CurrentUserCollections), + ]), + () => new ListBuilder(), + )) + .build(); // ignore_for_file: deprecated_member_use_from_same_package,type=lint diff --git a/desktop_photo_search/material/lib/src/unsplash/api_error.dart b/desktop_photo_search/material/lib/src/unsplash/api_error.dart index 72e48a691..f1bd35648 100644 --- a/desktop_photo_search/material/lib/src/unsplash/api_error.dart +++ b/desktop_photo_search/material/lib/src/unsplash/api_error.dart @@ -26,7 +26,9 @@ abstract class ApiError implements Built { static ApiError? fromJson(String jsonString) { return serializers.deserializeWith( - ApiError.serializer, json.decode(jsonString)); + ApiError.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$apiErrorSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/api_error.g.dart b/desktop_photo_search/material/lib/src/unsplash/api_error.g.dart index 2c6a7b787..191309a7b 100644 --- a/desktop_photo_search/material/lib/src/unsplash/api_error.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/api_error.g.dart @@ -19,24 +19,35 @@ class _$ApiErrorSerializer implements StructuredSerializer { final String wireName = 'ApiError'; @override - Iterable serialize(Serializers serializers, ApiError object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + ApiError object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.errors; if (value != null) { result ..add('errors') - ..add(serializers.serialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(String)]))); + ..add( + serializers.serialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(String), + ]), + ), + ); } return result; } @override - ApiError deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + ApiError deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new ApiErrorBuilder(); final iterator = serialized.iterator; @@ -46,10 +57,15 @@ class _$ApiErrorSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'errors': - result.errors.replace(serializers.deserialize(value, - specifiedType: const FullType( - BuiltList, const [const FullType(String)]))! - as BuiltList); + result.errors.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(String), + ]), + )! + as BuiltList, + ); break; } } @@ -90,8 +106,8 @@ class _$ApiError extends ApiError { @override String toString() { - return (newBuiltValueToStringHelper(r'ApiError')..add('errors', errors)) - .toString(); + return (newBuiltValueToStringHelper(r'ApiError') + ..add('errors', errors)).toString(); } } @@ -139,7 +155,10 @@ class ApiErrorBuilder implements Builder { _errors?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'ApiError', _$failedField, e.toString()); + r'ApiError', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/material/lib/src/unsplash/current_user_collections.dart b/desktop_photo_search/material/lib/src/unsplash/current_user_collections.dart index 205b3e755..610ae215d 100644 --- a/desktop_photo_search/material/lib/src/unsplash/current_user_collections.dart +++ b/desktop_photo_search/material/lib/src/unsplash/current_user_collections.dart @@ -13,9 +13,9 @@ part 'current_user_collections.g.dart'; abstract class CurrentUserCollections implements Built { - factory CurrentUserCollections( - [void Function(CurrentUserCollectionsBuilder)? updates]) = - _$CurrentUserCollections; + factory CurrentUserCollections([ + void Function(CurrentUserCollectionsBuilder)? updates, + ]) = _$CurrentUserCollections; CurrentUserCollections._(); @@ -33,12 +33,15 @@ abstract class CurrentUserCollections String toJson() { return json.encode( - serializers.serializeWith(CurrentUserCollections.serializer, this)); + serializers.serializeWith(CurrentUserCollections.serializer, this), + ); } static CurrentUserCollections? fromJson(String jsonString) { return serializers.deserializeWith( - CurrentUserCollections.serializer, json.decode(jsonString)); + CurrentUserCollections.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => diff --git a/desktop_photo_search/material/lib/src/unsplash/current_user_collections.g.dart b/desktop_photo_search/material/lib/src/unsplash/current_user_collections.g.dart index bcf8a27ee..40b38857d 100644 --- a/desktop_photo_search/material/lib/src/unsplash/current_user_collections.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/current_user_collections.g.dart @@ -18,15 +18,17 @@ class _$CurrentUserCollectionsSerializer @override final Iterable types = const [ CurrentUserCollections, - _$CurrentUserCollections + _$CurrentUserCollections, ]; @override final String wireName = 'CurrentUserCollections'; @override Iterable serialize( - Serializers serializers, CurrentUserCollections object, - {FullType specifiedType = FullType.unspecified}) { + Serializers serializers, + CurrentUserCollections object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(int)), @@ -36,30 +38,35 @@ class _$CurrentUserCollectionsSerializer if (value != null) { result ..add('title') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.publishedAt; if (value != null) { result ..add('published_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.updatedAt; if (value != null) { result ..add('updated_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } return result; } @override CurrentUserCollections deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new CurrentUserCollectionsBuilder(); final iterator = serialized.iterator; @@ -69,20 +76,36 @@ class _$CurrentUserCollectionsSerializer final Object? value = iterator.current; switch (key) { case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(int))! as int; + result.id = + serializers.deserialize( + value, + specifiedType: const FullType(int), + )! + as int; break; case 'title': - result.title = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.title = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'published_at': - result.publishedAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.publishedAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'updated_at': - result.updatedAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.updatedAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; } } @@ -101,20 +124,23 @@ class _$CurrentUserCollections extends CurrentUserCollections { @override final String? updatedAt; - factory _$CurrentUserCollections( - [void Function(CurrentUserCollectionsBuilder)? updates]) => - (new CurrentUserCollectionsBuilder()..update(updates))._build(); + factory _$CurrentUserCollections([ + void Function(CurrentUserCollectionsBuilder)? updates, + ]) => (new CurrentUserCollectionsBuilder()..update(updates))._build(); - _$CurrentUserCollections._( - {required this.id, this.title, this.publishedAt, this.updatedAt}) - : super._() { + _$CurrentUserCollections._({ + required this.id, + this.title, + this.publishedAt, + this.updatedAt, + }) : super._() { BuiltValueNullFieldError.checkNotNull(id, r'CurrentUserCollections', 'id'); } @override CurrentUserCollections rebuild( - void Function(CurrentUserCollectionsBuilder) updates) => - (toBuilder()..update(updates)).build(); + void Function(CurrentUserCollectionsBuilder) updates, + ) => (toBuilder()..update(updates)).build(); @override CurrentUserCollectionsBuilder toBuilder() => @@ -201,13 +227,18 @@ class CurrentUserCollectionsBuilder CurrentUserCollections build() => _build(); _$CurrentUserCollections _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$CurrentUserCollections._( - id: BuiltValueNullFieldError.checkNotNull( - id, r'CurrentUserCollections', 'id'), - title: title, - publishedAt: publishedAt, - updatedAt: updatedAt); + id: BuiltValueNullFieldError.checkNotNull( + id, + r'CurrentUserCollections', + 'id', + ), + title: title, + publishedAt: publishedAt, + updatedAt: updatedAt, + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/material/lib/src/unsplash/exif.dart b/desktop_photo_search/material/lib/src/unsplash/exif.dart index 709b5b209..9eb505d1e 100644 --- a/desktop_photo_search/material/lib/src/unsplash/exif.dart +++ b/desktop_photo_search/material/lib/src/unsplash/exif.dart @@ -40,7 +40,9 @@ abstract class Exif implements Built { static Exif? fromJson(String jsonString) { return serializers.deserializeWith( - Exif.serializer, json.decode(jsonString)); + Exif.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$exifSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/exif.g.dart b/desktop_photo_search/material/lib/src/unsplash/exif.g.dart index dc564add5..b65aa8b30 100644 --- a/desktop_photo_search/material/lib/src/unsplash/exif.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/exif.g.dart @@ -19,44 +19,52 @@ class _$ExifSerializer implements StructuredSerializer { final String wireName = 'Exif'; @override - Iterable serialize(Serializers serializers, Exif object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Exif object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.make; if (value != null) { result ..add('make') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.model; if (value != null) { result ..add('model') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.exposureTime; if (value != null) { result ..add('exposure_time') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.aperture; if (value != null) { result ..add('aperture') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.focalLength; if (value != null) { result ..add('focal_length') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.iso; if (value != null) { @@ -68,8 +76,11 @@ class _$ExifSerializer implements StructuredSerializer { } @override - Exif deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Exif deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new ExifBuilder(); final iterator = serialized.iterator; @@ -79,28 +90,49 @@ class _$ExifSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'make': - result.make = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.make = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'model': - result.model = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.model = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'exposure_time': - result.exposureTime = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.exposureTime = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'aperture': - result.aperture = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.aperture = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'focal_length': - result.focalLength = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.focalLength = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'iso': - result.iso = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.iso = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; } } @@ -126,14 +158,14 @@ class _$Exif extends Exif { factory _$Exif([void Function(ExifBuilder)? updates]) => (new ExifBuilder()..update(updates))._build(); - _$Exif._( - {this.make, - this.model, - this.exposureTime, - this.aperture, - this.focalLength, - this.iso}) - : super._(); + _$Exif._({ + this.make, + this.model, + this.exposureTime, + this.aperture, + this.focalLength, + this.iso, + }) : super._(); @override Exif rebuild(void Function(ExifBuilder) updates) => @@ -238,14 +270,16 @@ class ExifBuilder implements Builder { Exif build() => _build(); _$Exif _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Exif._( - make: make, - model: model, - exposureTime: exposureTime, - aperture: aperture, - focalLength: focalLength, - iso: iso); + make: make, + model: model, + exposureTime: exposureTime, + aperture: aperture, + focalLength: focalLength, + iso: iso, + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/material/lib/src/unsplash/links.dart b/desktop_photo_search/material/lib/src/unsplash/links.dart index 612195b1b..20b101836 100644 --- a/desktop_photo_search/material/lib/src/unsplash/links.dart +++ b/desktop_photo_search/material/lib/src/unsplash/links.dart @@ -34,7 +34,9 @@ abstract class Links implements Built { static Links? fromJson(String jsonString) { return serializers.deserializeWith( - Links.serializer, json.decode(jsonString)); + Links.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$linksSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/links.g.dart b/desktop_photo_search/material/lib/src/unsplash/links.g.dart index 1095b8b07..7327ab571 100644 --- a/desktop_photo_search/material/lib/src/unsplash/links.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/links.g.dart @@ -19,44 +19,54 @@ class _$LinksSerializer implements StructuredSerializer { final String wireName = 'Links'; @override - Iterable serialize(Serializers serializers, Links object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Links object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.self; if (value != null) { result ..add('self') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.html; if (value != null) { result ..add('html') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.download; if (value != null) { result ..add('download') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.downloadLocation; if (value != null) { result ..add('download_location') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } return result; } @override - Links deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Links deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new LinksBuilder(); final iterator = serialized.iterator; @@ -66,20 +76,36 @@ class _$LinksSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'self': - result.self = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.self = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'html': - result.html = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.html = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'download': - result.download = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.download = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'download_location': - result.downloadLocation = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.downloadLocation = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; } } @@ -102,7 +128,7 @@ class _$Links extends Links { (new LinksBuilder()..update(updates))._build(); _$Links._({this.self, this.html, this.download, this.downloadLocation}) - : super._(); + : super._(); @override Links rebuild(void Function(LinksBuilder) updates) => @@ -192,12 +218,14 @@ class LinksBuilder implements Builder { Links build() => _build(); _$Links _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Links._( - self: self, - html: html, - download: download, - downloadLocation: downloadLocation); + self: self, + html: html, + download: download, + downloadLocation: downloadLocation, + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/material/lib/src/unsplash/location.dart b/desktop_photo_search/material/lib/src/unsplash/location.dart index e426bef97..f79667b1c 100644 --- a/desktop_photo_search/material/lib/src/unsplash/location.dart +++ b/desktop_photo_search/material/lib/src/unsplash/location.dart @@ -32,7 +32,9 @@ abstract class Location implements Built { static Location? fromJson(String jsonString) { return serializers.deserializeWith( - Location.serializer, json.decode(jsonString)); + Location.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$locationSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/location.g.dart b/desktop_photo_search/material/lib/src/unsplash/location.g.dart index 6e987640a..7b0e1d5ed 100644 --- a/desktop_photo_search/material/lib/src/unsplash/location.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/location.g.dart @@ -19,37 +19,46 @@ class _$LocationSerializer implements StructuredSerializer { final String wireName = 'Location'; @override - Iterable serialize(Serializers serializers, Location object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Location object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.city; if (value != null) { result ..add('city') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.country; if (value != null) { result ..add('country') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.position; if (value != null) { result ..add('position') - ..add(serializers.serialize(value, - specifiedType: const FullType(Position))); + ..add( + serializers.serialize(value, specifiedType: const FullType(Position)), + ); } return result; } @override - Location deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Location deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new LocationBuilder(); final iterator = serialized.iterator; @@ -59,16 +68,29 @@ class _$LocationSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'city': - result.city = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.city = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'country': - result.country = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.country = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'position': - result.position.replace(serializers.deserialize(value, - specifiedType: const FullType(Position))! as Position); + result.position.replace( + serializers.deserialize( + value, + specifiedType: const FullType(Position), + )! + as Position, + ); break; } } @@ -171,9 +193,13 @@ class LocationBuilder implements Builder { _$Location _build() { _$Location _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$Location._( - city: city, country: country, position: _position?.build()); + city: city, + country: country, + position: _position?.build(), + ); } catch (_) { late String _$failedField; try { @@ -181,7 +207,10 @@ class LocationBuilder implements Builder { _position?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'Location', _$failedField, e.toString()); + r'Location', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/material/lib/src/unsplash/photo.dart b/desktop_photo_search/material/lib/src/unsplash/photo.dart index e303fad4c..2e0de565a 100644 --- a/desktop_photo_search/material/lib/src/unsplash/photo.dart +++ b/desktop_photo_search/material/lib/src/unsplash/photo.dart @@ -81,7 +81,9 @@ abstract class Photo implements Built { static Photo? fromJson(String jsonString) { return serializers.deserializeWith( - Photo.serializer, json.decode(jsonString)); + Photo.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$photoSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/photo.g.dart b/desktop_photo_search/material/lib/src/unsplash/photo.g.dart index d7f14ae36..854a39489 100644 --- a/desktop_photo_search/material/lib/src/unsplash/photo.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/photo.g.dart @@ -19,8 +19,11 @@ class _$PhotoSerializer implements StructuredSerializer { final String wireName = 'Photo'; @override - Iterable serialize(Serializers serializers, Photo object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Photo object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(String)), @@ -30,15 +33,17 @@ class _$PhotoSerializer implements StructuredSerializer { if (value != null) { result ..add('created_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.updatedAt; if (value != null) { result ..add('updated_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.width; if (value != null) { @@ -56,8 +61,9 @@ class _$PhotoSerializer implements StructuredSerializer { if (value != null) { result ..add('color') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.downloads; if (value != null) { @@ -76,72 +82,92 @@ class _$PhotoSerializer implements StructuredSerializer { result ..add('liked_by_user') ..add( - serializers.serialize(value, specifiedType: const FullType(bool))); + serializers.serialize(value, specifiedType: const FullType(bool)), + ); } value = object.description; if (value != null) { result ..add('description') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.exif; if (value != null) { result ..add('exif') ..add( - serializers.serialize(value, specifiedType: const FullType(Exif))); + serializers.serialize(value, specifiedType: const FullType(Exif)), + ); } value = object.location; if (value != null) { result ..add('location') - ..add(serializers.serialize(value, - specifiedType: const FullType(Location))); + ..add( + serializers.serialize(value, specifiedType: const FullType(Location)), + ); } value = object.tags; if (value != null) { result ..add('tags') - ..add(serializers.serialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(Tags)]))); + ..add( + serializers.serialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(Tags), + ]), + ), + ); } value = object.currentUserCollections; if (value != null) { result ..add('current_user_collections') - ..add(serializers.serialize(value, - specifiedType: const FullType( - BuiltList, const [const FullType(CurrentUserCollections)]))); + ..add( + serializers.serialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(CurrentUserCollections), + ]), + ), + ); } value = object.urls; if (value != null) { result ..add('urls') ..add( - serializers.serialize(value, specifiedType: const FullType(Urls))); + serializers.serialize(value, specifiedType: const FullType(Urls)), + ); } value = object.links; if (value != null) { result ..add('links') ..add( - serializers.serialize(value, specifiedType: const FullType(Links))); + serializers.serialize(value, specifiedType: const FullType(Links)), + ); } value = object.user; if (value != null) { result ..add('user') ..add( - serializers.serialize(value, specifiedType: const FullType(User))); + serializers.serialize(value, specifiedType: const FullType(User)), + ); } return result; } @override - Photo deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Photo deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new PhotoBuilder(); final iterator = serialized.iterator; @@ -151,76 +177,130 @@ class _$PhotoSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.id = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'created_at': - result.createdAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.createdAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'updated_at': - result.updatedAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.updatedAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'width': - result.width = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.width = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'height': - result.height = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.height = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'color': - result.color = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.color = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'downloads': - result.downloads = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.downloads = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'likes': - result.likes = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.likes = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'liked_by_user': - result.likedByUser = serializers.deserialize(value, - specifiedType: const FullType(bool)) as bool?; + result.likedByUser = + serializers.deserialize( + value, + specifiedType: const FullType(bool), + ) + as bool?; break; case 'description': - result.description = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.description = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'exif': - result.exif.replace(serializers.deserialize(value, - specifiedType: const FullType(Exif))! as Exif); + result.exif.replace( + serializers.deserialize(value, specifiedType: const FullType(Exif))! + as Exif, + ); break; case 'location': - result.location.replace(serializers.deserialize(value, - specifiedType: const FullType(Location))! as Location); + result.location.replace( + serializers.deserialize( + value, + specifiedType: const FullType(Location), + )! + as Location, + ); break; case 'tags': - result.tags.replace(serializers.deserialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(Tags)]))! - as BuiltList); + result.tags.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(Tags), + ]), + )! + as BuiltList, + ); break; case 'current_user_collections': - result.currentUserCollections.replace(serializers.deserialize(value, - specifiedType: const FullType(BuiltList, const [ - const FullType(CurrentUserCollections) - ]))! as BuiltList); + result.currentUserCollections.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(CurrentUserCollections), + ]), + )! + as BuiltList, + ); break; case 'urls': - result.urls.replace(serializers.deserialize(value, - specifiedType: const FullType(Urls))! as Urls); + result.urls.replace( + serializers.deserialize(value, specifiedType: const FullType(Urls))! + as Urls, + ); break; case 'links': - result.links.replace(serializers.deserialize(value, - specifiedType: const FullType(Links))! as Links); + result.links.replace( + serializers.deserialize( + value, + specifiedType: const FullType(Links), + )! + as Links, + ); break; case 'user': - result.user.replace(serializers.deserialize(value, - specifiedType: const FullType(User))! as User); + result.user.replace( + serializers.deserialize(value, specifiedType: const FullType(User))! + as User, + ); break; } } @@ -268,25 +348,25 @@ class _$Photo extends Photo { factory _$Photo([void Function(PhotoBuilder)? updates]) => (new PhotoBuilder()..update(updates))._build(); - _$Photo._( - {required this.id, - this.createdAt, - this.updatedAt, - this.width, - this.height, - this.color, - this.downloads, - this.likes, - this.likedByUser, - this.description, - this.exif, - this.location, - this.tags, - this.currentUserCollections, - this.urls, - this.links, - this.user}) - : super._() { + _$Photo._({ + required this.id, + this.createdAt, + this.updatedAt, + this.width, + this.height, + this.color, + this.downloads, + this.likes, + this.likedByUser, + this.description, + this.exif, + this.location, + this.tags, + this.currentUserCollections, + this.urls, + this.links, + this.user, + }) : super._() { BuiltValueNullFieldError.checkNotNull(id, r'Photo', 'id'); } @@ -428,8 +508,8 @@ class PhotoBuilder implements Builder { _$this._currentUserCollections ??= new ListBuilder(); set currentUserCollections( - ListBuilder? currentUserCollections) => - _$this._currentUserCollections = currentUserCollections; + ListBuilder? currentUserCollections, + ) => _$this._currentUserCollections = currentUserCollections; UrlsBuilder? _urls; UrlsBuilder get urls => _$this._urls ??= new UrlsBuilder(); @@ -487,25 +567,27 @@ class PhotoBuilder implements Builder { _$Photo _build() { _$Photo _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$Photo._( - id: BuiltValueNullFieldError.checkNotNull(id, r'Photo', 'id'), - createdAt: createdAt, - updatedAt: updatedAt, - width: width, - height: height, - color: color, - downloads: downloads, - likes: likes, - likedByUser: likedByUser, - description: description, - exif: _exif?.build(), - location: _location?.build(), - tags: _tags?.build(), - currentUserCollections: _currentUserCollections?.build(), - urls: _urls?.build(), - links: _links?.build(), - user: _user?.build()); + id: BuiltValueNullFieldError.checkNotNull(id, r'Photo', 'id'), + createdAt: createdAt, + updatedAt: updatedAt, + width: width, + height: height, + color: color, + downloads: downloads, + likes: likes, + likedByUser: likedByUser, + description: description, + exif: _exif?.build(), + location: _location?.build(), + tags: _tags?.build(), + currentUserCollections: _currentUserCollections?.build(), + urls: _urls?.build(), + links: _links?.build(), + user: _user?.build(), + ); } catch (_) { late String _$failedField; try { @@ -525,7 +607,10 @@ class PhotoBuilder implements Builder { _user?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'Photo', _$failedField, e.toString()); + r'Photo', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/material/lib/src/unsplash/position.dart b/desktop_photo_search/material/lib/src/unsplash/position.dart index 4399eb23f..f09be4dc8 100644 --- a/desktop_photo_search/material/lib/src/unsplash/position.dart +++ b/desktop_photo_search/material/lib/src/unsplash/position.dart @@ -28,7 +28,9 @@ abstract class Position implements Built { static Position? fromJson(String jsonString) { return serializers.deserializeWith( - Position.serializer, json.decode(jsonString)); + Position.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$positionSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/position.g.dart b/desktop_photo_search/material/lib/src/unsplash/position.g.dart index a7369fa60..3126843db 100644 --- a/desktop_photo_search/material/lib/src/unsplash/position.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/position.g.dart @@ -19,23 +19,33 @@ class _$PositionSerializer implements StructuredSerializer { final String wireName = 'Position'; @override - Iterable serialize(Serializers serializers, Position object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Position object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'latitude', - serializers.serialize(object.latitude, - specifiedType: const FullType(double)), + serializers.serialize( + object.latitude, + specifiedType: const FullType(double), + ), 'longitude', - serializers.serialize(object.longitude, - specifiedType: const FullType(double)), + serializers.serialize( + object.longitude, + specifiedType: const FullType(double), + ), ]; return result; } @override - Position deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Position deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new PositionBuilder(); final iterator = serialized.iterator; @@ -45,12 +55,20 @@ class _$PositionSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'latitude': - result.latitude = serializers.deserialize(value, - specifiedType: const FullType(double))! as double; + result.latitude = + serializers.deserialize( + value, + specifiedType: const FullType(double), + )! + as double; break; case 'longitude': - result.longitude = serializers.deserialize(value, - specifiedType: const FullType(double))! as double; + result.longitude = + serializers.deserialize( + value, + specifiedType: const FullType(double), + )! + as double; break; } } @@ -144,12 +162,20 @@ class PositionBuilder implements Builder { Position build() => _build(); _$Position _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Position._( - latitude: BuiltValueNullFieldError.checkNotNull( - latitude, r'Position', 'latitude'), - longitude: BuiltValueNullFieldError.checkNotNull( - longitude, r'Position', 'longitude')); + latitude: BuiltValueNullFieldError.checkNotNull( + latitude, + r'Position', + 'latitude', + ), + longitude: BuiltValueNullFieldError.checkNotNull( + longitude, + r'Position', + 'longitude', + ), + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/material/lib/src/unsplash/search_photos_response.dart b/desktop_photo_search/material/lib/src/unsplash/search_photos_response.dart index 2d4905024..7ccc4ea72 100644 --- a/desktop_photo_search/material/lib/src/unsplash/search_photos_response.dart +++ b/desktop_photo_search/material/lib/src/unsplash/search_photos_response.dart @@ -15,9 +15,9 @@ part 'search_photos_response.g.dart'; abstract class SearchPhotosResponse implements Built { - factory SearchPhotosResponse( - [void Function(SearchPhotosResponseBuilder)? updates]) = - _$SearchPhotosResponse; + factory SearchPhotosResponse([ + void Function(SearchPhotosResponseBuilder)? updates, + ]) = _$SearchPhotosResponse; SearchPhotosResponse._(); @@ -32,12 +32,15 @@ abstract class SearchPhotosResponse String toJson() { return json.encode( - serializers.serializeWith(SearchPhotosResponse.serializer, this)); + serializers.serializeWith(SearchPhotosResponse.serializer, this), + ); } static SearchPhotosResponse? fromJson(String jsonString) { return serializers.deserializeWith( - SearchPhotosResponse.serializer, json.decode(jsonString)); + SearchPhotosResponse.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => diff --git a/desktop_photo_search/material/lib/src/unsplash/search_photos_response.g.dart b/desktop_photo_search/material/lib/src/unsplash/search_photos_response.g.dart index a79ae312e..e34fd9f15 100644 --- a/desktop_photo_search/material/lib/src/unsplash/search_photos_response.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/search_photos_response.g.dart @@ -18,20 +18,23 @@ class _$SearchPhotosResponseSerializer @override final Iterable types = const [ SearchPhotosResponse, - _$SearchPhotosResponse + _$SearchPhotosResponse, ]; @override final String wireName = 'SearchPhotosResponse'; @override Iterable serialize( - Serializers serializers, SearchPhotosResponse object, - {FullType specifiedType = FullType.unspecified}) { + Serializers serializers, + SearchPhotosResponse object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'results', - serializers.serialize(object.results, - specifiedType: - const FullType(BuiltList, const [const FullType(Photo)])), + serializers.serialize( + object.results, + specifiedType: const FullType(BuiltList, const [const FullType(Photo)]), + ), ]; Object? value; value = object.total; @@ -51,8 +54,10 @@ class _$SearchPhotosResponseSerializer @override SearchPhotosResponse deserialize( - Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new SearchPhotosResponseBuilder(); final iterator = serialized.iterator; @@ -62,18 +67,25 @@ class _$SearchPhotosResponseSerializer final Object? value = iterator.current; switch (key) { case 'total': - result.total = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.total = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'total_pages': - result.totalPages = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.totalPages = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'results': - result.results.replace(serializers.deserialize(value, - specifiedType: - const FullType(BuiltList, const [const FullType(Photo)]))! - as BuiltList); + result.results.replace( + serializers.deserialize( + value, + specifiedType: const FullType(BuiltList, const [ + const FullType(Photo), + ]), + )! + as BuiltList, + ); break; } } @@ -90,20 +102,23 @@ class _$SearchPhotosResponse extends SearchPhotosResponse { @override final BuiltList results; - factory _$SearchPhotosResponse( - [void Function(SearchPhotosResponseBuilder)? updates]) => - (new SearchPhotosResponseBuilder()..update(updates))._build(); + factory _$SearchPhotosResponse([ + void Function(SearchPhotosResponseBuilder)? updates, + ]) => (new SearchPhotosResponseBuilder()..update(updates))._build(); _$SearchPhotosResponse._({this.total, this.totalPages, required this.results}) - : super._() { + : super._() { BuiltValueNullFieldError.checkNotNull( - results, r'SearchPhotosResponse', 'results'); + results, + r'SearchPhotosResponse', + 'results', + ); } @override SearchPhotosResponse rebuild( - void Function(SearchPhotosResponseBuilder) updates) => - (toBuilder()..update(updates)).build(); + void Function(SearchPhotosResponseBuilder) updates, + ) => (toBuilder()..update(updates)).build(); @override SearchPhotosResponseBuilder toBuilder() => @@ -185,9 +200,13 @@ class SearchPhotosResponseBuilder _$SearchPhotosResponse _build() { _$SearchPhotosResponse _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$SearchPhotosResponse._( - total: total, totalPages: totalPages, results: results.build()); + total: total, + totalPages: totalPages, + results: results.build(), + ); } catch (_) { late String _$failedField; try { @@ -195,7 +214,10 @@ class SearchPhotosResponseBuilder results.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'SearchPhotosResponse', _$failedField, e.toString()); + r'SearchPhotosResponse', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/material/lib/src/unsplash/tags.dart b/desktop_photo_search/material/lib/src/unsplash/tags.dart index 0073a6f34..b366e52c1 100644 --- a/desktop_photo_search/material/lib/src/unsplash/tags.dart +++ b/desktop_photo_search/material/lib/src/unsplash/tags.dart @@ -25,7 +25,9 @@ abstract class Tags implements Built { static Tags? fromJson(String jsonString) { return serializers.deserializeWith( - Tags.serializer, json.decode(jsonString)); + Tags.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$tagsSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/tags.g.dart b/desktop_photo_search/material/lib/src/unsplash/tags.g.dart index 4c934862e..c01972084 100644 --- a/desktop_photo_search/material/lib/src/unsplash/tags.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/tags.g.dart @@ -19,20 +19,28 @@ class _$TagsSerializer implements StructuredSerializer { final String wireName = 'Tags'; @override - Iterable serialize(Serializers serializers, Tags object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Tags object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'title', - serializers.serialize(object.title, - specifiedType: const FullType(String)), + serializers.serialize( + object.title, + specifiedType: const FullType(String), + ), ]; return result; } @override - Tags deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Tags deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new TagsBuilder(); final iterator = serialized.iterator; @@ -42,8 +50,12 @@ class _$TagsSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'title': - result.title = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.title = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; } } @@ -86,8 +98,8 @@ class _$Tags extends Tags { @override String toString() { - return (newBuiltValueToStringHelper(r'Tags')..add('title', title)) - .toString(); + return (newBuiltValueToStringHelper(r'Tags') + ..add('title', title)).toString(); } } @@ -124,10 +136,11 @@ class TagsBuilder implements Builder { Tags build() => _build(); _$Tags _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Tags._( - title: - BuiltValueNullFieldError.checkNotNull(title, r'Tags', 'title')); + title: BuiltValueNullFieldError.checkNotNull(title, r'Tags', 'title'), + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/material/lib/src/unsplash/unsplash.dart b/desktop_photo_search/material/lib/src/unsplash/unsplash.dart index df486e93e..413f2a2b4 100644 --- a/desktop_photo_search/material/lib/src/unsplash/unsplash.dart +++ b/desktop_photo_search/material/lib/src/unsplash/unsplash.dart @@ -19,11 +19,9 @@ final _unsplashBaseUrl = Uri.parse('https://api.unsplash.com/'); /// [Unsplash API](https://unsplash.com/developers) `accessKey` to make /// requests to the Unsplash API. class Unsplash { - Unsplash({ - required String accessKey, - http.BaseClient? httpClient, - }) : _accessKey = accessKey, - _client = httpClient ?? http.Client(); + Unsplash({required String accessKey, http.BaseClient? httpClient}) + : _accessKey = accessKey, + _client = httpClient ?? http.Client(); final String _accessKey; final http.Client _client; @@ -36,19 +34,21 @@ class Unsplash { List collections = const [], SearchPhotosOrientation? orientation, }) async { - final searchPhotosUrl = _unsplashBaseUrl - .replace(path: '/search/photos', queryParameters: { - 'query': query, - if (page != 1) 'page': '$page', - if (perPage != 10) 'per_page': '$perPage', - if (collections.isNotEmpty) 'collections': collections.join(','), - if (orientation == SearchPhotosOrientation.landscape) - 'orientation': 'landscape', - if (orientation == SearchPhotosOrientation.portrait) - 'orientation': 'portrait', - if (orientation == SearchPhotosOrientation.squarish) - 'orientation': 'squarish', - }); + final searchPhotosUrl = _unsplashBaseUrl.replace( + path: '/search/photos', + queryParameters: { + 'query': query, + if (page != 1) 'page': '$page', + if (perPage != 10) 'per_page': '$perPage', + if (collections.isNotEmpty) 'collections': collections.join(','), + if (orientation == SearchPhotosOrientation.landscape) + 'orientation': 'landscape', + if (orientation == SearchPhotosOrientation.portrait) + 'orientation': 'portrait', + if (orientation == SearchPhotosOrientation.squarish) + 'orientation': 'squarish', + }, + ); _log.info('GET $searchPhotosUrl'); final response = await _client.get( @@ -81,26 +81,30 @@ class Unsplash { // https://help.unsplash.com/en/articles/2511258-guideline-triggering-a-download _log.info('GET ${photo.urls!.full}'); - final futureBytes = http.readBytes(Uri.parse(photo.urls!.full!), headers: { - 'Accept-Version': 'v1', - 'Authorization': 'Client-ID $_accessKey', - }); + final futureBytes = http.readBytes( + Uri.parse(photo.urls!.full!), + headers: { + 'Accept-Version': 'v1', + 'Authorization': 'Client-ID $_accessKey', + }, + ); _log.info('GET ${photo.links!.downloadLocation}'); - unawaited(http.get(Uri.parse(photo.links!.downloadLocation!), headers: { - 'Accept-Version': 'v1', - 'Authorization': 'Client-ID $_accessKey', - })); + unawaited( + http.get( + Uri.parse(photo.links!.downloadLocation!), + headers: { + 'Accept-Version': 'v1', + 'Authorization': 'Client-ID $_accessKey', + }, + ), + ); return futureBytes; } } -enum SearchPhotosOrientation { - landscape, - portrait, - squarish, -} +enum SearchPhotosOrientation { landscape, portrait, squarish } class UnsplashException implements Exception { UnsplashException([this.message]); diff --git a/desktop_photo_search/material/lib/src/unsplash/urls.dart b/desktop_photo_search/material/lib/src/unsplash/urls.dart index 1a834304b..dc514c934 100644 --- a/desktop_photo_search/material/lib/src/unsplash/urls.dart +++ b/desktop_photo_search/material/lib/src/unsplash/urls.dart @@ -37,7 +37,9 @@ abstract class Urls implements Built { static Urls? fromJson(String jsonString) { return serializers.deserializeWith( - Urls.serializer, json.decode(jsonString)); + Urls.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$urlsSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/urls.g.dart b/desktop_photo_search/material/lib/src/unsplash/urls.g.dart index 1fd1b2247..d35e8705e 100644 --- a/desktop_photo_search/material/lib/src/unsplash/urls.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/urls.g.dart @@ -19,51 +19,62 @@ class _$UrlsSerializer implements StructuredSerializer { final String wireName = 'Urls'; @override - Iterable serialize(Serializers serializers, Urls object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + Urls object, { + FullType specifiedType = FullType.unspecified, + }) { final result = []; Object? value; value = object.raw; if (value != null) { result ..add('raw') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.full; if (value != null) { result ..add('full') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.regular; if (value != null) { result ..add('regular') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.small; if (value != null) { result ..add('small') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.thumb; if (value != null) { result ..add('thumb') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } return result; } @override - Urls deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + Urls deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new UrlsBuilder(); final iterator = serialized.iterator; @@ -73,24 +84,44 @@ class _$UrlsSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'raw': - result.raw = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.raw = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'full': - result.full = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.full = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'regular': - result.regular = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.regular = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'small': - result.small = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.small = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'thumb': - result.thumb = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.thumb = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; } } @@ -115,7 +146,7 @@ class _$Urls extends Urls { (new UrlsBuilder()..update(updates))._build(); _$Urls._({this.raw, this.full, this.regular, this.small, this.thumb}) - : super._(); + : super._(); @override Urls rebuild(void Function(UrlsBuilder) updates) => @@ -212,9 +243,15 @@ class UrlsBuilder implements Builder { Urls build() => _build(); _$Urls _build() { - final _$result = _$v ?? + final _$result = + _$v ?? new _$Urls._( - raw: raw, full: full, regular: regular, small: small, thumb: thumb); + raw: raw, + full: full, + regular: regular, + small: small, + thumb: thumb, + ); replace(_$result); return _$result; } diff --git a/desktop_photo_search/material/lib/src/unsplash/user.dart b/desktop_photo_search/material/lib/src/unsplash/user.dart index c8b141179..98f0178fa 100644 --- a/desktop_photo_search/material/lib/src/unsplash/user.dart +++ b/desktop_photo_search/material/lib/src/unsplash/user.dart @@ -56,7 +56,9 @@ abstract class User implements Built { static User? fromJson(String jsonString) { return serializers.deserializeWith( - User.serializer, json.decode(jsonString)); + User.serializer, + json.decode(jsonString), + ); } static Serializer get serializer => _$userSerializer; diff --git a/desktop_photo_search/material/lib/src/unsplash/user.g.dart b/desktop_photo_search/material/lib/src/unsplash/user.g.dart index 4eb50c011..5281c3faa 100644 --- a/desktop_photo_search/material/lib/src/unsplash/user.g.dart +++ b/desktop_photo_search/material/lib/src/unsplash/user.g.dart @@ -19,14 +19,19 @@ class _$UserSerializer implements StructuredSerializer { final String wireName = 'User'; @override - Iterable serialize(Serializers serializers, User object, - {FullType specifiedType = FullType.unspecified}) { + Iterable serialize( + Serializers serializers, + User object, { + FullType specifiedType = FullType.unspecified, + }) { final result = [ 'id', serializers.serialize(object.id, specifiedType: const FullType(String)), 'username', - serializers.serialize(object.username, - specifiedType: const FullType(String)), + serializers.serialize( + object.username, + specifiedType: const FullType(String), + ), 'name', serializers.serialize(object.name, specifiedType: const FullType(String)), ]; @@ -35,29 +40,33 @@ class _$UserSerializer implements StructuredSerializer { if (value != null) { result ..add('updated_at') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.portfolioUrl; if (value != null) { result ..add('portfolio_url') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.bio; if (value != null) { result ..add('bio') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.location; if (value != null) { result ..add('location') - ..add(serializers.serialize(value, - specifiedType: const FullType(String))); + ..add( + serializers.serialize(value, specifiedType: const FullType(String)), + ); } value = object.totalLikes; if (value != null) { @@ -82,14 +91,18 @@ class _$UserSerializer implements StructuredSerializer { result ..add('links') ..add( - serializers.serialize(value, specifiedType: const FullType(Links))); + serializers.serialize(value, specifiedType: const FullType(Links)), + ); } return result; } @override - User deserialize(Serializers serializers, Iterable serialized, - {FullType specifiedType = FullType.unspecified}) { + User deserialize( + Serializers serializers, + Iterable serialized, { + FullType specifiedType = FullType.unspecified, + }) { final result = new UserBuilder(); final iterator = serialized.iterator; @@ -99,48 +112,84 @@ class _$UserSerializer implements StructuredSerializer { final Object? value = iterator.current; switch (key) { case 'id': - result.id = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.id = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'updated_at': - result.updatedAt = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.updatedAt = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'username': - result.username = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.username = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'name': - result.name = serializers.deserialize(value, - specifiedType: const FullType(String))! as String; + result.name = + serializers.deserialize( + value, + specifiedType: const FullType(String), + )! + as String; break; case 'portfolio_url': - result.portfolioUrl = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.portfolioUrl = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'bio': - result.bio = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.bio = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'location': - result.location = serializers.deserialize(value, - specifiedType: const FullType(String)) as String?; + result.location = + serializers.deserialize( + value, + specifiedType: const FullType(String), + ) + as String?; break; case 'total_likes': - result.totalLikes = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.totalLikes = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'total_photos': - result.totalPhotos = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.totalPhotos = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'total_collections': - result.totalCollections = serializers.deserialize(value, - specifiedType: const FullType(int)) as int?; + result.totalCollections = + serializers.deserialize(value, specifiedType: const FullType(int)) + as int?; break; case 'links': - result.links.replace(serializers.deserialize(value, - specifiedType: const FullType(Links))! as Links); + result.links.replace( + serializers.deserialize( + value, + specifiedType: const FullType(Links), + )! + as Links, + ); break; } } @@ -176,19 +225,19 @@ class _$User extends User { factory _$User([void Function(UserBuilder)? updates]) => (new UserBuilder()..update(updates))._build(); - _$User._( - {required this.id, - this.updatedAt, - required this.username, - required this.name, - this.portfolioUrl, - this.bio, - this.location, - this.totalLikes, - this.totalPhotos, - this.totalCollections, - this.links}) - : super._() { + _$User._({ + required this.id, + this.updatedAt, + required this.username, + required this.name, + this.portfolioUrl, + this.bio, + this.location, + this.totalLikes, + this.totalPhotos, + this.totalCollections, + this.links, + }) : super._() { BuiltValueNullFieldError.checkNotNull(id, r'User', 'id'); BuiltValueNullFieldError.checkNotNull(username, r'User', 'username'); BuiltValueNullFieldError.checkNotNull(name, r'User', 'name'); @@ -340,21 +389,25 @@ class UserBuilder implements Builder { _$User _build() { _$User _$result; try { - _$result = _$v ?? + _$result = + _$v ?? new _$User._( - id: BuiltValueNullFieldError.checkNotNull(id, r'User', 'id'), - updatedAt: updatedAt, - username: BuiltValueNullFieldError.checkNotNull( - username, r'User', 'username'), - name: - BuiltValueNullFieldError.checkNotNull(name, r'User', 'name'), - portfolioUrl: portfolioUrl, - bio: bio, - location: location, - totalLikes: totalLikes, - totalPhotos: totalPhotos, - totalCollections: totalCollections, - links: _links?.build()); + id: BuiltValueNullFieldError.checkNotNull(id, r'User', 'id'), + updatedAt: updatedAt, + username: BuiltValueNullFieldError.checkNotNull( + username, + r'User', + 'username', + ), + name: BuiltValueNullFieldError.checkNotNull(name, r'User', 'name'), + portfolioUrl: portfolioUrl, + bio: bio, + location: location, + totalLikes: totalLikes, + totalPhotos: totalPhotos, + totalCollections: totalCollections, + links: _links?.build(), + ); } catch (_) { late String _$failedField; try { @@ -362,7 +415,10 @@ class UserBuilder implements Builder { _links?.build(); } catch (e) { throw new BuiltValueNestedFieldError( - r'User', _$failedField, e.toString()); + r'User', + _$failedField, + e.toString(), + ); } rethrow; } diff --git a/desktop_photo_search/material/lib/src/widgets/photo_details.dart b/desktop_photo_search/material/lib/src/widgets/photo_details.dart index 8cdec65c1..2da4eb311 100644 --- a/desktop_photo_search/material/lib/src/widgets/photo_details.dart +++ b/desktop_photo_search/material/lib/src/widgets/photo_details.dart @@ -10,7 +10,8 @@ import '../../unsplash_access_key.dart'; import '../unsplash/photo.dart'; final _unsplashHomepage = Uri.parse( - 'https://unsplash.com/?utm_source=$unsplashAppName&utm_medium=referral'); + 'https://unsplash.com/?utm_source=$unsplashAppName&utm_medium=referral', +); typedef PhotoDetailsPhotoSaveCallback = void Function(Photo); @@ -34,19 +35,22 @@ class _PhotoDetailsState extends State { const Text('Photo by '), Link( uri: Uri.parse( - 'https://unsplash.com/@${widget.photo.user!.username}?utm_source=$unsplashAppName&utm_medium=referral'), - builder: (context, followLink) => TextButton( - onPressed: followLink, - child: Text(widget.photo.user!.name), + 'https://unsplash.com/@${widget.photo.user!.username}?utm_source=$unsplashAppName&utm_medium=referral', ), + builder: + (context, followLink) => TextButton( + onPressed: followLink, + child: Text(widget.photo.user!.name), + ), ), const Text(' on '), Link( uri: _unsplashHomepage, - builder: (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('Unsplash'), - ), + builder: + (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('Unsplash'), + ), ), ], ); diff --git a/desktop_photo_search/material/lib/src/widgets/photo_search_dialog.dart b/desktop_photo_search/material/lib/src/widgets/photo_search_dialog.dart index db820fee5..28aee440a 100644 --- a/desktop_photo_search/material/lib/src/widgets/photo_search_dialog.dart +++ b/desktop_photo_search/material/lib/src/widgets/photo_search_dialog.dart @@ -35,36 +35,35 @@ class _PhotoSearchDialogState extends State { @override Widget build(BuildContext context) => AlertDialog( - title: const Text('Photo Search'), - content: TextField( - autofocus: true, - controller: _controller, - decoration: const InputDecoration( - hintText: 'Search query', - ), - onSubmitted: (content) { - if (content.isNotEmpty) { - widget.callback(content); - Navigator.of(context).pop(); - } - }, - ), - actions: [ - TextButton( - onPressed: () { - Navigator.of(context).pop(); - }, - child: const Text('CANCEL'), - ), - TextButton( - onPressed: _searchEnabled + title: const Text('Photo Search'), + content: TextField( + autofocus: true, + controller: _controller, + decoration: const InputDecoration(hintText: 'Search query'), + onSubmitted: (content) { + if (content.isNotEmpty) { + widget.callback(content); + Navigator.of(context).pop(); + } + }, + ), + actions: [ + TextButton( + onPressed: () { + Navigator.of(context).pop(); + }, + child: const Text('CANCEL'), + ), + TextButton( + onPressed: + _searchEnabled ? () { - widget.callback(_controller.text); - Navigator.of(context).pop(); - } + widget.callback(_controller.text); + Navigator.of(context).pop(); + } : null, - child: const Text('SEARCH'), - ), - ], - ); + child: const Text('SEARCH'), + ), + ], + ); } diff --git a/desktop_photo_search/material/lib/src/widgets/policy_dialog.dart b/desktop_photo_search/material/lib/src/widgets/policy_dialog.dart index 73ebd464b..dfc1ca738 100644 --- a/desktop_photo_search/material/lib/src/widgets/policy_dialog.dart +++ b/desktop_photo_search/material/lib/src/widgets/policy_dialog.dart @@ -26,16 +26,20 @@ class PolicyDialog extends StatelessWidget { TextSpan( text: 'https://policies.google.com/terms', style: const TextStyle( - fontWeight: FontWeight.bold, color: Colors.lightBlue), - recognizer: TapGestureRecognizer() - ..onTap = () async { - final url = - Uri.parse('https://policies.google.com/terms'); - if (await url_launcher.canLaunchUrl(url)) { - await url_launcher.launchUrl(url); - } - }, - ) + fontWeight: FontWeight.bold, + color: Colors.lightBlue, + ), + recognizer: + TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse( + 'https://policies.google.com/terms', + ); + if (await url_launcher.canLaunchUrl(url)) { + await url_launcher.launchUrl(url); + } + }, + ), ], ), ), @@ -48,15 +52,18 @@ class PolicyDialog extends StatelessWidget { TextSpan( text: 'https://unsplash.com/terms', style: const TextStyle( - fontWeight: FontWeight.bold, color: Colors.lightBlue), - recognizer: TapGestureRecognizer() - ..onTap = () async { - final url = Uri.parse('https://unsplash.com/terms'); - if (await url_launcher.canLaunchUrl(url)) { - await url_launcher.launchUrl(url); - } - }, - ) + fontWeight: FontWeight.bold, + color: Colors.lightBlue, + ), + recognizer: + TapGestureRecognizer() + ..onTap = () async { + final url = Uri.parse('https://unsplash.com/terms'); + if (await url_launcher.canLaunchUrl(url)) { + await url_launcher.launchUrl(url); + } + }, + ), ], ), ), diff --git a/desktop_photo_search/material/lib/src/widgets/split.dart b/desktop_photo_search/material/lib/src/widgets/split.dart index 7d71cb320..4790bf8bc 100644 --- a/desktop_photo_search/material/lib/src/widgets/split.dart +++ b/desktop_photo_search/material/lib/src/widgets/split.dart @@ -173,9 +173,7 @@ class _SplitState extends State { child: SizedBox( width: isHorizontal ? Split.dividerMainAxisSize : width, height: isHorizontal ? height : Split.dividerMainAxisSize, - child: Center( - child: dragIndicator, - ), + child: Center(child: dragIndicator), ), ), SizedBox( diff --git a/desktop_photo_search/material/lib/src/widgets/unsplash_notice.dart b/desktop_photo_search/material/lib/src/widgets/unsplash_notice.dart index 9dda49289..3845ba0e9 100644 --- a/desktop_photo_search/material/lib/src/widgets/unsplash_notice.dart +++ b/desktop_photo_search/material/lib/src/widgets/unsplash_notice.dart @@ -9,9 +9,11 @@ import 'package:url_launcher/url_launcher.dart'; import '../../unsplash_access_key.dart'; final _unsplashHomepage = Uri.parse( - 'https://unsplash.com/?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral'); + 'https://unsplash.com/?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral', +); final _unsplashPrivacyPolicy = Uri.parse( - 'https://unsplash.com/privacy?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral'); + 'https://unsplash.com/privacy?utm_source=${Uri.encodeFull(unsplashAppName)}&utm_medium=referral', +); class UnsplashNotice extends StatefulWidget { const UnsplashNotice({super.key, required this.child}); @@ -29,15 +31,18 @@ class _UnsplashNoticeState extends State { super.initState(); WidgetsBinding.instance.addPostFrameCallback((timeStamp) { showDialog( - barrierDismissible: false, - context: context, - builder: (context) { - return _UnsplashDialog(accepted: () { + barrierDismissible: false, + context: context, + builder: (context) { + return _UnsplashDialog( + accepted: () { setState(() { noticeAccepted = true; }); - }); - }); + }, + ); + }, + ); }); } @@ -57,50 +62,53 @@ class _UnsplashDialog extends StatelessWidget { title: const Text('Unsplash Notice'), content: RichText( text: TextSpan( - text: 'This is a sample desktop application provided by Google' - ' that enables you to search ', - style: const TextStyle(color: Colors.grey), - children: [ - TextSpan( - text: 'Unsplash', - recognizer: TapGestureRecognizer() - ..onTap = () async { - if (!await launchUrl(_unsplashHomepage)) { - throw 'Could not launch $_unsplashHomepage'; - } - }, - style: const TextStyle(color: Colors.blue), - ), - const TextSpan( - text: ' for photographs that interest you. When you search' - ' for and interact with photos, Unsplash will collect' - ' information about you and your use of the Unsplash' - ' services. Learn more about ', - style: TextStyle(color: Colors.grey), - ), - TextSpan( - text: 'how Unsplash collects and uses data', - recognizer: TapGestureRecognizer() - ..onTap = () async { - if (!await launchUrl(_unsplashPrivacyPolicy)) { - throw 'Could not launch $_unsplashPrivacyPolicy'; - } - }, - style: const TextStyle(color: Colors.blue), - ), - const TextSpan( - text: '.', - style: TextStyle(color: Colors.grey), - ), - ]), + text: + 'This is a sample desktop application provided by Google' + ' that enables you to search ', + style: const TextStyle(color: Colors.grey), + children: [ + TextSpan( + text: 'Unsplash', + recognizer: + TapGestureRecognizer() + ..onTap = () async { + if (!await launchUrl(_unsplashHomepage)) { + throw 'Could not launch $_unsplashHomepage'; + } + }, + style: const TextStyle(color: Colors.blue), + ), + const TextSpan( + text: + ' for photographs that interest you. When you search' + ' for and interact with photos, Unsplash will collect' + ' information about you and your use of the Unsplash' + ' services. Learn more about ', + style: TextStyle(color: Colors.grey), + ), + TextSpan( + text: 'how Unsplash collects and uses data', + recognizer: + TapGestureRecognizer() + ..onTap = () async { + if (!await launchUrl(_unsplashPrivacyPolicy)) { + throw 'Could not launch $_unsplashPrivacyPolicy'; + } + }, + style: const TextStyle(color: Colors.blue), + ), + const TextSpan(text: '.', style: TextStyle(color: Colors.grey)), + ], + ), ), actions: [ TextButton( - child: const Text('GOT IT'), - onPressed: () { - accepted(); - Navigator.pop(context); - }) + child: const Text('GOT IT'), + onPressed: () { + accepted(); + Navigator.pop(context); + }, + ), ], ); } diff --git a/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart b/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart index b3999ac2a..ac74dd538 100644 --- a/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart +++ b/desktop_photo_search/material/lib/src/widgets/unsplash_search_content.dart @@ -46,30 +46,34 @@ class _UnsplashSearchContentState extends State { ), ), secondChild: Center( - child: photoSearchModel.selectedPhoto != null - ? PhotoDetails( - photo: photoSearchModel.selectedPhoto!, - onPhotoSave: (photo) async { - final saveLocation = await getSaveLocation( - suggestedName: '${photo.id}.jpg', - acceptedTypeGroups: [ - const XTypeGroup( - label: 'JPG', - extensions: ['jpg'], - mimeTypes: ['image/jpeg'], - ), - ], - ); - if (saveLocation != null) { - final fileData = - await photoSearchModel.download(photo: photo); - final photoFile = - XFile.fromData(fileData, mimeType: 'image/jpeg'); - await photoFile.saveTo(saveLocation.path); - } - }, - ) - : Container(), + child: + photoSearchModel.selectedPhoto != null + ? PhotoDetails( + photo: photoSearchModel.selectedPhoto!, + onPhotoSave: (photo) async { + final saveLocation = await getSaveLocation( + suggestedName: '${photo.id}.jpg', + acceptedTypeGroups: [ + const XTypeGroup( + label: 'JPG', + extensions: ['jpg'], + mimeTypes: ['image/jpeg'], + ), + ], + ); + if (saveLocation != null) { + final fileData = await photoSearchModel.download( + photo: photo, + ); + final photoFile = XFile.fromData( + fileData, + mimeType: 'image/jpeg', + ); + await photoFile.saveTo(saveLocation.path); + } + }, + ) + : Container(), ), ); } @@ -82,30 +86,29 @@ class _UnsplashSearchContentState extends State { String labelForPhoto(Photo photo) => 'Photo by ${photo.user!.name}'; return TreeNode( - content: Expanded( - child: Text(searchEntry.query), - ), - children: searchEntry.photos - .map( - (photo) => TreeNode( - content: Expanded( - child: Semantics( - button: true, - onTap: () => selectPhoto(photo), - label: labelForPhoto(photo), - excludeSemantics: true, - child: InkWell( - onTap: () => selectPhoto(photo), - child: Padding( - padding: const EdgeInsets.all(12), - child: Text(labelForPhoto(photo)), + content: Expanded(child: Text(searchEntry.query)), + children: + searchEntry.photos + .map( + (photo) => TreeNode( + content: Expanded( + child: Semantics( + button: true, + onTap: () => selectPhoto(photo), + label: labelForPhoto(photo), + excludeSemantics: true, + child: InkWell( + onTap: () => selectPhoto(photo), + child: Padding( + padding: const EdgeInsets.all(12), + child: Text(labelForPhoto(photo)), + ), + ), ), ), ), - ), - ), - ) - .toList(), + ) + .toList(), ); } } diff --git a/desktop_photo_search/material/pubspec.yaml b/desktop_photo_search/material/pubspec.yaml index 956e53ca1..798f0c930 100644 --- a/desktop_photo_search/material/pubspec.yaml +++ b/desktop_photo_search/material/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: built_collection: ^5.1.1 diff --git a/desktop_photo_search/material/test/unsplash_test.dart b/desktop_photo_search/material/test/unsplash_test.dart index 41a2789f2..5d0d5bd2a 100644 --- a/desktop_photo_search/material/test/unsplash_test.dart +++ b/desktop_photo_search/material/test/unsplash_test.dart @@ -313,8 +313,10 @@ void main() { await unsplashClient.searchPhotos(query: 'red'); fail('UnsplashException should have been thrown'); } on UnsplashException catch (e) { - expect(e.toString(), - 'UnsplashException: OAuth error: The access token is invalid'); + expect( + e.toString(), + 'UnsplashException: OAuth error: The access token is invalid', + ); } }); diff --git a/desktop_photo_search/material/test/widget_test.dart b/desktop_photo_search/material/test/widget_test.dart index 2d8864ca7..d169c146c 100644 --- a/desktop_photo_search/material/test/widget_test.dart +++ b/desktop_photo_search/material/test/widget_test.dart @@ -67,12 +67,13 @@ class FakeUnsplash implements Unsplash { '''; @override - Future searchPhotos( - {String? query, - num page = 1, - num perPage = 10, - List collections = const [], - SearchPhotosOrientation? orientation}) async { + Future searchPhotos({ + String? query, + num page = 1, + num perPage = 10, + List collections = const [], + SearchPhotosOrientation? orientation, + }) async { return SearchPhotosResponse.fromJson(searchPhotosResponse); } diff --git a/desktop_photo_search/material/tool/grind.dart b/desktop_photo_search/material/tool/grind.dart index 1f6bb89db..4bd6473af 100644 --- a/desktop_photo_search/material/tool/grind.dart +++ b/desktop_photo_search/material/tool/grind.dart @@ -16,52 +16,35 @@ void main(List args) => grind(args); void build() {} @Task() -Future pubGet() async => _logProcessOutput( - Process.start( - 'flutter', - ['pub', 'get'], - ), - ); +Future pubGet() async => + _logProcessOutput(Process.start('flutter', ['pub', 'get'])); @Task() Future generateJsonBindings() async => _logProcessOutput( - Process.start( - 'flutter', - ['pub', 'run', 'build_runner', 'build', '--delete-conflicting-outputs'], - ), - ); + Process.start('flutter', [ + 'pub', + 'run', + 'build_runner', + 'build', + '--delete-conflicting-outputs', + ]), +); @Task() Future watch() async => _logProcessOutput( - Process.start( - 'flutter', - ['pub', 'run', 'build_runner', 'watch'], - ), - ); + Process.start('flutter', ['pub', 'run', 'build_runner', 'watch']), +); @Task() -Future analyzeSource() async => _logProcessOutput( - Process.start( - 'flutter', - ['analyze'], - ), - ); +Future analyzeSource() async => + _logProcessOutput(Process.start('flutter', ['analyze'])); @Task() -Future test() async => _logProcessOutput( - Process.start( - 'flutter', - ['test'], - ), - ); +Future test() async => + _logProcessOutput(Process.start('flutter', ['test'])); @Task() -Future clean() => _logProcessOutput( - Process.start( - 'flutter', - ['clean'], - ), - ); +Future clean() => _logProcessOutput(Process.start('flutter', ['clean'])); Future _logProcessOutput(Future proc) async { final process = await proc; diff --git a/dynamic_theme/lib/main.dart b/dynamic_theme/lib/main.dart index 50f7f85d4..37c4292e1 100644 --- a/dynamic_theme/lib/main.dart +++ b/dynamic_theme/lib/main.dart @@ -55,11 +55,7 @@ class _GenerativeAISampleState extends State { @override Widget build(BuildContext context) { return AnimatedBuilder( - animation: Listenable.merge([ - themeColor, - themeMode, - textScaleFactor, - ]), + animation: Listenable.merge([themeColor, themeMode, textScaleFactor]), builder: (context, child) { return MaterialApp( debugShowCheckedModeBanner: false, @@ -69,22 +65,23 @@ class _GenerativeAISampleState extends State { themeMode: themeMode.value, builder: (context, child) { return MediaQuery( - data: MediaQuery.of(context).copyWith( - textScaler: TextScaler.linear(textScaleFactor.value)), + data: MediaQuery.of( + context, + ).copyWith(textScaler: TextScaler.linear(textScaleFactor.value)), child: child!, ); }, home: switch (apiKey) { final providedKey? => Example( - title: widget.title, - apiKey: providedKey, - ), + title: widget.title, + apiKey: providedKey, + ), _ => ApiKeyWidget( - title: widget.title, - onSubmitted: (key) { - setState(() => apiKey = key); - }, - ), + title: widget.title, + onSubmitted: (key) { + setState(() => apiKey = key); + }, + ), }, ); }, @@ -93,11 +90,7 @@ class _GenerativeAISampleState extends State { } class Example extends StatefulWidget { - const Example({ - super.key, - required this.apiKey, - required this.title, - }); + const Example({super.key, required this.apiKey, required this.title}); final String apiKey, title; @@ -189,9 +182,7 @@ class _ExampleState extends State { Future callWithActions( Iterable prompt, ) async { - final response = await model.generateContent( - _history.followedBy(prompt), - ); + final response = await model.generateContent(_history.followedBy(prompt)); if (response.candidates.isNotEmpty) { _history.addAll(prompt); _history.add(response.candidates.first.content); @@ -203,16 +194,20 @@ class _ExampleState extends State { case 'change_theme_color': final hex = args['hex'] as String; if (hex.length != 6) { - actions.add(FunctionResponse(fn.name, { - 'type': 'Error', - 'message': 'hex must be exactly 6 characters', - })); + actions.add( + FunctionResponse(fn.name, { + 'type': 'Error', + 'message': 'hex must be exactly 6 characters', + }), + ); } else { themeColor.value = Color(int.parse('0xFF$hex')); - actions.add(FunctionResponse(fn.name, { - 'type': 'Success', - 'message': 'theme color updated', - })); + actions.add( + FunctionResponse(fn.name, { + 'type': 'Success', + 'message': 'theme color updated', + }), + ); } break; case 'change_theme_mode': @@ -223,18 +218,22 @@ class _ExampleState extends State { 'dark' => ThemeMode.dark, (_) => ThemeMode.system, }; - actions.add(FunctionResponse(fn.name, { - 'type': 'Success', - 'message': 'theme mode updated', - })); + actions.add( + FunctionResponse(fn.name, { + 'type': 'Success', + 'message': 'theme mode updated', + }), + ); break; case 'change_text_scale_factor': final value = args['scale'] as num; textScaleFactor.value = value.toDouble(); - actions.add(FunctionResponse(fn.name, { - 'type': 'Success', - 'message': 'font scale updated', - })); + actions.add( + FunctionResponse(fn.name, { + 'type': 'Success', + 'message': 'font scale updated', + }), + ); break; default: } @@ -266,30 +265,31 @@ class _ExampleState extends State { builder: (context, child) { final reversed = messages.value.reversed; return Scaffold( - appBar: AppBar( - title: Text(widget.title), - ), - body: messages.value.isEmpty - ? const Center( - child: Padding( - padding: EdgeInsets.all(32.0), - child: Text('Start changing the theme! Try typing ' + appBar: AppBar(title: Text(widget.title)), + body: + messages.value.isEmpty + ? const Center( + child: Padding( + padding: EdgeInsets.all(32.0), + child: Text( + 'Start changing the theme! Try typing ' 'in requests like "Make the colors darker" or "Make the ' - 'font larger" and see what happens.'), + 'font larger" and see what happens.', + ), + ), + ) + : ListView.builder( + padding: const EdgeInsets.all(8), + reverse: true, + itemCount: reversed.length, + itemBuilder: (context, index) { + final (sender, message) = reversed.elementAt(index); + return MessageWidget( + isFromUser: sender == Sender.user, + text: message, + ); + }, ), - ) - : ListView.builder( - padding: const EdgeInsets.all(8), - reverse: true, - itemCount: reversed.length, - itemBuilder: (context, index) { - final (sender, message) = reversed.elementAt(index); - return MessageWidget( - isFromUser: sender == Sender.user, - text: message, - ); - }, - ), bottomNavigationBar: BottomAppBar( padding: const EdgeInsets.all(8), child: Row( @@ -328,7 +328,4 @@ class _ExampleState extends State { } } -enum Sender { - user, - system, -} +enum Sender { user, system } diff --git a/dynamic_theme/lib/widgets/api_key_widget.dart b/dynamic_theme/lib/widgets/api_key_widget.dart index 244d922b8..002d35f72 100644 --- a/dynamic_theme/lib/widgets/api_key_widget.dart +++ b/dynamic_theme/lib/widgets/api_key_widget.dart @@ -18,11 +18,7 @@ import 'package:url_launcher/link.dart'; import 'text_field_decoration.dart'; class ApiKeyWidget extends StatelessWidget { - ApiKeyWidget({ - super.key, - required this.onSubmitted, - required this.title, - }); + ApiKeyWidget({super.key, required this.onSubmitted, required this.title}); final String title; final ValueChanged onSubmitted; @@ -31,9 +27,7 @@ class ApiKeyWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: Text(title), - ), + appBar: AppBar(title: Text(title)), body: Center( child: Padding( padding: const EdgeInsets.all(8.0), @@ -50,10 +44,11 @@ class ApiKeyWidget extends StatelessWidget { Link( uri: Uri.https('aistudio.google.com', '/app/apikey'), target: LinkTarget.blank, - builder: (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('Get an API Key'), - ), + builder: + (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('Get an API Key'), + ), ), ], ), diff --git a/dynamic_theme/lib/widgets/message_widget.dart b/dynamic_theme/lib/widgets/message_widget.dart index 0bf4fbc00..95dae9102 100644 --- a/dynamic_theme/lib/widgets/message_widget.dart +++ b/dynamic_theme/lib/widgets/message_widget.dart @@ -37,20 +37,20 @@ class MessageWidget extends StatelessWidget { child: Container( constraints: const BoxConstraints(maxWidth: 520), decoration: BoxDecoration( - color: isFromUser - ? Theme.of(context).colorScheme.primaryContainer - : Theme.of(context).colorScheme.surfaceContainerHighest, + color: + isFromUser + ? Theme.of(context).colorScheme.primaryContainer + : Theme.of(context).colorScheme.surfaceContainerHighest, borderRadius: BorderRadius.circular(18), ), - padding: const EdgeInsets.symmetric( - vertical: 15, - horizontal: 20, - ), + padding: const EdgeInsets.symmetric(vertical: 15, horizontal: 20), margin: const EdgeInsets.only(bottom: 8), - child: Column(children: [ - if (text case final text?) MarkdownBody(data: text), - if (image case final image?) image, - ]), + child: Column( + children: [ + if (text case final text?) MarkdownBody(data: text), + if (image case final image?) image, + ], + ), ), ), ], diff --git a/dynamic_theme/lib/widgets/text_field_decoration.dart b/dynamic_theme/lib/widgets/text_field_decoration.dart index cdc9abd37..04cfce2dd 100644 --- a/dynamic_theme/lib/widgets/text_field_decoration.dart +++ b/dynamic_theme/lib/widgets/text_field_decoration.dart @@ -19,20 +19,12 @@ InputDecoration textFieldDecoration(BuildContext context, String hintText) { contentPadding: const EdgeInsets.all(15), hintText: hintText, border: OutlineInputBorder( - borderRadius: const BorderRadius.all( - Radius.circular(14), - ), - borderSide: BorderSide( - color: Theme.of(context).colorScheme.secondary, - ), + borderRadius: const BorderRadius.all(Radius.circular(14)), + borderSide: BorderSide(color: Theme.of(context).colorScheme.secondary), ), focusedBorder: OutlineInputBorder( - borderRadius: const BorderRadius.all( - Radius.circular(14), - ), - borderSide: BorderSide( - color: Theme.of(context).colorScheme.secondary, - ), + borderRadius: const BorderRadius.all(Radius.circular(14)), + borderSide: BorderSide(color: Theme.of(context).colorScheme.secondary), ), ); } diff --git a/dynamic_theme/pubspec.yaml b/dynamic_theme/pubspec.yaml index 779eb5aa9..d3e29bfdf 100644 --- a/dynamic_theme/pubspec.yaml +++ b/dynamic_theme/pubspec.yaml @@ -3,7 +3,7 @@ description: "Sample app for the google_generative_ai package" publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/experimental/README.md b/experimental/README.md index bb7fb72c7..801e2042d 100644 --- a/experimental/README.md +++ b/experimental/README.md @@ -1,3 +1,12 @@ +# Deprecation warning + +The `experimental` directory will be retired with the release of Flutter 3.32, +tentatively scheduled for May 2025. At that time, remaining samples will be deleted. + + +--- + + # Master channel samples In this directory, you'll find samples that target Flutter's master channel. diff --git a/experimental/date_planner/.gitignore b/experimental/date_planner/.gitignore deleted file mode 100644 index 29a3a5017..000000000 --- a/experimental/date_planner/.gitignore +++ /dev/null @@ -1,43 +0,0 @@ -# Miscellaneous -*.class -*.log -*.pyc -*.swp -.DS_Store -.atom/ -.buildlog/ -.history -.svn/ -migrate_working_dir/ - -# IntelliJ related -*.iml -*.ipr -*.iws -.idea/ - -# The .vscode folder contains launch configuration and tasks you configure in -# VS Code which you may wish to be included in version control, so this line -# is commented out by default. -#.vscode/ - -# Flutter/Dart/Pub related -**/doc/api/ -**/ios/Flutter/.last_build_id -.dart_tool/ -.flutter-plugins -.flutter-plugins-dependencies -.pub-cache/ -.pub/ -/build/ - -# Symbolication related -app.*.symbols - -# Obfuscation related -app.*.map.json - -# Android Studio will place build artifacts here -/android/app/debug -/android/app/profile -/android/app/release diff --git a/experimental/date_planner/.metadata b/experimental/date_planner/.metadata deleted file mode 100644 index eeac26e64..000000000 --- a/experimental/date_planner/.metadata +++ /dev/null @@ -1,30 +0,0 @@ -# This file tracks properties of this Flutter project. -# Used by Flutter tool to assess capabilities and perform upgrades etc. -# -# This file should be version controlled and should not be manually edited. - -version: - revision: "80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819" - channel: "stable" - -project_type: app - -# Tracks metadata for the flutter migrate command -migration: - platforms: - - platform: root - create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - - platform: ios - create_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - base_revision: 80c2e84975bbd28ecf5f8d4bd4ca5a2490bfc819 - - # User provided section - - # List of Local paths (relative to this file) that should be - # ignored by the migrate tool. - # - # Files that are not part of the templates will be ignored by default. - unmanaged_files: - - 'lib/main.dart' - - 'ios/Runner.xcodeproj/project.pbxproj' diff --git a/experimental/date_planner/README.md b/experimental/date_planner/README.md index d28251c75..17e1f9a26 100644 --- a/experimental/date_planner/README.md +++ b/experimental/date_planner/README.md @@ -1,3 +1,4 @@ -An in-progress exploration of an iOS-style Date Planner app, -similar to the SwiftUI Tutorial app -[Date Planner](https://developer.apple.com/tutorials/sample-apps/dateplanner). +# Sample retired + +The date-planner app has been retired. For examples of iOS and +Cupertino-style applications, see the [rolodex][../rolodex/] app. \ No newline at end of file diff --git a/experimental/date_planner/analysis_options.yaml b/experimental/date_planner/analysis_options.yaml deleted file mode 100644 index 0d2902135..000000000 --- a/experimental/date_planner/analysis_options.yaml +++ /dev/null @@ -1,28 +0,0 @@ -# This file configures the analyzer, which statically analyzes Dart code to -# check for errors, warnings, and lints. -# -# The issues identified by the analyzer are surfaced in the UI of Dart-enabled -# IDEs (https://dart.dev/tools#ides-and-editors). The analyzer can also be -# invoked from the command line by running `flutter analyze`. - -# The following line activates a set of recommended lints for Flutter apps, -# packages, and plugins designed to encourage good coding practices. -include: package:flutter_lints/flutter.yaml - -linter: - # The lint rules applied to this project can be customized in the - # section below to disable rules from the `package:flutter_lints/flutter.yaml` - # included above or to enable additional rules. A list of all available lints - # and their documentation is published at https://dart.dev/lints. - # - # Instead of disabling a lint rule for the entire project in the - # section below, it can also be suppressed for a single line of code - # or a specific dart file by using the `// ignore: name_of_lint` and - # `// ignore_for_file: name_of_lint` syntax on the line or in the file - # producing the lint. - rules: - # avoid_print: false # Uncomment to disable the `avoid_print` rule - # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule - -# Additional information about this file can be found at -# https://dart.dev/guides/language/analysis-options diff --git a/experimental/date_planner/ios/Flutter/AppFrameworkInfo.plist b/experimental/date_planner/ios/Flutter/AppFrameworkInfo.plist deleted file mode 100644 index 7c5696400..000000000 --- a/experimental/date_planner/ios/Flutter/AppFrameworkInfo.plist +++ /dev/null @@ -1,26 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - App - CFBundleIdentifier - io.flutter.flutter.app - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - App - CFBundlePackageType - FMWK - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1.0 - MinimumOSVersion - 12.0 - - diff --git a/experimental/date_planner/ios/Flutter/Debug.xcconfig b/experimental/date_planner/ios/Flutter/Debug.xcconfig deleted file mode 100644 index 592ceee85..000000000 --- a/experimental/date_planner/ios/Flutter/Debug.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/experimental/date_planner/ios/Flutter/Release.xcconfig b/experimental/date_planner/ios/Flutter/Release.xcconfig deleted file mode 100644 index 592ceee85..000000000 --- a/experimental/date_planner/ios/Flutter/Release.xcconfig +++ /dev/null @@ -1 +0,0 @@ -#include "Generated.xcconfig" diff --git a/experimental/date_planner/ios/Runner.xcodeproj/project.pbxproj b/experimental/date_planner/ios/Runner.xcodeproj/project.pbxproj deleted file mode 100644 index a07b33e44..000000000 --- a/experimental/date_planner/ios/Runner.xcodeproj/project.pbxproj +++ /dev/null @@ -1,619 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 54; - objects = { - -/* Begin PBXBuildFile section */ - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */ = {isa = PBXBuildFile; fileRef = 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */; }; - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 331C807B294A618700263BE5 /* RunnerTests.swift */; }; - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */ = {isa = PBXBuildFile; fileRef = 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */; }; - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74858FAE1ED2DC5600515810 /* AppDelegate.swift */; }; - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FA1CF9000F007C117D /* Main.storyboard */; }; - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FD1CF9000F007C117D /* Assets.xcassets */; }; - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - 331C8085294A63A400263BE5 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = 97C146E61CF9000F007C117D /* Project object */; - proxyType = 1; - remoteGlobalIDString = 97C146ED1CF9000F007C117D; - remoteInfo = Runner; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXCopyFilesBuildPhase section */ - 9705A1C41CF9048500538489 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - -/* Begin PBXFileReference section */ - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = GeneratedPluginRegistrant.h; sourceTree = ""; }; - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = ""; }; - 331C807B294A618700263BE5 /* RunnerTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RunnerTests.swift; sourceTree = ""; }; - 331C8081294A63A400263BE5 /* RunnerTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = RunnerTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = ""; }; - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Runner-Bridging-Header.h"; sourceTree = ""; }; - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; name = Release.xcconfig; path = Flutter/Release.xcconfig; sourceTree = ""; }; - 9740EEB21CF90195004384FC /* Debug.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Debug.xcconfig; path = Flutter/Debug.xcconfig; sourceTree = ""; }; - 9740EEB31CF90195004384FC /* Generated.xcconfig */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xcconfig; name = Generated.xcconfig; path = Flutter/Generated.xcconfig; sourceTree = ""; }; - 97C146EE1CF9000F007C117D /* Runner.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Runner.app; sourceTree = BUILT_PRODUCTS_DIR; }; - 97C146FB1CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - 97C146FD1CF9000F007C117D /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; - 97C147001CF9000F007C117D /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; - 97C147021CF9000F007C117D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 97C146EB1CF9000F007C117D /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 331C8082294A63A400263BE5 /* RunnerTests */ = { - isa = PBXGroup; - children = ( - 331C807B294A618700263BE5 /* RunnerTests.swift */, - ); - path = RunnerTests; - sourceTree = ""; - }; - 9740EEB11CF90186004384FC /* Flutter */ = { - isa = PBXGroup; - children = ( - 3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */, - 9740EEB21CF90195004384FC /* Debug.xcconfig */, - 7AFA3C8E1D35360C0083082E /* Release.xcconfig */, - 9740EEB31CF90195004384FC /* Generated.xcconfig */, - ); - name = Flutter; - sourceTree = ""; - }; - 97C146E51CF9000F007C117D = { - isa = PBXGroup; - children = ( - 9740EEB11CF90186004384FC /* Flutter */, - 97C146F01CF9000F007C117D /* Runner */, - 97C146EF1CF9000F007C117D /* Products */, - 331C8082294A63A400263BE5 /* RunnerTests */, - ); - sourceTree = ""; - }; - 97C146EF1CF9000F007C117D /* Products */ = { - isa = PBXGroup; - children = ( - 97C146EE1CF9000F007C117D /* Runner.app */, - 331C8081294A63A400263BE5 /* RunnerTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - 97C146F01CF9000F007C117D /* Runner */ = { - isa = PBXGroup; - children = ( - 97C146FA1CF9000F007C117D /* Main.storyboard */, - 97C146FD1CF9000F007C117D /* Assets.xcassets */, - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */, - 97C147021CF9000F007C117D /* Info.plist */, - 1498D2321E8E86230040F4C2 /* GeneratedPluginRegistrant.h */, - 1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */, - 74858FAE1ED2DC5600515810 /* AppDelegate.swift */, - 74858FAD1ED2DC5600515810 /* Runner-Bridging-Header.h */, - ); - path = Runner; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXNativeTarget section */ - 331C8080294A63A400263BE5 /* RunnerTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */; - buildPhases = ( - 331C807D294A63A400263BE5 /* Sources */, - 331C807F294A63A400263BE5 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - 331C8086294A63A400263BE5 /* PBXTargetDependency */, - ); - name = RunnerTests; - productName = RunnerTests; - productReference = 331C8081294A63A400263BE5 /* RunnerTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; - 97C146ED1CF9000F007C117D /* Runner */ = { - isa = PBXNativeTarget; - buildConfigurationList = 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */; - buildPhases = ( - 9740EEB61CF901F6004384FC /* Run Script */, - 97C146EA1CF9000F007C117D /* Sources */, - 97C146EB1CF9000F007C117D /* Frameworks */, - 97C146EC1CF9000F007C117D /* Resources */, - 9705A1C41CF9048500538489 /* Embed Frameworks */, - 3B06AD1E1E4923F5004D2608 /* Thin Binary */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = Runner; - productName = Runner; - productReference = 97C146EE1CF9000F007C117D /* Runner.app */; - productType = "com.apple.product-type.application"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - 97C146E61CF9000F007C117D /* Project object */ = { - isa = PBXProject; - attributes = { - BuildIndependentTargetsInParallel = YES; - LastUpgradeCheck = 1510; - ORGANIZATIONNAME = ""; - TargetAttributes = { - 331C8080294A63A400263BE5 = { - CreatedOnToolsVersion = 14.0; - TestTargetID = 97C146ED1CF9000F007C117D; - }; - 97C146ED1CF9000F007C117D = { - CreatedOnToolsVersion = 7.3.1; - LastSwiftMigration = 1100; - }; - }; - }; - buildConfigurationList = 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */; - compatibilityVersion = "Xcode 9.3"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = 97C146E51CF9000F007C117D; - productRefGroup = 97C146EF1CF9000F007C117D /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 97C146ED1CF9000F007C117D /* Runner */, - 331C8080294A63A400263BE5 /* RunnerTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - 331C807F294A63A400263BE5 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EC1CF9000F007C117D /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 97C147011CF9000F007C117D /* LaunchScreen.storyboard in Resources */, - 3B3967161E833CAA004F5970 /* AppFrameworkInfo.plist in Resources */, - 97C146FE1CF9000F007C117D /* Assets.xcassets in Resources */, - 97C146FC1CF9000F007C117D /* Main.storyboard in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXShellScriptBuildPhase section */ - 3B06AD1E1E4923F5004D2608 /* Thin Binary */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - "${TARGET_BUILD_DIR}/${INFOPLIST_PATH}", - ); - name = "Thin Binary"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" embed_and_thin"; - }; - 9740EEB61CF901F6004384FC /* Run Script */ = { - isa = PBXShellScriptBuildPhase; - alwaysOutOfDate = 1; - buildActionMask = 2147483647; - files = ( - ); - inputPaths = ( - ); - name = "Run Script"; - outputPaths = ( - ); - runOnlyForDeploymentPostprocessing = 0; - shellPath = /bin/sh; - shellScript = "/bin/sh \"$FLUTTER_ROOT/packages/flutter_tools/bin/xcode_backend.sh\" build"; - }; -/* End PBXShellScriptBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 331C807D294A63A400263BE5 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 331C808B294A63AB00263BE5 /* RunnerTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 97C146EA1CF9000F007C117D /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 74858FAF1ED2DC5600515810 /* AppDelegate.swift in Sources */, - 1498D2341E8E89220040F4C2 /* GeneratedPluginRegistrant.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 331C8086294A63A400263BE5 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = 97C146ED1CF9000F007C117D /* Runner */; - targetProxy = 331C8085294A63A400263BE5 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin PBXVariantGroup section */ - 97C146FA1CF9000F007C117D /* Main.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C146FB1CF9000F007C117D /* Base */, - ); - name = Main.storyboard; - sourceTree = ""; - }; - 97C146FF1CF9000F007C117D /* LaunchScreen.storyboard */ = { - isa = PBXVariantGroup; - children = ( - 97C147001CF9000F007C117D /* Base */, - ); - name = LaunchScreen.storyboard; - sourceTree = ""; - }; -/* End PBXVariantGroup section */ - -/* Begin XCBuildConfiguration section */ - 249021D3217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Profile; - }; - 249021D4217E4FDB00AE95B9 /* Profile */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = GAD6HE5MEM; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.datePlanner; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Profile; - }; - 331C8088294A63A400263BE5 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.datePlanner.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Debug; - }; - 331C8089294A63A400263BE5 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.datePlanner.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Release; - }; - 331C808A294A63A400263BE5 /* Profile */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 1; - GENERATE_INFOPLIST_FILE = YES; - MARKETING_VERSION = 1.0; - PRODUCT_BUNDLE_IDENTIFIER = com.example.datePlanner.RunnerTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 5.0; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Runner.app/$(BUNDLE_EXECUTABLE_FOLDER_PATH)/Runner"; - }; - name = Profile; - }; - 97C147031CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = Debug; - }; - 97C147041CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 12.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SUPPORTED_PLATFORMS = iphoneos; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 97C147061CF9000F007C117D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9740EEB21CF90195004384FC /* Debug.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = GAD6HE5MEM; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.datePlanner; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Debug; - }; - 97C147071CF9000F007C117D /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 7AFA3C8E1D35360C0083082E /* Release.xcconfig */; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - CLANG_ENABLE_MODULES = YES; - CURRENT_PROJECT_VERSION = "$(FLUTTER_BUILD_NUMBER)"; - DEVELOPMENT_TEAM = GAD6HE5MEM; - ENABLE_BITCODE = NO; - INFOPLIST_FILE = Runner/Info.plist; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - PRODUCT_BUNDLE_IDENTIFIER = com.example.datePlanner; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h"; - SWIFT_VERSION = 5.0; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 331C8087294A63A400263BE5 /* Build configuration list for PBXNativeTarget "RunnerTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 331C8088294A63A400263BE5 /* Debug */, - 331C8089294A63A400263BE5 /* Release */, - 331C808A294A63A400263BE5 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C146E91CF9000F007C117D /* Build configuration list for PBXProject "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147031CF9000F007C117D /* Debug */, - 97C147041CF9000F007C117D /* Release */, - 249021D3217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 97C147051CF9000F007C117D /* Build configuration list for PBXNativeTarget "Runner" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 97C147061CF9000F007C117D /* Debug */, - 97C147071CF9000F007C117D /* Release */, - 249021D4217E4FDB00AE95B9 /* Profile */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = 97C146E61CF9000F007C117D /* Project object */; -} diff --git a/experimental/date_planner/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/experimental/date_planner/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme deleted file mode 100644 index 8e3ca5dfe..000000000 --- a/experimental/date_planner/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme +++ /dev/null @@ -1,98 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/date_planner/ios/Runner.xcworkspace/contents.xcworkspacedata b/experimental/date_planner/ios/Runner.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 1d526a16e..000000000 --- a/experimental/date_planner/ios/Runner.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/experimental/date_planner/ios/Runner/AppDelegate.swift b/experimental/date_planner/ios/Runner/AppDelegate.swift deleted file mode 100644 index 626664468..000000000 --- a/experimental/date_planner/ios/Runner/AppDelegate.swift +++ /dev/null @@ -1,13 +0,0 @@ -import Flutter -import UIKit - -@main -@objc class AppDelegate: FlutterAppDelegate { - override func application( - _ application: UIApplication, - didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]? - ) -> Bool { - GeneratedPluginRegistrant.register(with: self) - return super.application(application, didFinishLaunchingWithOptions: launchOptions) - } -} diff --git a/experimental/date_planner/ios/Runner/Info.plist b/experimental/date_planner/ios/Runner/Info.plist deleted file mode 100644 index c836cd5dd..000000000 --- a/experimental/date_planner/ios/Runner/Info.plist +++ /dev/null @@ -1,49 +0,0 @@ - - - - - CFBundleDevelopmentRegion - $(DEVELOPMENT_LANGUAGE) - CFBundleDisplayName - Date Planner - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - $(PRODUCT_BUNDLE_IDENTIFIER) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - date_planner - CFBundlePackageType - APPL - CFBundleShortVersionString - $(FLUTTER_BUILD_NAME) - CFBundleSignature - ???? - CFBundleVersion - $(FLUTTER_BUILD_NUMBER) - LSRequiresIPhoneOS - - UILaunchStoryboardName - LaunchScreen - UIMainStoryboardFile - Main - UISupportedInterfaceOrientations - - UIInterfaceOrientationPortrait - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - UISupportedInterfaceOrientations~ipad - - UIInterfaceOrientationPortrait - UIInterfaceOrientationPortraitUpsideDown - UIInterfaceOrientationLandscapeLeft - UIInterfaceOrientationLandscapeRight - - CADisableMinimumFrameDurationOnPhone - - UIApplicationSupportsIndirectInputEvents - - - diff --git a/experimental/date_planner/ios/RunnerTests/RunnerTests.swift b/experimental/date_planner/ios/RunnerTests/RunnerTests.swift deleted file mode 100644 index 86a7c3b1b..000000000 --- a/experimental/date_planner/ios/RunnerTests/RunnerTests.swift +++ /dev/null @@ -1,12 +0,0 @@ -import Flutter -import UIKit -import XCTest - -class RunnerTests: XCTestCase { - - func testExample() { - // If you add code to the Runner application, consider adding tests here. - // See https://developer.apple.com/documentation/xctest for more information about using XCTest. - } - -} diff --git a/experimental/date_planner/lib/color_options.dart b/experimental/date_planner/lib/color_options.dart deleted file mode 100644 index 9d13e5816..000000000 --- a/experimental/date_planner/lib/color_options.dart +++ /dev/null @@ -1,28 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:math'; - -import 'package:flutter/cupertino.dart'; - -enum ColorOptions { - primary(CupertinoColors.black), - gray(CupertinoColors.lightBackgroundGray), - red(CupertinoColors.systemRed), - orange(CupertinoColors.systemOrange), - yellow(CupertinoColors.systemYellow), - green(CupertinoColors.systemGreen), - mint(CupertinoColors.systemMint), - cyan(CupertinoColors.systemCyan), - indigo(CupertinoColors.systemIndigo), - purple(CupertinoColors.systemPurple); - - final Color color; - static final _rnd = Random(); - - const ColorOptions(this.color); - - factory ColorOptions.random() => - ColorOptions.values[_rnd.nextInt(ColorOptions.values.length)]; -} diff --git a/experimental/date_planner/lib/event.dart b/experimental/date_planner/lib/event.dart deleted file mode 100644 index 1e3b05d0f..000000000 --- a/experimental/date_planner/lib/event.dart +++ /dev/null @@ -1,80 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:intl/intl.dart'; -import 'package:uuid/uuid.dart'; - -import 'color_options.dart'; -import 'event_task.dart'; - -class Event implements Comparable { - static const _uuid = Uuid(); - - final id = _uuid.v4(); - String title; - ColorOptions color; - IconData icon; - List tasks; - DateTime date; - - Event({ - required this.title, - ColorOptions? color, - this.icon = CupertinoIcons.add, - List? tasks, - DateTime? date, - }) : color = color ?? ColorOptions.random(), - tasks = tasks ?? [EventTask(text: '')], - date = date ?? DateTime.now(); - - Event copy() { - return Event( - title: title, - color: color, - icon: icon, - tasks: tasks, - date: date, - ); - } - - updateWith(Event e) { - title = e.title; - color = e.color; - icon = e.icon; - tasks = e.tasks; - date = e.date; - } - - int get remainingTaskCount => tasks.where((e) => !e.isCompleted).length; - - bool get isComplete => remainingTaskCount == 0; - - bool get isPast => DateTime.now().isAfter(date); - - bool get isWithinSevenDays => !isPast && date.isBefore(FromNow.sevenDays); - - bool get isWithinSevenToThirtyDays => - !isPast && !isWithinSevenDays && date.isBefore(FromNow.thirtyDays); - - bool get isDistant => date.isAfter(FromNow.thirtyDays); - - String get dateFormated => '${DateFormat.yMMMd().format(date)} at ' - '${DateFormat.Hm().format(date)}'; - - @override - int compareTo(Event other) => date.compareTo(other.date); -} - -class FromNow { - static DateTime get sevenDays => DateTime.now().add(const Duration(days: 7)); - - static DateTime get thirtyDays => - DateTime.now().add(const Duration(days: 30)); - - static DateTime roundedHours(int hours) { - final date = DateTime.now().add(Duration(hours: hours)); - return DateTime(date.year, date.month, date.day, date.hour); - } -} diff --git a/experimental/date_planner/lib/event_data.dart b/experimental/date_planner/lib/event_data.dart deleted file mode 100644 index a3e16fa2c..000000000 --- a/experimental/date_planner/lib/event_data.dart +++ /dev/null @@ -1,162 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; - -import 'color_options.dart'; -import 'event.dart'; -import 'event_task.dart'; - -class EventData with ChangeNotifier { - static final _events = buildSampleData(); - - void add(Event event) { - _events.add(event); - notifyListeners(); - } - - void delete(Event event) { - _events.remove(event); - notifyListeners(); - } - - void update(Event original, Event updated) { - _events.firstWhere((e) => e.id == original.id).updateWith(updated); - notifyListeners(); - } - - void exists(Event event) => _events.contains(event); - - List sorted(Period period) => _events - .where( - (e) => switch (period) { - Period.nextSevenDays => e.isWithinSevenDays, - Period.nextThirtyDays => e.isWithinSevenToThirtyDays, - Period.past => e.isPast, - Period.future => e.isDistant, - }, - ) - .toList() - ..sort((e1, e2) => e1.date.compareTo(e2.date)); -} - -enum Period { - nextSevenDays(name: 'Next 7 Days'), - nextThirtyDays(name: 'Next 30 Days'), - future(name: 'Future'), - past(name: 'Past'); - - const Period({required this.name}); - - final String name; -} - -List buildSampleData() { - return [ - Event( - title: 'Maya\'s Birthday', - color: ColorOptions.red, - icon: CupertinoIcons.gift, - tasks: EventTask.buildList([ - 'Guava kombucha', - 'Paper cups and plates', - 'Cheese plate', - 'Party poppers', - ]), - date: FromNow.roundedHours(24 * 30), - ), - Event( - title: 'Pagliacci', - color: ColorOptions.yellow, - // TODO(mit-mit): Use the icon "theatermasks.fill". - icon: CupertinoIcons.thermometer_snowflake, - tasks: EventTask.buildList([ - 'Buy new tux', - 'Get tickets', - 'Pick up Carmen at the airport and bring her to the show', - ]), - date: FromNow.roundedHours(22), - ), - Event( - title: 'Doctor\'s Appointment', - // TODO(mit-mit): Use the icon "facemask.fill". - icon: CupertinoIcons.lab_flask_solid, - color: ColorOptions.indigo, - tasks: - EventTask.buildList(['Bring medical ID', 'Record heart rate data']), - date: FromNow.roundedHours(24 * 4), - ), - Event( - title: 'Camping Trip', - // TODO(mit-mit): Use the icon "leaf.fill". - icon: CupertinoIcons.leaf_arrow_circlepath, - color: ColorOptions.green, - tasks: EventTask.buildList([ - 'Find a sleeping bag', - 'Bug spray', - 'Paper towels', - 'Food for 4 meals', - 'Straw hat', - ]), - date: FromNow.roundedHours(36), - ), - Event( - title: 'Game Night', - icon: CupertinoIcons.gamecontroller_fill, - color: ColorOptions.cyan, - tasks: EventTask.buildList([ - 'Find a board game to bring', - 'Bring a desert to share', - ]), - date: FromNow.roundedHours(24 * 2), - ), - Event( - title: 'First Day of School', - // TODO(mit-mit): Use the icon "graduationcap.fill". - icon: CupertinoIcons.hammer, - color: ColorOptions.primary, - tasks: EventTask.buildList([ - 'Notebooks', - 'Pencils', - 'Binder', - 'First day of school outfit', - ]), - date: FromNow.roundedHours(24 * 365), - ), - Event( - title: 'Book Launch', - icon: CupertinoIcons.book_fill, - color: ColorOptions.purple, - tasks: EventTask.buildList([ - 'Finish first draft', - 'Send draft to editor', - 'Final read-through', - ]), - date: FromNow.roundedHours(24 * 365 * 2), - ), - Event( - title: 'WWDC', - // TODO(mit-mit): Use the icon "globe.americas.fill" - icon: CupertinoIcons.globe, - color: ColorOptions.gray, - tasks: EventTask.buildList([ - 'Watch Keynote', - 'Watch What\'s new in SwiftUI', - 'Go to DT developer labs', - 'Learn about Create ML', - ]), - date: DateTime(7, 6, 2021)), - Event( - title: 'Sayulita Trip', - icon: CupertinoIcons.briefcase_fill, - color: ColorOptions.orange, - tasks: EventTask.buildList([ - 'Buy plane tickets', - 'Get a new bathing suit', - 'Find a hotel room', - ]), - date: FromNow.roundedHours(24 * 19), - ), - ]; -} diff --git a/experimental/date_planner/lib/event_detail.dart b/experimental/date_planner/lib/event_detail.dart deleted file mode 100644 index af27df96f..000000000 --- a/experimental/date_planner/lib/event_detail.dart +++ /dev/null @@ -1,157 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; - -import 'color_options.dart'; -import 'event.dart'; -import 'event_task.dart'; -import 'symbol_editor.dart'; -import 'task_row.dart'; - -class EventDetail extends StatefulWidget { - final Event event; - final bool isEditing; - - const EventDetail({ - super.key, - required this.event, - required this.isEditing, - }); - - @override - State createState() => _EventDetailState(); -} - -class _EventDetailState extends State { - final _eventText = TextEditingController(); - - @override - void initState() { - _eventText.text = widget.event.title; - super.initState(); - } - - @override - Widget build(BuildContext context) { - const titleStyle = TextStyle(fontWeight: FontWeight.bold, fontSize: 22); - final event = widget.event; - - // TODO(mit-mit): Investigate manual overriding of colors and padding. - return Padding( - padding: const EdgeInsets.all(16), - child: Column( - children: [ - Container( - padding: const EdgeInsets.fromLTRB(16, 8, 0, 0), - color: CupertinoColors.systemBackground, - child: Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Row( - children: [ - if (widget.isEditing) - CupertinoButton( - padding: EdgeInsets.zero, - minSize: 0, - onPressed: () { - Navigator.of(context) - .push( - CupertinoPageRoute<(IconData, ColorOptions)?>( - builder: (_) => SymbolEditor( - event.icon, - event.color, - ), - ), - ) - .then( - ((IconData, ColorOptions)? data) { - if (data != null) { - setState(() { - var (icon, color) = data; - event.icon = icon; - event.color = color; - }); - } - }, - ); - }, - child: Icon( - event.icon, - size: 28, - color: event.color.color, - ), - ), - if (!widget.isEditing) - Icon( - event.icon, - size: 28, - color: event.color.color, - ), - const SizedBox(width: 12), - if (widget.isEditing) - Expanded( - child: CupertinoTextField( - decoration: null, - padding: EdgeInsets.zero, - style: titleStyle, - controller: _eventText, - onChanged: (value) => event.title = value, - ), - ), - if (!widget.isEditing) Text(event.title, style: titleStyle), - ], - ), - const SizedBox(height: 12), - // TODO(mit-mit): Use a widget for picking a date. - // Issue: Blocked on not having the right calendar widget: - // https://github.com/flutter/flutter/issues/63693 - Text(event.dateFormated), - CupertinoListSection( - // TODO(mit-mit): The list of tasks should be left-flush with the date above. - margin: EdgeInsets.zero, - backgroundColor: CupertinoColors.systemBackground, - decoration: null, - header: const Text( - 'Tasks', - style: TextStyle( - color: CupertinoColors.black, - fontWeight: FontWeight.bold, - fontSize: 16, - ), - ), - children: [ - for (EventTask t in event.tasks) - TaskRow( - task: t, - isEditing: widget.isEditing, - ), - if (widget.isEditing) - // TODO(mit-mit): CupertinoButton with icon support? - // Consider if CupertinoButton could support setting - // both a label and an icon directly: - // https://www.kodeco.com/books/swiftui-cookbook/v1.0/chapters/8-add-an-icon-to-a-button-in-swiftui - CupertinoButton( - child: const Row( - children: [ - Icon(CupertinoIcons.plus), - Text('Add task'), - ], - ), - onPressed: () { - setState(() { - event.tasks.add(EventTask(text: '')); - }); - }, - ), - ], - ), - ], - ), - ), - ], - ), - ); - } -} diff --git a/experimental/date_planner/lib/event_editor.dart b/experimental/date_planner/lib/event_editor.dart deleted file mode 100644 index 7b43da359..000000000 --- a/experimental/date_planner/lib/event_editor.dart +++ /dev/null @@ -1,117 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; - -import 'event.dart'; -import 'event_detail.dart'; - -class EventEditor extends StatefulWidget { - final Event event; - final bool isNew; - const EventEditor({ - super.key, - required this.event, - required this.isNew, - }); - - @override - State createState() => _EventEditorState(); -} - -class _EventEditorState extends State { - late Event event; - late bool isNew; - late bool isEditing; - - @override - void initState() { - isNew = widget.isNew; - isEditing = isNew; - event = widget.event; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return CupertinoPageScaffold( - backgroundColor: CupertinoColors.secondarySystemBackground, - navigationBar: CupertinoNavigationBar( - // TODO(mit-mit): Resolve manual padding issues. - // - // Note that even with the padding overriding below, the chevron/ - // back arrow doesn't seem to be far enough to the left. - // - // Is this maybe the issue here? - // https://github.com/flutter/flutter/issues/91715 - leading: isNew - ? CupertinoButton( - padding: EdgeInsets.zero, - child: const Text('Cancel'), - onPressed: () => Navigator.pop(context, null), - ) - : CupertinoButton( - padding: EdgeInsets.zero, - onPressed: () { - Navigator.pop(context, event); - }, - child: const Row( - children: [ - Icon(CupertinoIcons.back), - Text('Date Planner'), - ], - ), - ), - trailing: CupertinoButton( - padding: EdgeInsets.zero, - child: Text(isNew ? 'Add' : (isEditing ? 'Done' : 'Edit')), - onPressed: () { - if (isNew) { - Navigator.pop(context, event); - } else { - setState(() { - if (isEditing) { - isEditing = false; - } else { - isEditing = true; - } - }); - } - }, - ), - ), - // TODO(mit-mit): Why isn't SafeArea included by default? - child: SafeArea( - bottom: false, - child: Column( - crossAxisAlignment: CrossAxisAlignment.stretch, - children: [ - EventDetail( - event: event, - isEditing: isEditing, - ), - const Spacer(), - if (isEditing && !isNew) - ColoredBox( - color: CupertinoColors.white, - child: Column( - children: [ - CupertinoButton( - child: const Text('Delete Event'), - onPressed: () { - setState(() { - Navigator.pop(context, null); - }); - }, - ), - const SizedBox(height: 24), - ], - ), - ), - ], - ), - ), - ); - } -} diff --git a/experimental/date_planner/lib/event_list.dart b/experimental/date_planner/lib/event_list.dart deleted file mode 100644 index 5289138dd..000000000 --- a/experimental/date_planner/lib/event_list.dart +++ /dev/null @@ -1,99 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:provider/provider.dart'; - -import 'event.dart'; -import 'event_data.dart'; -import 'event_editor.dart'; -import 'event_row.dart'; - -class EventList extends StatelessWidget { - const EventList({super.key}); - - @override - Widget build(BuildContext context) { - return Consumer( - builder: (BuildContext context, EventData events, Widget? child) { - return CupertinoPageScaffold( - // TODO(mit-mit): Avoid having to pass nav bar manually. - // - // Would like to pass nav bar and body to CupertinoPageScaffold - // directly, similar to the Material Scaffold's `appBar` and `body` - // args. - // https://github.com/flutter/flutter/issues/149625 - child: CustomScrollView( - slivers: [ - CupertinoSliverNavigationBar( - largeTitle: const Text('Date Planner'), - trailing: CupertinoButton( - padding: EdgeInsets.zero, - child: const Icon(CupertinoIcons.plus), - onPressed: () async { - // Issue: Should go to a sheet, not a a full-screen page. - // Blocked on https://github.com/flutter/flutter/issues/42560. - Event? newEvent = await Navigator.of(context).push( - CupertinoPageRoute( - builder: (_) => EventEditor( - event: Event(title: 'New event'), - isNew: true, - ), - ), - ); - - if (newEvent != null) { - events.add(newEvent); - } - }, - ), - ), - SliverList.list( - children: [ - for (Period p in Period.values) - CupertinoListSection( - header: Text( - p.name.toUpperCase(), - style: const TextStyle( - fontWeight: FontWeight.bold, - fontSize: 16, - ), - ), - children: [ - for (Event e in events.sorted(p)) - // TODO: Support swipe action for deleting. - // Should probably use Dismissable? - // https://api.flutter.dev/flutter/widgets/Dismissible-class.html - EventRow( - event: e, - onTap: () async { - Event? updatedEvent = - await Navigator.of(context).push( - CupertinoPageRoute( - builder: (_) => EventEditor( - event: e.copy(), - isNew: false, - ), - ), - ); - if (updatedEvent == null) { - // The editor passes back null when it deleted - // the element. - events.delete(e); - } else { - events.update(e, updatedEvent); - } - }, - ) - ], - ), - ], - ), - ], - ), - ); - }, - ); - } -} diff --git a/experimental/date_planner/lib/event_row.dart b/experimental/date_planner/lib/event_row.dart deleted file mode 100644 index 4d7c45b88..000000000 --- a/experimental/date_planner/lib/event_row.dart +++ /dev/null @@ -1,52 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:async'; - -import 'package:flutter/cupertino.dart'; - -import 'event.dart'; - -class EventRow extends StatelessWidget { - const EventRow({ - super.key, - required this.event, - this.onTap, - }); - - final Event event; - final FutureOr Function()? onTap; - - @override - Widget build(BuildContext context) { - // TODO(mit-mit): The corners of the tiles should be rounded. - return Padding( - padding: const EdgeInsets.symmetric(vertical: 4), - child: CupertinoListTile( - title: Text( - event.title, - style: const TextStyle(fontWeight: FontWeight.bold), - ), - subtitle: Text(event.dateFormated), - leading: Icon( - event.icon, - size: 28, - color: event.color.color, - ), - trailing: Row( - children: [ - event.isComplete - ? const Icon(CupertinoIcons.check_mark) - : Text( - '${event.remainingTaskCount}', - style: const TextStyle(color: CupertinoColors.systemGrey), - ), - const CupertinoListTileChevron(), - ], - ), - onTap: onTap, - ), - ); - } -} diff --git a/experimental/date_planner/lib/event_symbol.dart b/experimental/date_planner/lib/event_symbol.dart deleted file mode 100644 index fa2187243..000000000 --- a/experimental/date_planner/lib/event_symbol.dart +++ /dev/null @@ -1,58 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; - -// TODO(mit-mit): Update when missing icons are added. -// https://github.com/flutter/flutter/issues/82634 -final eventSymbols = [ - CupertinoIcons.house_fill, - CupertinoIcons.ticket_fill, - CupertinoIcons.gamecontroller_fill, -//CupertinoIcons.theatermasks_fill, -//CupertinoIcons.ladybug_fill, -//CupertinoIcons.books.vertical_fill, -//CupertinoIcons.moon.zzz_fill, - CupertinoIcons.umbrella_fill, -//CupertinoIcons.paintbrush.pointed_fill, -//CupertinoIcons.leaf_fill, -//CupertinoIcons.globe.americas_fill, - CupertinoIcons.clock_fill, -//CupertinoIcons.building.2_fill, - CupertinoIcons.gift_fill, -//CupertinoIcons.graduationcap_fill, -//CupertinoIcons.heart.rectangle_fill, -//CupertinoIcons.phone.bubble.left_fill, -//CupertinoIcons.cloud.rain_fill, -//CupertinoIcons.building.columns_fill, -//CupertinoIcons.mic.circle_fill, -//CupertinoIcons.comb_fill, -//CupertinoIcons.person.3_fill, - CupertinoIcons.bell_fill, - CupertinoIcons.hammer_fill, - CupertinoIcons.star_fill, -//CupertinoIcons.crown_fill, - CupertinoIcons.briefcase_fill, -//CupertinoIcons.speaker.wave.3_fill, -//CupertinoIcons.tshirt_fill, - CupertinoIcons.tag_fill, - CupertinoIcons.airplane, -//CupertinoIcons.pawprint_fill, -//CupertinoIcons.case_fill, - CupertinoIcons.creditcard_fill, -//CupertinoIcons.infinity.circle_fill, -//CupertinoIcons.dice_fill, - CupertinoIcons.heart_fill, - CupertinoIcons.camera_fill, -//CupertinoIcons.bicycle, -//CupertinoIcons.radio_fill, - CupertinoIcons.car_fill, - CupertinoIcons.flag_fill, - CupertinoIcons.map_fill, -//CupertinoIcons.figure.wave, -//CupertinoIcons.mappin.and.ellipse, -//CupertinoIcons.facemask_fill, - CupertinoIcons.eyeglasses, - CupertinoIcons.tram_fill, -]; diff --git a/experimental/date_planner/lib/event_task.dart b/experimental/date_planner/lib/event_task.dart deleted file mode 100644 index d41e3f512..000000000 --- a/experimental/date_planner/lib/event_task.dart +++ /dev/null @@ -1,13 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -class EventTask { - String text; - bool isCompleted; - - EventTask({required this.text, this.isCompleted = false}); - - static List buildList(List taskDescriptions) => - [for (var task in taskDescriptions) EventTask(text: task)]; -} diff --git a/experimental/date_planner/lib/main.dart b/experimental/date_planner/lib/main.dart deleted file mode 100644 index 255bb20d9..000000000 --- a/experimental/date_planner/lib/main.dart +++ /dev/null @@ -1,35 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; -import 'package:provider/provider.dart'; - -import 'event_data.dart'; -import 'event_list.dart'; - -void main() { - runApp( - ChangeNotifierProvider( - create: (context) => EventData(), - child: const DatePlannerApp(), - ), - ); -} - -CupertinoThemeData cupertinoLight = const CupertinoThemeData( - brightness: Brightness.light, - primaryColor: CupertinoColors.activeBlue, -); - -class DatePlannerApp extends StatelessWidget { - const DatePlannerApp({super.key}); - - @override - Widget build(BuildContext context) { - return CupertinoApp( - home: const EventList(), - theme: cupertinoLight, - ); - } -} diff --git a/experimental/date_planner/lib/symbol_editor.dart b/experimental/date_planner/lib/symbol_editor.dart deleted file mode 100644 index fd19432be..000000000 --- a/experimental/date_planner/lib/symbol_editor.dart +++ /dev/null @@ -1,108 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; - -import 'color_options.dart'; -import 'event_symbol.dart'; - -class SymbolEditor extends StatefulWidget { - final IconData icon; - final ColorOptions color; - - const SymbolEditor(this.icon, this.color, {super.key}); - - @override - State createState() => _SymbolEditorState(); -} - -class _SymbolEditorState extends State { - late IconData _currentIcon = widget.icon; - late ColorOptions _currentColor = widget.color; - _SymbolEditorState(); - - @override - Widget build(BuildContext context) { - // TODO(mit-mit): Should use a Sheet - // https://github.com/flutter/flutter/issues/42560 - return CupertinoPageScaffold( - backgroundColor: CupertinoColors.white, - child: SafeArea( - child: Padding( - padding: const EdgeInsets.all(16), - child: Column( - children: [ - Row( - children: [ - const Spacer(), - CupertinoButton( - padding: EdgeInsets.zero, - child: const Text('Done'), - onPressed: () => - Navigator.pop(context, (_currentIcon, _currentColor)), - ), - ], - ), - const SizedBox(height: 16), - Icon( - _currentIcon, - size: 48, - color: _currentColor.color, - ), - const SizedBox(height: 32), - Row( - mainAxisAlignment: MainAxisAlignment.spaceEvenly, - children: [ - for (ColorOptions color in ColorOptions.values) - // TODO(mit-mit): Circles should be bigger and have less padding between them. - CupertinoButton( - padding: EdgeInsets.zero, - minSize: 0, - child: Icon( - CupertinoIcons.circle_fill, - color: color.color, - ), - onPressed: () { - setState(() { - _currentColor = color; - }); - }, - ), - ], - ), - const SizedBox(height: 16), - // TODO(mit-mit): File issue for missing Cupertino Divider widget. - // Should have something similar to the Material devider. - // https://api.flutter.dev/flutter/material/Divider-class.html - const Text('. . . . . . . . . . . . . . . '), - const SizedBox(height: 16), - Expanded( - child: GridView.count( - primary: false, - crossAxisCount: 6, - mainAxisSpacing: 10, - children: [ - for (var icon in eventSymbols) - CupertinoButton( - padding: EdgeInsets.zero, - child: Icon( - icon, - size: 32, - ), - onPressed: () { - setState(() { - _currentIcon = icon; - }); - }, - ) - ], - ), - ), - ], - ), - ), - ), - ); - } -} diff --git a/experimental/date_planner/lib/task_row.dart b/experimental/date_planner/lib/task_row.dart deleted file mode 100644 index 4c817ba07..000000000 --- a/experimental/date_planner/lib/task_row.dart +++ /dev/null @@ -1,59 +0,0 @@ -// Copyright 2024 The Flutter Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'package:flutter/cupertino.dart'; - -import 'event_task.dart'; - -class TaskRow extends StatefulWidget { - final EventTask task; - final bool isEditing; - const TaskRow({super.key, required this.task, required this.isEditing}); - - @override - State createState() => _TaskRowState(); -} - -class _TaskRowState extends State { - final _taskText = TextEditingController(); - - @override - void initState() { - _taskText.text = widget.task.text; - super.initState(); - } - - @override - Widget build(BuildContext context) { - return Row( - children: [ - CupertinoButton( - onPressed: widget.isEditing - ? () { - setState(() { - widget.task.isCompleted = !widget.task.isCompleted; - }); - } - : null, - child: Icon( - widget.task.isCompleted - ? CupertinoIcons.checkmark_circle_fill - : CupertinoIcons.circle, - color: CupertinoColors.black, - ), - ), - Expanded( - child: widget.isEditing - ? CupertinoTextField( - decoration: null, - padding: EdgeInsets.zero, - controller: _taskText, - onChanged: (value) => widget.task.text = value, - ) - : Text(widget.task.text), - ), - ], - ); - } -} diff --git a/experimental/date_planner/pubspec.yaml b/experimental/date_planner/pubspec.yaml deleted file mode 100644 index a5cb40798..000000000 --- a/experimental/date_planner/pubspec.yaml +++ /dev/null @@ -1,18 +0,0 @@ -name: date_planner -description: "An iOS-style date planner." -publish_to: 'none' # Remove this line if you wish to publish to pub.dev -version: 0.1.0 - -environment: - sdk: ^3.5.0 - -dependencies: - flutter: - sdk: flutter - cupertino_icons: ^1.0.8 - intl: - provider: - uuid: - -dev_dependencies: - flutter_lints: ^5.0.0 diff --git a/experimental/federated_plugin/federated_plugin/example/lib/main.dart b/experimental/federated_plugin/federated_plugin/example/lib/main.dart index 6d88f64e4..c17ad14cd 100644 --- a/experimental/federated_plugin/federated_plugin/example/lib/main.dart +++ b/experimental/federated_plugin/federated_plugin/example/lib/main.dart @@ -14,10 +14,7 @@ class MyApp extends StatelessWidget { @override Widget build(BuildContext context) { - return MaterialApp( - theme: ThemeData.light(), - home: const HomePage(), - ); + return MaterialApp(theme: ThemeData.light(), home: const HomePage()); } } @@ -36,9 +33,7 @@ class _HomePageState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Federated Plugin Demo'), - ), + appBar: AppBar(title: const Text('Federated Plugin Demo')), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, @@ -46,9 +41,9 @@ class _HomePageState extends State { batteryLevel == null ? const SizedBox.shrink() : Text( - 'Battery Level: $batteryLevel', - style: Theme.of(context).textTheme.headlineSmall, - ), + 'Battery Level: $batteryLevel', + style: Theme.of(context).textTheme.headlineSmall, + ), const SizedBox(height: 16), FilledButton( onPressed: () async { @@ -62,9 +57,7 @@ class _HomePageState extends State { ScaffoldMessenger.of(context).showSnackBar( SnackBar( backgroundColor: Theme.of(context).primaryColor, - content: Text( - (error as dynamic).message as String, - ), + content: Text((error as dynamic).message as String), ), ); } diff --git a/experimental/federated_plugin/federated_plugin/example/pubspec.yaml b/experimental/federated_plugin/federated_plugin/example/pubspec.yaml index d325a3070..03bea4d14 100644 --- a/experimental/federated_plugin/federated_plugin/example/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin/example/pubspec.yaml @@ -4,7 +4,7 @@ description: Demonstrates how to use the federated_plugin plugin. publish_to: 'none' # Remove this line if you wish to publish to pub.dev environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin/pubspec.yaml b/experimental/federated_plugin/federated_plugin/pubspec.yaml index 07e00e21a..b2685424c 100644 --- a/experimental/federated_plugin/federated_plugin/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin/pubspec.yaml @@ -5,7 +5,7 @@ version: 0.0.1 publish_to: "none" environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml b/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml index b20e7f764..8eaef2b72 100644 --- a/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_macos/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml b/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml index 769f96593..11bbb8658 100644 --- a/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_platform_interface/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/experimental/federated_plugin/federated_plugin_web/lib/federated_plugin_web.dart b/experimental/federated_plugin/federated_plugin_web/lib/federated_plugin_web.dart index f5563325c..da628a41c 100644 --- a/experimental/federated_plugin/federated_plugin_web/lib/federated_plugin_web.dart +++ b/experimental/federated_plugin/federated_plugin_web/lib/federated_plugin_web.dart @@ -2,11 +2,10 @@ // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -import 'dart:html' as html; - import 'package:federated_plugin_platform_interface/federated_plugin_platform_interface.dart'; import 'package:flutter/services.dart'; import 'package:flutter_web_plugins/flutter_web_plugins.dart'; +import 'package:web/web.dart' as html; /// Web Implementation of [FederatedPluginInterface] to retrieve current battery /// level of device. @@ -15,7 +14,7 @@ class FederatedPlugin extends FederatedPluginInterface { /// Constructor to override the navigator object for testing purpose. FederatedPlugin({html.Navigator? navigator}) - : _navigator = navigator ?? html.window.navigator; + : _navigator = navigator ?? html.window.navigator; /// Method to register the plugin which sets [FederatedPlugin] to be the default /// instance of [FederatedPluginInterface]. @@ -30,9 +29,9 @@ class FederatedPlugin extends FederatedPluginInterface { @override Future getBatteryLevel() async { try { - final battery = await _navigator.getBattery() as html.BatteryManager; + final battery = _navigator.getBattery() as html.BatteryManager; // The battery level retrieved is in range of 0.0 to 1.0. - return battery.level! * 100 as int; + return battery.level * 100 as int; } catch (error) { throw PlatformException( code: 'STATUS_UNAVAILABLE', diff --git a/experimental/federated_plugin/federated_plugin_web/pubspec.yaml b/experimental/federated_plugin/federated_plugin_web/pubspec.yaml index 7ae6b311f..42f574abc 100644 --- a/experimental/federated_plugin/federated_plugin_web/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_web/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: @@ -13,6 +13,7 @@ dependencies: sdk: flutter federated_plugin_platform_interface: path: ../federated_plugin_platform_interface + web: ^1.1.0 dev_dependencies: analysis_defaults: diff --git a/experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration.dart b/experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration.dart deleted file mode 100644 index 4fb99ba1d..000000000 --- a/experimental/federated_plugin/federated_plugin_web/test_driver/federated_plugin_web_integration.dart +++ /dev/null @@ -1,43 +0,0 @@ -// Copyright 2020 The Flutter team. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. - -import 'dart:html'; - -import 'package:federated_plugin_web/federated_plugin_web.dart'; -import 'package:flutter_test/flutter_test.dart'; -import 'package:integration_test/integration_test.dart'; -import 'package:mockito/mockito.dart'; - -const kBatteryLevel = 0.49; - -class NavigatorMock extends Mock implements Navigator {} - -class BatteryManagerMock extends Mock implements BatteryManager { - @override - num get level => kBatteryLevel; -} - -void main() { - IntegrationTestWidgetsFlutterBinding.ensureInitialized(); - - group('FederatedPlugin test', () { - final navigatorMock = NavigatorMock(); - - setUp(() { - when(navigatorMock.getBattery()) - .thenAnswer((realInvocation) async => BatteryManagerMock()); - }); - - testWidgets('getBatteryLevel Method', (tester) async { - final federatedPlugin = FederatedPlugin(navigator: navigatorMock); - final batteryLevel = await federatedPlugin.getBatteryLevel(); - - // Verify that getBattery was called. - verify(navigatorMock.getBattery()); - - // Verify the battery level. - expect(batteryLevel, kBatteryLevel * 100); - }); - }); -} diff --git a/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml b/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml index 2eb890f35..bc67592ea 100644 --- a/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml +++ b/experimental/federated_plugin/federated_plugin_windows/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 homepage: environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/experimental/pedometer/example/ios/.gitignore b/experimental/pedometer/example/ios/.gitignore deleted file mode 100644 index 7a7f9873a..000000000 --- a/experimental/pedometer/example/ios/.gitignore +++ /dev/null @@ -1,34 +0,0 @@ -**/dgph -*.mode1v3 -*.mode2v3 -*.moved-aside -*.pbxuser -*.perspectivev3 -**/*sync/ -.sconsign.dblite -.tags* -**/.vagrant/ -**/DerivedData/ -Icon? -**/Pods/ -**/.symlinks/ -profile -xcuserdata -**/.generated/ -Flutter/App.framework -Flutter/Flutter.framework -Flutter/Flutter.podspec -Flutter/Generated.xcconfig -Flutter/ephemeral/ -Flutter/app.flx -Flutter/app.zip -Flutter/flutter_assets/ -Flutter/flutter_export_environment.sh -ServiceDefinitions.json -Runner/GeneratedPluginRegistrant.* - -# Exceptions to above rules. -!default.mode1v3 -!default.mode2v3 -!default.pbxuser -!default.perspectivev3 diff --git a/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata deleted file mode 100644 index 919434a62..000000000 --- a/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ /dev/null @@ -1,7 +0,0 @@ - - - - - diff --git a/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003..000000000 --- a/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5e..000000000 --- a/experimental/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/experimental/pedometer/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/experimental/pedometer/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d981003..000000000 --- a/experimental/pedometer/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/experimental/pedometer/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/experimental/pedometer/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings deleted file mode 100644 index f9b0d7c5e..000000000 --- a/experimental/pedometer/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings +++ /dev/null @@ -1,8 +0,0 @@ - - - - - PreviewsEnabled - - - diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index d36b1fab2..000000000 --- a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,122 +0,0 @@ -{ - "images" : [ - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "20x20", - "idiom" : "iphone", - "filename" : "Icon-App-20x20@3x.png", - "scale" : "3x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "iphone", - "filename" : "Icon-App-29x29@3x.png", - "scale" : "3x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "iphone", - "filename" : "Icon-App-40x40@3x.png", - "scale" : "3x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@2x.png", - "scale" : "2x" - }, - { - "size" : "60x60", - "idiom" : "iphone", - "filename" : "Icon-App-60x60@3x.png", - "scale" : "3x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@1x.png", - "scale" : "1x" - }, - { - "size" : "20x20", - "idiom" : "ipad", - "filename" : "Icon-App-20x20@2x.png", - "scale" : "2x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@1x.png", - "scale" : "1x" - }, - { - "size" : "29x29", - "idiom" : "ipad", - "filename" : "Icon-App-29x29@2x.png", - "scale" : "2x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@1x.png", - "scale" : "1x" - }, - { - "size" : "40x40", - "idiom" : "ipad", - "filename" : "Icon-App-40x40@2x.png", - "scale" : "2x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@1x.png", - "scale" : "1x" - }, - { - "size" : "76x76", - "idiom" : "ipad", - "filename" : "Icon-App-76x76@2x.png", - "scale" : "2x" - }, - { - "size" : "83.5x83.5", - "idiom" : "ipad", - "filename" : "Icon-App-83.5x83.5@2x.png", - "scale" : "2x" - }, - { - "size" : "1024x1024", - "idiom" : "ios-marketing", - "filename" : "Icon-App-1024x1024@1x.png", - "scale" : "1x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png deleted file mode 100644 index dc9ada4725e9b0ddb1deab583e5b5102493aa332..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10932 zcmeHN2~<R zh`|8`A_PQ1nSu(UMFx?8j8PC!!VDphaL#`F42fd#7Vlc`zIE4n%Y~eiz4y1j|NDpi z?<@|pSJ-HM`qifhf@m%MamgwK83`XpBA<+azdF#2QsT{X@z0A9Bq>~TVErigKH1~P zRX-!h-f0NJ4Mh++{D}J+K>~~rq}d%o%+4dogzXp7RxX4C>Km5XEI|PAFDmo;DFm6G zzjVoB`@qW98Yl0Kvc-9w09^PrsobmG*Eju^=3f?0o-t$U)TL1B3;sZ^!++3&bGZ!o-*6w?;oOhf z=A+Qb$scV5!RbG+&2S}BQ6YH!FKb0``VVX~T$dzzeSZ$&9=X$3)_7Z{SspSYJ!lGE z7yig_41zpQ)%5dr4ff0rh$@ky3-JLRk&DK)NEIHecf9c*?Z1bUB4%pZjQ7hD!A0r-@NF(^WKdr(LXj|=UE7?gBYGgGQV zidf2`ZT@pzXf7}!NH4q(0IMcxsUGDih(0{kRSez&z?CFA0RVXsVFw3^u=^KMtt95q z43q$b*6#uQDLoiCAF_{RFc{!H^moH_cmll#Fc^KXi{9GDl{>%+3qyfOE5;Zq|6#Hb zp^#1G+z^AXfRKaa9HK;%b3Ux~U@q?xg<2DXP%6k!3E)PA<#4$ui8eDy5|9hA5&{?v z(-;*1%(1~-NTQ`Is1_MGdQ{+i*ccd96ab$R$T3=% zw_KuNF@vI!A>>Y_2pl9L{9h1-C6H8<)J4gKI6{WzGBi<@u3P6hNsXG=bRq5c+z;Gc3VUCe;LIIFDmQAGy+=mRyF++u=drBWV8-^>0yE9N&*05XHZpPlE zxu@?8(ZNy7rm?|<+UNe0Vs6&o?l`Pt>P&WaL~M&#Eh%`rg@Mbb)J&@DA-wheQ>hRV z<(XhigZAT z>=M;URcdCaiO3d^?H<^EiEMDV+7HsTiOhoaMX%P65E<(5xMPJKxf!0u>U~uVqnPN7T!X!o@_gs3Ct1 zlZ_$5QXP4{Aj645wG_SNT&6m|O6~Tsl$q?nK*)(`{J4b=(yb^nOATtF1_aS978$x3 zx>Q@s4i3~IT*+l{@dx~Hst21fR*+5}S1@cf>&8*uLw-0^zK(+OpW?cS-YG1QBZ5q! zgTAgivzoF#`cSz&HL>Ti!!v#?36I1*l^mkrx7Y|K6L#n!-~5=d3;K<;Zqi|gpNUn_ z_^GaQDEQ*jfzh;`j&KXb66fWEk1K7vxQIMQ_#Wu_%3 z4Oeb7FJ`8I>Px;^S?)}2+4D_83gHEq>8qSQY0PVP?o)zAv3K~;R$fnwTmI-=ZLK`= zTm+0h*e+Yfr(IlH3i7gUclNH^!MU>id$Jw>O?2i0Cila#v|twub21@e{S2v}8Z13( zNDrTXZVgris|qYm<0NU(tAPouG!QF4ZNpZPkX~{tVf8xY690JqY1NVdiTtW+NqyRP zZ&;T0ikb8V{wxmFhlLTQ&?OP7 z;(z*<+?J2~z*6asSe7h`$8~Se(@t(#%?BGLVs$p``;CyvcT?7Y!{tIPva$LxCQ&4W z6v#F*);|RXvI%qnoOY&i4S*EL&h%hP3O zLsrFZhv&Hu5tF$Lx!8(hs&?!Kx5&L(fdu}UI5d*wn~A`nPUhG&Rv z2#ixiJdhSF-K2tpVL=)5UkXRuPAFrEW}7mW=uAmtVQ&pGE-&az6@#-(Te^n*lrH^m@X-ftVcwO_#7{WI)5v(?>uC9GG{lcGXYJ~Q8q zbMFl7;t+kV;|;KkBW2!P_o%Czhw&Q(nXlxK9ak&6r5t_KH8#1Mr-*0}2h8R9XNkr zto5-b7P_auqTJb(TJlmJ9xreA=6d=d)CVbYP-r4$hDn5|TIhB>SReMfh&OVLkMk-T zYf%$taLF0OqYF?V{+6Xkn>iX@TuqQ?&cN6UjC9YF&%q{Ut3zv{U2)~$>-3;Dp)*(? zg*$mu8^i=-e#acaj*T$pNowo{xiGEk$%DusaQiS!KjJH96XZ-hXv+jk%ard#fu=@Q z$AM)YWvE^{%tDfK%nD49=PI|wYu}lYVbB#a7wtN^Nml@CE@{Gv7+jo{_V?I*jkdLD zJE|jfdrmVbkfS>rN*+`#l%ZUi5_bMS<>=MBDNlpiSb_tAF|Zy`K7kcp@|d?yaTmB^ zo?(vg;B$vxS|SszusORgDg-*Uitzdi{dUV+glA~R8V(?`3GZIl^egW{a919!j#>f` znL1o_^-b`}xnU0+~KIFLQ)$Q6#ym%)(GYC`^XM*{g zv3AM5$+TtDRs%`2TyR^$(hqE7Y1b&`Jd6dS6B#hDVbJlUXcG3y*439D8MrK!2D~6gn>UD4Imctb z+IvAt0iaW73Iq$K?4}H`7wq6YkTMm`tcktXgK0lKPmh=>h+l}Y+pDtvHnG>uqBA)l zAH6BV4F}v$(o$8Gfo*PB>IuaY1*^*`OTx4|hM8jZ?B6HY;F6p4{`OcZZ(us-RVwDx zUzJrCQlp@mz1ZFiSZ*$yX3c_#h9J;yBE$2g%xjmGF4ca z&yL`nGVs!Zxsh^j6i%$a*I3ZD2SoNT`{D%mU=LKaEwbN(_J5%i-6Va?@*>=3(dQy` zOv%$_9lcy9+(t>qohkuU4r_P=R^6ME+wFu&LA9tw9RA?azGhjrVJKy&8=*qZT5Dr8g--d+S8zAyJ$1HlW3Olryt`yE zFIph~Z6oF&o64rw{>lgZISC6p^CBer9C5G6yq%?8tC+)7*d+ib^?fU!JRFxynRLEZ zj;?PwtS}Ao#9whV@KEmwQgM0TVP{hs>dg(1*DiMUOKHdQGIqa0`yZnHk9mtbPfoLx zo;^V6pKUJ!5#n`w2D&381#5#_t}AlTGEgDz$^;u;-vxDN?^#5!zN9ngytY@oTv!nc zp1Xn8uR$1Z;7vY`-<*?DfPHB;x|GUi_fI9@I9SVRv1)qETbNU_8{5U|(>Du84qP#7 z*l9Y$SgA&wGbj>R1YeT9vYjZuC@|{rajTL0f%N@>3$DFU=`lSPl=Iv;EjuGjBa$Gw zHD-;%YOE@<-!7-Mn`0WuO3oWuL6tB2cpPw~Nvuj|KM@))ixuDK`9;jGMe2d)7gHin zS<>k@!x;!TJEc#HdL#RF(`|4W+H88d4V%zlh(7#{q2d0OQX9*FW^`^_<3r$kabWAB z$9BONo5}*(%kx zOXi-yM_cmB3>inPpI~)duvZykJ@^^aWzQ=eQ&STUa}2uT@lV&WoRzkUoE`rR0)`=l zFT%f|LA9fCw>`enm$p7W^E@U7RNBtsh{_-7vVz3DtB*y#*~(L9+x9*wn8VjWw|Q~q zKFsj1Yl>;}%MG3=PY`$g$_mnyhuV&~O~u~)968$0b2!Jkd;2MtAP#ZDYw9hmK_+M$ zb3pxyYC&|CuAbtiG8HZjj?MZJBFbt`ryf+c1dXFuC z0*ZQhBzNBd*}s6K_G}(|Z_9NDV162#y%WSNe|FTDDhx)K!c(mMJh@h87@8(^YdK$&d*^WQe8Z53 z(|@MRJ$Lk-&ii74MPIs80WsOFZ(NX23oR-?As+*aq6b?~62@fSVmM-_*cb1RzZ)`5$agEiL`-E9s7{GM2?(KNPgK1(+c*|-FKoy}X(D_b#etO|YR z(BGZ)0Ntfv-7R4GHoXp?l5g#*={S1{u-QzxCGng*oWr~@X-5f~RA14b8~B+pLKvr4 zfgL|7I>jlak9>D4=(i(cqYf7#318!OSR=^`xxvI!bBlS??`xxWeg?+|>MxaIdH1U~#1tHu zB{QMR?EGRmQ_l4p6YXJ{o(hh-7Tdm>TAX380TZZZyVkqHNzjUn*_|cb?T? zt;d2s-?B#Mc>T-gvBmQZx(y_cfkXZO~{N zT6rP7SD6g~n9QJ)8F*8uHxTLCAZ{l1Y&?6v)BOJZ)=R-pY=Y=&1}jE7fQ>USS}xP#exo57uND0i*rEk@$;nLvRB@u~s^dwRf?G?_enN@$t* zbL%JO=rV(3Ju8#GqUpeE3l_Wu1lN9Y{D4uaUe`g>zlj$1ER$6S6@{m1!~V|bYkhZA z%CvrDRTkHuajMU8;&RZ&itnC~iYLW4DVkP<$}>#&(`UO>!n)Po;Mt(SY8Yb`AS9lt znbX^i?Oe9r_o=?})IHKHoQGKXsps_SE{hwrg?6dMI|^+$CeC&z@*LuF+P`7LfZ*yr+KN8B4{Nzv<`A(wyR@!|gw{zB6Ha ziwPAYh)oJ(nlqSknu(8g9N&1hu0$vFK$W#mp%>X~AU1ay+EKWcFdif{% z#4!4aoVVJ;ULmkQf!ke2}3hqxLK>eq|-d7Ly7-J9zMpT`?dxo6HdfJA|t)?qPEVBDv z{y_b?4^|YA4%WW0VZd8C(ZgQzRI5(I^)=Ub`Y#MHc@nv0w-DaJAqsbEHDWG8Ia6ju zo-iyr*sq((gEwCC&^TYBWt4_@|81?=B-?#P6NMff(*^re zYqvDuO`K@`mjm_Jd;mW_tP`3$cS?R$jR1ZN09$YO%_iBqh5ftzSpMQQtxKFU=FYmP zeY^jph+g<4>YO;U^O>-NFLn~-RqlHvnZl2yd2A{Yc1G@Ga$d+Q&(f^tnPf+Z7serIU};17+2DU_f4Z z@GaPFut27d?!YiD+QP@)T=77cR9~MK@bd~pY%X(h%L={{OIb8IQmf-!xmZkm8A0Ga zQSWONI17_ru5wpHg3jI@i9D+_Y|pCqVuHJNdHUauTD=R$JcD2K_liQisqG$(sm=k9;L* z!L?*4B~ql7uioSX$zWJ?;q-SWXRFhz2Jt4%fOHA=Bwf|RzhwqdXGr78y$J)LR7&3T zE1WWz*>GPWKZ0%|@%6=fyx)5rzUpI;bCj>3RKzNG_1w$fIFCZ&UR0(7S?g}`&Pg$M zf`SLsz8wK82Vyj7;RyKmY{a8G{2BHG%w!^T|Njr!h9TO2LaP^_f22Q1=l$QiU84ao zHe_#{S6;qrC6w~7{y(hs-?-j?lbOfgH^E=XcSgnwW*eEz{_Z<_xN#0001NP)t-s|Ns9~ z#rXRE|M&d=0au&!`~QyF`q}dRnBDt}*!qXo`c{v z{Djr|@Adh0(D_%#_&mM$D6{kE_x{oE{l@J5@%H*?%=t~i_`ufYOPkAEn!pfkr2$fs z652Tz0001XNklqeeKN4RM4i{jKqmiC$?+xN>3Apn^ z0QfuZLym_5b<*QdmkHjHlj811{If)dl(Z2K0A+ekGtrFJb?g|wt#k#pV-#A~bK=OT ts8>{%cPtyC${m|1#B1A6#u!Q;umknL1chzTM$P~L002ovPDHLkV1lTfnu!1a diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png deleted file mode 100644 index 797d452e458972bab9d994556c8305db4c827017..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 406 zcmV;H0crk;P))>cdjpWt&rLJgVp-t?DREyuq1A%0Z4)6_WsQ7{nzjN zo!X zGXV)2i3kcZIL~_j>uIKPK_zib+3T+Nt3Mb&Br)s)UIaA}@p{wDda>7=Q|mGRp7pqY zkJ!7E{MNz$9nOwoVqpFb)}$IP24Wn2JJ=Cw(!`OXJBr45rP>>AQr$6c7slJWvbpNW z@KTwna6d?PP>hvXCcp=4F;=GR@R4E7{4VU^0p4F>v^#A|>07*qoM6N<$f*5nx ACIA2c diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png deleted file mode 100644 index 6ed2d933e1120817fe9182483a228007b18ab6ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 450 zcmV;z0X_bSP)iGWQ_5NJQ_~rNh*z)}eT%KUb z`7gNk0#AwF^#0T0?hIa^`~Ck;!}#m+_uT050aTR(J!bU#|IzRL%^UsMS#KsYnTF*!YeDOytlP4VhV?b} z%rz_<=#CPc)tU1MZTq~*2=8~iZ!lSa<{9b@2Jl;?IEV8)=fG217*|@)CCYgFze-x? zIFODUIA>nWKpE+bn~n7;-89sa>#DR>TSlqWk*!2hSN6D~Qb#VqbP~4Fk&m`@1$JGr zXPIdeRE&b2Thd#{MtDK$px*d3-Wx``>!oimf%|A-&-q*6KAH)e$3|6JV%HX{Hig)k suLT-RhftRq8b9;(V=235Wa|I=027H2wCDra;{X5v07*qoM6N<$f;9x^2LJ#7 diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png deleted file mode 100644 index 4cd7b0099ca80c806f8fe495613e8d6c69460d76..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 282 zcmV+#0p(^bcu7P-R4C8Q z&e;xxFbF_Vrezo%_kH*OKhshZ6BFpG-Y1e10`QXJKbND7AMQ&cMj60B5TNObaZxYybcN07*qoM6N<$g3m;S%K!iX diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png deleted file mode 100644 index fe730945a01f64a61e2235dbe3f45b08f7729182..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 462 zcmV;<0WtoGP)-}iV`2<;=$?g5M=KQbZ{F&YRNy7Nn@%_*5{gvDM0aKI4?ESmw z{NnZg)A0R`+4?NF_RZexyVB&^^ZvN!{I28tr{Vje;QNTz`dG&Jz0~Ek&f2;*Z7>B|cg}xYpxEFY+0YrKLF;^Q+-HreN0P{&i zK~zY`?b7ECf-n?@;d<&orQ*Q7KoR%4|C>{W^h6@&01>0SKS`dn{Q}GT%Qj_{PLZ_& zs`MFI#j-(>?bvdZ!8^xTwlY{qA)T4QLbY@j(!YJ7aXJervHy6HaG_2SB`6CC{He}f zHVw(fJWApwPq!6VY7r1w-Fs)@ox~N+q|w~e;JI~C4Vf^@d>Wvj=fl`^u9x9wd9 zR%3*Q+)t%S!MU_`id^@&Y{y7-r98lZX0?YrHlfmwb?#}^1b{8g&KzmkE(L>Z&)179 zp<)v6Y}pRl100G2FL_t(o!|l{-Q-VMg#&MKg7c{O0 z2wJImOS3Gy*Z2Qifdv~JYOp;v+U)a|nLoc7hNH;I$;lzDt$}rkaFw1mYK5_0Q(Sut zvbEloxON7$+HSOgC9Z8ltuC&0OSF!-mXv5caV>#bc3@hBPX@I$58-z}(ZZE!t-aOG zpjNkbau@>yEzH(5Yj4kZiMH32XI!4~gVXNnjAvRx;Sdg^`>2DpUEwoMhTs_st8pKG z(%SHyHdU&v%f36~uERh!bd`!T2dw;z6PrOTQ7Vt*#9F2uHlUVnb#ev_o^fh}Dzmq} zWtlk35}k=?xj28uO|5>>$yXadTUE@@IPpgH`gJ~Ro4>jd1IF|(+IX>8M4Ps{PNvmI zNj4D+XgN83gPt_Gm}`Ybv{;+&yu-C(Grdiahmo~BjG-l&mWM+{e5M1sm&=xduwgM9 z`8OEh`=F3r`^E{n_;%9weN{cf2%7=VzC@cYj+lg>+3|D|_1C@{hcU(DyQG_BvBWe? zvTv``=%b1zrol#=R`JB)>cdjpWt&rLJgVp-t?DREyuq1A%0Z4)6_WsQ7{nzjN zo!X zGXV)2i3kcZIL~_j>uIKPK_zib+3T+Nt3Mb&Br)s)UIaA}@p{wDda>7=Q|mGRp7pqY zkJ!7E{MNz$9nOwoVqpFb)}$IP24Wn2JJ=Cw(!`OXJBr45rP>>AQr$6c7slJWvbpNW z@KTwna6d?PP>hvXCcp=4F;=GR@R4E7{4VU^0p4F>v^#A|>07*qoM6N<$f*5nx ACIA2c diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png deleted file mode 100644 index 502f463a9bc882b461c96aadf492d1729e49e725..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 586 zcmV-Q0=4~#P)+}#`wDE{8-2Mebf5<{{PqV{TgVcv*r8?UZ3{-|G?_}T*&y;@cqf{ z{Q*~+qr%%p!1pS*_Uicl#q9lc(D`!D`LN62sNwq{oYw(Wmhk)k<@f$!$@ng~_5)Ru z0Z)trIA5^j{DIW^c+vT2%lW+2<(RtE2wR;4O@)Tm`Xr*?A(qYoM}7i5Yxw>D(&6ou zxz!_Xr~yNF+waPe00049Nkl*;a!v6h%{rlvIH#gW3s8p;bFr=l}mRqpW2h zw=OA%hdyL~z+UHOzl0eKhEr$YYOL-c-%Y<)=j?(bzDweB7{b+%_ypvm_cG{SvM=DK zhv{K@m>#Bw>2W$eUI#iU)Wdgs8Y3U+A$Gd&{+j)d)BmGKx+43U_!tik_YlN)>$7G! zhkE!s;%oku3;IwG3U^2kw?z+HM)jB{@zFhK8P#KMSytSthr+4!c(5c%+^UBn`0X*2 zy3(k600_CSZj?O$Qu%&$;|TGUJrptR(HzyIx>5E(2r{eA(<6t3e3I0B)7d6s7?Z5J zZ!rtKvA{MiEBm&KFtoifx>5P^Z=vl)95XJn()aS5%ad(s?4-=Tkis9IGu{`Fy8r+H07*qoM6N<$f20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png deleted file mode 100644 index 0ec303439225b78712f49115768196d8d76f6790..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 862 zcmV-k1EKthP)20Z)wqMt%V?S?~D#06};F zA3KcL`Wb+>5ObvgQIG&ig8(;V04hz?@cqy3{mSh8o!|U|)cI!1_+!fWH@o*8vh^CU z^ws0;(c$gI+2~q^tO#GDHf@=;DncUw00J^eL_t(&-tE|HQ`%4vfZ;WsBqu-$0nu1R zq^Vj;p$clf^?twn|KHO+IGt^q#a3X?w9dXC@*yxhv&l}F322(8Y1&=P&I}~G@#h6; z1CV9ecD9ZEe87{{NtI*)_aJ<`kJa z?5=RBtFF50s;jQLFil-`)m2wrb=6h(&brpj%nG_U&ut~$?8Rokzxi8zJoWr#2dto5 zOX_URcc<1`Iky+jc;A%Vzx}1QU{2$|cKPom2Vf1{8m`vja4{F>HS?^Nc^rp}xo+Nh zxd}eOm`fm3@MQC1< zIk&aCjb~Yh%5+Yq0`)D;q{#-Uqlv*o+Oor zE!I71Z@ASH3grl8&P^L0WpavHoP|UX4e?!igT`4?AZk$hu*@%6WJ;zDOGlw7kj@ zY5!B-0ft0f?Lgb>C;$Ke07*qoM6N<$f~t1N9smFU diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png deleted file mode 100644 index e9f5fea27c705180eb716271f41b582e76dcbd90..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1674 zcmV;526g#~P){YQnis^a@{&-nmRmq)<&%Mztj67_#M}W?l>kYSliK<%xAp;0j{!}J0!o7b zE>q9${Lb$D&h7k=+4=!ek^n+`0zq>LL1O?lVyea53S5x`Nqqo2YyeuIrQrJj9XjOp z{;T5qbj3}&1vg1VK~#9!?b~^C5-}JC@Pyrv-6dSEqJqT}#j9#dJ@GzT@B8}x zU&J@bBI>f6w6en+CeI)3^kC*U?}X%OD8$Fd$H&LV$H&LV$H&LV#|K5~mLYf|VqzOc zkc7qL~0sOYuM{tG`rYEDV{DWY`Z8&)kW*hc2VkBuY+^Yx&92j&StN}Wp=LD zxoGxXw6f&8sB^u})h@b@z0RBeD`K7RMR9deyL(ZJu#39Z>rT)^>v}Khq8U-IbIvT> z?4pV9qGj=2)TNH3d)=De<+^w;>S7m_eFKTvzeaBeir45xY!^m!FmxnljbSS_3o=g( z->^wC9%qkR{kbGnW8MfFew_o9h3(r55Is`L$8KI@d+*%{=Nx+FXJ98L0PjFIu;rGnnfY zn1R5Qnp<{Jq0M1vX=X&F8gtLmcWv$1*M@4ZfF^9``()#hGTeKeP`1!iED ztNE(TN}M5}3Bbc*d=FIv`DNv&@|C6yYj{sSqUj5oo$#*0$7pu|Dd2TLI>t5%I zIa4Dvr(iayb+5x=j*Vum9&irk)xV1`t509lnPO0%skL8_1c#Xbamh(2@f?4yUI zhhuT5<#8RJhGz4%b$`PJwKPAudsm|at?u;*hGgnA zU1;9gnxVBC)wA(BsB`AW54N{|qmikJR*%x0c`{LGsSfa|NK61pYH(r-UQ4_JXd!Rsz)=k zL{GMc5{h138)fF5CzHEDM>+FqY)$pdN3}Ml+riTgJOLN0F*Vh?{9ESR{SVVg>*>=# zix;VJHPtvFFCRY$Ks*F;VX~%*r9F)W`PmPE9F!(&s#x07n2<}?S{(ygpXgX-&B&OM zONY&BRQ(#%0%jeQs?oJ4P!p*R98>qCy5p8w>_gpuh39NcOlp)(wOoz0sY-Qz55eB~ z7OC-fKBaD1sE3$l-6QgBJO!n?QOTza`!S_YK z_v-lm^7{VO^8Q@M_^8F)09Ki6%=s?2_5eupee(w1FB%aqSweusQ-T+CH0Xt{` zFjMvW{@C&TB)k25()nh~_yJ9coBRL(0oO@HK~z}7?bm5j;y@69;bvlHb2tf!$ReA~x{22wTq550 z?f?Hnw(;m3ip30;QzdV~7pi!wyMYhDtXW#cO7T>|f=bdFhu+F!zMZ2UFj;GUKX7tI z;hv3{q~!*pMj75WP_c}>6)IWvg5_yyg<9Op()eD1hWC19M@?_9_MHec{Z8n3FaF{8 z;u`Mw0ly(uE>*CgQYv{be6ab2LWhlaH1^iLIM{olnag$78^Fd}%dR7;JECQ+hmk|o z!u2&!3MqPfP5ChDSkFSH8F2WVOEf0(E_M(JL17G}Y+fg0_IuW%WQ zG(mG&u?|->YSdk0;8rc{yw2@2Z&GA}z{Wb91Ooz9VhA{b2DYE7RmG zjL}?eq#iX%3#k;JWMx_{^2nNax`xPhByFiDX+a7uTGU|otOvIAUy|dEKkXOm-`aWS z27pUzD{a)Ct<6p{{3)+lq@i`t@%>-wT4r?*S}k)58e09WZYP0{{R3FC5Sl00039P)t-s|Ns9~ z#rP?<_5oL$Q^olD{r_0T`27C={r>*`|Nj71npVa5OTzc(_WfbW_({R{p56NV{r*M2 z_xt?)2V0#0NsfV0u>{42ctGP(8vQj-Btk1n|O0ZD=YLwd&R{Ko41Gr9H= zY@z@@bOAMB5Ltl$E>bJJ{>JP30ZxkmI%?eW{k`b?Wy<&gOo;dS`~CR$Vwb@XWtR|N zi~t=w02?-0&j0TD{>bb6sNwsK*!p?V`RMQUl(*DVjk-9Cx+-z1KXab|Ka2oXhX5f% z`$|e!000AhNklrxs)5QTeTVRiEmz~MKK1WAjCw(c-JK6eox;2O)?`? zTG`AHia671e^vgmp!llKp|=5sVHk#C7=~epA~VAf-~%aPC=%Qw01h8mnSZ|p?hz91 z7p83F3%LVu9;S$tSI$C^%^yud1dfTM_6p2|+5Ejp$bd`GDvbR|xit>i!ZD&F>@CJrPmu*UjD&?DfZs=$@e3FQA(vNiU+$A*%a} z?`XcG2jDxJ_ZQ#Md`H{4Lpf6QBDp81_KWZ6Tk#yCy1)32zO#3<7>b`eT7UyYH1eGz z;O(rH$=QR*L%%ZcBpc=eGua?N55nD^K(8<#gl2+pN_j~b2MHs4#mcLmv%DkspS-3< zpI1F=^9siI0s-;IN_IrA;5xm~3?3!StX}pUv0vkxMaqm+zxrg7X7(I&*N~&dEd0kD z-FRV|g=|QuUsuh>-xCI}vD2imzYIOIdcCVV=$Bz@*u0+Bs<|L^)32nN*=wu3n%Ynw z@1|eLG>!8ruU1pFXUfb`j>(=Gy~?Rn4QJ-c3%3T|(Frd!bI`9u&zAnyFYTqlG#&J7 zAkD(jpw|oZLNiA>;>hgp1KX7-wxC~31II47gc zHcehD6Uxlf%+M^^uN5Wc*G%^;>D5qT{>=uxUhX%WJu^Z*(_Wq9y}npFO{Hhb>s6<9 zNi0pHXWFaVZnb)1+RS&F)xOv6&aeILcI)`k#0YE+?e)5&#r7J#c`3Z7x!LpTc01dx zrdC3{Z;joZ^KN&))zB_i)I9fWedoN>Zl-6_Iz+^G&*ak2jpF07*qoM6N<$f;w%0(f|Me diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png deleted file mode 100644 index 0467bf12aa4d28f374bb26596605a46dcbb3e7c8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1418 zcmV;51$Fv~P)q zKfU)WzW*n(@|xWGCA9ScMt*e9`2kdxPQ&&>|-UCa7_51w+ zLUsW@ZzZSW0y$)Hp~e9%PvP|a03ks1`~K?q{u;6NC8*{AOqIUq{CL&;p56Lf$oQGq z^={4hPQv)y=I|4n+?>7Fim=dxt1 z2H+Dm+1+fh+IF>G0SjJMkQQre1x4|G*Z==(Ot&kCnUrL4I(rf(ucITwmuHf^hXiJT zkdTm&kdTm&kdTm&kdP`esgWG0BcWCVkVZ&2dUwN`cgM8QJb`Z7Z~e<&Yj2(}>Tmf` zm1{eLgw!b{bXkjWbF%dTkTZEJWyWOb##Lfw4EK2}<0d6%>AGS{po>WCOy&f$Tay_> z?NBlkpo@s-O;0V%Y_Xa-G#_O08q5LR*~F%&)}{}r&L%Sbs8AS4t7Y0NEx*{soY=0MZExqA5XHQkqi#4gW3 zqODM^iyZl;dvf)-bOXtOru(s)Uc7~BFx{w-FK;2{`VA?(g&@3z&bfLFyctOH!cVsF z7IL=fo-qBndRUm;kAdXR4e6>k-z|21AaN%ubeVrHl*<|s&Ax@W-t?LR(P-24A5=>a z*R9#QvjzF8n%@1Nw@?CG@6(%>+-0ASK~jEmCV|&a*7-GKT72W<(TbSjf)&Eme6nGE z>Gkj4Sq&2e+-G%|+NM8OOm5zVl9{Z8Dd8A5z3y8mZ=4Bv4%>as_{9cN#bm~;h>62( zdqY93Zy}v&c4n($Vv!UybR8ocs7#zbfX1IY-*w~)p}XyZ-SFC~4w>BvMVr`dFbelV{lLL0bx7@*ZZdebr3`sP;? zVImji)kG)(6Juv0lz@q`F!k1FE;CQ(D0iG$wchPbKZQELlsZ#~rt8#90Y_Xh&3U-< z{s<&cCV_1`^TD^ia9!*mQDq& zn2{r`j};V|uV%_wsP!zB?m%;FeaRe+X47K0e+KE!8C{gAWF8)lCd1u1%~|M!XNRvw zvtqy3iz0WSpWdhn6$hP8PaRBmp)q`#PCA`Vd#Tc$@f1tAcM>f_I@bC)hkI9|o(Iqv zo}Piadq!j76}004RBio<`)70k^`K1NK)q>w?p^C6J2ZC!+UppiK6&y3Kmbv&O!oYF z34$0Z;QO!JOY#!`qyGH<3Pd}Pt@q*A0V=3SVtWKRR8d8Z&@)3qLPA19LPA19LPEUC YUoZo%k(ykuW&i*H07*qoM6N<$f+CH{y8r+H diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json deleted file mode 100644 index 0bedcf2fd..000000000 --- a/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "images" : [ - { - "idiom" : "universal", - "filename" : "LaunchImage.png", - "scale" : "1x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@2x.png", - "scale" : "2x" - }, - { - "idiom" : "universal", - "filename" : "LaunchImage@3x.png", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png deleted file mode 100644 index 9da19eacad3b03bb08bbddbbf4ac48dd78b3d838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 68 zcmeAS@N?(olHy`uVBq!ia0vp^j3CUx0wlM}@Gt=>Zci7-kcv6Uzs@r-FtIZ-&5|)J Q1PU{Fy85}Sb4q9e0B4a5jsO4v diff --git a/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md deleted file mode 100644 index 89c2725b7..000000000 --- a/experimental/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# Launch Screen Assets - -You can customize the launch screen with your own desired assets by replacing the image files in this directory. - -You can also do it by opening your Flutter project's Xcode project with `open ios/Runner.xcworkspace`, selecting `Runner/Assets.xcassets` in the Project Navigator and dropping in the desired images. \ No newline at end of file diff --git a/experimental/pedometer/example/ios/Runner/Base.lproj/LaunchScreen.storyboard b/experimental/pedometer/example/ios/Runner/Base.lproj/LaunchScreen.storyboard deleted file mode 100644 index f2e259c7c..000000000 --- a/experimental/pedometer/example/ios/Runner/Base.lproj/LaunchScreen.storyboard +++ /dev/null @@ -1,37 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/pedometer/example/ios/Runner/Base.lproj/Main.storyboard b/experimental/pedometer/example/ios/Runner/Base.lproj/Main.storyboard deleted file mode 100644 index f3c28516f..000000000 --- a/experimental/pedometer/example/ios/Runner/Base.lproj/Main.storyboard +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/experimental/pedometer/example/ios/Runner/Runner-Bridging-Header.h b/experimental/pedometer/example/ios/Runner/Runner-Bridging-Header.h deleted file mode 100644 index 308a2a560..000000000 --- a/experimental/pedometer/example/ios/Runner/Runner-Bridging-Header.h +++ /dev/null @@ -1 +0,0 @@ -#import "GeneratedPluginRegistrant.h" diff --git a/experimental/pedometer/example/lib/main.dart b/experimental/pedometer/example/lib/main.dart deleted file mode 100644 index a9cd3a7a4..000000000 --- a/experimental/pedometer/example/lib/main.dart +++ /dev/null @@ -1,208 +0,0 @@ -import 'package:fl_chart/fl_chart.dart'; -import 'package:flutter/material.dart'; -import 'package:intl/intl.dart'; - -import 'steps_repo.dart'; - -void main() { - runApp(const MyApp()); -} - -class MyApp extends StatelessWidget { - const MyApp({super.key}); - - @override - Widget build(BuildContext context) { - return MaterialApp( - title: 'Flutter Demo', - theme: ThemeData( - primarySwatch: Colors.blue, - ), - home: const Home(), - ); - } -} - -class RoundClipper extends CustomClipper { - @override - Path getClip(Size size) { - final diameter = size.shortestSide * 1.5; - final x = -(diameter - size.width) / 2; - final y = size.height - diameter; - final rect = Offset(x, y) & Size(diameter, diameter); - return Path()..addOval(rect); - } - - @override - bool shouldReclip(CustomClipper oldClipper) { - return false; - } -} - -class Home extends StatefulWidget { - const Home({super.key}); - - @override - State createState() => _HomeState(); -} - -class _HomeState extends State { - var hourlySteps = []; - DateTime? lastUpdated; - - @override - void initState() { - runPedometer(); - super.initState(); - } - - void runPedometer() async { - final now = DateTime.now(); - hourlySteps = await StepsRepo.instance.getSteps(); - lastUpdated = now; - setState(() {}); - } - - @override - Widget build(BuildContext context) { - final textTheme = Theme.of(context).textTheme; - - final barGroups = hourlySteps - .map( - (e) => BarChartGroupData( - x: int.parse(e.startHour), - barRods: [ - BarChartRodData( - color: Colors.blue[900], - toY: e.steps.toDouble() / 100, - ) - ], - ), - ) - .toList(); - - return Scaffold( - body: Stack( - children: [ - ClipPath( - clipper: RoundClipper(), - child: FractionallySizedBox( - heightFactor: 0.55, - widthFactor: 1, - child: Container(color: Colors.blue[300]), - ), - ), - Align( - alignment: Alignment.topCenter, - child: Padding( - padding: const EdgeInsets.all(80.0), - child: Column( - children: [ - lastUpdated != null - ? Padding( - padding: const EdgeInsets.symmetric(vertical: 50.0), - child: Text( - DateFormat.yMMMMd('en_US').format(lastUpdated!), - style: textTheme.titleLarge! - .copyWith(color: Colors.blue[900]), - ), - ) - : const SizedBox(height: 0), - Text( - hourlySteps.fold(0, (t, e) => t + e.steps).toString(), - style: textTheme.displayMedium!.copyWith(color: Colors.white), - ), - Text( - 'steps', - style: textTheme.titleLarge!.copyWith(color: Colors.white), - ) - ], - ), - ), - ), - Align( - alignment: Alignment.centerRight, - child: GestureDetector( - onTap: runPedometer, - child: Padding( - padding: const EdgeInsets.all(20.0), - child: Container( - decoration: BoxDecoration( - color: Colors.blue[900], - shape: BoxShape.circle, - ), - child: const Padding( - padding: EdgeInsets.all(8.0), - child: Icon( - Icons.refresh, - color: Colors.white, - size: 50, - ), - ), - ), - ), - ), - ), - Align( - alignment: Alignment.bottomCenter, - child: Padding( - padding: - const EdgeInsets.symmetric(horizontal: 30.0, vertical: 50.0), - child: AspectRatio( - aspectRatio: 1.2, - child: BarChart( - BarChartData( - titlesData: const FlTitlesData( - show: true, - // Top titles are null - topTitles: - AxisTitles(sideTitles: SideTitles(showTitles: false)), - rightTitles: - AxisTitles(sideTitles: SideTitles(showTitles: false)), - leftTitles: AxisTitles( - sideTitles: SideTitles( - showTitles: false, - ), - ), - bottomTitles: AxisTitles( - sideTitles: SideTitles( - showTitles: true, - reservedSize: 30, - getTitlesWidget: getBottomTitles, - ), - ), - ), - borderData: FlBorderData( - show: false, - ), - barGroups: barGroups, - gridData: const FlGridData(show: false), - alignment: BarChartAlignment.spaceAround, - ), - ), - ), - ), - ), - ], - )); - } -} - -// Axis labels for bottom of chart. -Widget getBottomTitles(double value, TitleMeta meta) { - final timeText = switch (value.toInt()) { - 0 => '12AM', - 6 => '6AM', - 12 => '12PM', - 18 => '6PM', - _ => '' - }; - return SideTitleWidget( - space: 4, - meta: meta, - child: Text( - timeText, - style: TextStyle(fontSize: 14, color: Colors.blue[900]), - ), - ); -} diff --git a/experimental/varfont_shader_puzzle/lib/components/fragment_shaded.dart b/experimental/varfont_shader_puzzle/lib/components/fragment_shaded.dart index e320b5f7d..80b74aa4c 100644 --- a/experimental/varfont_shader_puzzle/lib/components/fragment_shaded.dart +++ b/experimental/varfont_shader_puzzle/lib/components/fragment_shaded.dart @@ -63,8 +63,10 @@ class FragmentShadedState extends State parent: _dampenController, curve: Curves.easeInOut, ); - _dampenAnimation = - Tween(begin: 1.0, end: 0.0).animate(_dampenCurve); + _dampenAnimation = Tween( + begin: 1.0, + end: 0.0, + ).animate(_dampenCurve); initializeFragmentProgramsAndBuilder(); } @@ -76,8 +78,11 @@ class FragmentShadedState extends State } setState(() { - builder = AnimatingSamplerBuilder(_controller, _dampenAnimation, - FragmentShaded._programCache[widget.shader]!.fragmentShader()); + builder = AnimatingSamplerBuilder( + _controller, + _dampenAnimation, + FragmentShaded._programCache[widget.shader]!.fragmentShader(), + ); }); } @@ -92,17 +97,11 @@ class FragmentShadedState extends State Widget build(BuildContext context) { if (null == FragmentShaded._programCache[widget.shader]) { setState(() {}); - return const SizedBox( - width: 0, - height: 0, - ); + return const SizedBox(width: 0, height: 0); } return Transform.scale( scale: 0.5, - child: ShaderSamplerBuilder( - builder, - child: widget.child, - ), + child: ShaderSamplerBuilder(builder, child: widget.child), ); } @@ -113,7 +112,10 @@ class FragmentShadedState extends State class AnimatingSamplerBuilder extends SamplerBuilder { AnimatingSamplerBuilder( - this.animation, this.dampenAnimation, this.fragmentShader) { + this.animation, + this.dampenAnimation, + this.fragmentShader, + ) { animation.addListener(notifyListeners); dampenAnimation.addListener(notifyListeners); } @@ -152,11 +154,7 @@ class ShaderSamplerBuilder extends StatelessWidget { @override Widget build(BuildContext context) { - return RepaintBoundary( - child: _ShaderSamplerImpl( - builder, - child: child, - )); + return RepaintBoundary(child: _ShaderSamplerImpl(builder, child: child)); } } @@ -175,7 +173,9 @@ class _ShaderSamplerImpl extends SingleChildRenderObjectWidget { @override void updateRenderObject( - BuildContext context, covariant RenderObject renderObject) { + BuildContext context, + covariant RenderObject renderObject, + ) { (renderObject as _RenderShaderSamplerBuilderWidget) ..devicePixelRatio = MediaQuery.of(context).devicePixelRatio ..builder = builder; @@ -189,8 +189,8 @@ class _RenderShaderSamplerBuilderWidget extends RenderProxyBox { _RenderShaderSamplerBuilderWidget({ required double devicePixelRatio, required SamplerBuilder builder, - }) : _devicePixelRatio = devicePixelRatio, - _builder = builder; + }) : _devicePixelRatio = devicePixelRatio, + _builder = builder; /// The device pixel ratio used to create the child image. double get devicePixelRatio => _devicePixelRatio; @@ -250,16 +250,20 @@ class _RenderShaderSamplerBuilderWidget extends RenderProxyBox { // children from this layer. ui.Image? _paintAndDetachToImage() { final OffsetLayer offsetLayer = OffsetLayer(); - final PaintingContext context = - PaintingContext(offsetLayer, Offset.zero & size); + final PaintingContext context = PaintingContext( + offsetLayer, + Offset.zero & size, + ); super.paint(context, Offset.zero); // This ignore is here because this method is protected by the `PaintingContext`. Adding a new // method that performs the work of `_paintAndDetachToImage` would avoid the need for this, but // that would conflict with our goals of minimizing painting context. // ignore: invalid_use_of_protected_member context.stopRecordingIfNeeded(); - final ui.Image image = offsetLayer.toImageSync(Offset.zero & size, - pixelRatio: devicePixelRatio); + final ui.Image image = offsetLayer.toImageSync( + Offset.zero & size, + pixelRatio: devicePixelRatio, + ); offsetLayer.dispose(); return image; } diff --git a/experimental/varfont_shader_puzzle/lib/components/lightboxed_panel.dart b/experimental/varfont_shader_puzzle/lib/components/lightboxed_panel.dart index f02b5845d..2e99e93a0 100644 --- a/experimental/varfont_shader_puzzle/lib/components/lightboxed_panel.dart +++ b/experimental/varfont_shader_puzzle/lib/components/lightboxed_panel.dart @@ -73,16 +73,16 @@ class _LightboxedPanelState extends State { return [ Column( children: [ - const SizedBox( - height: 8, - ), + const SizedBox(height: 8), TextButton( onPressed: handleDismiss, style: ButtonStyles.style(), child: Text( 'OK', - style: TextStyles.bodyStyle() - .copyWith(color: Colors.white, height: 1.2), + style: TextStyles.bodyStyle().copyWith( + color: Colors.white, + height: 1.2, + ), ), ), ], @@ -111,10 +111,11 @@ class _LightboxedPanelState extends State { ), boxShadow: const [ BoxShadow( - color: Color.fromARGB(30, 0, 0, 0), - offset: Offset.zero, - blurRadius: 4.0, - spreadRadius: 2.0), + color: Color.fromARGB(30, 0, 0, 0), + offset: Offset.zero, + blurRadius: 4.0, + spreadRadius: 2.0, + ), ], borderRadius: const BorderRadius.all(Radius.circular(10.0)), ), @@ -123,7 +124,8 @@ class _LightboxedPanelState extends State { child: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.stretch, - children: widget.content + + children: + widget.content + (widget.buildButton ? buttonComponents() : []), ), ), @@ -133,9 +135,6 @@ class _LightboxedPanelState extends State { ), ); } - return const SizedBox( - width: 0, - height: 0, - ); + return const SizedBox(width: 0, height: 0); } } diff --git a/experimental/varfont_shader_puzzle/lib/components/rotator_puzzle.dart b/experimental/varfont_shader_puzzle/lib/components/rotator_puzzle.dart index 15a1377f2..f84ad4a71 100644 --- a/experimental/varfont_shader_puzzle/lib/components/rotator_puzzle.dart +++ b/experimental/varfont_shader_puzzle/lib/components/rotator_puzzle.dart @@ -55,17 +55,14 @@ class RotatorPuzzleState extends State ); late final CurvedAnimation animationCurve = CurvedAnimation( parent: animationController, - curve: const Interval( - 0.2, - 0.45, - curve: Curves.easeOut, - ), + curve: const Interval(0.2, 0.45, curve: Curves.easeOut), ); - late Animation opacAnimation = - Tween(begin: 0.4, end: 1.0).animate(animationCurve) - ..addListener(() { - setState(() {}); - }); + late Animation opacAnimation = Tween( + begin: 0.4, + end: 1.0, + ).animate(animationCurve)..addListener(() { + setState(() {}); + }); List> tileKeys = []; GlobalKey shadedWidgetStackHackStateKey = GlobalKey(); @@ -129,14 +126,16 @@ class RotatorPuzzleState extends State } if (status == AnimationStatus.completed) { Future.delayed( - const Duration(milliseconds: FragmentShaded.dampenDuration + 250), - () { - widget.pageConfig.pageController.nextPage( - duration: - const Duration(milliseconds: PagesFlow.pageScrollDuration), - curve: Curves.easeOut, - ); - }); + const Duration(milliseconds: FragmentShaded.dampenDuration + 250), + () { + widget.pageConfig.pageController.nextPage( + duration: const Duration( + milliseconds: PagesFlow.pageScrollDuration, + ), + curve: Curves.easeOut, + ); + }, + ); } }); animationController.forward(); @@ -201,7 +200,8 @@ class RotatorPuzzleState extends State child: Opacity( opacity: opacAnimation.value, child: Stack( - children: [ + children: + [ Positioned( left: -9999, top: -9999, @@ -287,9 +287,7 @@ class RotatorPuzzleTileState extends State Duration touchedOpacDur = const Duration(milliseconds: 50); late final AnimationController animationController = AnimationController( vsync: this, - duration: const Duration( - milliseconds: 100, - ), + duration: const Duration(milliseconds: 100), ); late final CurvedAnimation animationCurve = CurvedAnimation( parent: animationController, @@ -317,9 +315,12 @@ class RotatorPuzzleTileState extends State } }); // end hack ------------------------------ - List coords = - widget.parentState.tileCoords(row: widget.row, col: widget.col); - double zeroPoint = widget.parentState.widget.pageConfig.puzzleSize * .5 - + List coords = widget.parentState.tileCoords( + row: widget.row, + col: widget.col, + ); + double zeroPoint = + widget.parentState.widget.pageConfig.puzzleSize * .5 - widget.parentState.tileSize() * 0.5; return Stack( @@ -386,7 +387,8 @@ class RotatorPuzzleTileState extends State }, child: DecoratedBox( decoration: const BoxDecoration( - color: Color.fromARGB(120, 0, 0, 0)), + color: Color.fromARGB(120, 0, 0, 0), + ), child: SizedBox( width: widget.parentState.tileSize(), height: widget.parentState.tileSize(), @@ -420,10 +422,9 @@ class RotatorPuzzleTileState extends State animation = Tween( begin: oldStatus * pi * 0.5, end: currentStatus() * pi * 0.5, - ).animate(animationController) - ..addListener(() { - setState(() {}); - }); + ).animate(animationController)..addListener(() { + setState(() {}); + }); animationController.reset(); animationController.forward(); } diff --git a/experimental/varfont_shader_puzzle/lib/components/wonky_anim_palette.dart b/experimental/varfont_shader_puzzle/lib/components/wonky_anim_palette.dart index fab79ac1d..a3e2acbcf 100644 --- a/experimental/varfont_shader_puzzle/lib/components/wonky_anim_palette.dart +++ b/experimental/varfont_shader_puzzle/lib/components/wonky_anim_palette.dart @@ -19,9 +19,7 @@ import '../components/components.dart'; // an enumeration of variable font axes at https://fonts.google.com/variablefonts class WonkyAnimPalette { - const WonkyAnimPalette({ - Key? key, - }); + const WonkyAnimPalette({Key? key}); static const Curve defaultCurve = Curves.easeInOut; // basic (settings unrelated to variable font) diff --git a/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart b/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart index 5390a858d..399dbef0c 100644 --- a/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart +++ b/experimental/varfont_shader_puzzle/lib/components/wonky_char.dart @@ -35,18 +35,29 @@ class WonkyCharState extends State final List _fvAxes = []; // default curve and animations in case user sets nothing for them late final defaultCurve = CurvedAnimation( - parent: _animController, - curve: const Interval(0, 1, curve: Curves.linear)); - late Animation _scaleAnimation = - Tween(begin: 1, end: 1).animate(defaultCurve); - late Animation _offsetXAnimation = - Tween(begin: 0, end: 0).animate(defaultCurve); - late Animation _offsetYAnimation = - Tween(begin: 0, end: 0).animate(defaultCurve); - late Animation _rotationAnimation = - Tween(begin: 0, end: 0).animate(defaultCurve); - late Animation _colorAnimation = - ColorTween(begin: Colors.black, end: Colors.black).animate(defaultCurve); + parent: _animController, + curve: const Interval(0, 1, curve: Curves.linear), + ); + late Animation _scaleAnimation = Tween( + begin: 1, + end: 1, + ).animate(defaultCurve); + late Animation _offsetXAnimation = Tween( + begin: 0, + end: 0, + ).animate(defaultCurve); + late Animation _offsetYAnimation = Tween( + begin: 0, + end: 0, + ).animate(defaultCurve); + late Animation _rotationAnimation = Tween( + begin: 0, + end: 0, + ).animate(defaultCurve); + late Animation _colorAnimation = ColorTween( + begin: Colors.black, + end: Colors.black, + ).animate(defaultCurve); @override void initState() { @@ -80,15 +91,22 @@ class WonkyCharState extends State Widget build(BuildContext context) { List fontVariations = []; for (int i = 0; i < _fvAxes.length; i++) { - fontVariations - .add(ui.FontVariation(_fvAxes[i], _fvAnimations[i].value as double)); + fontVariations.add( + ui.FontVariation(_fvAxes[i], _fvAnimations[i].value as double), + ); } return Transform( alignment: Alignment.center, - transform: Matrix4.translationValues(_offsetXAnimation.value as double, - _offsetYAnimation.value as double, 0) - ..scale(_scaleAnimation.value) - ..rotateZ(widget.baseRotation + (_rotationAnimation.value as double)), + transform: + Matrix4.translationValues( + _offsetXAnimation.value as double, + _offsetYAnimation.value as double, + 0, + ) + ..scale(_scaleAnimation.value) + ..rotateZ( + widget.baseRotation + (_rotationAnimation.value as double), + ), child: IgnorePointer( child: Text( widget.text, @@ -117,14 +135,14 @@ class WonkyCharState extends State late Animation animation; if (s.property == 'color') { animation = ColorTween( - begin: s.fromTo.fromValue() as Color?, - end: s.fromTo.toValue() as Color?) - .animate(curve); + begin: s.fromTo.fromValue() as Color?, + end: s.fromTo.toValue() as Color?, + ).animate(curve); } else { animation = Tween( - begin: s.fromTo.fromValue() as double, - end: s.fromTo.toValue() as double) - .animate(curve); + begin: s.fromTo.fromValue() as double, + end: s.fromTo.toValue() as double, + ).animate(curve); } if (s.type == 'fv') { _fvAxes.add(s.property); @@ -155,7 +173,8 @@ class WonkyCharState extends State { if (kDebugMode) { print( - '**ERROR** unrecognized property to animate: ${s.property}'); + '**ERROR** unrecognized property to animate: ${s.property}', + ); } } } diff --git a/experimental/varfont_shader_puzzle/lib/main.dart b/experimental/varfont_shader_puzzle/lib/main.dart index 2a26e0221..bf845e2d0 100644 --- a/experimental/varfont_shader_puzzle/lib/main.dart +++ b/experimental/varfont_shader_puzzle/lib/main.dart @@ -17,13 +17,8 @@ class TypePuzzle extends StatelessWidget { return MaterialApp( debugShowCheckedModeBanner: false, title: 'Type Jam', - theme: ThemeData( - primarySwatch: Colors.grey, - ), - home: const Scaffold( - appBar: null, - body: PagesFlow(), - ), + theme: ThemeData(primarySwatch: Colors.grey), + home: const Scaffold(appBar: null, body: PagesFlow()), ); } } diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_ascender_descender.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_ascender_descender.dart index 8240baaac..ce9c13d0a 100644 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_ascender_descender.dart +++ b/experimental/varfont_shader_puzzle/lib/page_content/page_ascender_descender.dart @@ -11,10 +11,7 @@ import '../page_content/pages_flow.dart'; import '../styles.dart'; class PageAscenderDescender extends SinglePage { - const PageAscenderDescender({ - super.key, - required super.pageConfig, - }); + const PageAscenderDescender({super.key, required super.pageConfig}); @override State createState() => _PageAscenderDescenderState(); } @@ -82,10 +79,7 @@ class _PageAscenderDescenderState extends SinglePageState { to: PageConfig.baseWeight, curve: Curves.easeInOut, ), - WonkyAnimPalette.descenderDepth( - from: -500, - to: -138, - ) + WonkyAnimPalette.descenderDepth(from: -500, to: -138), ], ), ), @@ -126,10 +120,7 @@ class _PageAscenderDescenderState extends SinglePageState { from: PageConfig.baseWeight, to: PageConfig.baseWeight, ), - WonkyAnimPalette.ascenderHt( - from: 600, - to: 980, - ), + WonkyAnimPalette.ascenderHt(from: 600, to: 980), ], ), ), @@ -184,10 +175,7 @@ class _PageAscenderDescenderState extends SinglePageState { from: PageConfig.baseWeight, to: PageConfig.baseWeight, ), - WonkyAnimPalette.descenderDepth( - from: -200, - to: -500, - ) + WonkyAnimPalette.descenderDepth(from: -200, to: -500), ], ), ), @@ -204,10 +192,11 @@ class _PageAscenderDescenderState extends SinglePageState { shaderDuration: 2000, tileShadedString: 'fyd', tileShadedStringPadding: EdgeInsets.only( - top: 0.233 * widget.pageConfig.puzzleSize, - bottom: 0, - left: 0.465 * widget.pageConfig.puzzleSize, - right: 0.465 * widget.pageConfig.puzzleSize), + top: 0.233 * widget.pageConfig.puzzleSize, + bottom: 0, + left: 0.465 * widget.pageConfig.puzzleSize, + right: 0.465 * widget.pageConfig.puzzleSize, + ), tileShadedStringSize: 1.86 * widget.pageConfig.puzzleSize, tileScaleModifier: 2.7, tileShadedStringAnimDuration: 2000, diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_post.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_post.dart index 58d26e3a9..71d37c457 100644 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_post.dart +++ b/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_post.dart @@ -8,10 +8,7 @@ import '../page_content/pages_flow.dart'; import '../styles.dart'; class PageNarrativePost extends NarrativePage { - const PageNarrativePost({ - super.key, - required super.pageConfig, - }); + const PageNarrativePost({super.key, required super.pageConfig}); @override State createState() => _PageNarrativePostState(); @@ -32,12 +29,8 @@ class _PageNarrativePostState extends NarrativePageState { style: TextStyles.bodyStyle(), textAlign: TextAlign.left, ), - const SizedBox( - height: 8, - ), - const Image( - image: AssetImage('assets/images/specimen-1.png'), - ), + const SizedBox(height: 8), + const Image(image: AssetImage('assets/images/specimen-1.png')), Text( 'As a reward, please enjoy the FontCo wallpapers on the next screen. Congratulations!', style: TextStyles.bodyStyle(), diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_pre.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_pre.dart index 40afbc352..4f78f0734 100644 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_pre.dart +++ b/experimental/varfont_shader_puzzle/lib/page_content/page_narrative_pre.dart @@ -8,10 +8,7 @@ import '../page_content/pages_flow.dart'; import '../styles.dart'; class PageNarrativePre extends NarrativePage { - const PageNarrativePre({ - super.key, - required super.pageConfig, - }); + const PageNarrativePre({super.key, required super.pageConfig}); @override State createState() => _PageNarrativePreState(); @@ -32,12 +29,8 @@ class _PageNarrativePreState extends NarrativePageState { style: TextStyles.bodyStyle(), textAlign: TextAlign.left, ), - const SizedBox( - height: 8, - ), - const Image( - image: AssetImage('assets/images/specimen-1.png'), - ), + const SizedBox(height: 8), + const Image(image: AssetImage('assets/images/specimen-1.png')), ], ), LightboxedPanel( @@ -58,18 +51,14 @@ class _PageNarrativePreState extends NarrativePageState { textAlign: TextAlign.left, ), ), - const SizedBox( - height: 8, - ), + const SizedBox(height: 8), Transform.scale( scaleX: -1, child: const Image( image: AssetImage('assets/images/specimen-1-glitch.png'), ), ), - const SizedBox( - height: 56, - ), + const SizedBox(height: 56), ], ), LightboxedPanel( @@ -93,9 +82,7 @@ class _PageNarrativePreState extends NarrativePageState { ), ), ), - const SizedBox( - height: 8, - ), + const SizedBox(height: 8), Transform.scale( scaleX: -1, child: Transform.translate( @@ -105,9 +92,7 @@ class _PageNarrativePreState extends NarrativePageState { ), ), ), - const SizedBox( - height: 56, - ), + const SizedBox(height: 56), ], ), LightboxedPanel( @@ -128,18 +113,14 @@ class _PageNarrativePreState extends NarrativePageState { textAlign: TextAlign.left, ), ), - const SizedBox( - height: 8, - ), + const SizedBox(height: 8), Transform.scale( scaleX: -1, child: const Image( image: AssetImage('assets/images/specimen-1-glitch.png'), ), ), - const SizedBox( - height: 56, - ), + const SizedBox(height: 56), ], ), LightboxedPanel( @@ -153,12 +134,8 @@ class _PageNarrativePreState extends NarrativePageState { style: TextStyles.bodyStyle(), textAlign: TextAlign.left, ), - const SizedBox( - height: 8, - ), - const Image( - image: AssetImage('assets/images/specimen-2.png'), - ), + const SizedBox(height: 8), + const Image(image: AssetImage('assets/images/specimen-2.png')), ], ), ]; diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_optical_size.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_optical_size.dart index 0d9aab049..25cf974ca 100644 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_optical_size.dart +++ b/experimental/varfont_shader_puzzle/lib/page_content/page_optical_size.dart @@ -11,10 +11,7 @@ import '../page_content/pages_flow.dart'; import '../styles.dart'; class PageOpticalSize extends SinglePage { - const PageOpticalSize({ - super.key, - required super.pageConfig, - }); + const PageOpticalSize({super.key, required super.pageConfig}); @override State createState() => _PageOpticalSizeState(); @@ -60,10 +57,7 @@ class _PageOpticalSizeState extends SinglePageState { to: PageConfig.baseWeight, curve: Curves.easeInOut, ), - WonkyAnimPalette.opticalSize( - from: 70, - to: 144, - ) + WonkyAnimPalette.opticalSize(from: 70, to: 144), ], ), ), @@ -81,10 +75,7 @@ class _PageOpticalSizeState extends SinglePageState { to: PageConfig.baseWeight, curve: Curves.easeInOut, ), - WonkyAnimPalette.opticalSize( - from: 78, - to: 8, - ), + WonkyAnimPalette.opticalSize(from: 78, to: 8), ], ), ), @@ -95,12 +86,7 @@ class _PageOpticalSizeState extends SinglePageState { text: 'r', size: widget.pageConfig.wonkyCharSmallSize, baseRotation: -0.15 * pi, - animationSettings: [ - WonkyAnimPalette.opticalSize( - from: 32, - to: 106, - ) - ], + animationSettings: [WonkyAnimPalette.opticalSize(from: 32, to: 106)], ), ), Positioned( @@ -111,12 +97,7 @@ class _PageOpticalSizeState extends SinglePageState { size: widget.pageConfig.wonkyCharLargeSize, baseRotation: -0.15 * pi, animDurationMillis: 5000, - animationSettings: [ - WonkyAnimPalette.opticalSize( - from: 70, - to: 144, - ) - ], + animationSettings: [WonkyAnimPalette.opticalSize(from: 70, to: 144)], ), ), // lower half -------------------------------------- @@ -127,12 +108,7 @@ class _PageOpticalSizeState extends SinglePageState { text: 'i', size: widget.pageConfig.wonkyCharLargeSize, baseRotation: -0.04 * pi, - animationSettings: [ - WonkyAnimPalette.opticalSize( - from: 40, - to: 8, - ), - ], + animationSettings: [WonkyAnimPalette.opticalSize(from: 40, to: 8)], ), ), Positioned( @@ -142,12 +118,7 @@ class _PageOpticalSizeState extends SinglePageState { text: 'Z', size: widget.pageConfig.wonkyCharSmallSize, baseRotation: -0.15 * pi, - animationSettings: [ - WonkyAnimPalette.opticalSize( - from: 8, - to: 60, - ), - ], + animationSettings: [WonkyAnimPalette.opticalSize(from: 8, to: 60)], ), ), Positioned( @@ -159,14 +130,8 @@ class _PageOpticalSizeState extends SinglePageState { baseRotation: 0.15 * pi, animDurationMillis: 12000, animationSettings: [ - WonkyAnimPalette.opticalSize( - from: 80, - to: 20, - ), - WonkyAnimPalette.rotation( - from: -0.01 * pi, - to: 0.01 * pi, - ), + WonkyAnimPalette.opticalSize(from: 80, to: 20), + WonkyAnimPalette.rotation(from: -0.01 * pi, to: 0.01 * pi), ], ), ), @@ -182,15 +147,16 @@ class _PageOpticalSizeState extends SinglePageState { shader: Shader.wavy, shaderDuration: 5000, tileShadedString: 'Z', - tileShadedStringPadding: - EdgeInsets.only(bottom: 0.349 * widget.pageConfig.puzzleSize), + tileShadedStringPadding: EdgeInsets.only( + bottom: 0.349 * widget.pageConfig.puzzleSize, + ), tileScaleModifier: 2.6, tileShadedStringSize: 2.79 * widget.pageConfig.puzzleSize, tileShadedStringAnimDuration: 3000, tileShadedStringAnimSettings: [ WonkyAnimPalette.weight(from: 1000, to: 1000), WonkyAnimPalette.width(from: 125, to: 125), - WonkyAnimPalette.opticalSize(from: 8, to: 144) + WonkyAnimPalette.opticalSize(from: 8, to: 144), ], ); } diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart index cea3bdea7..da93a7fe9 100644 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart +++ b/experimental/varfont_shader_puzzle/lib/page_content/page_weight.dart @@ -11,10 +11,7 @@ import '../page_content/pages_flow.dart'; import '../styles.dart'; class PageWeight extends SinglePage { - const PageWeight({ - super.key, - required super.pageConfig, - }); + const PageWeight({super.key, required super.pageConfig}); @override State createState() => _PageWeightState(); @@ -88,12 +85,7 @@ class _PageWeightState extends SinglePageState { size: widget.pageConfig.wonkyCharLargeSize, baseRotation: -0.15 * pi, animDurationMillis: 5000, - animationSettings: [ - WonkyAnimPalette.weight( - from: 200, - to: 500, - ), - ], + animationSettings: [WonkyAnimPalette.weight(from: 200, to: 500)], ), ), Positioned( @@ -103,12 +95,7 @@ class _PageWeightState extends SinglePageState { text: '*', size: widget.pageConfig.wonkyCharSmallSize, baseRotation: -0.15 * pi, - animationSettings: [ - WonkyAnimPalette.weight( - from: 100, - to: 400, - ), - ], + animationSettings: [WonkyAnimPalette.weight(from: 100, to: 400)], ), ), // lower half -------------------------------------- @@ -120,12 +107,7 @@ class _PageWeightState extends SinglePageState { size: widget.pageConfig.wonkyCharLargeSize, baseRotation: -0.15 * pi, animDurationMillis: 7000, - animationSettings: [ - WonkyAnimPalette.weight( - from: 1000, - to: 700, - ), - ], + animationSettings: [WonkyAnimPalette.weight(from: 1000, to: 700)], ), ), Positioned( @@ -136,12 +118,7 @@ class _PageWeightState extends SinglePageState { size: widget.pageConfig.wonkyCharSmallSize, baseRotation: -0.15 * pi, animDurationMillis: 4000, - animationSettings: [ - WonkyAnimPalette.weight( - from: 100, - to: 200, - ), - ], + animationSettings: [WonkyAnimPalette.weight(from: 100, to: 200)], ), ), Positioned( @@ -152,12 +129,7 @@ class _PageWeightState extends SinglePageState { size: widget.pageConfig.wonkyCharLargeSize, baseRotation: -1.15 * pi, animDurationMillis: 2000, - animationSettings: [ - WonkyAnimPalette.weight( - from: 700, - to: 900, - ), - ], + animationSettings: [WonkyAnimPalette.weight(from: 700, to: 900)], ), ), ]; @@ -173,8 +145,9 @@ class _PageWeightState extends SinglePageState { shaderDuration: 3000, tileShadedString: 'W', tileShadedStringPadding: EdgeInsets.only( - left: 0.698 * widget.pageConfig.puzzleSize, - right: 0.698 * widget.pageConfig.puzzleSize), + left: 0.698 * widget.pageConfig.puzzleSize, + right: 0.698 * widget.pageConfig.puzzleSize, + ), tileShadedStringSize: 2.79 * widget.pageConfig.puzzleSize, tileScaleModifier: 2.4, tileShadedStringAnimDuration: 1000, diff --git a/experimental/varfont_shader_puzzle/lib/page_content/page_width.dart b/experimental/varfont_shader_puzzle/lib/page_content/page_width.dart index a6b8aae92..1e77117d6 100644 --- a/experimental/varfont_shader_puzzle/lib/page_content/page_width.dart +++ b/experimental/varfont_shader_puzzle/lib/page_content/page_width.dart @@ -11,10 +11,7 @@ import '../page_content/pages_flow.dart'; import '../styles.dart'; class PageWidth extends SinglePage { - const PageWidth({ - super.key, - required super.pageConfig, - }); + const PageWidth({super.key, required super.pageConfig}); @override State createState() => _PageWidthState(); } @@ -56,10 +53,7 @@ class _PageWidthState extends SinglePageState { from: PageConfig.baseWeight, to: PageConfig.baseWeight, ), - WonkyAnimPalette.width( - from: 120, - to: 125, - ) + WonkyAnimPalette.width(from: 120, to: 125), ], ), ), @@ -77,19 +71,9 @@ class _PageWidthState extends SinglePageState { to: PageConfig.baseWeight, curve: Curves.easeInOut, ), - WonkyAnimPalette.width( - from: 70, - to: 50, - ), - WonkyAnimPalette.offsetY( - from: -6, - to: 2, - curve: Curves.easeInOut, - ), - WonkyAnimPalette.rotation( - from: -0.04 * pi, - to: 0.005 * pi, - ), + WonkyAnimPalette.width(from: 70, to: 50), + WonkyAnimPalette.offsetY(from: -6, to: 2, curve: Curves.easeInOut), + WonkyAnimPalette.rotation(from: -0.04 * pi, to: 0.005 * pi), ], ), ), @@ -102,10 +86,7 @@ class _PageWidthState extends SinglePageState { baseRotation: 0.15 * pi, animDurationMillis: 3200, animationSettings: [ - WonkyAnimPalette.width( - from: 120, - to: 125, - ), + WonkyAnimPalette.width(from: 120, to: 125), WonkyAnimPalette.weight( from: PageConfig.baseWeight, to: PageConfig.baseWeight, @@ -128,10 +109,7 @@ class _PageWidthState extends SinglePageState { from: PageConfig.baseWeight, to: PageConfig.baseWeight, ), - WonkyAnimPalette.width( - from: 75, - to: 50, - ), + WonkyAnimPalette.width(from: 75, to: 50), ], ), ), @@ -147,10 +125,7 @@ class _PageWidthState extends SinglePageState { from: PageConfig.baseWeight, to: PageConfig.baseWeight, ), - WonkyAnimPalette.width( - from: 90, - to: 115, - ) + WonkyAnimPalette.width(from: 90, to: 115), ], ), ), @@ -167,12 +142,7 @@ class _PageWidthState extends SinglePageState { from: PageConfig.baseWeight, to: PageConfig.baseWeight, ), - WonkyAnimPalette.width( - from: 125, - to: 90, - startAt: 0.3, - endAt: 0.7, - ), + WonkyAnimPalette.width(from: 125, to: 90, startAt: 0.3, endAt: 0.7), ], ), ), @@ -188,10 +158,7 @@ class _PageWidthState extends SinglePageState { from: PageConfig.baseWeight, to: PageConfig.baseWeight, ), - WonkyAnimPalette.width( - from: 110, - to: 60, - ) + WonkyAnimPalette.width(from: 110, to: 60), ], ), ), @@ -208,8 +175,9 @@ class _PageWidthState extends SinglePageState { shaderDuration: 2000, tileShadedString: 'S', tileShadedStringPadding: EdgeInsets.only( - left: 0.349 * widget.pageConfig.puzzleSize, - right: 0.349 * widget.pageConfig.puzzleSize), + left: 0.349 * widget.pageConfig.puzzleSize, + right: 0.349 * widget.pageConfig.puzzleSize, + ), tileShadedStringSize: 3.256 * widget.pageConfig.puzzleSize, tileScaleModifier: 2.34, tileShadedStringAnimDuration: 2000, diff --git a/experimental/varfont_shader_puzzle/lib/page_content/pages_flow.dart b/experimental/varfont_shader_puzzle/lib/page_content/pages_flow.dart index 3d8528130..607d9c786 100644 --- a/experimental/varfont_shader_puzzle/lib/page_content/pages_flow.dart +++ b/experimental/varfont_shader_puzzle/lib/page_content/pages_flow.dart @@ -47,24 +47,12 @@ class _PagesFlowState extends State { physics: const NeverScrollableScrollPhysics(), scrollDirection: Axis.vertical, children: [ - PageNarrativePre( - pageConfig: pageConfig, - ), - PageWeight( - pageConfig: pageConfig, - ), - PageAscenderDescender( - pageConfig: pageConfig, - ), - PageOpticalSize( - pageConfig: pageConfig, - ), - PageWidth( - pageConfig: pageConfig, - ), - PageNarrativePost( - pageConfig: pageConfig, - ), + PageNarrativePre(pageConfig: pageConfig), + PageWeight(pageConfig: pageConfig), + PageAscenderDescender(pageConfig: pageConfig), + PageOpticalSize(pageConfig: pageConfig), + PageWidth(pageConfig: pageConfig), + PageNarrativePost(pageConfig: pageConfig), const WallpapersFlow(), ], ); @@ -94,10 +82,7 @@ class PageConfig { class SinglePage extends StatefulWidget { final PageConfig pageConfig; - const SinglePage({ - super.key, - required this.pageConfig, - }); + const SinglePage({super.key, required this.pageConfig}); @override State createState() => SinglePageState(); @@ -113,10 +98,7 @@ class SinglePageState extends State with TickerProviderStateMixin { } Widget createTopicIntro() { - return LightboxedPanel( - pageConfig: widget.pageConfig, - content: const [], - ); + return LightboxedPanel(pageConfig: widget.pageConfig, content: const []); } @override @@ -125,9 +107,7 @@ class SinglePageState extends State with TickerProviderStateMixin { c.add(createPuzzle()); c += buildWonkyChars(); c.add(createTopicIntro()); - return Stack( - children: c, - ); + return Stack(children: c); } void puzzleDone() {} @@ -135,10 +115,7 @@ class SinglePageState extends State with TickerProviderStateMixin { class NarrativePage extends StatefulWidget { final PageConfig pageConfig; - const NarrativePage({ - super.key, - required this.pageConfig, - }); + const NarrativePage({super.key, required this.pageConfig}); @override State createState() => NarrativePageState(); @@ -154,8 +131,9 @@ class NarrativePageState extends State setState(() { if (panelIndex == panels.length - 1) { widget.pageConfig.pageController.nextPage( - duration: - const Duration(milliseconds: PagesFlow.pageScrollDuration), + duration: const Duration( + milliseconds: PagesFlow.pageScrollDuration, + ), curve: Curves.easeOut, ); } else { diff --git a/experimental/varfont_shader_puzzle/lib/page_content/wallpapers_flow.dart b/experimental/varfont_shader_puzzle/lib/page_content/wallpapers_flow.dart index a5d34608d..24120c935 100644 --- a/experimental/varfont_shader_puzzle/lib/page_content/wallpapers_flow.dart +++ b/experimental/varfont_shader_puzzle/lib/page_content/wallpapers_flow.dart @@ -18,18 +18,18 @@ class _WallpapersFlowState extends State { @override void initState() { - LicenseRegistry.addLicense(() => Stream.value( - LicenseEntryWithLineBreaks( - ['roboto_font'], - robotoLicense, - ), - )); - LicenseRegistry.addLicense(() => Stream.value( - LicenseEntryWithLineBreaks( - ['amstelvar_font'], - amstelvarLicense, - ), - )); + LicenseRegistry.addLicense( + () => Stream.value( + LicenseEntryWithLineBreaks(['roboto_font'], robotoLicense), + ), + ); + LicenseRegistry.addLicense( + () => Stream.value( + LicenseEntryWithLineBreaks([ + 'amstelvar_font', + ], amstelvarLicense), + ), + ); super.initState(); } @@ -45,9 +45,7 @@ class _WallpapersFlowState extends State { }, children: const [ DecoratedBox( - decoration: BoxDecoration( - color: Colors.black, - ), + decoration: BoxDecoration(color: Colors.black), child: Center( child: Image( image: AssetImage('assets/images/wallpaper3.png'), @@ -56,9 +54,7 @@ class _WallpapersFlowState extends State { ), ), DecoratedBox( - decoration: BoxDecoration( - color: Colors.black, - ), + decoration: BoxDecoration(color: Colors.black), child: Center( child: Image( image: AssetImage('assets/images/wallpaper1.png'), @@ -67,9 +63,7 @@ class _WallpapersFlowState extends State { ), ), DecoratedBox( - decoration: BoxDecoration( - color: Colors.black, - ), + decoration: BoxDecoration(color: Colors.black), child: Center( child: Image( image: AssetImage('assets/images/wallpaper2.png'), @@ -107,9 +101,10 @@ class _WallpapersFlowState extends State { List _buildScrollDots() { List dots = []; for (int i = 0; i < numPages; i++) { - Color dotColor = i == pageNum - ? const Color.fromARGB(255, 255, 255, 255) - : const Color.fromARGB(255, 105, 105, 105); + Color dotColor = + i == pageNum + ? const Color.fromARGB(255, 255, 255, 255) + : const Color.fromARGB(255, 105, 105, 105); Widget d = Container( width: 16, height: 16, diff --git a/experimental/varfont_shader_puzzle/lib/styles.dart b/experimental/varfont_shader_puzzle/lib/styles.dart index 96402e14c..996b3b8d5 100644 --- a/experimental/varfont_shader_puzzle/lib/styles.dart +++ b/experimental/varfont_shader_puzzle/lib/styles.dart @@ -36,7 +36,8 @@ class ButtonStyles { }), shape: WidgetStateProperty.resolveWith((states) { return const RoundedRectangleBorder( - borderRadius: BorderRadius.all(Radius.circular(18))); + borderRadius: BorderRadius.all(Radius.circular(18)), + ); }), overlayColor: null, backgroundColor: WidgetStateProperty.resolveWith((states) { diff --git a/experimental/varfont_shader_puzzle/pubspec.yaml b/experimental/varfont_shader_puzzle/pubspec.yaml index 1088eaf63..b0f032ed6 100644 --- a/experimental/varfont_shader_puzzle/pubspec.yaml +++ b/experimental/varfont_shader_puzzle/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/experimental/web_dashboard/lib/src/api/api.dart b/experimental/web_dashboard/lib/src/api/api.dart index 09954a97c..0ab9dfa2b 100644 --- a/experimental/web_dashboard/lib/src/api/api.dart +++ b/experimental/web_dashboard/lib/src/api/api.dart @@ -86,12 +86,14 @@ class Entry { static DateTime _timestampToDateTime(Timestamp timestamp) { return DateTime.fromMillisecondsSinceEpoch( - timestamp.millisecondsSinceEpoch); + timestamp.millisecondsSinceEpoch, + ); } static Timestamp _dateTimeToTimestamp(DateTime dateTime) { return Timestamp.fromMillisecondsSinceEpoch( - dateTime.millisecondsSinceEpoch); + dateTime.millisecondsSinceEpoch, + ); } @override diff --git a/experimental/web_dashboard/lib/src/api/api.g.dart b/experimental/web_dashboard/lib/src/api/api.g.dart index c4c029040..6a90026ce 100644 --- a/experimental/web_dashboard/lib/src/api/api.g.dart +++ b/experimental/web_dashboard/lib/src/api/api.g.dart @@ -11,14 +11,12 @@ part of 'api.dart'; // ************************************************************************** Category _$CategoryFromJson(Map json) { - return Category( - json['name'] as String, - ); + return Category(json['name'] as String); } Map _$CategoryToJson(Category instance) => { - 'name': instance.name, - }; + 'name': instance.name, +}; Entry _$EntryFromJson(Map json) { return Entry( @@ -28,6 +26,6 @@ Entry _$EntryFromJson(Map json) { } Map _$EntryToJson(Entry instance) => { - 'value': instance.value, - 'time': Entry._dateTimeToTimestamp(instance.time), - }; + 'value': instance.value, + 'time': Entry._dateTimeToTimestamp(instance.time), +}; diff --git a/experimental/web_dashboard/lib/src/api/firebase.dart b/experimental/web_dashboard/lib/src/api/firebase.dart index c332c947c..6ba42e8df 100644 --- a/experimental/web_dashboard/lib/src/api/firebase.dart +++ b/experimental/web_dashboard/lib/src/api/firebase.dart @@ -14,8 +14,8 @@ class FirebaseDashboardApi implements DashboardApi { final CategoryApi categories; FirebaseDashboardApi(FirebaseFirestore firestore, String userId) - : entries = FirebaseEntryApi(firestore, userId), - categories = FirebaseCategoryApi(firestore, userId); + : entries = FirebaseEntryApi(firestore, userId), + categories = FirebaseCategoryApi(firestore, userId); } class FirebaseEntryApi implements EntryApi { @@ -24,7 +24,7 @@ class FirebaseEntryApi implements EntryApi { final CollectionReference> _categoriesRef; FirebaseEntryApi(this.firestore, this.userId) - : _categoriesRef = firestore.collection('users/$userId/categories'); + : _categoriesRef = firestore.collection('users/$userId/categories'); @override Stream> subscribe(String categoryId) { @@ -62,9 +62,10 @@ class FirebaseEntryApi implements EntryApi { Future> list(String categoryId) async { var entriesRef = _categoriesRef.doc(categoryId).collection('entries'); var querySnapshot = await entriesRef.get(); - var entries = querySnapshot.docs - .map((doc) => Entry.fromJson(doc.data())..id = doc.id) - .toList(); + var entries = + querySnapshot.docs + .map((doc) => Entry.fromJson(doc.data())..id = doc.id) + .toList(); return entries; } @@ -91,7 +92,7 @@ class FirebaseCategoryApi implements CategoryApi { final CollectionReference> _categoriesRef; FirebaseCategoryApi(this.firestore, this.userId) - : _categoriesRef = firestore.collection('users/$userId/categories'); + : _categoriesRef = firestore.collection('users/$userId/categories'); @override Stream> subscribe() { @@ -131,9 +132,10 @@ class FirebaseCategoryApi implements CategoryApi { @override Future> list() async { var querySnapshot = await _categoriesRef.get(); - var categories = querySnapshot.docs - .map((doc) => Category.fromJson(doc.data())..id = doc.id) - .toList(); + var categories = + querySnapshot.docs + .map((doc) => Category.fromJson(doc.data())..id = doc.id) + .toList(); return categories; } diff --git a/experimental/web_dashboard/lib/src/api/mock.dart b/experimental/web_dashboard/lib/src/api/mock.dart index 4a2d789e0..463d8b294 100644 --- a/experimental/web_dashboard/lib/src/api/mock.dart +++ b/experimental/web_dashboard/lib/src/api/mock.dart @@ -104,11 +104,12 @@ class MockEntryApi implements EntryApi { @override Future> list(String categoryId) async { - var list = _storage.keys - .where((k) => k.startsWith(categoryId)) - .map((k) => _storage[k]) - .nonNulls - .toList(); + var list = + _storage.keys + .where((k) => k.startsWith(categoryId)) + .map((k) => _storage[k]) + .nonNulls + .toList(); return list; } @@ -127,10 +128,11 @@ class MockEntryApi implements EntryApi { } void _emit(String categoryId) { - var entries = _storage.keys - .where((k) => k.startsWith(categoryId)) - .map((k) => _storage[k]!) - .toList(); + var entries = + _storage.keys + .where((k) => k.startsWith(categoryId)) + .map((k) => _storage[k]!) + .toList(); _streamController.add(_EntriesEvent(categoryId, entries)); } diff --git a/experimental/web_dashboard/lib/src/app.dart b/experimental/web_dashboard/lib/src/app.dart index c14a88ceb..44c247df0 100644 --- a/experimental/web_dashboard/lib/src/app.dart +++ b/experimental/web_dashboard/lib/src/app.dart @@ -40,13 +40,13 @@ class DashboardApp extends StatefulWidget { /// Runs the app using Firebase DashboardApp.firebase({super.key}) - : auth = FirebaseAuthService(), - apiBuilder = _apiBuilder; + : auth = FirebaseAuthService(), + apiBuilder = _apiBuilder; /// Runs the app using mock data DashboardApp.mock({super.key}) - : auth = MockAuthService(), - apiBuilder = _mockApiBuilder; + : auth = MockAuthService(), + apiBuilder = _mockApiBuilder; @override State createState() => _DashboardAppState(); @@ -82,11 +82,7 @@ class SignInSwitcher extends StatefulWidget { final AppState? appState; final ApiBuilder? apiBuilder; - const SignInSwitcher({ - this.appState, - this.apiBuilder, - super.key, - }); + const SignInSwitcher({this.appState, this.apiBuilder, super.key}); @override State createState() => _SignInSwitcherState(); @@ -101,14 +97,13 @@ class _SignInSwitcherState extends State { switchInCurve: Curves.easeOut, switchOutCurve: Curves.easeOut, duration: const Duration(milliseconds: 200), - child: _isSignedIn - ? HomePage( - onSignOut: _handleSignOut, - ) - : SignInPage( - auth: widget.appState!.auth, - onSuccess: _handleSignIn, - ), + child: + _isSignedIn + ? HomePage(onSignOut: _handleSignOut) + : SignInPage( + auth: widget.appState!.auth, + onSuccess: _handleSignIn, + ), ); } diff --git a/experimental/web_dashboard/lib/src/auth/firebase.dart b/experimental/web_dashboard/lib/src/auth/firebase.dart index fc3ceb2e3..81a798ada 100644 --- a/experimental/web_dashboard/lib/src/auth/firebase.dart +++ b/experimental/web_dashboard/lib/src/auth/firebase.dart @@ -35,7 +35,9 @@ class FirebaseAuthService implements Auth { var googleAuth = await googleUser!.authentication; var credential = GoogleAuthProvider.credential( - accessToken: googleAuth.accessToken, idToken: googleAuth.idToken); + accessToken: googleAuth.accessToken, + idToken: googleAuth.idToken, + ); var authResult = await _auth.signInWithCredential(credential); @@ -44,10 +46,7 @@ class FirebaseAuthService implements Auth { @override Future signOut() async { - await Future.wait([ - _auth.signOut(), - _googleSignIn.signOut(), - ]); + await Future.wait([_auth.signOut(), _googleSignIn.signOut()]); } } diff --git a/experimental/web_dashboard/lib/src/pages/dashboard.dart b/experimental/web_dashboard/lib/src/pages/dashboard.dart index d783667d7..d120b118b 100644 --- a/experimental/web_dashboard/lib/src/pages/dashboard.dart +++ b/experimental/web_dashboard/lib/src/pages/dashboard.dart @@ -19,18 +19,14 @@ class DashboardPage extends StatelessWidget { future: appState.api!.categories.list(), builder: (context, futureSnapshot) { if (!futureSnapshot.hasData) { - return const Center( - child: CircularProgressIndicator(), - ); + return const Center(child: CircularProgressIndicator()); } return StreamBuilder>( initialData: futureSnapshot.data, stream: appState.api!.categories.subscribe(), builder: (context, snapshot) { if (snapshot.data == null) { - return const Center( - child: CircularProgressIndicator(), - ); + return const Center(child: CircularProgressIndicator()); } return Dashboard(snapshot.data); }, @@ -56,13 +52,9 @@ class Dashboard extends StatelessWidget { ), children: [ ...categories!.map( - (category) => Card( - child: CategoryChart( - category: category, - api: api, - ), - ), - ) + (category) => + Card(child: CategoryChart(category: category, api: api)), + ), ], ), ); diff --git a/experimental/web_dashboard/lib/src/pages/entries.dart b/experimental/web_dashboard/lib/src/pages/entries.dart index a22ae6080..0220c9764 100644 --- a/experimental/web_dashboard/lib/src/pages/entries.dart +++ b/experimental/web_dashboard/lib/src/pages/entries.dart @@ -27,15 +27,17 @@ class _EntriesPageState extends State { return Column( children: [ CategoryDropdown( - api: appState.api!.categories, - onSelected: (category) => setState(() => _selected = category)), + api: appState.api!.categories, + onSelected: (category) => setState(() => _selected = category), + ), Expanded( - child: _selected == null - ? const Center(child: CircularProgressIndicator()) - : EntriesList( - category: _selected, - api: appState.api!.entries, - ), + child: + _selected == null + ? const Center(child: CircularProgressIndicator()) + : EntriesList( + category: _selected, + api: appState.api!.entries, + ), ), ], ); @@ -46,10 +48,8 @@ class EntriesList extends StatefulWidget { final Category? category; final EntryApi api; - EntriesList({ - this.category, - required this.api, - }) : super(key: ValueKey(category?.id)); + EntriesList({this.category, required this.api}) + : super(key: ValueKey(category?.id)); @override State createState() => _EntriesListState(); @@ -99,11 +99,7 @@ class EntryTile extends StatelessWidget { final Category? category; final Entry? entry; - const EntryTile({ - this.category, - this.entry, - super.key, - }); + const EntryTile({this.category, this.entry, super.key}); @override Widget build(BuildContext context) { @@ -131,26 +127,25 @@ class EntryTile extends StatelessWidget { final scaffoldMessenger = ScaffoldMessenger.of(context); final bool? shouldDelete = await showDialog( context: context, - builder: (context) => AlertDialog( - title: const Text('Delete entry?'), - actions: [ - TextButton( - child: const Text('Cancel'), - onPressed: () => Navigator.of(context).pop(false), + builder: + (context) => AlertDialog( + title: const Text('Delete entry?'), + actions: [ + TextButton( + child: const Text('Cancel'), + onPressed: () => Navigator.of(context).pop(false), + ), + TextButton( + child: const Text('Delete'), + onPressed: () => Navigator.of(context).pop(true), + ), + ], ), - TextButton( - child: const Text('Delete'), - onPressed: () => Navigator.of(context).pop(true), - ), - ], - ), ); if (shouldDelete != null && shouldDelete) { await appState.api!.entries.delete(category!.id!, entry!.id!); scaffoldMessenger.showSnackBar( - const SnackBar( - content: Text('Entry deleted'), - ), + const SnackBar(content: Text('Entry deleted')), ); } }, diff --git a/experimental/web_dashboard/lib/src/pages/home.dart b/experimental/web_dashboard/lib/src/pages/home.dart index a64902df7..9e9b652c2 100644 --- a/experimental/web_dashboard/lib/src/pages/home.dart +++ b/experimental/web_dashboard/lib/src/pages/home.dart @@ -14,10 +14,7 @@ import 'entries.dart'; class HomePage extends StatefulWidget { final VoidCallback onSignOut; - const HomePage({ - required this.onSignOut, - super.key, - }); + const HomePage({required this.onSignOut, super.key}); @override State createState() => _HomePageState(); @@ -38,7 +35,7 @@ class _HomePageState extends State { onPressed: () => _handleSignOut(), child: const Text('Sign Out'), ), - ) + ), ], currentIndex: _pageIndex, destinations: const [ @@ -90,23 +87,24 @@ class _HomePageState extends State { Future _handleSignOut() async { var shouldSignOut = await (showDialog( context: context, - builder: (context) => AlertDialog( - title: const Text('Are you sure you want to sign out?'), - actions: [ - TextButton( - child: const Text('No'), - onPressed: () { - Navigator.of(context).pop(false); - }, + builder: + (context) => AlertDialog( + title: const Text('Are you sure you want to sign out?'), + actions: [ + TextButton( + child: const Text('No'), + onPressed: () { + Navigator.of(context).pop(false); + }, + ), + TextButton( + child: const Text('Yes'), + onPressed: () { + Navigator.of(context).pop(true); + }, + ), + ], ), - TextButton( - child: const Text('Yes'), - onPressed: () { - Navigator.of(context).pop(true); - }, - ), - ], - ), )); if (shouldSignOut == null || !shouldSignOut) { diff --git a/experimental/web_dashboard/lib/src/pages/sign_in.dart b/experimental/web_dashboard/lib/src/pages/sign_in.dart index d653cdf76..d441be52c 100644 --- a/experimental/web_dashboard/lib/src/pages/sign_in.dart +++ b/experimental/web_dashboard/lib/src/pages/sign_in.dart @@ -10,18 +10,12 @@ class SignInPage extends StatelessWidget { final Auth auth; final ValueChanged onSuccess; - const SignInPage({ - required this.auth, - required this.onSuccess, - super.key, - }); + const SignInPage({required this.auth, required this.onSuccess, super.key}); @override Widget build(BuildContext context) { return Scaffold( - body: Center( - child: SignInButton(auth: auth, onSuccess: onSuccess), - ), + body: Center(child: SignInButton(auth: auth, onSuccess: onSuccess)), ); } } @@ -30,11 +24,7 @@ class SignInButton extends StatefulWidget { final Auth auth; final ValueChanged onSuccess; - const SignInButton({ - required this.auth, - required this.onSuccess, - super.key, - }); + const SignInButton({required this.auth, required this.onSuccess, super.key}); @override State createState() => _SignInButtonState(); @@ -97,10 +87,8 @@ class _SignInButtonState extends State { } void _showError() { - ScaffoldMessenger.of(context).showSnackBar( - const SnackBar( - content: Text('Unable to sign in.'), - ), - ); + ScaffoldMessenger.of( + context, + ).showSnackBar(const SnackBar(content: Text('Unable to sign in.'))); } } diff --git a/experimental/web_dashboard/lib/src/utils/chart_utils.dart b/experimental/web_dashboard/lib/src/utils/chart_utils.dart index 4345eec04..bbb23840c 100644 --- a/experimental/web_dashboard/lib/src/utils/chart_utils.dart +++ b/experimental/web_dashboard/lib/src/utils/chart_utils.dart @@ -15,14 +15,20 @@ class EntryTotal { /// Returns a list of [EntryTotal] objects. Each [EntryTotal] is the sum of /// the values of all the entries on a given day. -List entryTotalsByDay(List? entries, int daysAgo, - {DateTime? today}) { +List entryTotalsByDay( + List? entries, + int daysAgo, { + DateTime? today, +}) { today ??= DateTime.now(); return _entryTotalsByDay(entries, daysAgo, today).toList(); } Iterable _entryTotalsByDay( - List? entries, int daysAgo, DateTime today) sync* { + List? entries, + int daysAgo, + DateTime today, +) sync* { var start = today.subtract(Duration(days: daysAgo)); var entriesByDay = _entriesInRange(start, today, entries); @@ -42,11 +48,16 @@ Iterable _entryTotalsByDay( /// lists. The outer list represents the number of days since [start], and the /// inner list is the group of entries on that day. List> _entriesInRange( - DateTime start, DateTime end, List? entries) => - _entriesInRangeImpl(start, end, entries).toList(); + DateTime start, + DateTime end, + List? entries, +) => _entriesInRangeImpl(start, end, entries).toList(); Iterable> _entriesInRangeImpl( - DateTime start, DateTime end, List? entries) sync* { + DateTime start, + DateTime end, + List? entries, +) sync* { start = start.atMidnight; end = end.atMidnight; var d = start; diff --git a/experimental/web_dashboard/lib/src/widgets/categories_dropdown.dart b/experimental/web_dashboard/lib/src/widgets/categories_dropdown.dart index ce2c65882..3cfc6bf40 100644 --- a/experimental/web_dashboard/lib/src/widgets/categories_dropdown.dart +++ b/experimental/web_dashboard/lib/src/widgets/categories_dropdown.dart @@ -105,6 +105,8 @@ class _CategoryDropdownState extends State { DropdownMenuItem _buildDropdownItem(Category category) { return DropdownMenuItem( - value: category, child: Text(category.name)); + value: category, + child: Text(category.name), + ); } } diff --git a/experimental/web_dashboard/lib/src/widgets/category_chart.dart b/experimental/web_dashboard/lib/src/widgets/category_chart.dart index 36068db40..48fba2e80 100644 --- a/experimental/web_dashboard/lib/src/widgets/category_chart.dart +++ b/experimental/web_dashboard/lib/src/widgets/category_chart.dart @@ -18,11 +18,7 @@ class CategoryChart extends StatelessWidget { final Category category; final DashboardApi? api; - const CategoryChart({ - required this.category, - required this.api, - super.key, - }); + const CategoryChart({required this.category, required this.api, super.key}); @override Widget build(BuildContext context) { @@ -75,9 +71,7 @@ class CategoryChart extends StatelessWidget { } Widget _buildLoadingIndicator() { - return const Center( - child: CircularProgressIndicator(), - ); + return const Center(child: CircularProgressIndicator()); } } @@ -88,10 +82,7 @@ class _BarChart extends StatelessWidget { @override Widget build(BuildContext context) { - return charts.BarChart( - [_seriesData()], - animate: false, - ); + return charts.BarChart([_seriesData()], animate: false); } charts.Series _seriesData() { diff --git a/experimental/web_dashboard/lib/src/widgets/category_forms.dart b/experimental/web_dashboard/lib/src/widgets/category_forms.dart index 794e12d1a..e60ce292f 100644 --- a/experimental/web_dashboard/lib/src/widgets/category_forms.dart +++ b/experimental/web_dashboard/lib/src/widgets/category_forms.dart @@ -60,9 +60,7 @@ class _EditCategoryFormState extends State { padding: const EdgeInsets.all(8.0), child: TextFormField( initialValue: widget.category.name, - decoration: const InputDecoration( - labelText: 'Name', - ), + decoration: const InputDecoration(labelText: 'Name'), onChanged: (newValue) { widget.category.name = newValue; }, diff --git a/experimental/web_dashboard/lib/src/widgets/dialogs.dart b/experimental/web_dashboard/lib/src/widgets/dialogs.dart index 63faeca51..91ae49bd2 100644 --- a/experimental/web_dashboard/lib/src/widgets/dialogs.dart +++ b/experimental/web_dashboard/lib/src/widgets/dialogs.dart @@ -17,9 +17,7 @@ class NewCategoryDialog extends StatelessWidget { Widget build(BuildContext context) { return const SimpleDialog( title: Text('New Category'), - children: [ - NewCategoryForm(), - ], + children: [NewCategoryForm()], ); } } @@ -27,10 +25,7 @@ class NewCategoryDialog extends StatelessWidget { class EditCategoryDialog extends StatelessWidget { final Category category; - const EditCategoryDialog({ - required this.category, - super.key, - }); + const EditCategoryDialog({required this.category, super.key}); @override Widget build(BuildContext context) { @@ -65,9 +60,7 @@ class _NewEntryDialogState extends State { Widget build(BuildContext context) { return const SimpleDialog( title: Text('New Entry'), - children: [ - NewEntryForm(), - ], + children: [NewEntryForm()], ); } } @@ -76,11 +69,7 @@ class EditEntryDialog extends StatelessWidget { final Category? category; final Entry? entry; - const EditEntryDialog({ - this.category, - this.entry, - super.key, - }); + const EditEntryDialog({this.category, this.entry, super.key}); @override Widget build(BuildContext context) { @@ -97,7 +86,7 @@ class EditEntryDialog extends StatelessWidget { } Navigator.of(context).pop(); }, - ) + ), ], ); } diff --git a/experimental/web_dashboard/lib/src/widgets/edit_entry.dart b/experimental/web_dashboard/lib/src/widgets/edit_entry.dart index 7c6d702bb..d08aac246 100644 --- a/experimental/web_dashboard/lib/src/widgets/edit_entry.dart +++ b/experimental/web_dashboard/lib/src/widgets/edit_entry.dart @@ -58,11 +58,7 @@ class EditEntryForm extends StatefulWidget { final Entry? entry; final ValueChanged onDone; - const EditEntryForm({ - required this.entry, - required this.onDone, - super.key, - }); + const EditEntryForm({required this.entry, required this.onDone, super.key}); @override State createState() => _EditEntryFormState(); @@ -107,11 +103,13 @@ class _EditEntryFormState extends State { child: const Text('Edit'), onPressed: () async { var result = await showDatePicker( - context: context, - initialDate: widget.entry!.time, - firstDate: - DateTime.now().subtract(const Duration(days: 365)), - lastDate: DateTime.now()); + context: context, + initialDate: widget.entry!.time, + firstDate: DateTime.now().subtract( + const Duration(days: 365), + ), + lastDate: DateTime.now(), + ); if (result == null) { return; } @@ -119,7 +117,7 @@ class _EditEntryFormState extends State { widget.entry!.time = result; }); }, - ) + ), ], ), ), @@ -147,7 +145,7 @@ class _EditEntryFormState extends State { ), ), ], - ) + ), ], ), ); diff --git a/experimental/web_dashboard/lib/src/widgets/third_party/adaptive_scaffold.dart b/experimental/web_dashboard/lib/src/widgets/third_party/adaptive_scaffold.dart index 975c22dcd..a8b08e4c3 100644 --- a/experimental/web_dashboard/lib/src/widgets/third_party/adaptive_scaffold.dart +++ b/experimental/web_dashboard/lib/src/widgets/third_party/adaptive_scaffold.dart @@ -17,10 +17,7 @@ class AdaptiveScaffoldDestination { final String title; final IconData icon; - const AdaptiveScaffoldDestination({ - required this.title, - required this.icon, - }); + const AdaptiveScaffoldDestination({required this.title, required this.icon}); } /// A widget that adapts to the current display size, displaying a [Drawer], @@ -60,11 +57,7 @@ class _AdaptiveScaffoldState extends State { Drawer( child: Column( children: [ - DrawerHeader( - child: Center( - child: widget.title, - ), - ), + DrawerHeader(child: Center(child: widget.title)), for (var d in widget.destinations) ListTile( leading: Icon(d.icon), @@ -76,16 +69,10 @@ class _AdaptiveScaffoldState extends State { ], ), ), - VerticalDivider( - width: 1, - thickness: 1, - color: Colors.grey[300], - ), + VerticalDivider(width: 1, thickness: 1, color: Colors.grey[300]), Expanded( child: Scaffold( - appBar: AppBar( - actions: widget.actions, - ), + appBar: AppBar(actions: widget.actions), body: widget.body, floatingActionButton: widget.floatingActionButton, ), @@ -97,10 +84,7 @@ class _AdaptiveScaffoldState extends State { // Show a navigation rail if (_isMediumScreen(context)) { return Scaffold( - appBar: AppBar( - title: widget.title, - actions: widget.actions, - ), + appBar: AppBar(title: widget.title, actions: widget.actions), body: Row( children: [ NavigationRail( @@ -116,14 +100,8 @@ class _AdaptiveScaffoldState extends State { selectedIndex: widget.currentIndex, onDestinationSelected: widget.onNavigationIndexChange ?? (_) {}, ), - VerticalDivider( - width: 1, - thickness: 1, - color: Colors.grey[300], - ), - Expanded( - child: widget.body!, - ), + VerticalDivider(width: 1, thickness: 1, color: Colors.grey[300]), + Expanded(child: widget.body!), ], ), ); @@ -132,17 +110,11 @@ class _AdaptiveScaffoldState extends State { // Show a bottom app bar return Scaffold( body: widget.body, - appBar: AppBar( - title: widget.title, - actions: widget.actions, - ), + appBar: AppBar(title: widget.title, actions: widget.actions), bottomNavigationBar: BottomNavigationBar( items: [ ...widget.destinations.map( - (d) => BottomNavigationBarItem( - icon: Icon(d.icon), - label: d.title, - ), + (d) => BottomNavigationBarItem(icon: Icon(d.icon), label: d.title), ), ], currentIndex: widget.currentIndex, diff --git a/experimental/web_dashboard/pubspec.yaml b/experimental/web_dashboard/pubspec.yaml index 3a6df6f48..d552f7082 100644 --- a/experimental/web_dashboard/pubspec.yaml +++ b/experimental/web_dashboard/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: cloud_firestore: ^5.0.1 diff --git a/experimental/web_dashboard/test/chart_utils_test.dart b/experimental/web_dashboard/test/chart_utils_test.dart index 9fc55ce51..02b0d8a90 100644 --- a/experimental/web_dashboard/test/chart_utils_test.dart +++ b/experimental/web_dashboard/test/chart_utils_test.dart @@ -22,8 +22,9 @@ void main() { }); test('days', () async { expect( - DateTime.utc(2020, 1, 3).difference(DateTime.utc(2020, 1, 2)).inDays, - 1); + DateTime.utc(2020, 1, 3).difference(DateTime.utc(2020, 1, 2)).inDays, + 1, + ); }); }); } diff --git a/experimental/web_dashboard/test/mock_service_test.dart b/experimental/web_dashboard/test/mock_service_test.dart index 801f03d86..edca1de5f 100644 --- a/experimental/web_dashboard/test/mock_service_test.dart +++ b/experimental/web_dashboard/test/mock_service_test.dart @@ -44,10 +44,12 @@ void main() { test('subscribe', () async { var stream = api.categories.subscribe(); - stream.listen(expectAsync1((x) { - expect(x, hasLength(1)); - expect(x.first.name, equals('Coffees Drank')); - }, count: 1)); + stream.listen( + expectAsync1((x) { + expect(x, hasLength(1)); + expect(x.first.name, equals('Coffees Drank')); + }, count: 1), + ); await api.categories.insert(Category('Coffees Drank')); }); }); @@ -57,8 +59,9 @@ void main() { DateTime dateTime = DateTime(2020, 1, 1, 30, 45); setUp(() async { - category = - await api.categories.insert(Category('Lines of code committed')); + category = await api.categories.insert( + Category('Lines of code committed'), + ); }); test('insert', () async { @@ -80,18 +83,23 @@ void main() { test('update', () async { var entry = await api.entries.insert(category.id!, Entry(1, dateTime)); - var updated = await api.entries - .update(category.id!, entry.id!, Entry(2, dateTime)); + var updated = await api.entries.update( + category.id!, + entry.id!, + Entry(2, dateTime), + ); expect(updated.value, 2); }); test('subscribe', () async { var stream = api.entries.subscribe(category.id!); - stream.listen(expectAsync1((x) { - expect(x, hasLength(1)); - expect(x.first.value, equals(1)); - }, count: 1)); + stream.listen( + expectAsync1((x) { + expect(x, hasLength(1)); + expect(x.first.value, equals(1)); + }, count: 1), + ); await api.entries.insert(category.id!, Entry(1, dateTime)); }); diff --git a/experimental/web_dashboard/tool/grind.dart b/experimental/web_dashboard/tool/grind.dart index ad0968277..1728347a2 100644 --- a/experimental/web_dashboard/tool/grind.dart +++ b/experimental/web_dashboard/tool/grind.dart @@ -11,31 +11,38 @@ void main(List args) => grind(args); @Task() void runSkia() { - run('flutter', - arguments: - 'run -d web --web-port=5000 --release --dart-define=FLUTTER_WEB_USE_SKIA=true lib/main.dart ' - .split(' ')); + run( + 'flutter', + arguments: + 'run -d web --web-port=5000 --release --dart-define=FLUTTER_WEB_USE_SKIA=true lib/main.dart ' + .split(' '), + ); } @Task() void runWeb() { - run('flutter', - arguments: 'run -d web --web-port=5000 lib/main.dart '.split(' ')); + run( + 'flutter', + arguments: 'run -d web --web-port=5000 lib/main.dart '.split(' '), + ); } @Task() void runFirebase() { - run('flutter', - arguments: - 'run -d web --web-port=5000 lib/main_firebase.dart '.split(' ')); + run( + 'flutter', + arguments: 'run -d web --web-port=5000 lib/main_firebase.dart '.split(' '), + ); } @Task() void runFirebaseSkia() { - run('flutter', - arguments: - 'run -d web --web-port=5000 --release --dart-define=FLUTTER_WEB_USE_SKIA=true lib/main_firebase.dart' - .split(' ')); + run( + 'flutter', + arguments: + 'run -d web --web-port=5000 --release --dart-define=FLUTTER_WEB_USE_SKIA=true lib/main_firebase.dart' + .split(' '), + ); } @Task() @@ -88,8 +95,9 @@ Future fixCopyright() async { Stream _filesWithoutCopyright() async* { var set = FileSet.fromDir(Directory('.'), recurse: true); - var dartFiles = - set.files.where((file) => path.extension(file.path) == '.dart'); + var dartFiles = set.files.where( + (file) => path.extension(file.path) == '.dart', + ); for (var file in dartFiles) { var firstThreeLines = await file @@ -98,9 +106,9 @@ Stream _filesWithoutCopyright() async* { .transform(const LineSplitter()) .take(3) .fold('', (previous, element) { - if (previous == '') return element; - return '$previous\n$element'; - }); + if (previous == '') return element; + return '$previous\n$element'; + }); if (firstThreeLines != _copyright) { yield file; diff --git a/flutter_maps_firestore/lib/main.dart b/flutter_maps_firestore/lib/main.dart index 5b3b03687..13668c621 100644 --- a/flutter_maps_firestore/lib/main.dart +++ b/flutter_maps_firestore/lib/main.dart @@ -58,39 +58,40 @@ class _HomePageState extends State { @override void initState() { super.initState(); - _iceCreamStores = FirebaseFirestore.instance - .collection('ice_cream_stores') - .orderBy('name') - .snapshots(); + _iceCreamStores = + FirebaseFirestore.instance + .collection('ice_cream_stores') + .orderBy('name') + .snapshots(); } @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: Text(widget.title), - ), + appBar: AppBar(title: Text(widget.title)), body: StreamBuilder( stream: _iceCreamStores, builder: (context, snapshot) { return switch (snapshot) { - AsyncSnapshot(hasError: true) => - Center(child: Text('Error: ${snapshot.error}')), - AsyncSnapshot(hasData: false) => - const Center(child: Text('Loading...')), + AsyncSnapshot(hasError: true) => Center( + child: Text('Error: ${snapshot.error}'), + ), + AsyncSnapshot(hasData: false) => const Center( + child: Text('Loading...'), + ), _ => Stack( - children: [ - StoreMap( - documents: snapshot.data!.docs, - initialPosition: initialPosition, - mapController: _mapController, - ), - StoreCarousel( - mapController: _mapController, - documents: snapshot.data!.docs, - ), - ], - ) + children: [ + StoreMap( + documents: snapshot.data!.docs, + initialPosition: initialPosition, + mapController: _mapController, + ), + StoreCarousel( + mapController: _mapController, + documents: snapshot.data!.docs, + ), + ], + ), }; }, ), @@ -194,8 +195,9 @@ class _StoreListTileState extends State { } Future _retrievePlacesDetails() async { - final details = await _placesApiClient - .getDetailsByPlaceId(widget.document['placeId'] as String); + final details = await _placesApiClient.getDetailsByPlaceId( + widget.document['placeId'] as String, + ); if (!_disposed) { setState(() { _placePhotoUrl = _placesApiClient.buildPhotoUrl( @@ -214,12 +216,13 @@ class _StoreListTileState extends State { leading: SizedBox( width: 100, height: 100, - child: _placePhotoUrl.isNotEmpty - ? ClipRRect( - borderRadius: const BorderRadius.all(Radius.circular(2)), - child: Image.network(_placePhotoUrl, fit: BoxFit.cover), - ) - : Container(), + child: + _placePhotoUrl.isNotEmpty + ? ClipRRect( + borderRadius: const BorderRadius.all(Radius.circular(2)), + child: Image.network(_placePhotoUrl, fit: BoxFit.cover), + ) + : Container(), ), onTap: () async { final controller = await widget.mapController.future; @@ -254,24 +257,24 @@ class StoreMap extends StatelessWidget { @override Widget build(BuildContext context) { return GoogleMap( - initialCameraPosition: CameraPosition( - target: initialPosition, - zoom: 12, - ), - markers: documents - .map((document) => Marker( - markerId: MarkerId(document['placeId'] as String), - icon: BitmapDescriptor.defaultMarkerWithHue(_pinkHue), - position: LatLng( - document['location'].latitude as double, - document['location'].longitude as double, - ), - infoWindow: InfoWindow( - title: document['name'] as String?, - snippet: document['address'] as String?, + initialCameraPosition: CameraPosition(target: initialPosition, zoom: 12), + markers: + documents + .map( + (document) => Marker( + markerId: MarkerId(document['placeId'] as String), + icon: BitmapDescriptor.defaultMarkerWithHue(_pinkHue), + position: LatLng( + document['location'].latitude as double, + document['location'].longitude as double, + ), + infoWindow: InfoWindow( + title: document['name'] as String?, + snippet: document['address'] as String?, + ), ), - )) - .toSet(), + ) + .toSet(), onMapCreated: (mapController) { this.mapController.complete(mapController); }, diff --git a/flutter_maps_firestore/pubspec.yaml b/flutter_maps_firestore/pubspec.yaml index 42cbdec64..a45675abf 100644 --- a/flutter_maps_firestore/pubspec.yaml +++ b/flutter_maps_firestore/pubspec.yaml @@ -3,7 +3,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/form_app/lib/main.dart b/form_app/lib/main.dart index eb404c268..9be0081cc 100644 --- a/form_app/lib/main.dart +++ b/form_app/lib/main.dart @@ -30,11 +30,13 @@ void setupWindow() { setWindowMinSize(const Size(windowWidth, windowHeight)); setWindowMaxSize(const Size(windowWidth, windowHeight)); getCurrentScreen().then((screen) { - setWindowFrame(Rect.fromCenter( - center: screen!.frame.center, - width: windowWidth, - height: windowHeight, - )); + setWindowFrame( + Rect.fromCenter( + center: screen!.frame.center, + width: windowWidth, + height: windowHeight, + ), + ); }); } } @@ -43,10 +45,11 @@ final demos = [ Demo( name: 'Sign in with HTTP', route: 'signin_http', - builder: (context) => SignInHttpDemo( - // This sample uses a mock HTTP client. - httpClient: mockClient, - ), + builder: + (context) => SignInHttpDemo( + // This sample uses a mock HTTP client. + httpClient: mockClient, + ), ), Demo( name: 'Autofill', @@ -88,9 +91,7 @@ class FormApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp.router( title: 'Form Samples', - theme: ThemeData( - colorSchemeSeed: Colors.teal, - ), + theme: ThemeData(colorSchemeSeed: Colors.teal), routerConfig: router, ); } @@ -102,12 +103,8 @@ class HomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Form Samples'), - ), - body: ListView( - children: [...demos.map((d) => DemoTile(demo: d))], - ), + appBar: AppBar(title: const Text('Form Samples')), + body: ListView(children: [...demos.map((d) => DemoTile(demo: d))]), ); } } diff --git a/form_app/lib/src/autofill.dart b/form_app/lib/src/autofill.dart index aaa7a5907..8b8d2dbd5 100644 --- a/form_app/lib/src/autofill.dart +++ b/form_app/lib/src/autofill.dart @@ -19,9 +19,7 @@ class _AutofillDemoState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Autofill'), - ), + appBar: AppBar(title: const Text('Autofill')), body: Form( key: _formKey, child: Scrollbar( @@ -101,14 +99,7 @@ class _AutofillDemoState extends State { ), autofillHints: [AutofillHints.countryCode], ), - ].expand( - (widget) => [ - widget, - const SizedBox( - height: 24, - ) - ], - ) + ].expand((widget) => [widget, const SizedBox(height: 24)]), ], ), ), diff --git a/form_app/lib/src/form_widgets.dart b/form_app/lib/src/form_widgets.dart index 14b590f5a..222edefc3 100644 --- a/form_app/lib/src/form_widgets.dart +++ b/form_app/lib/src/form_widgets.dart @@ -24,9 +24,7 @@ class _FormWidgetsDemoState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Form widgets'), - ), + appBar: AppBar(title: const Text('Form widgets')), body: Form( key: _formKey, child: Scrollbar( @@ -89,8 +87,9 @@ class _FormWidgetsDemoState extends State { ), Text( intl.NumberFormat.currency( - symbol: "\$", decimalDigits: 0) - .format(maxValue), + symbol: "\$", + decimalDigits: 0, + ).format(maxValue), style: Theme.of(context).textTheme.titleMedium, ), Slider( @@ -118,16 +117,20 @@ class _FormWidgetsDemoState extends State { }); }, ), - Text('Brushed Teeth', - style: Theme.of(context).textTheme.titleMedium), + Text( + 'Brushed Teeth', + style: Theme.of(context).textTheme.titleMedium, + ), ], ), Row( mainAxisAlignment: MainAxisAlignment.spaceBetween, crossAxisAlignment: CrossAxisAlignment.center, children: [ - Text('Enable feature', - style: Theme.of(context).textTheme.bodyLarge), + Text( + 'Enable feature', + style: Theme.of(context).textTheme.bodyLarge, + ), Switch( value: enableFeature, onChanged: (enabled) { @@ -139,13 +142,8 @@ class _FormWidgetsDemoState extends State { ], ), ].expand( - (widget) => [ - widget, - const SizedBox( - height: 24, - ) - ], - ) + (widget) => [widget, const SizedBox(height: 24)], + ), ], ), ), @@ -162,10 +160,7 @@ class _FormDatePicker extends StatefulWidget { final DateTime date; final ValueChanged onChanged; - const _FormDatePicker({ - required this.date, - required this.onChanged, - }); + const _FormDatePicker({required this.date, required this.onChanged}); @override State<_FormDatePicker> createState() => _FormDatePickerState(); @@ -182,10 +177,7 @@ class _FormDatePickerState extends State<_FormDatePicker> { crossAxisAlignment: CrossAxisAlignment.start, mainAxisAlignment: MainAxisAlignment.spaceAround, children: [ - Text( - 'Date', - style: Theme.of(context).textTheme.bodyLarge, - ), + Text('Date', style: Theme.of(context).textTheme.bodyLarge), Text( intl.DateFormat.yMd().format(widget.date), style: Theme.of(context).textTheme.titleMedium, @@ -209,7 +201,7 @@ class _FormDatePickerState extends State<_FormDatePicker> { widget.onChanged(newDate); }, - ) + ), ], ); } diff --git a/form_app/lib/src/http/mock_client.dart b/form_app/lib/src/http/mock_client.dart index 051a261ec..1d11d099e 100644 --- a/form_app/lib/src/http/mock_client.dart +++ b/form_app/lib/src/http/mock_client.dart @@ -8,7 +8,8 @@ final http.Client mockClient = MockClient(_mockHandler); Future _mockHandler(http.Request request) async { var decodedJson = Map.from( - json.decode(request.body) as Map); + json.decode(request.body) as Map, + ); if (decodedJson['email'] == 'root' && decodedJson['password'] == 'password') { return http.Response('', 200); diff --git a/form_app/lib/src/sign_in_http.dart b/form_app/lib/src/sign_in_http.dart index 4ac908d09..4096e922b 100644 --- a/form_app/lib/src/sign_in_http.dart +++ b/form_app/lib/src/sign_in_http.dart @@ -15,10 +15,7 @@ class FormData { String? email; String? password; - FormData({ - this.email, - this.password, - }); + FormData({this.email, this.password}); factory FormData.fromJson(Map json) => _$FormDataFromJson(json); @@ -29,10 +26,7 @@ class FormData { class SignInHttpDemo extends StatefulWidget { final http.Client? httpClient; - const SignInHttpDemo({ - this.httpClient, - super.key, - }); + const SignInHttpDemo({this.httpClient, super.key}); @override State createState() => _SignInHttpDemoState(); @@ -44,9 +38,7 @@ class _SignInHttpDemoState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Sign in Form'), - ), + appBar: AppBar(title: const Text('Sign in Form')), body: Form( child: Scrollbar( child: SingleChildScrollView( @@ -81,25 +73,19 @@ class _SignInHttpDemoState extends State { onPressed: () async { // Use a JSON encoded string to send var result = await widget.httpClient!.post( - Uri.parse('https://example.com/signin'), - body: json.encode(formData.toJson()), - headers: {'content-type': 'application/json'}); + Uri.parse('https://example.com/signin'), + body: json.encode(formData.toJson()), + headers: {'content-type': 'application/json'}, + ); _showDialog(switch (result.statusCode) { 200 => 'Successfully signed in.', 401 => 'Unable to sign in.', - _ => 'Something went wrong. Please try again.' + _ => 'Something went wrong. Please try again.', }); }, ), - ].expand( - (widget) => [ - widget, - const SizedBox( - height: 24, - ) - ], - ) + ].expand((widget) => [widget, const SizedBox(height: 24)]), ], ), ), @@ -111,15 +97,16 @@ class _SignInHttpDemoState extends State { void _showDialog(String message) { showDialog( context: context, - builder: (context) => AlertDialog( - title: Text(message), - actions: [ - TextButton( - child: const Text('OK'), - onPressed: () => Navigator.of(context).pop(), + builder: + (context) => AlertDialog( + title: Text(message), + actions: [ + TextButton( + child: const Text('OK'), + onPressed: () => Navigator.of(context).pop(), + ), + ], ), - ], - ), ); } } diff --git a/form_app/lib/src/sign_in_http.g.dart b/form_app/lib/src/sign_in_http.g.dart index 6e9b86cd7..6b70755fe 100644 --- a/form_app/lib/src/sign_in_http.g.dart +++ b/form_app/lib/src/sign_in_http.g.dart @@ -14,6 +14,6 @@ FormData _$FormDataFromJson(Map json) { } Map _$FormDataToJson(FormData instance) => { - 'email': instance.email, - 'password': instance.password, - }; + 'email': instance.email, + 'password': instance.password, +}; diff --git a/form_app/lib/src/validation.dart b/form_app/lib/src/validation.dart index 07b3201b5..65f2d2e38 100644 --- a/form_app/lib/src/validation.dart +++ b/form_app/lib/src/validation.dart @@ -38,18 +38,19 @@ class _FormValidationDemoState extends State { showDialog( context: context, - builder: (context) => AlertDialog( - title: const Text('Your story'), - content: Text('The $adjective developer saw a $noun'), - actions: [ - TextButton( - child: const Text('Done'), - onPressed: () { - Navigator.of(context).pop(); - }, + builder: + (context) => AlertDialog( + title: const Text('Your story'), + content: Text('The $adjective developer saw a $noun'), + actions: [ + TextButton( + child: const Text('Done'), + onPressed: () { + Navigator.of(context).pop(); + }, + ), + ], ), - ], - ), ); }, ), @@ -85,9 +86,7 @@ class _FormValidationDemoState extends State { adjective = value; }, ), - const SizedBox( - height: 24, - ), + const SizedBox(height: 24), // A text field that validates that the text is a noun. TextFormField( validator: (value) { @@ -108,9 +107,7 @@ class _FormValidationDemoState extends State { noun = value; }, ), - const SizedBox( - height: 24, - ), + const SizedBox(height: 24), // A custom form field that requires the user to check a // checkbox. FormField( @@ -148,11 +145,11 @@ class _FormValidationDemoState extends State { if (!formFieldState.isValid) Text( formFieldState.errorText ?? "", - style: Theme.of(context) - .textTheme - .bodySmall! - .copyWith( - color: Theme.of(context).colorScheme.error), + style: Theme.of( + context, + ).textTheme.bodySmall!.copyWith( + color: Theme.of(context).colorScheme.error, + ), ), ], ); diff --git a/form_app/pubspec.yaml b/form_app/pubspec.yaml index 29fd73b0e..dddc836d0 100644 --- a/form_app/pubspec.yaml +++ b/form_app/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/form_app/test/form_app_test.dart b/form_app/test/form_app_test.dart index 537863683..9caecec89 100644 --- a/form_app/test/form_app_test.dart +++ b/form_app/test/form_app_test.dart @@ -23,11 +23,9 @@ void main() { } Future _signIn(WidgetTester tester, String email, String password) async { - await tester.pumpWidget(MaterialApp( - home: SignInHttpDemo( - httpClient: mockClient, - ), - )); + await tester.pumpWidget( + MaterialApp(home: SignInHttpDemo(httpClient: mockClient)), + ); var textFormField = find.byType(TextFormField); expect(textFormField, findsNWidgets(2)); diff --git a/game_template/lib/firebase_options.dart b/game_template/lib/firebase_options.dart index 0a1a62e2b..a62304c6a 100644 --- a/game_template/lib/firebase_options.dart +++ b/game_template/lib/firebase_options.dart @@ -6,7 +6,8 @@ class DefaultFirebaseOptions { @Deprecated('Run `flutterfire configure` to re-generate this file') static FirebaseOptions get currentPlatform { throw UnimplementedError( - 'Generate this file by running `flutterfire configure`. ' - 'See README.md for details.'); + 'Generate this file by running `flutterfire configure`. ' + 'See README.md for details.', + ); } } diff --git a/game_template/lib/main.dart b/game_template/lib/main.dart index 45de62a19..de11af8d0 100644 --- a/game_template/lib/main.dart +++ b/game_template/lib/main.dart @@ -80,9 +80,7 @@ Future main() async { // } _log.info('Going full screen'); - SystemChrome.setEnabledSystemUIMode( - SystemUiMode.edgeToEdge, - ); + SystemChrome.setEnabledSystemUIMode(SystemUiMode.edgeToEdge); // TODO: When ready, uncomment the following lines to enable integrations. // Read the README for more info on each integration. @@ -130,70 +128,73 @@ class MyApp extends StatelessWidget { static final _router = GoRouter( routes: [ GoRoute( - path: '/', - builder: (context, state) => - const MainMenuScreen(key: Key('main menu')), - routes: [ - GoRoute( - path: 'play', - pageBuilder: (context, state) => buildMyTransition( - key: ValueKey('play'), - child: const LevelSelectionScreen( - key: Key('level selection'), - ), - color: context.watch().backgroundLevelSelection, - ), - routes: [ - GoRoute( - path: 'session/:level', - pageBuilder: (context, state) { - final levelNumber = - int.parse(state.pathParameters['level']!); - final level = gameLevels - .singleWhere((e) => e.number == levelNumber); - return buildMyTransition( - key: ValueKey('level'), - child: PlaySessionScreen( - level, - key: const Key('play session'), - ), - color: context.watch().backgroundPlaySession, - ); - }, + path: '/', + builder: + (context, state) => const MainMenuScreen(key: Key('main menu')), + routes: [ + GoRoute( + path: 'play', + pageBuilder: + (context, state) => buildMyTransition( + key: ValueKey('play'), + child: const LevelSelectionScreen( + key: Key('level selection'), ), - GoRoute( - path: 'won', - redirect: (context, state) { - if (state.extra == null) { - // Trying to navigate to a win screen without any data. - // Possibly by using the browser's back button. - return '/'; - } + color: context.watch().backgroundLevelSelection, + ), + routes: [ + GoRoute( + path: 'session/:level', + pageBuilder: (context, state) { + final levelNumber = int.parse(state.pathParameters['level']!); + final level = gameLevels.singleWhere( + (e) => e.number == levelNumber, + ); + return buildMyTransition( + key: ValueKey('level'), + child: PlaySessionScreen( + level, + key: const Key('play session'), + ), + color: context.watch().backgroundPlaySession, + ); + }, + ), + GoRoute( + path: 'won', + redirect: (context, state) { + if (state.extra == null) { + // Trying to navigate to a win screen without any data. + // Possibly by using the browser's back button. + return '/'; + } - // Otherwise, do not redirect. - return null; - }, - pageBuilder: (context, state) { - final map = state.extra! as Map; - final score = map['score'] as Score; + // Otherwise, do not redirect. + return null; + }, + pageBuilder: (context, state) { + final map = state.extra! as Map; + final score = map['score'] as Score; - return buildMyTransition( - key: ValueKey('won'), - child: WinGameScreen( - score: score, - key: const Key('win game'), - ), - color: context.watch().backgroundPlaySession, - ); - }, - ) - ]), - GoRoute( - path: 'settings', - builder: (context, state) => - const SettingsScreen(key: Key('settings')), - ), - ]), + return buildMyTransition( + key: ValueKey('won'), + child: WinGameScreen( + score: score, + key: const Key('win game'), + ), + color: context.watch().backgroundPlaySession, + ); + }, + ), + ], + ), + GoRoute( + path: 'settings', + builder: + (context, state) => const SettingsScreen(key: Key('settings')), + ), + ], + ), ], ); @@ -229,18 +230,24 @@ class MyApp extends StatelessWidget { }, ), Provider.value( - value: gamesServicesController), + value: gamesServicesController, + ), Provider.value(value: adsController), ChangeNotifierProvider.value( - value: inAppPurchaseController), + value: inAppPurchaseController, + ), Provider( lazy: false, - create: (context) => SettingsController( - persistence: settingsPersistence, - )..loadStateFromPersistence(), + create: + (context) => + SettingsController(persistence: settingsPersistence) + ..loadStateFromPersistence(), ), - ProxyProvider2, - AudioController>( + ProxyProvider2< + SettingsController, + ValueNotifier, + AudioController + >( // Ensures that the AudioController is created on startup, // and not "only when it's needed", as is default behavior. // This way, music starts immediately. @@ -254,32 +261,28 @@ class MyApp extends StatelessWidget { }, dispose: (context, audio) => audio.dispose(), ), - Provider( - create: (context) => Palette(), - ), + Provider(create: (context) => Palette()), ], - child: Builder(builder: (context) { - final palette = context.watch(); + child: Builder( + builder: (context) { + final palette = context.watch(); - return MaterialApp.router( - title: 'Flutter Demo', - theme: ThemeData.from( - colorScheme: ColorScheme.fromSeed( - seedColor: palette.darkPen, - surface: palette.backgroundMain, - ), - textTheme: TextTheme( - bodyMedium: TextStyle( - color: palette.ink, + return MaterialApp.router( + title: 'Flutter Demo', + theme: ThemeData.from( + colorScheme: ColorScheme.fromSeed( + seedColor: palette.darkPen, + surface: palette.backgroundMain, ), + textTheme: TextTheme(bodyMedium: TextStyle(color: palette.ink)), ), - ), - routeInformationProvider: _router.routeInformationProvider, - routeInformationParser: _router.routeInformationParser, - routerDelegate: _router.routerDelegate, - scaffoldMessengerKey: scaffoldMessengerKey, - ); - }), + routeInformationProvider: _router.routeInformationProvider, + routeInformationParser: _router.routeInformationParser, + routerDelegate: _router.routerDelegate, + scaffoldMessengerKey: scaffoldMessengerKey, + ); + }, + ), ), ); } diff --git a/game_template/lib/src/ads/ads_controller.dart b/game_template/lib/src/ads/ads_controller.dart index eb9c44c6e..6c1e4da46 100644 --- a/game_template/lib/src/ads/ads_controller.dart +++ b/game_template/lib/src/ads/ads_controller.dart @@ -36,12 +36,15 @@ class AdsController { void preloadAd() { // TODO: When ready, change this to the Ad Unit IDs provided by AdMob. // The current values are AdMob's sample IDs. - final adUnitId = defaultTargetPlatform == TargetPlatform.android - ? 'ca-app-pub-3940256099942544/6300978111' - // iOS - : 'ca-app-pub-3940256099942544/2934735716'; - _preloadedAd = - PreloadedBannerAd(size: AdSize.mediumRectangle, adUnitId: adUnitId); + final adUnitId = + defaultTargetPlatform == TargetPlatform.android + ? 'ca-app-pub-3940256099942544/6300978111' + // iOS + : 'ca-app-pub-3940256099942544/2934735716'; + _preloadedAd = PreloadedBannerAd( + size: AdSize.mediumRectangle, + adUnitId: adUnitId, + ); // Wait a bit so that calling at start of a new screen doesn't have // adverse effects on performance. diff --git a/game_template/lib/src/ads/banner_ad_widget.dart b/game_template/lib/src/ads/banner_ad_widget.dart index 432fc751e..cfbe6e609 100644 --- a/game_template/lib/src/ads/banner_ad_widget.dart +++ b/game_template/lib/src/ads/banner_ad_widget.dart @@ -53,8 +53,11 @@ class _BannerAdWidgetState extends State { if (_currentOrientation == orientation && _bannerAd != null && _adLoadingState == _LoadingState.loaded) { - _log.info(() => 'We have everything we need. Showing the ad ' - '${_bannerAd.hashCode} now.'); + _log.info( + () => + 'We have everything we need. Showing the ad ' + '${_bannerAd.hashCode} now.', + ); return SizedBox( width: _bannerAd!.size.width.toDouble(), height: _bannerAd!.size.height.toDouble(), @@ -123,7 +126,8 @@ class _BannerAdWidgetState extends State { if (useAnchoredAdaptiveSize) { final AnchoredAdaptiveBannerAdSize? adaptiveSize = await AdSize.getCurrentOrientationAnchoredAdaptiveBannerAdSize( - MediaQuery.of(context).size.width.truncate()); + MediaQuery.of(context).size.width.truncate(), + ); if (adaptiveSize == null) { _log.warning('Unable to get height of anchored banner.'); @@ -137,16 +141,19 @@ class _BannerAdWidgetState extends State { if (!mounted) return; - assert(Platform.isAndroid || Platform.isIOS, - 'AdMob currently does not support ${Platform.operatingSystem}'); + assert( + Platform.isAndroid || Platform.isIOS, + 'AdMob currently does not support ${Platform.operatingSystem}', + ); _bannerAd = BannerAd( // This is a test ad unit ID from // https://developers.google.com/admob/android/test-ads. When ready, // you replace this with your own, production ad unit ID, // created in https://apps.admob.com/. - adUnitId: Theme.of(context).platform == TargetPlatform.android - ? 'ca-app-pub-3940256099942544/6300978111' - : 'ca-app-pub-3940256099942544/2934735716', + adUnitId: + Theme.of(context).platform == TargetPlatform.android + ? 'ca-app-pub-3940256099942544/6300978111' + : 'ca-app-pub-3940256099942544/2934735716', size: size, request: const AdRequest(), listener: BannerAdListener( diff --git a/game_template/lib/src/ads/preloaded_banner_ad.dart b/game_template/lib/src/ads/preloaded_banner_ad.dart index ac4b25df1..c61bb3705 100644 --- a/game_template/lib/src/ads/preloaded_banner_ad.dart +++ b/game_template/lib/src/ads/preloaded_banner_ad.dart @@ -31,8 +31,10 @@ class PreloadedBannerAd { Future get ready => _adCompleter.future; Future load() { - assert(Platform.isAndroid || Platform.isIOS, - 'AdMob currently does not support ${Platform.operatingSystem}'); + assert( + Platform.isAndroid || Platform.isIOS, + 'AdMob currently does not support ${Platform.operatingSystem}', + ); _bannerAd = BannerAd( // This is a test ad unit ID from diff --git a/game_template/lib/src/app_lifecycle/app_lifecycle.dart b/game_template/lib/src/app_lifecycle/app_lifecycle.dart index 559bf7906..8c197264d 100644 --- a/game_template/lib/src/app_lifecycle/app_lifecycle.dart +++ b/game_template/lib/src/app_lifecycle/app_lifecycle.dart @@ -19,8 +19,9 @@ class _AppLifecycleObserverState extends State with WidgetsBindingObserver { static final _log = Logger('AppLifecycleObserver'); - final ValueNotifier lifecycleListenable = - ValueNotifier(AppLifecycleState.inactive); + final ValueNotifier lifecycleListenable = ValueNotifier( + AppLifecycleState.inactive, + ); @override Widget build(BuildContext context) { diff --git a/game_template/lib/src/audio/audio_controller.dart b/game_template/lib/src/audio/audio_controller.dart index 6a02c0dbe..f388f77b3 100644 --- a/game_template/lib/src/audio/audio_controller.dart +++ b/game_template/lib/src/audio/audio_controller.dart @@ -43,12 +43,13 @@ class AudioController { /// Background music does not count into the [polyphony] limit. Music will /// never be overridden by sound effects because that would be silly. AudioController({int polyphony = 2}) - : assert(polyphony >= 1), - _musicPlayer = AudioPlayer(playerId: 'musicPlayer'), - _sfxPlayers = Iterable.generate( - polyphony, (i) => AudioPlayer(playerId: 'sfxPlayer#$i')) - .toList(growable: false), - _playlist = Queue.of(List.of(songs)..shuffle()) { + : assert(polyphony >= 1), + _musicPlayer = AudioPlayer(playerId: 'musicPlayer'), + _sfxPlayers = Iterable.generate( + polyphony, + (i) => AudioPlayer(playerId: 'sfxPlayer#$i'), + ).toList(growable: false), + _playlist = Queue.of(List.of(songs)..shuffle()) { _musicPlayer.onPlayerComplete.listen(_changeSong); } @@ -56,7 +57,8 @@ class AudioController { /// and therefore do things like stopping playback when the game /// goes into the background. void attachLifecycleNotifier( - ValueNotifier lifecycleNotifier) { + ValueNotifier lifecycleNotifier, + ) { _lifecycleNotifier?.removeListener(_handleAppLifecycle); lifecycleNotifier.addListener(_handleAppLifecycle); @@ -108,10 +110,12 @@ class AudioController { // This assumes there is only a limited number of sound effects in the game. // If there are hundreds of long sound effect files, it's better // to be more selective when preloading. - await AudioCache.instance.loadAll(SfxType.values - .expand(soundTypeToFilename) - .map((path) => 'sfx/$path') - .toList()); + await AudioCache.instance.loadAll( + SfxType.values + .expand(soundTypeToFilename) + .map((path) => 'sfx/$path') + .toList(), + ); } /// Plays a single sound effect, defined by [type]. @@ -127,8 +131,9 @@ class AudioController { } final soundsOn = _settings?.soundsOn.value ?? false; if (!soundsOn) { - _log.info(() => - 'Ignoring playing sound ($type) because sounds are turned off.'); + _log.info( + () => 'Ignoring playing sound ($type) because sounds are turned off.', + ); return; } @@ -138,8 +143,10 @@ class AudioController { _log.info(() => '- Chosen filename: $filename'); final currentPlayer = _sfxPlayers[_currentSfxPlayer]; - currentPlayer.play(AssetSource('sfx/$filename'), - volume: soundTypeToVolume(type)); + currentPlayer.play( + AssetSource('sfx/$filename'), + volume: soundTypeToVolume(type), + ); _currentSfxPlayer = (_currentSfxPlayer + 1) % _sfxPlayers.length; } @@ -209,17 +216,23 @@ class AudioController { await _playFirstSongInPlaylist(); } case PlayerState.stopped: - _log.info("resumeMusic() called when music is stopped. " - "This probably means we haven't yet started the music. " - "For example, the game was started with sound off."); + _log.info( + "resumeMusic() called when music is stopped. " + "This probably means we haven't yet started the music. " + "For example, the game was started with sound off.", + ); await _playFirstSongInPlaylist(); case PlayerState.playing: - _log.warning('resumeMusic() called when music is playing. ' - 'Nothing to do.'); + _log.warning( + 'resumeMusic() called when music is playing. ' + 'Nothing to do.', + ); case PlayerState.completed: - _log.warning('resumeMusic() called when music is completed. ' - "Music should never be 'completed' as it's either not playing " - "or looping forever."); + _log.warning( + 'resumeMusic() called when music is completed. ' + "Music should never be 'completed' as it's either not playing " + "or looping forever.", + ); await _playFirstSongInPlaylist(); default: _log.warning('Unhandled PlayerState: ${_musicPlayer.state}'); diff --git a/game_template/lib/src/audio/sounds.dart b/game_template/lib/src/audio/sounds.dart index 139ac2132..2929acb24 100644 --- a/game_template/lib/src/audio/sounds.dart +++ b/game_template/lib/src/audio/sounds.dart @@ -5,11 +5,7 @@ List soundTypeToFilename(SfxType type) { switch (type) { case SfxType.huhsh: - return const [ - 'hash1.mp3', - 'hash2.mp3', - 'hash3.mp3', - ]; + return const ['hash1.mp3', 'hash2.mp3', 'hash3.mp3']; case SfxType.wssh: return const [ 'wssh1.mp3', @@ -22,27 +18,13 @@ List soundTypeToFilename(SfxType type) { 'kss1.mp3', ]; case SfxType.buttonTap: - return const [ - 'k1.mp3', - 'k2.mp3', - 'p1.mp3', - 'p2.mp3', - ]; + return const ['k1.mp3', 'k2.mp3', 'p1.mp3', 'p2.mp3']; case SfxType.congrats: - return const [ - 'yay1.mp3', - 'wehee1.mp3', - 'oo1.mp3', - ]; + return const ['yay1.mp3', 'wehee1.mp3', 'oo1.mp3']; case SfxType.erase: - return const [ - 'fwfwfwfwfw1.mp3', - 'fwfwfwfw1.mp3', - ]; + return const ['fwfwfwfwfw1.mp3', 'fwfwfwfw1.mp3']; case SfxType.swishSwish: - return const [ - 'swishswish1.mp3', - ]; + return const ['swishswish1.mp3']; } } @@ -61,11 +43,4 @@ double soundTypeToVolume(SfxType type) { } } -enum SfxType { - huhsh, - wssh, - buttonTap, - congrats, - erase, - swishSwish, -} +enum SfxType { huhsh, wssh, buttonTap, congrats, erase, swishSwish } diff --git a/game_template/lib/src/games_services/games_services.dart b/game_template/lib/src/games_services/games_services.dart index b4b10eb98..8ce837325 100644 --- a/game_template/lib/src/games_services/games_services.dart +++ b/game_template/lib/src/games_services/games_services.dart @@ -28,8 +28,10 @@ class GamesServicesController { /// /// Does nothing when the game isn't signed into the underlying /// games service. - Future awardAchievement( - {required String iOS, required String android}) async { + Future awardAchievement({ + required String iOS, + required String android, + }) async { if (!await signedIn) { _log.warning('Trying to award achievement when not logged in.'); return; @@ -37,10 +39,7 @@ class GamesServicesController { try { await gs.GamesServices.unlock( - achievement: gs.Achievement( - androidID: android, - iOSID: iOS, - ), + achievement: gs.Achievement(androidID: android, iOSID: iOS), ); } catch (e) { _log.severe('Cannot award achievement: $e'); diff --git a/game_template/lib/src/games_services/score.dart b/game_template/lib/src/games_services/score.dart index c4ecef561..9ebbac4a7 100644 --- a/game_template/lib/src/games_services/score.dart +++ b/game_template/lib/src/games_services/score.dart @@ -37,9 +37,12 @@ class Score { buf.write('$minutes'); } buf.write(':'); - buf.write((duration.inSeconds % Duration.secondsPerMinute) - .toString() - .padLeft(2, '0')); + buf.write( + (duration.inSeconds % Duration.secondsPerMinute).toString().padLeft( + 2, + '0', + ), + ); return buf.toString(); } diff --git a/game_template/lib/src/in_app_purchase/in_app_purchase.dart b/game_template/lib/src/in_app_purchase/in_app_purchase.dart index 4e3b3cfae..cd1c68766 100644 --- a/game_template/lib/src/in_app_purchase/in_app_purchase.dart +++ b/game_template/lib/src/in_app_purchase/in_app_purchase.dart @@ -47,12 +47,15 @@ class InAppPurchaseController extends ChangeNotifier { notifyListeners(); _log.info('Querying the store with queryProductDetails()'); - final response = await inAppPurchaseInstance - .queryProductDetails({AdRemovalPurchase.productId}); + final response = await inAppPurchaseInstance.queryProductDetails({ + AdRemovalPurchase.productId, + }); if (response.error != null) { - _reportError('There was an error when making the purchase: ' - '${response.error}'); + _reportError( + 'There was an error when making the purchase: ' + '${response.error}', + ); return; } @@ -61,8 +64,10 @@ class InAppPurchaseController extends ChangeNotifier { 'Products in response: ' '${response.productDetails.map((e) => '${e.id}: ${e.title}, ').join()}', ); - _reportError('There was an error when making the purchase: ' - 'product ${AdRemovalPurchase.productId} does not exist?'); + _reportError( + 'There was an error when making the purchase: ' + 'product ${AdRemovalPurchase.productId} does not exist?', + ); return; } final productDetails = response.productDetails.single; @@ -71,14 +76,16 @@ class InAppPurchaseController extends ChangeNotifier { final purchaseParam = PurchaseParam(productDetails: productDetails); try { final success = await inAppPurchaseInstance.buyNonConsumable( - purchaseParam: purchaseParam); + purchaseParam: purchaseParam, + ); _log.info('buyNonConsumable() request was sent with success: $success'); // The result of the purchase will be reported in the purchaseStream, // which is handled in [_listenToPurchaseUpdated]. } catch (e) { _log.severe( - 'Problem with calling inAppPurchaseInstance.buyNonConsumable(): ' - '$e'); + 'Problem with calling inAppPurchaseInstance.buyNonConsumable(): ' + '$e', + ); } } @@ -107,29 +114,38 @@ class InAppPurchaseController extends ChangeNotifier { /// Subscribes to the [inAppPurchaseInstance.purchaseStream]. void subscribe() { _subscription?.cancel(); - _subscription = - inAppPurchaseInstance.purchaseStream.listen((purchaseDetailsList) { - _listenToPurchaseUpdated(purchaseDetailsList); - }, onDone: () { - _subscription?.cancel(); - }, onError: (dynamic error) { - _log.severe('Error occurred on the purchaseStream: $error'); - }); + _subscription = inAppPurchaseInstance.purchaseStream.listen( + (purchaseDetailsList) { + _listenToPurchaseUpdated(purchaseDetailsList); + }, + onDone: () { + _subscription?.cancel(); + }, + onError: (dynamic error) { + _log.severe('Error occurred on the purchaseStream: $error'); + }, + ); } Future _listenToPurchaseUpdated( - List purchaseDetailsList) async { + List purchaseDetailsList, + ) async { for (final purchaseDetails in purchaseDetailsList) { - _log.info(() => 'New PurchaseDetails instance received: ' - 'productID=${purchaseDetails.productID}, ' - 'status=${purchaseDetails.status}, ' - 'purchaseID=${purchaseDetails.purchaseID}, ' - 'error=${purchaseDetails.error}, ' - 'pendingCompletePurchase=${purchaseDetails.pendingCompletePurchase}'); + _log.info( + () => + 'New PurchaseDetails instance received: ' + 'productID=${purchaseDetails.productID}, ' + 'status=${purchaseDetails.status}, ' + 'purchaseID=${purchaseDetails.purchaseID}, ' + 'error=${purchaseDetails.error}, ' + 'pendingCompletePurchase=${purchaseDetails.pendingCompletePurchase}', + ); if (purchaseDetails.productID != AdRemovalPurchase.productId) { - _log.severe("The handling of the product with id " - "'${purchaseDetails.productID}' is not implemented."); + _log.severe( + "The handling of the product with id " + "'${purchaseDetails.productID}' is not implemented.", + ); _adRemoval = const AdRemovalPurchase.notStarted(); notifyListeners(); continue; @@ -151,7 +167,8 @@ class InAppPurchaseController extends ChangeNotifier { } else { _log.severe('Purchase verification failed: $purchaseDetails'); _adRemoval = AdRemovalPurchase.error( - StateError('Purchase could not be verified')); + StateError('Purchase could not be verified'), + ); notifyListeners(); } case PurchaseStatus.error: diff --git a/game_template/lib/src/level_selection/level_selection_screen.dart b/game_template/lib/src/level_selection/level_selection_screen.dart index c5118872b..ce9d4740b 100644 --- a/game_template/lib/src/level_selection/level_selection_screen.dart +++ b/game_template/lib/src/level_selection/level_selection_screen.dart @@ -31,8 +31,10 @@ class LevelSelectionScreen extends StatelessWidget { child: Center( child: Text( 'Select level', - style: - TextStyle(fontFamily: 'Permanent Marker', fontSize: 30), + style: TextStyle( + fontFamily: 'Permanent Marker', + fontSize: 30, + ), ), ), ), @@ -42,18 +44,20 @@ class LevelSelectionScreen extends StatelessWidget { children: [ for (final level in gameLevels) ListTile( - enabled: playerProgress.highestLevelReached >= + enabled: + playerProgress.highestLevelReached >= level.number - 1, onTap: () { final audioController = context.read(); audioController.playSfx(SfxType.buttonTap); - GoRouter.of(context) - .go('/play/session/${level.number}'); + GoRouter.of( + context, + ).go('/play/session/${level.number}'); }, leading: Text(level.number.toString()), title: Text('Level #${level.number}'), - ) + ), ], ), ), diff --git a/game_template/lib/src/level_selection/levels.dart b/game_template/lib/src/level_selection/levels.dart index c8ef578f2..c00d8401c 100644 --- a/game_template/lib/src/level_selection/levels.dart +++ b/game_template/lib/src/level_selection/levels.dart @@ -12,10 +12,7 @@ const gameLevels = [ // You get this string when you configure an achievement in Play Console. achievementIdAndroid: 'NhkIwB69ejkMAOOLDb', ), - GameLevel( - number: 2, - difficulty: 42, - ), + GameLevel(number: 2, difficulty: 42), GameLevel( number: 3, difficulty: 100, @@ -42,8 +39,9 @@ class GameLevel { this.achievementIdIOS, this.achievementIdAndroid, }) : assert( - (achievementIdAndroid != null && achievementIdIOS != null) || - (achievementIdAndroid == null && achievementIdIOS == null), - 'Either both iOS and Android achievement ID must be provided, ' - 'or none'); + (achievementIdAndroid != null && achievementIdIOS != null) || + (achievementIdAndroid == null && achievementIdIOS == null), + 'Either both iOS and Android achievement ID must be provided, ' + 'or none', + ); } diff --git a/game_template/lib/src/play_session/play_session_screen.dart b/game_template/lib/src/play_session/play_session_screen.dart index a693e430c..3c038129d 100644 --- a/game_template/lib/src/play_session/play_session_screen.dart +++ b/game_template/lib/src/play_session/play_session_screen.dart @@ -48,10 +48,9 @@ class _PlaySessionScreenState extends State { return MultiProvider( providers: [ ChangeNotifierProvider( - create: (context) => LevelState( - goal: widget.level.difficulty, - onWin: _playerWon, - ), + create: + (context) => + LevelState(goal: widget.level.difficulty, onWin: _playerWon), ), ], child: IgnorePointer( @@ -76,17 +75,22 @@ class _PlaySessionScreenState extends State { ), ), const Spacer(), - Text('Drag the slider to ${widget.level.difficulty}%' - ' or above!'), + Text( + 'Drag the slider to ${widget.level.difficulty}%' + ' or above!', + ), Consumer( - builder: (context, levelState, child) => Slider( - label: 'Level Progress', - autofocus: true, - value: levelState.progress / 100, - onChanged: (value) => - levelState.setProgress((value * 100).round()), - onChangeEnd: (value) => levelState.evaluate(), - ), + builder: + (context, levelState, child) => Slider( + label: 'Level Progress', + autofocus: true, + value: levelState.progress / 100, + onChanged: + (value) => levelState.setProgress( + (value * 100).round(), + ), + onChangeEnd: (value) => levelState.evaluate(), + ), ), const Spacer(), Padding( @@ -106,9 +110,7 @@ class _PlaySessionScreenState extends State { child: Visibility( visible: _duringCelebration, child: IgnorePointer( - child: Confetti( - isStopped: !_duringCelebration, - ), + child: Confetti(isStopped: !_duringCelebration), ), ), ), diff --git a/game_template/lib/src/settings/custom_name_dialog.dart b/game_template/lib/src/settings/custom_name_dialog.dart index b5741b9ab..3d1298543 100644 --- a/game_template/lib/src/settings/custom_name_dialog.dart +++ b/game_template/lib/src/settings/custom_name_dialog.dart @@ -9,9 +9,11 @@ import 'settings.dart'; void showCustomNameDialog(BuildContext context) { showGeneralDialog( - context: context, - pageBuilder: (context, animation, secondaryAnimation) => - CustomNameDialog(animation: animation)); + context: context, + pageBuilder: + (context, animation, secondaryAnimation) => + CustomNameDialog(animation: animation), + ); } class CustomNameDialog extends StatefulWidget { diff --git a/game_template/lib/src/settings/settings.dart b/game_template/lib/src/settings/settings.dart index 56c69d1e2..5700b7a65 100644 --- a/game_template/lib/src/settings/settings.dart +++ b/game_template/lib/src/settings/settings.dart @@ -23,7 +23,7 @@ class SettingsController { /// Creates a new instance of [SettingsController] backed by [persistence]. SettingsController({required SettingsPersistence persistence}) - : _persistence = persistence; + : _persistence = persistence; /// Asynchronously loads values from the injected persistence store. Future loadStateFromPersistence() async { diff --git a/game_template/lib/src/settings/settings_screen.dart b/game_template/lib/src/settings/settings_screen.dart index c9fb6a777..791fec6e0 100644 --- a/game_template/lib/src/settings/settings_screen.dart +++ b/game_template/lib/src/settings/settings_screen.dart @@ -39,52 +39,49 @@ class SettingsScreen extends StatelessWidget { ), ), _gap, - const _NameChangeLine( - 'Name', - ), + const _NameChangeLine('Name'), ValueListenableBuilder( valueListenable: settings.soundsOn, - builder: (context, soundsOn, child) => _SettingsLine( - 'Sound FX', - Icon(soundsOn ? Icons.graphic_eq : Icons.volume_off), - onSelected: () => settings.toggleSoundsOn(), - ), + builder: + (context, soundsOn, child) => _SettingsLine( + 'Sound FX', + Icon(soundsOn ? Icons.graphic_eq : Icons.volume_off), + onSelected: () => settings.toggleSoundsOn(), + ), ), ValueListenableBuilder( valueListenable: settings.musicOn, - builder: (context, musicOn, child) => _SettingsLine( - 'Music', - Icon(musicOn ? Icons.music_note : Icons.music_off), - onSelected: () => settings.toggleMusicOn(), - ), + builder: + (context, musicOn, child) => _SettingsLine( + 'Music', + Icon(musicOn ? Icons.music_note : Icons.music_off), + onSelected: () => settings.toggleMusicOn(), + ), ), Consumer( - builder: (context, inAppPurchase, child) { - if (inAppPurchase == null) { - // In-app purchases are not supported yet. - // Go to lib/main.dart and uncomment the lines that create - // the InAppPurchaseController. - return const SizedBox.shrink(); - } - - Widget icon; - VoidCallback? callback; - if (inAppPurchase.adRemoval.active) { - icon = const Icon(Icons.check); - } else if (inAppPurchase.adRemoval.pending) { - icon = const CircularProgressIndicator(); - } else { - icon = const Icon(Icons.ad_units); - callback = () { - inAppPurchase.buy(); - }; - } - return _SettingsLine( - 'Remove ads', - icon, - onSelected: callback, - ); - }), + builder: (context, inAppPurchase, child) { + if (inAppPurchase == null) { + // In-app purchases are not supported yet. + // Go to lib/main.dart and uncomment the lines that create + // the InAppPurchaseController. + return const SizedBox.shrink(); + } + + Widget icon; + VoidCallback? callback; + if (inAppPurchase.adRemoval.active) { + icon = const Icon(Icons.check); + } else if (inAppPurchase.adRemoval.pending) { + icon = const CircularProgressIndicator(); + } else { + icon = const Icon(Icons.ad_units); + callback = () { + inAppPurchase.buy(); + }; + } + return _SettingsLine('Remove ads', icon, onSelected: callback); + }, + ), _SettingsLine( 'Reset progress', const Icon(Icons.delete), @@ -94,7 +91,8 @@ class SettingsScreen extends StatelessWidget { final messenger = ScaffoldMessenger.of(context); messenger.showSnackBar( const SnackBar( - content: Text('Player progress has been reset.')), + content: Text('Player progress has been reset.'), + ), ); }, ), @@ -129,21 +127,24 @@ class _NameChangeLine extends StatelessWidget { child: Row( mainAxisAlignment: MainAxisAlignment.center, children: [ - Text(title, - style: const TextStyle( - fontFamily: 'Permanent Marker', - fontSize: 30, - )), + Text( + title, + style: const TextStyle( + fontFamily: 'Permanent Marker', + fontSize: 30, + ), + ), const Spacer(), ValueListenableBuilder( valueListenable: settings.playerName, - builder: (context, name, child) => Text( - '‘$name’', - style: const TextStyle( - fontFamily: 'Permanent Marker', - fontSize: 30, - ), - ), + builder: + (context, name, child) => Text( + '‘$name’', + style: const TextStyle( + fontFamily: 'Permanent Marker', + fontSize: 30, + ), + ), ), ], ), diff --git a/game_template/lib/src/style/confetti.dart b/game_template/lib/src/style/confetti.dart index b83522461..5036f5fc6 100644 --- a/game_template/lib/src/style/confetti.dart +++ b/game_template/lib/src/style/confetti.dart @@ -52,21 +52,21 @@ class ConfettiPainter extends CustomPainter { final UnmodifiableListView colors; - ConfettiPainter( - {required Listenable animation, required Iterable colors}) - : colors = UnmodifiableListView(colors), - super(repaint: animation); + ConfettiPainter({ + required Listenable animation, + required Iterable colors, + }) : colors = UnmodifiableListView(colors), + super(repaint: animation); @override void paint(Canvas canvas, Size size) { if (_size == null) { // First time we have a size. _snippings = List.generate( - snippingsCount, - (i) => _PaperSnipping( - frontColor: colors[i % colors.length], - bounds: size, - )); + snippingsCount, + (i) => + _PaperSnipping(frontColor: colors[i % colors.length], bounds: size), + ); } final didResize = _size != null && _size != size; @@ -97,10 +97,7 @@ class _ConfettiState extends State @override Widget build(BuildContext context) { return CustomPaint( - painter: ConfettiPainter( - colors: widget.colors, - animation: _controller, - ), + painter: ConfettiPainter(colors: widget.colors, animation: _controller), willChange: true, child: const SizedBox.expand(), ); @@ -181,10 +178,8 @@ class _PaperSnipping { final paint = Paint()..style = PaintingStyle.fill; - _PaperSnipping({ - required this.frontColor, - required Size bounds, - }) : _bounds = bounds; + _PaperSnipping({required this.frontColor, required Size bounds}) + : _bounds = bounds; void draw(Canvas canvas) { if (cosA > 0) { @@ -193,16 +188,17 @@ class _PaperSnipping { paint.color = backColor; } - final path = Path() - ..addPolygon( - List.generate( + final path = + Path()..addPolygon( + List.generate( 4, (index) => Offset( - position.x + corners[index].x * size, - position.y + corners[index].y * size * cosA, - )), - true, - ); + position.x + corners[index].x * size, + position.y + corners[index].y * size * cosA, + ), + ), + true, + ); canvas.drawPath(path, paint); } diff --git a/game_template/lib/src/style/my_transition.dart b/game_template/lib/src/style/my_transition.dart index 69dace6fc..a62ae32b9 100644 --- a/game_template/lib/src/style/my_transition.dart +++ b/game_template/lib/src/style/my_transition.dart @@ -17,11 +17,7 @@ CustomTransitionPage buildMyTransition({ return CustomTransitionPage( child: child, transitionsBuilder: (context, animation, secondaryAnimation, child) { - return _MyReveal( - animation: animation, - color: color, - child: child, - ); + return _MyReveal(animation: animation, color: color, child: child); }, key: key, name: name, @@ -90,9 +86,7 @@ class _MyRevealState extends State<_MyReveal> { reverseCurve: Curves.easeOutCubic, ), ), - child: Container( - color: widget.color, - ), + child: Container(color: widget.color), ), AnimatedOpacity( opacity: _finished ? 1 : 0, diff --git a/game_template/lib/src/style/responsive_screen.dart b/game_template/lib/src/style/responsive_screen.dart index b98c7a479..aa800181e 100644 --- a/game_template/lib/src/style/responsive_screen.dart +++ b/game_template/lib/src/style/responsive_screen.dart @@ -46,10 +46,7 @@ class ResponsiveScreen extends StatelessWidget { children: [ SafeArea( bottom: false, - child: Padding( - padding: padding, - child: topMessageArea, - ), + child: Padding(padding: padding, child: topMessageArea), ), Expanded( flex: (mainAreaProminence * 100).round(), @@ -63,10 +60,7 @@ class ResponsiveScreen extends StatelessWidget { SafeArea( top: false, maintainBottomViewPadding: true, - child: Padding( - padding: padding, - child: rectangularMenuArea, - ), + child: Padding(padding: padding, child: rectangularMenuArea), ), ], ); @@ -94,10 +88,7 @@ class ResponsiveScreen extends StatelessWidget { bottom: false, left: false, maintainBottomViewPadding: true, - child: Padding( - padding: padding, - child: topMessageArea, - ), + child: Padding(padding: padding, child: topMessageArea), ), Expanded( child: SafeArea( @@ -112,7 +103,7 @@ class ResponsiveScreen extends StatelessWidget { ), ), ), - ) + ), ], ), ), diff --git a/game_template/lib/src/style/snack_bar.dart b/game_template/lib/src/style/snack_bar.dart index 851cb2141..2aee98f4a 100644 --- a/game_template/lib/src/style/snack_bar.dart +++ b/game_template/lib/src/style/snack_bar.dart @@ -8,11 +8,10 @@ import 'package:flutter/material.dart'; /// with global key [scaffoldMessengerKey] is anywhere in the widget tree. void showSnackBar(String message) { final messenger = scaffoldMessengerKey.currentState; - messenger?.showSnackBar( - SnackBar(content: Text(message)), - ); + messenger?.showSnackBar(SnackBar(content: Text(message))); } /// Use this when creating [MaterialApp] if you want [showSnackBar] to work. -final GlobalKey scaffoldMessengerKey = - GlobalKey(debugLabel: 'scaffoldMessengerKey'); +final GlobalKey scaffoldMessengerKey = GlobalKey( + debugLabel: 'scaffoldMessengerKey', +); diff --git a/game_template/lib/src/win_game/win_game_screen.dart b/game_template/lib/src/win_game/win_game_screen.dart index 5569cd6a4..81b524792 100644 --- a/game_template/lib/src/win_game/win_game_screen.dart +++ b/game_template/lib/src/win_game/win_game_screen.dart @@ -16,10 +16,7 @@ import '../style/responsive_screen.dart'; class WinGameScreen extends StatelessWidget { final Score score; - const WinGameScreen({ - super.key, - required this.score, - }); + const WinGameScreen({super.key, required this.score}); @override Widget build(BuildContext context) { @@ -37,11 +34,7 @@ class WinGameScreen extends StatelessWidget { mainAxisAlignment: MainAxisAlignment.center, children: [ if (adsControllerAvailable && !adsRemoved) ...[ - const Expanded( - child: Center( - child: BannerAdWidget(), - ), - ), + const Expanded(child: Center(child: BannerAdWidget())), ], gap, const Center( @@ -56,7 +49,9 @@ class WinGameScreen extends StatelessWidget { 'Score: ${score.score}\n' 'Time: ${score.formattedTime}', style: const TextStyle( - fontFamily: 'Permanent Marker', fontSize: 20), + fontFamily: 'Permanent Marker', + fontSize: 20, + ), ), ), ], diff --git a/game_template/macos/Flutter/GeneratedPluginRegistrant.swift b/game_template/macos/Flutter/GeneratedPluginRegistrant.swift index bae0dafcc..de630614f 100644 --- a/game_template/macos/Flutter/GeneratedPluginRegistrant.swift +++ b/game_template/macos/Flutter/GeneratedPluginRegistrant.swift @@ -22,5 +22,5 @@ func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) { InAppPurchasePlugin.register(with: registry.registrar(forPlugin: "InAppPurchasePlugin")) PathProviderPlugin.register(with: registry.registrar(forPlugin: "PathProviderPlugin")) SharedPreferencesPlugin.register(with: registry.registrar(forPlugin: "SharedPreferencesPlugin")) - FLTWebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "FLTWebViewFlutterPlugin")) + WebViewFlutterPlugin.register(with: registry.registrar(forPlugin: "WebViewFlutterPlugin")) } diff --git a/game_template/pubspec.yaml b/game_template/pubspec.yaml index 6d4317c16..00d6df829 100644 --- a/game_template/pubspec.yaml +++ b/game_template/pubspec.yaml @@ -7,7 +7,7 @@ publish_to: 'none' version: 0.0.1+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/game_template/test/smoke_test.dart b/game_template/test/smoke_test.dart index 77e39ce8d..be4e4efc1 100644 --- a/game_template/test/smoke_test.dart +++ b/game_template/test/smoke_test.dart @@ -10,13 +10,15 @@ import 'package:game_template/src/settings/persistence/memory_settings_persisten void main() { testWidgets('smoke test', (tester) async { // Build our game and trigger a frame. - await tester.pumpWidget(MyApp( - settingsPersistence: MemoryOnlySettingsPersistence(), - playerProgressPersistence: MemoryOnlyPlayerProgressPersistence(), - adsController: null, - gamesServicesController: null, - inAppPurchaseController: null, - )); + await tester.pumpWidget( + MyApp( + settingsPersistence: MemoryOnlySettingsPersistence(), + playerProgressPersistence: MemoryOnlyPlayerProgressPersistence(), + adsController: null, + gamesServicesController: null, + inAppPurchaseController: null, + ), + ); // Verify that the 'Play' button is shown. expect(find.text('Play'), findsOneWidget); diff --git a/gemini_tasks/lib/main.dart b/gemini_tasks/lib/main.dart index fbc776f01..33a43a0df 100644 --- a/gemini_tasks/lib/main.dart +++ b/gemini_tasks/lib/main.dart @@ -21,12 +21,7 @@ import 'widgets/api_key_widget.dart'; import 'widgets/message_widget.dart'; import 'widgets/text_field_decoration.dart'; -typedef Task = ( - int id, { - String name, - String? description, - bool completed, -}); +typedef Task = (int id, {String name, String? description, bool completed}); extension on Task { Map toJson() { @@ -83,15 +78,15 @@ class _GenerativeAISampleState extends State { themeMode: ThemeMode.system, home: switch (apiKey) { final providedKey? => Example( - title: widget.title, - apiKey: providedKey, - ), + title: widget.title, + apiKey: providedKey, + ), _ => ApiKeyWidget( - title: widget.title, - onSubmitted: (key) { - setState(() => apiKey = key); - }, - ), + title: widget.title, + onSubmitted: (key) { + setState(() => apiKey = key); + }, + ), }, ); }, @@ -100,11 +95,7 @@ class _GenerativeAISampleState extends State { } class Example extends StatefulWidget { - const Example({ - super.key, - required this.apiKey, - required this.title, - }); + const Example({super.key, required this.apiKey, required this.title}); final String apiKey, title; @@ -132,13 +123,8 @@ class _ExampleState extends State { Schema( SchemaType.object, properties: { - 'name': Schema( - SchemaType.string, - ), - 'description': Schema( - SchemaType.string, - nullable: true, - ), + 'name': Schema(SchemaType.string), + 'description': Schema(SchemaType.string, nullable: true), }, ), ), @@ -186,10 +172,7 @@ class _ExampleState extends State { Schema( SchemaType.object, properties: { - 'name': Schema( - SchemaType.string, - description: 'Task name', - ), + 'name': Schema(SchemaType.string, description: 'Task name'), 'description': Schema( SchemaType.string, nullable: true, @@ -237,9 +220,7 @@ class _ExampleState extends State { Future callWithActions( Iterable prompt, ) async { - final response = await model.generateContent( - _history.followedBy(prompt), - ); + final response = await model.generateContent(_history.followedBy(prompt)); if (response.candidates.isNotEmpty) { _history.addAll(prompt); _history.add(response.candidates.first.content); @@ -260,10 +241,7 @@ class _ExampleState extends State { ); current.add(task); tasks.value = current; - actions.add(FunctionResponse( - fn.name, - task.toJson(), - )); + actions.add(FunctionResponse(fn.name, task.toJson())); break; case 'get_completed_tasks': var filter = @@ -274,14 +252,16 @@ class _ExampleState extends State { filter = filter.where((e) => e.name.contains(name)).toList(); } if (description != null) { - filter = filter - .where((e) => e.description?.contains(description) ?? false) - .toList(); + filter = + filter + .where((e) => e.description?.contains(description) ?? false) + .toList(); } - actions.add(FunctionResponse( - fn.name, - {'tasks': filter.map((e) => e.toJson()).toList()}, - )); + actions.add( + FunctionResponse(fn.name, { + 'tasks': filter.map((e) => e.toJson()).toList(), + }), + ); break; case 'get_active_tasks': var filter = @@ -292,23 +272,27 @@ class _ExampleState extends State { filter = filter.where((e) => e.name.contains(name)).toList(); } if (description != null) { - filter = filter - .where((e) => e.description?.contains(description) ?? false) - .toList(); + filter = + filter + .where((e) => e.description?.contains(description) ?? false) + .toList(); } - actions.add(FunctionResponse( - fn.name, - {'tasks': filter.map((e) => e.toJson()).toList()}, - )); + actions.add( + FunctionResponse(fn.name, { + 'tasks': filter.map((e) => e.toJson()).toList(), + }), + ); break; case 'update_task': final name = args['name'] as String?; final idx = current.indexWhere((e) => e.name == name); if (idx == -1) { - actions.add(FunctionResponse( - fn.name, - {"type": "error", 'message': 'Task with "$name" id not found'}, - )); + actions.add( + FunctionResponse(fn.name, { + "type": "error", + 'message': 'Task with "$name" id not found', + }), + ); continue; } final task = current[idx]; @@ -319,10 +303,7 @@ class _ExampleState extends State { completed: args['completed'] as bool? ?? task.completed, ); tasks.value = current; - actions.add(FunctionResponse( - fn.name, - current[idx].toJson(), - )); + actions.add(FunctionResponse(fn.name, current[idx].toJson())); break; default: } @@ -354,23 +335,22 @@ class _ExampleState extends State { builder: (context, child) { final reversed = messages.value.reversed; return Scaffold( - appBar: AppBar( - title: Text(widget.title), - ), - body: messages.value.isEmpty - ? const Center(child: Text('No tasks found')) - : ListView.builder( - padding: const EdgeInsets.all(8), - reverse: true, - itemCount: reversed.length, - itemBuilder: (context, index) { - final (sender, message) = reversed.elementAt(index); - return MessageWidget( - isFromUser: sender == Sender.user, - text: message, - ); - }, - ), + appBar: AppBar(title: Text(widget.title)), + body: + messages.value.isEmpty + ? const Center(child: Text('No tasks found')) + : ListView.builder( + padding: const EdgeInsets.all(8), + reverse: true, + itemCount: reversed.length, + itemBuilder: (context, index) { + final (sender, message) = reversed.elementAt(index); + return MessageWidget( + isFromUser: sender == Sender.user, + text: message, + ); + }, + ), bottomNavigationBar: BottomAppBar( padding: const EdgeInsets.all(8), child: Row( @@ -410,7 +390,4 @@ class _ExampleState extends State { } } -enum Sender { - user, - system, -} +enum Sender { user, system } diff --git a/gemini_tasks/lib/widgets/api_key_widget.dart b/gemini_tasks/lib/widgets/api_key_widget.dart index 244d922b8..002d35f72 100644 --- a/gemini_tasks/lib/widgets/api_key_widget.dart +++ b/gemini_tasks/lib/widgets/api_key_widget.dart @@ -18,11 +18,7 @@ import 'package:url_launcher/link.dart'; import 'text_field_decoration.dart'; class ApiKeyWidget extends StatelessWidget { - ApiKeyWidget({ - super.key, - required this.onSubmitted, - required this.title, - }); + ApiKeyWidget({super.key, required this.onSubmitted, required this.title}); final String title; final ValueChanged onSubmitted; @@ -31,9 +27,7 @@ class ApiKeyWidget extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: Text(title), - ), + appBar: AppBar(title: Text(title)), body: Center( child: Padding( padding: const EdgeInsets.all(8.0), @@ -50,10 +44,11 @@ class ApiKeyWidget extends StatelessWidget { Link( uri: Uri.https('aistudio.google.com', '/app/apikey'), target: LinkTarget.blank, - builder: (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('Get an API Key'), - ), + builder: + (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('Get an API Key'), + ), ), ], ), diff --git a/gemini_tasks/lib/widgets/message_widget.dart b/gemini_tasks/lib/widgets/message_widget.dart index 0bf4fbc00..95dae9102 100644 --- a/gemini_tasks/lib/widgets/message_widget.dart +++ b/gemini_tasks/lib/widgets/message_widget.dart @@ -37,20 +37,20 @@ class MessageWidget extends StatelessWidget { child: Container( constraints: const BoxConstraints(maxWidth: 520), decoration: BoxDecoration( - color: isFromUser - ? Theme.of(context).colorScheme.primaryContainer - : Theme.of(context).colorScheme.surfaceContainerHighest, + color: + isFromUser + ? Theme.of(context).colorScheme.primaryContainer + : Theme.of(context).colorScheme.surfaceContainerHighest, borderRadius: BorderRadius.circular(18), ), - padding: const EdgeInsets.symmetric( - vertical: 15, - horizontal: 20, - ), + padding: const EdgeInsets.symmetric(vertical: 15, horizontal: 20), margin: const EdgeInsets.only(bottom: 8), - child: Column(children: [ - if (text case final text?) MarkdownBody(data: text), - if (image case final image?) image, - ]), + child: Column( + children: [ + if (text case final text?) MarkdownBody(data: text), + if (image case final image?) image, + ], + ), ), ), ], diff --git a/gemini_tasks/lib/widgets/text_field_decoration.dart b/gemini_tasks/lib/widgets/text_field_decoration.dart index cdc9abd37..04cfce2dd 100644 --- a/gemini_tasks/lib/widgets/text_field_decoration.dart +++ b/gemini_tasks/lib/widgets/text_field_decoration.dart @@ -19,20 +19,12 @@ InputDecoration textFieldDecoration(BuildContext context, String hintText) { contentPadding: const EdgeInsets.all(15), hintText: hintText, border: OutlineInputBorder( - borderRadius: const BorderRadius.all( - Radius.circular(14), - ), - borderSide: BorderSide( - color: Theme.of(context).colorScheme.secondary, - ), + borderRadius: const BorderRadius.all(Radius.circular(14)), + borderSide: BorderSide(color: Theme.of(context).colorScheme.secondary), ), focusedBorder: OutlineInputBorder( - borderRadius: const BorderRadius.all( - Radius.circular(14), - ), - borderSide: BorderSide( - color: Theme.of(context).colorScheme.secondary, - ), + borderRadius: const BorderRadius.all(Radius.circular(14)), + borderSide: BorderSide(color: Theme.of(context).colorScheme.secondary), ), ); } diff --git a/gemini_tasks/pubspec.yaml b/gemini_tasks/pubspec.yaml index 649f8c9d0..c25e88971 100644 --- a/gemini_tasks/pubspec.yaml +++ b/gemini_tasks/pubspec.yaml @@ -3,7 +3,7 @@ description: "Sample app for the google_generative_ai package" publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/google_maps/lib/main.dart b/google_maps/lib/main.dart index f31a7c3ba..6f6eafb22 100644 --- a/google_maps/lib/main.dart +++ b/google_maps/lib/main.dart @@ -39,18 +39,15 @@ class _MyAppState extends State { Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', - theme: ThemeData( - primarySwatch: Colors.green, - ), + theme: ThemeData(primarySwatch: Colors.green), home: Scaffold( appBar: AppBar( - title: const Text('Sydney'), backgroundColor: Colors.green[700]), + title: const Text('Sydney'), + backgroundColor: Colors.green[700], + ), body: GoogleMap( onMapCreated: _onMapCreated, - initialCameraPosition: CameraPosition( - target: _center, - zoom: 11.0, - ), + initialCameraPosition: CameraPosition(target: _center, zoom: 11.0), markers: { const Marker( markerId: MarkerId('Sydney'), @@ -59,7 +56,7 @@ class _MyAppState extends State { title: "Sydney", snippet: "Capital of New South Wales", ), - ) + ), }, ), ), diff --git a/google_maps/lib/src/locations.dart b/google_maps/lib/src/locations.dart index 8b36f9344..cdc4a01ac 100644 --- a/google_maps/lib/src/locations.dart +++ b/google_maps/lib/src/locations.dart @@ -25,10 +25,7 @@ part 'locations.g.dart'; @JsonSerializable() class LatLng { - LatLng({ - required this.lat, - required this.lng, - }); + LatLng({required this.lat, required this.lng}); factory LatLng.fromJson(Map json) => _$LatLngFromJson(json); Map toJson() => _$LatLngToJson(this); @@ -83,10 +80,7 @@ class Office { @JsonSerializable() class Locations { - Locations({ - required this.offices, - required this.regions, - }); + Locations({required this.offices, required this.regions}); factory Locations.fromJson(Map json) => _$LocationsFromJson(json); @@ -104,7 +98,8 @@ Future getGoogleOffices() async { final response = await http.get(Uri.parse(googleLocationsURL)); if (response.statusCode == 200) { return Locations.fromJson( - json.decode(response.body) as Map); + json.decode(response.body) as Map, + ); } } catch (e) { if (kDebugMode) { @@ -114,8 +109,7 @@ Future getGoogleOffices() async { // Fallback for when the above HTTP request fails. return Locations.fromJson( - json.decode( - await rootBundle.loadString('assets/locations.json'), - ) as Map, + json.decode(await rootBundle.loadString('assets/locations.json')) + as Map, ); } diff --git a/google_maps/lib/src/locations.g.dart b/google_maps/lib/src/locations.g.dart index 64cd86d81..685fbd1d1 100644 --- a/google_maps/lib/src/locations.g.dart +++ b/google_maps/lib/src/locations.g.dart @@ -23,61 +23,63 @@ part of 'locations.dart'; // ************************************************************************** LatLng _$LatLngFromJson(Map json) => LatLng( - lat: (json['lat'] as num).toDouble(), - lng: (json['lng'] as num).toDouble(), - ); + lat: (json['lat'] as num).toDouble(), + lng: (json['lng'] as num).toDouble(), +); Map _$LatLngToJson(LatLng instance) => { - 'lat': instance.lat, - 'lng': instance.lng, - }; + 'lat': instance.lat, + 'lng': instance.lng, +}; Region _$RegionFromJson(Map json) => Region( - coords: LatLng.fromJson(json['coords'] as Map), - id: json['id'] as String, - name: json['name'] as String, - zoom: (json['zoom'] as num).toDouble(), - ); + coords: LatLng.fromJson(json['coords'] as Map), + id: json['id'] as String, + name: json['name'] as String, + zoom: (json['zoom'] as num).toDouble(), +); Map _$RegionToJson(Region instance) => { - 'coords': instance.coords, - 'id': instance.id, - 'name': instance.name, - 'zoom': instance.zoom, - }; + 'coords': instance.coords, + 'id': instance.id, + 'name': instance.name, + 'zoom': instance.zoom, +}; Office _$OfficeFromJson(Map json) => Office( - address: json['address'] as String, - id: json['id'] as String, - image: json['image'] as String, - lat: (json['lat'] as num).toDouble(), - lng: (json['lng'] as num).toDouble(), - name: json['name'] as String, - phone: json['phone'] as String, - region: json['region'] as String, - ); + address: json['address'] as String, + id: json['id'] as String, + image: json['image'] as String, + lat: (json['lat'] as num).toDouble(), + lng: (json['lng'] as num).toDouble(), + name: json['name'] as String, + phone: json['phone'] as String, + region: json['region'] as String, +); Map _$OfficeToJson(Office instance) => { - 'address': instance.address, - 'id': instance.id, - 'image': instance.image, - 'lat': instance.lat, - 'lng': instance.lng, - 'name': instance.name, - 'phone': instance.phone, - 'region': instance.region, - }; + 'address': instance.address, + 'id': instance.id, + 'image': instance.image, + 'lat': instance.lat, + 'lng': instance.lng, + 'name': instance.name, + 'phone': instance.phone, + 'region': instance.region, +}; Locations _$LocationsFromJson(Map json) => Locations( - offices: (json['offices'] as List) + offices: + (json['offices'] as List) .map((e) => Office.fromJson(e as Map)) .toList(), - regions: (json['regions'] as List) + regions: + (json['regions'] as List) .map((e) => Region.fromJson(e as Map)) .toList(), - ); +); Map _$LocationsToJson(Locations instance) => { - 'offices': instance.offices, - 'regions': instance.regions, - }; + 'offices': instance.offices, + 'regions': instance.regions, +}; diff --git a/google_maps/pubspec.yaml b/google_maps/pubspec.yaml index 23420100f..268697a4d 100644 --- a/google_maps/pubspec.yaml +++ b/google_maps/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/infinite_list/lib/main.dart b/infinite_list/lib/main.dart index 4c5e30b99..3f9f795d8 100644 --- a/infinite_list/lib/main.dart +++ b/infinite_list/lib/main.dart @@ -28,11 +28,13 @@ void setupWindow() { setWindowMinSize(const Size(windowWidth, windowHeight)); setWindowMaxSize(const Size(windowWidth, windowHeight)); getCurrentScreen().then((screen) { - setWindowFrame(Rect.fromCenter( - center: screen!.frame.center, - width: windowWidth, - height: windowHeight, - )); + setWindowFrame( + Rect.fromCenter( + center: screen!.frame.center, + width: windowWidth, + height: windowHeight, + ), + ); }); } } @@ -59,34 +61,33 @@ class MyHomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Infinite List Sample'), - ), + appBar: AppBar(title: const Text('Infinite List Sample')), body: Selector( // Selector is a widget from package:provider. It allows us to listen // to only one aspect of a provided value. In this case, we are only // listening to the catalog's `itemCount`, because that's all we need // at this level. selector: (context, catalog) => catalog.itemCount, - builder: (context, itemCount, child) => ListView.builder( - // When `itemCount` is null, `ListView` assumes an infinite list. - // Once we provide a value, it will stop the scrolling beyond - // the last element. - itemCount: itemCount, - padding: const EdgeInsets.symmetric(vertical: 18), - itemBuilder: (context, index) { - // Every item of the `ListView` is individually listening - // to the catalog. - var catalog = Provider.of(context); + builder: + (context, itemCount, child) => ListView.builder( + // When `itemCount` is null, `ListView` assumes an infinite list. + // Once we provide a value, it will stop the scrolling beyond + // the last element. + itemCount: itemCount, + padding: const EdgeInsets.symmetric(vertical: 18), + itemBuilder: (context, index) { + // Every item of the `ListView` is individually listening + // to the catalog. + var catalog = Provider.of(context); - // Catalog provides a single synchronous method for getting the - // current data. - return switch (catalog.getByIndex(index)) { - Item(isLoading: true) => const LoadingItemTile(), - var item => ItemTile(item: item) - }; - }, - ), + // Catalog provides a single synchronous method for getting the + // current data. + return switch (catalog.getByIndex(index)) { + Item(isLoading: true) => const LoadingItemTile(), + var item => ItemTile(item: item), + }; + }, + ), ), ); } diff --git a/infinite_list/lib/src/api/fetch.dart b/infinite_list/lib/src/api/fetch.dart index ad36840a6..a5098762e 100644 --- a/infinite_list/lib/src/api/fetch.dart +++ b/infinite_list/lib/src/api/fetch.dart @@ -21,22 +21,19 @@ Future fetchPage(int startingIndex) async { // If the [startingIndex] is beyond the bounds of the catalog, an // empty page will be returned. if (startingIndex > catalogLength) { - return ItemPage( - items: [], - startingIndex: startingIndex, - hasNext: false, - ); + return ItemPage(items: [], startingIndex: startingIndex, hasNext: false); } // The page of items is generated here. return ItemPage( items: List.generate( - min(itemsPerPage, catalogLength - startingIndex), - (index) => Item( - color: Colors.primaries[index % Colors.primaries.length], - name: 'Color #${startingIndex + index}', - price: 50 + (index * 42) % 200, - )), + min(itemsPerPage, catalogLength - startingIndex), + (index) => Item( + color: Colors.primaries[index % Colors.primaries.length], + name: 'Color #${startingIndex + index}', + price: 50 + (index * 42) % 200, + ), + ), startingIndex: startingIndex, // Returns `false` if we've reached the [catalogLength]. hasNext: startingIndex + itemsPerPage < catalogLength, diff --git a/infinite_list/lib/src/api/item.dart b/infinite_list/lib/src/api/item.dart index c60efee48..119ec90f8 100644 --- a/infinite_list/lib/src/api/item.dart +++ b/infinite_list/lib/src/api/item.dart @@ -11,11 +11,7 @@ class Item { final String name; - Item({ - required this.color, - required this.name, - required this.price, - }); + Item({required this.color, required this.name, required this.price}); Item.loading() : this(color: Colors.grey, name: '...', price: 0); diff --git a/infinite_list/lib/src/item_tile.dart b/infinite_list/lib/src/item_tile.dart index addccf797..b79eaa34a 100644 --- a/infinite_list/lib/src/item_tile.dart +++ b/infinite_list/lib/src/item_tile.dart @@ -20,9 +20,7 @@ class ItemTile extends StatelessWidget { child: ListTile( leading: AspectRatio( aspectRatio: 1, - child: Container( - color: item.color, - ), + child: Container(color: item.color), ), title: Text(item.name, style: Theme.of(context).textTheme.titleLarge), trailing: Text('\$ ${(item.price / 100).toStringAsFixed(2)}'), @@ -41,10 +39,7 @@ class LoadingItemTile extends StatelessWidget { return Padding( padding: const EdgeInsets.all(8.0), child: ListTile( - leading: const AspectRatio( - aspectRatio: 1, - child: Placeholder(), - ), + leading: const AspectRatio(aspectRatio: 1, child: Placeholder()), title: Text('...', style: Theme.of(context).textTheme.titleLarge), trailing: const Text('\$ ...'), ), diff --git a/infinite_list/pubspec.yaml b/infinite_list/pubspec.yaml index 64d1f82ee..5c4397817 100644 --- a/infinite_list/pubspec.yaml +++ b/infinite_list/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/ios_app_clip/lib/main.dart b/ios_app_clip/lib/main.dart index 4e3882906..f37dfd2f3 100644 --- a/ios_app_clip/lib/main.dart +++ b/ios_app_clip/lib/main.dart @@ -25,7 +25,8 @@ class _DemoState extends State { void initState() { DeviceInfoPlugin().iosInfo.then((info) { setState(() { - deviceInfo = '${info.name} on ${info.systemName} version ' + deviceInfo = + '${info.name} on ${info.systemName} version ' '${info.systemVersion}'; }); }); @@ -36,9 +37,7 @@ class _DemoState extends State { Widget build(BuildContext context) { return CupertinoApp( home: CupertinoPageScaffold( - navigationBar: const CupertinoNavigationBar( - middle: Text('App Clip'), - ), + navigationBar: const CupertinoNavigationBar(middle: Text('App Clip')), child: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, diff --git a/ios_app_clip/pubspec.yaml b/ios_app_clip/pubspec.yaml index f3d820991..b67d9febd 100644 --- a/ios_app_clip/pubspec.yaml +++ b/ios_app_clip/pubspec.yaml @@ -6,7 +6,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/isolate_example/lib/data_transfer_page.dart b/isolate_example/lib/data_transfer_page.dart index 03a03da29..b8adad6dd 100644 --- a/isolate_example/lib/data_transfer_page.dart +++ b/isolate_example/lib/data_transfer_page.dart @@ -53,9 +53,7 @@ class DataTransferPage extends StatelessWidget { value: controller.progressPercent, backgroundColor: Colors.grey[200], ), - const Expanded( - child: RunningList(), - ), + const Expanded(child: RunningList()), Column( children: [ ElevatedButton( @@ -116,7 +114,9 @@ class DataTransferIsolateController extends ChangeNotifier { Future createIsolate() async { _incomingReceivePort = ReceivePort(); _isolate = await Isolate.spawn( - _secondIsolateEntryPoint, _incomingReceivePort.sendPort); + _secondIsolateEntryPoint, + _incomingReceivePort.sendPort, + ); } void listen() { @@ -126,7 +126,9 @@ class DataTransferIsolateController extends ChangeNotifier { _outgoingSendPort = message; case int(): currentProgress.insert( - 0, '$message% - ${_timer.elapsedMilliseconds / 1000} seconds'); + 0, + '$message% - ${_timer.elapsedMilliseconds / 1000} seconds', + ); progressPercent = message / 100; case 'done': runningTest = 0; @@ -176,8 +178,9 @@ class DataTransferIsolateController extends ChangeNotifier { } if (transferableTyped) { - final transferable = - TransferableTypedData.fromList([Int32List.fromList(randNums)]); + final transferable = TransferableTypedData.fromList([ + Int32List.fromList(randNums), + ]); await sendNumbers(transferable); } else { await sendNumbers(randNums); @@ -208,9 +211,7 @@ class RunningList extends StatelessWidget { Provider.of(context).currentProgress; return DecoratedBox( - decoration: BoxDecoration( - color: Colors.grey[200], - ), + decoration: BoxDecoration(color: Colors.grey[200]), child: ListView.builder( itemCount: progress.length, itemBuilder: (context, index) { @@ -218,14 +219,9 @@ class RunningList extends StatelessWidget { children: [ Card( color: Colors.lightGreenAccent, - child: ListTile( - title: Text(progress[index]), - ), - ), - const Divider( - color: Colors.blue, - height: 3, + child: ListTile(title: Text(progress[index])), ), + const Divider(color: Colors.blue, height: 3), ], ); }, @@ -239,27 +235,28 @@ Future _secondIsolateEntryPoint(SendPort sendPort) async { sendPort.send(receivePort.sendPort); var length = 1; - receivePort.listen( - (dynamic message) async { - if (message is String && message == 'start') { - await generateAndSum(sendPort, createNums(), length); - - sendPort.send('done'); - } else if (message is TransferableTypedData) { - await generateAndSum( - sendPort, message.materialize().asInt32List(), length); - length++; - } else if (message is List) { - await generateAndSum(sendPort, message, length); - length++; - } + receivePort.listen((dynamic message) async { + if (message is String && message == 'start') { + await generateAndSum(sendPort, createNums(), length); + + sendPort.send('done'); + } else if (message is TransferableTypedData) { + await generateAndSum( + sendPort, + message.materialize().asInt32List(), + length, + ); + length++; + } else if (message is List) { + await generateAndSum(sendPort, message, length); + length++; + } - if (length == 101) { - sendPort.send('done'); - length = 1; - } - }, - ); + if (length == 101) { + sendPort.send('done'); + length = 1; + } + }); } Iterable createNums() sync* { diff --git a/isolate_example/lib/infinite_process_page.dart b/isolate_example/lib/infinite_process_page.dart index a9a22b361..dadc45bfc 100644 --- a/isolate_example/lib/infinite_process_page.dart +++ b/isolate_example/lib/infinite_process_page.dart @@ -48,9 +48,7 @@ class InfiniteProcessPage extends StatelessWidget { style: Theme.of(context).textTheme.titleLarge, ), ), - const Expanded( - child: RunningList(), - ), + const Expanded(child: RunningList()), Column( mainAxisSize: MainAxisSize.min, children: [ @@ -96,7 +94,7 @@ class InfiniteProcessPage extends StatelessWidget { groupValue: controller.currentMultiplier, onChanged: (val) => controller.setMultiplier(val!), ), - Text('${i}x') + Text('${i}x'), ], ], ), @@ -129,8 +127,10 @@ class InfiniteProcessIsolateController extends ChangeNotifier { Future createIsolate() async { receivePort = ReceivePort(); - newIsolate = - await Isolate.spawn(_secondIsolateEntryPoint, receivePort.sendPort); + newIsolate = await Isolate.spawn( + _secondIsolateEntryPoint, + receivePort.sendPort, + ); } void listen() { @@ -201,27 +201,23 @@ class RunningList extends StatelessWidget { var sums = controller.currentResults; return DecoratedBox( - decoration: BoxDecoration( - color: Colors.grey[200], - ), + decoration: BoxDecoration(color: Colors.grey[200]), child: ListView.builder( itemCount: sums.length, itemBuilder: (context, index) { return Column( children: [ Card( - color: (controller.created && !controller.paused) - ? Colors.lightGreenAccent - : Colors.deepOrangeAccent, + color: + (controller.created && !controller.paused) + ? Colors.lightGreenAccent + : Colors.deepOrangeAccent, child: ListTile( leading: Text('${sums.length - index}.'), title: Text('${sums[index]}.'), ), ), - const Divider( - color: Colors.blue, - height: 3, - ), + const Divider(color: Colors.blue, height: 3), ], ); }, diff --git a/isolate_example/lib/main.dart b/isolate_example/lib/main.dart index 0c3f48367..86fbb17fb 100644 --- a/isolate_example/lib/main.dart +++ b/isolate_example/lib/main.dart @@ -24,11 +24,7 @@ import 'performance_page.dart'; void main() { setupWindow(); - runApp( - const MaterialApp( - home: HomePage(), - ), - ); + runApp(const MaterialApp(home: HomePage())); } const double windowWidth = 1024; @@ -55,18 +51,9 @@ class HomePage extends StatelessWidget { appBar: AppBar( bottom: const TabBar( tabs: [ - Tab( - icon: Icon(Icons.flash_on), - text: 'Performance', - ), - Tab( - icon: Icon(Icons.sync), - text: 'Infinite Process', - ), - Tab( - icon: Icon(Icons.storage), - text: 'Data Transfer', - ), + Tab(icon: Icon(Icons.flash_on), text: 'Performance'), + Tab(icon: Icon(Icons.sync), text: 'Infinite Process'), + Tab(icon: Icon(Icons.storage), text: 'Data Transfer'), ], ), title: const Text('Isolate Example'), diff --git a/isolate_example/lib/performance_page.dart b/isolate_example/lib/performance_page.dart index 8af4a7d88..1d65447b9 100644 --- a/isolate_example/lib/performance_page.dart +++ b/isolate_example/lib/performance_page.dart @@ -57,9 +57,9 @@ class _PerformancePageState extends State { return ElevatedButton( style: ElevatedButton.styleFrom(elevation: 8.0), onPressed: switch (snapshot.connectionState) { - ConnectionState.done => () => - handleComputeOnMain(context), - _ => null + ConnectionState.done => + () => handleComputeOnMain(context), + _ => null, }, child: const Text('Compute on Main'), ); @@ -69,13 +69,14 @@ class _PerformancePageState extends State { future: computeFuture, builder: (context, snapshot) { return ElevatedButton( - style: ElevatedButton.styleFrom(elevation: 8.0), - onPressed: switch (snapshot.connectionState) { - ConnectionState.done => () => - handleComputeOnSecondary(context), - _ => null - }, - child: const Text('Compute on Secondary')); + style: ElevatedButton.styleFrom(elevation: 8.0), + onPressed: switch (snapshot.connectionState) { + ConnectionState.done => + () => handleComputeOnSecondary(context), + _ => null, + }, + child: const Text('Compute on Secondary'), + ); }, ), ], @@ -87,14 +88,12 @@ class _PerformancePageState extends State { } void handleComputeOnMain(BuildContext context) { - var future = computeOnMainIsolate() - ..then((_) { - var snackBar = const SnackBar( - content: Text('Main Isolate Done!'), - ); - if (!context.mounted) return; - ScaffoldMessenger.of(context).showSnackBar(snackBar); - }); + var future = + computeOnMainIsolate()..then((_) { + var snackBar = const SnackBar(content: Text('Main Isolate Done!')); + if (!context.mounted) return; + ScaffoldMessenger.of(context).showSnackBar(snackBar); + }); setState(() { computeFuture = future; @@ -102,14 +101,14 @@ class _PerformancePageState extends State { } void handleComputeOnSecondary(BuildContext context) { - var future = computeOnSecondaryIsolate() - ..then((_) { - var snackBar = const SnackBar( - content: Text('Secondary Isolate Done!'), - ); - if (!context.mounted) return; - ScaffoldMessenger.of(context).showSnackBar(snackBar); - }); + var future = + computeOnSecondaryIsolate()..then((_) { + var snackBar = const SnackBar( + content: Text('Secondary Isolate Done!'), + ); + if (!context.mounted) return; + ScaffoldMessenger.of(context).showSnackBar(snackBar); + }); setState(() { computeFuture = future; @@ -146,13 +145,15 @@ class _SmoothAnimationWidgetState extends State void initState() { super.initState(); - _animationController = - AnimationController(duration: const Duration(seconds: 1), vsync: this); + _animationController = AnimationController( + duration: const Duration(seconds: 1), + vsync: this, + ); _borderAnimation = BorderRadiusTween( - begin: BorderRadius.circular(100.0), - end: BorderRadius.circular(0.0)) - .animate(_animationController); + begin: BorderRadius.circular(100.0), + end: BorderRadius.circular(0.0), + ).animate(_animationController); _animationController.repeat(reverse: true); } @@ -170,16 +171,11 @@ class _SmoothAnimationWidgetState extends State decoration: BoxDecoration( gradient: const LinearGradient( begin: Alignment.topLeft, - colors: [ - Colors.blueAccent, - Colors.redAccent, - ], + colors: [Colors.blueAccent, Colors.redAccent], ), borderRadius: _borderAnimation.value, ), - child: const FlutterLogo( - size: 200, - ), + child: const FlutterLogo(size: 200), ); }, ), diff --git a/isolate_example/pubspec.yaml b/isolate_example/pubspec.yaml index f7a2e1a59..b515eec88 100644 --- a/isolate_example/pubspec.yaml +++ b/isolate_example/pubspec.yaml @@ -4,7 +4,7 @@ version: 1.0.0+1 publish_to: none environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/material_3_demo/lib/color_box.dart b/material_3_demo/lib/color_box.dart index b0226810e..df81e6d84 100644 --- a/material_3_demo/lib/color_box.dart +++ b/material_3_demo/lib/color_box.dart @@ -6,15 +6,16 @@ import 'package:flutter/material.dart'; import 'package:flutter/services.dart'; class ColorBox extends StatefulWidget { - const ColorBox( - {super.key, - required this.label, - required this.tone, - required this.color, - required this.onColor, - required this.height, - required this.width, - this.displayPaletteInfo = false}); + const ColorBox({ + super.key, + required this.label, + required this.tone, + required this.color, + required this.onColor, + required this.height, + required this.width, + this.displayPaletteInfo = false, + }); final String label; final String tone; @@ -47,11 +48,7 @@ class _ColorBoxState extends State { style: fonts.labelSmall!.copyWith(color: widget.onColor), child: Stack( children: [ - Positioned( - top: 10, - left: 10, - child: Text(widget.label), - ), + Positioned(top: 10, left: 10, child: Text(widget.label)), Positioned( bottom: 10, right: 10, @@ -81,9 +78,7 @@ class _ColorBoxState extends State { await Clipboard.setData(data); messenger.hideCurrentSnackBar(); messenger.showSnackBar( - SnackBar( - content: Text('Copied $hex to clipboard'), - ), + SnackBar(content: Text('Copied $hex to clipboard')), ); }, ), diff --git a/material_3_demo/lib/color_palettes_screen.dart b/material_3_demo/lib/color_palettes_screen.dart index 56aca010c..05373e640 100644 --- a/material_3_demo/lib/color_palettes_screen.dart +++ b/material_3_demo/lib/color_palettes_screen.dart @@ -42,26 +42,26 @@ class ColorPalettesScreen extends StatelessWidget { Widget schemeView(ThemeData theme) { return Padding( padding: const EdgeInsets.symmetric(horizontal: 15), - child: ColorSchemeView( - colorScheme: theme.colorScheme, - ), + child: ColorSchemeView(colorScheme: theme.colorScheme), ); } Widget dynamicColorNotice() => RichText( - textAlign: TextAlign.center, - text: TextSpan( - style: Theme.of(context).textTheme.bodySmall, - children: [ - const TextSpan( - text: 'To create color schemes based on a ' - 'platform\'s implementation of dynamic color, ' - 'use the ', - ), - TextSpan( - text: 'dynamic_color', - style: const TextStyle(decoration: TextDecoration.underline), - recognizer: TapGestureRecognizer() + textAlign: TextAlign.center, + text: TextSpan( + style: Theme.of(context).textTheme.bodySmall, + children: [ + const TextSpan( + text: + 'To create color schemes based on a ' + 'platform\'s implementation of dynamic color, ' + 'use the ', + ), + TextSpan( + text: 'dynamic_color', + style: const TextStyle(decoration: TextDecoration.underline), + recognizer: + TapGestureRecognizer() ..onTap = () async { final url = Uri.parse( 'https://pub.dev/packages/dynamic_color', @@ -70,11 +70,11 @@ class ColorPalettesScreen extends StatelessWidget { throw Exception('Could not launch $url'); } }, - ), - const TextSpan(text: ' package.'), - ], ), - ); + const TextSpan(text: ' package.'), + ], + ), + ); return Expanded( child: LayoutBuilder( @@ -97,9 +97,13 @@ class ColorPalettesScreen extends StatelessWidget { } else { Color seed = Theme.of(context).colorScheme.primary; ColorScheme lightScheme = ColorScheme.fromSeed( - seedColor: seed, brightness: Brightness.light); + seedColor: seed, + brightness: Brightness.light, + ); ColorScheme darkScheme = ColorScheme.fromSeed( - seedColor: seed, brightness: Brightness.dark); + seedColor: seed, + brightness: Brightness.dark, + ); return SingleChildScrollView( child: Padding( padding: const EdgeInsets.all(8), @@ -415,9 +419,7 @@ class ColorGroup extends StatelessWidget { return RepaintBoundary( child: Card( clipBehavior: Clip.antiAlias, - child: Column( - children: children, - ), + child: Column(children: children), ), ); } @@ -438,7 +440,7 @@ class ColorChip extends StatelessWidget { static Color contrastColor(Color color) => switch (ThemeData.estimateBrightnessForColor(color)) { Brightness.dark => Colors.white, - Brightness.light => Colors.black + Brightness.light => Colors.black, }; @override diff --git a/material_3_demo/lib/component_screen.dart b/material_3_demo/lib/component_screen.dart index 5d0bc3974..f8930b980 100644 --- a/material_3_demo/lib/component_screen.dart +++ b/material_3_demo/lib/component_screen.dart @@ -39,7 +39,7 @@ class FirstComponentList extends StatelessWidget { colDivider, const Selection(), colDivider, - const TextInputs() + const TextInputs(), ], ]; List heights = List.filled(children.length, null); @@ -49,9 +49,10 @@ class FirstComponentList extends StatelessWidget { child: CustomScrollView( slivers: [ SliverPadding( - padding: showSecondList - ? const EdgeInsetsDirectional.only(end: smallSpacing) - : EdgeInsets.zero, + padding: + showSecondList + ? const EdgeInsetsDirectional.only(end: smallSpacing) + : EdgeInsets.zero, sliver: SliverList( delegate: BuildSlivers( heights: heights, @@ -72,10 +73,7 @@ class FirstComponentList extends StatelessWidget { } class SecondComponentList extends StatelessWidget { - const SecondComponentList({ - super.key, - required this.scaffoldKey, - }); + const SecondComponentList({super.key, required this.scaffoldKey}); final GlobalKey scaffoldKey; @@ -125,26 +123,21 @@ class SecondComponentList extends StatelessWidget { // as the contents of the list are exposed for the first time, and // then remain fixed. class _CacheHeight extends SingleChildRenderObjectWidget { - const _CacheHeight({ - super.child, - required this.heights, - required this.index, - }); + const _CacheHeight({super.child, required this.heights, required this.index}); final List heights; final int index; @override RenderObject createRenderObject(BuildContext context) { - return _RenderCacheHeight( - heights: heights, - index: index, - ); + return _RenderCacheHeight(heights: heights, index: index); } @override void updateRenderObject( - BuildContext context, _RenderCacheHeight renderObject) { + BuildContext context, + _RenderCacheHeight renderObject, + ) { renderObject ..heights = heights ..index = index; @@ -152,12 +145,10 @@ class _CacheHeight extends SingleChildRenderObjectWidget { } class _RenderCacheHeight extends RenderProxyBox { - _RenderCacheHeight({ - required List heights, - required int index, - }) : _heights = heights, - _index = index, - super(); + _RenderCacheHeight({required List heights, required int index}) + : _heights = heights, + _index = index, + super(); List _heights; List get heights => _heights; @@ -197,8 +188,12 @@ class BuildSlivers extends SliverChildBuilderDelegate { final List heights; @override - double? estimateMaxScrollOffset(int firstIndex, int lastIndex, - double leadingScrollOffset, double trailingScrollOffset) { + double? estimateMaxScrollOffset( + int firstIndex, + int lastIndex, + double leadingScrollOffset, + double trailingScrollOffset, + ) { return heights.reduce((sum, height) => (sum ?? 0) + (height ?? 0))!; } } @@ -208,12 +203,15 @@ class Actions extends StatelessWidget { @override Widget build(BuildContext context) { - return const ComponentGroupDecoration(label: 'Actions', children: [ - Buttons(), - FloatingActionButtons(), - IconToggleButtons(), - SegmentedButtons(), - ]); + return const ComponentGroupDecoration( + label: 'Actions', + children: [ + Buttons(), + FloatingActionButtons(), + IconToggleButtons(), + SegmentedButtons(), + ], + ); } } @@ -222,15 +220,18 @@ class Communication extends StatelessWidget { @override Widget build(BuildContext context) { - return const ComponentGroupDecoration(label: 'Communication', children: [ - NavigationBars( - selectedIndex: 1, - isExampleBar: true, - isBadgeExample: true, - ), - ProgressIndicators(), - SnackBarSection(), - ]); + return const ComponentGroupDecoration( + label: 'Communication', + children: [ + NavigationBars( + selectedIndex: 1, + isExampleBar: true, + isBadgeExample: true, + ), + ProgressIndicators(), + SnackBarSection(), + ], + ); } } @@ -239,15 +240,18 @@ class Containment extends StatelessWidget { @override Widget build(BuildContext context) { - return const ComponentGroupDecoration(label: 'Containment', children: [ - BottomSheetSection(), - Cards(), - Carousels(), - Dialogs(), - Dividers(), - // TODO: Add Lists, https://github.com/flutter/flutter/issues/114006 - // TODO: Add Side sheets, https://github.com/flutter/flutter/issues/119328 - ]); + return const ComponentGroupDecoration( + label: 'Containment', + children: [ + BottomSheetSection(), + Cards(), + Carousels(), + Dialogs(), + Dividers(), + // TODO: Add Lists, https://github.com/flutter/flutter/issues/114006 + // TODO: Add Side sheets, https://github.com/flutter/flutter/issues/119328 + ], + ); } } @@ -258,18 +262,18 @@ class Navigation extends StatelessWidget { @override Widget build(BuildContext context) { - return ComponentGroupDecoration(label: 'Navigation', children: [ - const BottomAppBars(), - const NavigationBars( - selectedIndex: 0, - isExampleBar: true, - ), - NavigationDrawers(scaffoldKey: scaffoldKey), - const NavigationRails(), - const Tabs(), - const SearchAnchors(), - const TopAppBars(), - ]); + return ComponentGroupDecoration( + label: 'Navigation', + children: [ + const BottomAppBars(), + const NavigationBars(selectedIndex: 0, isExampleBar: true), + NavigationDrawers(scaffoldKey: scaffoldKey), + const NavigationRails(), + const Tabs(), + const SearchAnchors(), + const TopAppBars(), + ], + ); } } @@ -278,16 +282,19 @@ class Selection extends StatelessWidget { @override Widget build(BuildContext context) { - return const ComponentGroupDecoration(label: 'Selection', children: [ - Checkboxes(), - Chips(), - DatePicker(), - TimePicker(), - Menus(), - Radios(), - Sliders(), - Switches(), - ]); + return const ComponentGroupDecoration( + label: 'Selection', + children: [ + Checkboxes(), + Chips(), + DatePicker(), + TimePicker(), + Menus(), + Radios(), + Sliders(), + Switches(), + ], + ); } } @@ -415,7 +422,7 @@ class ButtonsWithIcon extends StatelessWidget { onPressed: () {}, icon: const Icon(Icons.add), label: const Text('Icon'), - ) + ), ], ), ), @@ -493,7 +500,7 @@ class Cards extends StatelessWidget { const Align( alignment: Alignment.bottomLeft, child: Text('Elevated'), - ) + ), ], ), ), @@ -519,7 +526,7 @@ class Cards extends StatelessWidget { const Align( alignment: Alignment.bottomLeft, child: Text('Filled'), - ) + ), ], ), ), @@ -530,9 +537,7 @@ class Cards extends StatelessWidget { child: Card( elevation: 0, shape: RoundedRectangleBorder( - side: BorderSide( - color: Theme.of(context).colorScheme.outline, - ), + side: BorderSide(color: Theme.of(context).colorScheme.outline), borderRadius: const BorderRadius.all(Radius.circular(12)), ), child: Container( @@ -550,7 +555,7 @@ class Cards extends StatelessWidget { const Align( alignment: Alignment.bottomLeft, child: Text('Outlined'), - ) + ), ], ), ), @@ -569,9 +574,9 @@ class _ClearButton extends StatelessWidget { @override Widget build(BuildContext context) => IconButton( - icon: const Icon(Icons.clear), - onPressed: () => controller.clear(), - ); + icon: const Icon(Icons.clear), + onPressed: () => controller.clear(), + ); } class TextFields extends StatefulWidget { @@ -667,50 +672,54 @@ class _TextFieldsState extends State { ), ), Padding( - padding: const EdgeInsets.all(smallSpacing), - child: Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - Flexible( - child: SizedBox( - width: 200, - child: TextField( + padding: const EdgeInsets.all(smallSpacing), + child: Row( + mainAxisAlignment: MainAxisAlignment.spaceBetween, + children: [ + Flexible( + child: SizedBox( + width: 200, + child: TextField( + controller: _controllerOutlined, + decoration: InputDecoration( + prefixIcon: const Icon(Icons.search), + suffixIcon: _ClearButton( controller: _controllerOutlined, - decoration: InputDecoration( - prefixIcon: const Icon(Icons.search), - suffixIcon: - _ClearButton(controller: _controllerOutlined), - labelText: 'Outlined', - hintText: 'hint text', - helperText: 'supporting text', - errorText: 'error text', - border: const OutlineInputBorder(), - filled: true, - ), ), + labelText: 'Outlined', + hintText: 'hint text', + helperText: 'supporting text', + errorText: 'error text', + border: const OutlineInputBorder(), + filled: true, ), ), - const SizedBox(width: smallSpacing), - Flexible( - child: SizedBox( - width: 200, - child: TextField( + ), + ), + const SizedBox(width: smallSpacing), + Flexible( + child: SizedBox( + width: 200, + child: TextField( + controller: _controllerOutlined, + enabled: false, + decoration: InputDecoration( + prefixIcon: const Icon(Icons.search), + suffixIcon: _ClearButton( controller: _controllerOutlined, - enabled: false, - decoration: InputDecoration( - prefixIcon: const Icon(Icons.search), - suffixIcon: - _ClearButton(controller: _controllerOutlined), - labelText: 'Disabled', - hintText: 'hint text', - helperText: 'supporting text', - border: const OutlineInputBorder(), - filled: true, - ), ), + labelText: 'Disabled', + hintText: 'hint text', + helperText: 'supporting text', + border: const OutlineInputBorder(), + filled: true, ), ), - ])), + ), + ), + ], + ), + ), ], ), ); @@ -728,48 +737,51 @@ class _DialogsState extends State { void openDialog(BuildContext context) { showDialog( context: context, - builder: (context) => AlertDialog( - title: const Text('What is a dialog?'), - content: const Text( - 'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.'), - actions: [ - TextButton( - child: const Text('Dismiss'), - onPressed: () => Navigator.of(context).pop(), - ), - FilledButton( - child: const Text('Okay'), - onPressed: () => Navigator.of(context).pop(), + builder: + (context) => AlertDialog( + title: const Text('What is a dialog?'), + content: const Text( + 'A dialog is a type of modal window that appears in front of app content to provide critical information, or prompt for a decision to be made.', + ), + actions: [ + TextButton( + child: const Text('Dismiss'), + onPressed: () => Navigator.of(context).pop(), + ), + FilledButton( + child: const Text('Okay'), + onPressed: () => Navigator.of(context).pop(), + ), + ], ), - ], - ), ); } void openFullscreenDialog(BuildContext context) { showDialog( context: context, - builder: (context) => Dialog.fullscreen( - child: Padding( - padding: const EdgeInsets.all(20.0), - child: Scaffold( - appBar: AppBar( - title: const Text('Full-screen dialog'), - centerTitle: false, - leading: IconButton( - icon: const Icon(Icons.close), - onPressed: () => Navigator.of(context).pop(), - ), - actions: [ - TextButton( - child: const Text('Close'), - onPressed: () => Navigator.of(context).pop(), + builder: + (context) => Dialog.fullscreen( + child: Padding( + padding: const EdgeInsets.all(20.0), + child: Scaffold( + appBar: AppBar( + title: const Text('Full-screen dialog'), + centerTitle: false, + leading: IconButton( + icon: const Icon(Icons.close), + onPressed: () => Navigator.of(context).pop(), + ), + actions: [ + TextButton( + child: const Text('Close'), + onPressed: () => Navigator.of(context).pop(), + ), + ], ), - ], + ), ), ), - ), - ), ); } @@ -810,11 +822,7 @@ class Dividers extends StatelessWidget { return const ComponentDecoration( label: 'Dividers', tooltipMessage: 'Use Divider or VerticalDivider', - child: Column( - children: [ - Divider(key: Key('divider')), - ], - ), + child: Column(children: [Divider(key: Key('divider'))]), ); } } @@ -852,11 +860,11 @@ class _SwitchRowState extends State { final WidgetStateProperty thumbIcon = WidgetStateProperty.resolveWith((states) { - if (states.contains(WidgetState.selected)) { - return const Icon(Icons.check); - } - return const Icon(Icons.close); - }); + if (states.contains(WidgetState.selected)) { + return const Icon(Icons.check); + } + return const Icon(Icons.close); + }); @override Widget build(BuildContext context) { @@ -866,24 +874,26 @@ class _SwitchRowState extends State { // TODO: use SwitchListTile when thumbIcon is available https://github.com/flutter/flutter/issues/118616 Switch( value: value0, - onChanged: widget.isEnabled - ? (value) { - setState(() { - value0 = value; - }); - } - : null, + onChanged: + widget.isEnabled + ? (value) { + setState(() { + value0 = value; + }); + } + : null, ), Switch( thumbIcon: thumbIcon, value: value1, - onChanged: widget.isEnabled - ? (value) { - setState(() { - value1 = value; - }); - } - : null, + onChanged: + widget.isEnabled + ? (value) { + setState(() { + value1 = value; + }); + } + : null, ), ], ); @@ -1041,14 +1051,10 @@ class _ProgressIndicatorsState extends State { child: Row( children: [ rowDivider, - CircularProgressIndicator( - value: progressValue, - ), + CircularProgressIndicator(value: progressValue), rowDivider, Expanded( - child: LinearProgressIndicator( - value: progressValue, - ), + child: LinearProgressIndicator(value: progressValue), ), rowDivider, ], @@ -1086,7 +1092,7 @@ const List appBarDestinations = [ icon: Icon(Icons.invert_colors_on_outlined), label: 'Elevation', selectedIcon: Icon(Icons.opacity), - ) + ), ]; const List exampleBarDestinations = [ @@ -1107,7 +1113,7 @@ const List exampleBarDestinations = [ icon: Icon(Icons.account_box_outlined), label: 'Account', selectedIcon: Icon(Icons.account_box), - ) + ), ]; List barWithBadgeDestinations = [ @@ -1134,7 +1140,7 @@ List barWithBadgeDestinations = [ icon: Badge.count(count: 3, child: const Icon(Icons.videocam_outlined)), label: 'Meet', selectedIcon: Badge.count(count: 3, child: const Icon(Icons.videocam)), - ) + ), ]; class NavigationBars extends StatefulWidget { @@ -1185,9 +1191,10 @@ class _NavigationBarsState extends State { }); if (!widget.isExampleBar) widget.onSelectItem!(index); }, - destinations: widget.isExampleBar && widget.isBadgeExample - ? barWithBadgeDestinations - : widget.isExampleBar + destinations: + widget.isExampleBar && widget.isBadgeExample + ? barWithBadgeDestinations + : widget.isExampleBar ? exampleBarDestinations : appBarDestinations, ), @@ -1195,14 +1202,16 @@ class _NavigationBarsState extends State { if (widget.isExampleBar && widget.isBadgeExample) { navigationBar = ComponentDecoration( - label: 'Badges', - tooltipMessage: 'Use Badge or Badge.count', - child: navigationBar); + label: 'Badges', + tooltipMessage: 'Use Badge or Badge.count', + child: navigationBar, + ); } else if (widget.isExampleBar) { navigationBar = ComponentDecoration( - label: 'Navigation bar', - tooltipMessage: 'Use NavigationBar', - child: navigationBar); + label: 'Navigation bar', + tooltipMessage: 'Use NavigationBar', + child: navigationBar, + ); } return navigationBar; @@ -1365,10 +1374,7 @@ class _ChipsState extends State { onPressed: () {}, onDeleted: () {}, ), - ActionChip( - label: const Text('Suggestion'), - onPressed: () {}, - ), + ActionChip(label: const Text('Suggestion'), onPressed: () {}), ], ), colDivider, @@ -1390,9 +1396,7 @@ class _ChipsState extends State { onDeleted: () {}, isEnabled: false, ), - const ActionChip( - label: Text('Suggestion'), - ), + const ActionChip(label: Text('Suggestion')), ], ), ], @@ -1429,10 +1433,13 @@ class _DatePickerState extends State { setState(() { selectedDate = date; if (selectedDate != null) { - ScaffoldMessenger.of(context).showSnackBar(SnackBar( - content: Text( - 'Selected Date: ${selectedDate!.day}/${selectedDate!.month}/${selectedDate!.year}'), - )); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text( + 'Selected Date: ${selectedDate!.day}/${selectedDate!.month}/${selectedDate!.year}', + ), + ), + ); } }); }, @@ -1468,9 +1475,9 @@ class _TimePickerState extends State { initialTime: selectedTime ?? TimeOfDay.now(), builder: (context, child) { return MediaQuery( - data: MediaQuery.of(context).copyWith( - alwaysUse24HourFormat: true, - ), + data: MediaQuery.of( + context, + ).copyWith(alwaysUse24HourFormat: true), child: child!, ); }, @@ -1478,10 +1485,13 @@ class _TimePickerState extends State { setState(() { selectedTime = time; if (selectedTime != null) { - ScaffoldMessenger.of(context).showSnackBar(SnackBar( - content: - Text('Selected time: ${selectedTime!.format(context)}'), - )); + ScaffoldMessenger.of(context).showSnackBar( + SnackBar( + content: Text( + 'Selected time: ${selectedTime!.format(context)}', + ), + ), + ); } }); }, @@ -1504,11 +1514,7 @@ class SegmentedButtons extends StatelessWidget { label: 'Segmented buttons', tooltipMessage: 'Use SegmentedButton', child: Column( - children: [ - SingleChoice(), - colDivider, - MultipleChoice(), - ], + children: [SingleChoice(), colDivider, MultipleChoice()], ), ); } @@ -1531,21 +1537,25 @@ class _SingleChoiceState extends State { return SegmentedButton( segments: const >[ ButtonSegment( - value: Calendar.day, - label: Text('Day'), - icon: Icon(Icons.calendar_view_day)), + value: Calendar.day, + label: Text('Day'), + icon: Icon(Icons.calendar_view_day), + ), ButtonSegment( - value: Calendar.week, - label: Text('Week'), - icon: Icon(Icons.calendar_view_week)), + value: Calendar.week, + label: Text('Week'), + icon: Icon(Icons.calendar_view_week), + ), ButtonSegment( - value: Calendar.month, - label: Text('Month'), - icon: Icon(Icons.calendar_view_month)), + value: Calendar.month, + label: Text('Month'), + icon: Icon(Icons.calendar_view_month), + ), ButtonSegment( - value: Calendar.year, - label: Text('Year'), - icon: Icon(Icons.calendar_today)), + value: Calendar.year, + label: Text('Year'), + icon: Icon(Icons.calendar_today), + ), ], selected: {calendarView}, onSelectionChanged: (newSelection) { @@ -1579,10 +1589,7 @@ class _MultipleChoiceState extends State { ButtonSegment(value: Sizes.extraSmall, label: Text('XS')), ButtonSegment(value: Sizes.small, label: Text('S')), ButtonSegment(value: Sizes.medium, label: Text('M')), - ButtonSegment( - value: Sizes.large, - label: Text('L'), - ), + ButtonSegment(value: Sizes.large, label: Text('L')), ButtonSegment(value: Sizes.extraLarge, label: Text('XL')), ], selected: selection, @@ -1611,10 +1618,7 @@ class SnackBarSection extends StatelessWidget { behavior: SnackBarBehavior.floating, width: 400.0, content: const Text('This is a snackbar'), - action: SnackBarAction( - label: 'Close', - onPressed: () {}, - ), + action: SnackBarAction(label: 'Close', onPressed: () {}), ); ScaffoldMessenger.of(context).hideCurrentSnackBar(); @@ -1656,21 +1660,19 @@ class _BottomSheetSectionState extends State { Text('Trash'), Text('Archive'), Text('Settings'), - Text('Favorite') + Text('Favorite'), ]; buttonList = List.generate( - buttonList.length, - (index) => Padding( - padding: const EdgeInsets.fromLTRB(20.0, 30.0, 20.0, 20.0), - child: Column( - mainAxisAlignment: MainAxisAlignment.start, - children: [ - buttonList[index], - labelList[index], - ], - ), - )); + buttonList.length, + (index) => Padding( + padding: const EdgeInsets.fromLTRB(20.0, 30.0, 20.0, 20.0), + child: Column( + mainAxisAlignment: MainAxisAlignment.start, + children: [buttonList[index], labelList[index]], + ), + ), + ); return ComponentDecoration( label: 'Bottom sheet', @@ -1816,28 +1818,13 @@ class IconButtonAnchorExample extends StatelessWidget { ); }, menuChildren: [ - MenuItemButton( - child: const Text('Menu 1'), - onPressed: () {}, - ), - MenuItemButton( - child: const Text('Menu 2'), - onPressed: () {}, - ), + MenuItemButton(child: const Text('Menu 1'), onPressed: () {}), + MenuItemButton(child: const Text('Menu 2'), onPressed: () {}), SubmenuButton( menuChildren: [ - MenuItemButton( - onPressed: () {}, - child: const Text('Menu 3.1'), - ), - MenuItemButton( - onPressed: () {}, - child: const Text('Menu 3.2'), - ), - MenuItemButton( - onPressed: () {}, - child: const Text('Menu 3.3'), - ), + MenuItemButton(onPressed: () {}, child: const Text('Menu 3.1')), + MenuItemButton(onPressed: () {}, child: const Text('Menu 3.2')), + MenuItemButton(onPressed: () {}, child: const Text('Menu 3.3')), ], child: const Text('Menu 3'), ), @@ -1901,8 +1888,10 @@ class NavigationDrawers extends StatelessWidget { colDivider, colDivider, TextButton( - child: const Text('Show modal navigation drawer', - style: TextStyle(fontWeight: FontWeight.bold)), + child: const Text( + 'Show modal navigation drawer', + style: TextStyle(fontWeight: FontWeight.bold), + ), onPressed: () { scaffoldKey.currentState!.openEndDrawer(); }, @@ -1936,10 +1925,7 @@ class _NavigationDrawerSectionState extends State { children: [ Padding( padding: const EdgeInsets.fromLTRB(28, 16, 16, 10), - child: Text( - 'Mail', - style: Theme.of(context).textTheme.titleSmall, - ), + child: Text('Mail', style: Theme.of(context).textTheme.titleSmall), ), ...destinations.map((destination) { return NavigationDrawerDestination( @@ -1951,10 +1937,7 @@ class _NavigationDrawerSectionState extends State { const Divider(indent: 28, endIndent: 28), Padding( padding: const EdgeInsets.fromLTRB(28, 16, 16, 10), - child: Text( - 'Labels', - style: Theme.of(context).textTheme.titleSmall, - ), + child: Text('Labels', style: Theme.of(context).textTheme.titleSmall), ), ...labelDestinations.map((destination) { return NavigationDrawerDestination( @@ -1980,15 +1963,24 @@ const List destinations = [ ExampleDestination('Inbox', Icon(Icons.inbox_outlined), Icon(Icons.inbox)), ExampleDestination('Outbox', Icon(Icons.send_outlined), Icon(Icons.send)), ExampleDestination( - 'Favorites', Icon(Icons.favorite_outline), Icon(Icons.favorite)), + 'Favorites', + Icon(Icons.favorite_outline), + Icon(Icons.favorite), + ), ExampleDestination('Trash', Icon(Icons.delete_outline), Icon(Icons.delete)), ]; const List labelDestinations = [ ExampleDestination( - 'Family', Icon(Icons.bookmark_border), Icon(Icons.bookmark)), + 'Family', + Icon(Icons.bookmark_border), + Icon(Icons.bookmark), + ), ExampleDestination( - 'School', Icon(Icons.bookmark_border), Icon(Icons.bookmark)), + 'School', + Icon(Icons.bookmark_border), + Icon(Icons.bookmark), + ), ExampleDestination('Work', Icon(Icons.bookmark_border), Icon(Icons.bookmark)), ]; @@ -2001,7 +1993,8 @@ class NavigationRails extends StatelessWidget { label: 'Navigation rail', tooltipMessage: 'Use NavigationRail', child: IntrinsicWidth( - child: SizedBox(height: 420, child: NavigationRailSection())), + child: SizedBox(height: 420, child: NavigationRailSection()), + ), ); } } @@ -2026,7 +2019,9 @@ class _NavigationRailSectionState extends State { }, elevation: 4, leading: FloatingActionButton( - child: const Icon(Icons.create), onPressed: () {}), + child: const Icon(Icons.create), + onPressed: () {}, + ), groupAlignment: 0.0, selectedIndex: navRailIndex, labelType: NavigationRailLabelType.selected, @@ -2184,15 +2179,21 @@ class _MenusState extends State { final List> colorEntries = >[]; for (final ColorLabel color in ColorLabel.values) { - colorEntries.add(DropdownMenuEntry( - value: color, label: color.label, enabled: color.label != 'Grey')); + colorEntries.add( + DropdownMenuEntry( + value: color, + label: color.label, + enabled: color.label != 'Grey', + ), + ); } final List> iconEntries = >[]; for (final IconLabel icon in IconLabel.values) { - iconEntries - .add(DropdownMenuEntry(value: icon, label: icon.label)); + iconEntries.add( + DropdownMenuEntry(value: icon, label: icon.label), + ); } return ComponentDecoration( @@ -2243,7 +2244,7 @@ class _MenusState extends State { Icon( selectedIcon?.icon, color: selectedColor?.color ?? Colors.grey.withAlpha(128), - ) + ), ], ), ], @@ -2266,10 +2267,7 @@ enum ColorLabel { enum IconLabel { smile('Smile', Icons.sentiment_satisfied_outlined), - cloud( - 'Cloud', - Icons.cloud_outlined, - ), + cloud('Cloud', Icons.cloud_outlined), brush('Brush', Icons.brush_outlined), heart('Heart', Icons.favorite); @@ -2292,33 +2290,34 @@ class _SlidersState extends State { @override Widget build(BuildContext context) { return ComponentDecoration( - label: 'Sliders', - tooltipMessage: 'Use Slider or RangeSlider', - child: Column( - children: [ - Slider( - max: 100, - value: sliderValue0, - onChanged: (value) { - setState(() { - sliderValue0 = value; - }); - }, - ), - const SizedBox(height: 20), - Slider( - max: 100, - divisions: 5, - value: sliderValue1, - label: sliderValue1.round().toString(), - onChanged: (value) { - setState(() { - sliderValue1 = value; - }); - }, - ), - ], - )); + label: 'Sliders', + tooltipMessage: 'Use Slider or RangeSlider', + child: Column( + children: [ + Slider( + max: 100, + value: sliderValue0, + onChanged: (value) { + setState(() { + sliderValue0 = value; + }); + }, + ), + const SizedBox(height: 20), + Slider( + max: 100, + divisions: 5, + value: sliderValue1, + label: sliderValue1.round().toString(), + onChanged: (value) { + setState(() { + sliderValue1 = value; + }); + }, + ), + ], + ), + ); } } @@ -2334,42 +2333,50 @@ class _SearchAnchorsState extends State { List searchHistory = []; Iterable getHistoryList(SearchController controller) { - return searchHistory.map((color) => ListTile( - leading: const Icon(Icons.history), - title: Text(color.label), - trailing: IconButton( - icon: const Icon(Icons.call_missed), - onPressed: () { - controller.text = color.label; - controller.selection = - TextSelection.collapsed(offset: controller.text.length); - }), - onTap: () { - controller.closeView(color.label); - handleSelection(color); + return searchHistory.map( + (color) => ListTile( + leading: const Icon(Icons.history), + title: Text(color.label), + trailing: IconButton( + icon: const Icon(Icons.call_missed), + onPressed: () { + controller.text = color.label; + controller.selection = TextSelection.collapsed( + offset: controller.text.length, + ); }, - )); + ), + onTap: () { + controller.closeView(color.label); + handleSelection(color); + }, + ), + ); } Iterable getSuggestions(SearchController controller) { final String input = controller.value.text; return ColorItem.values .where((color) => color.label.contains(input)) - .map((filteredColor) => ListTile( - leading: CircleAvatar(backgroundColor: filteredColor.color), - title: Text(filteredColor.label), - trailing: IconButton( - icon: const Icon(Icons.call_missed), - onPressed: () { - controller.text = filteredColor.label; - controller.selection = - TextSelection.collapsed(offset: controller.text.length); - }), - onTap: () { - controller.closeView(filteredColor.label); - handleSelection(filteredColor); + .map( + (filteredColor) => ListTile( + leading: CircleAvatar(backgroundColor: filteredColor.color), + title: Text(filteredColor.label), + trailing: IconButton( + icon: const Icon(Icons.call_missed), + onPressed: () { + controller.text = filteredColor.label; + controller.selection = TextSelection.collapsed( + offset: controller.text.length, + ); }, - )); + ), + onTap: () { + controller.closeView(filteredColor.label); + handleSelection(filteredColor); + }, + ), + ); } void handleSelection(ColorItem color) { @@ -2398,9 +2405,11 @@ class _SearchAnchorsState extends State { } return [ const Center( - child: Text('No search history.', - style: TextStyle(color: Colors.grey)), - ) + child: Text( + 'No search history.', + style: TextStyle(color: Colors.grey), + ), + ), ]; } return getSuggestions(controller); @@ -2410,7 +2419,7 @@ class _SearchAnchorsState extends State { if (selectedColor == null) const Text('Select a color') else - Text('Last selected color is $selectedColor') + Text('Last selected color is $selectedColor'), ], ), ); @@ -2442,9 +2451,7 @@ class Carousels extends StatelessWidget { shrinkExtent: 100, itemExtent: 180, children: List.generate(20, (index) { - return Center( - child: Text('Item $index'), - ); + return Center(child: Text('Item $index')); }), ), ), @@ -2464,9 +2471,7 @@ class Carousels extends StatelessWidget { shrinkExtent: 100, itemExtent: 180, children: List.generate(20, (index) { - return Center( - child: Text('Item $index'), - ); + return Center(child: Text('Item $index')); }), ), ), @@ -2505,19 +2510,23 @@ class _ComponentDecorationState extends State { Row( mainAxisAlignment: MainAxisAlignment.center, children: [ - Text(widget.label, - style: Theme.of(context).textTheme.titleMedium), + Text( + widget.label, + style: Theme.of(context).textTheme.titleMedium, + ), Tooltip( message: widget.tooltipMessage, child: const Padding( - padding: EdgeInsets.symmetric(horizontal: 5.0), - child: Icon(Icons.info_outline, size: 16)), + padding: EdgeInsets.symmetric(horizontal: 5.0), + child: Icon(Icons.info_outline, size: 16), + ), ), ], ), ConstrainedBox( - constraints: - const BoxConstraints.tightFor(width: widthConstraint), + constraints: const BoxConstraints.tightFor( + width: widthConstraint, + ), // Tapping within the a component card should request focus // for that component's children. child: Focus( @@ -2538,10 +2547,10 @@ class _ComponentDecorationState extends State { ), child: Padding( padding: const EdgeInsets.symmetric( - horizontal: 5.0, vertical: 20.0), - child: Center( - child: widget.child, + horizontal: 5.0, + vertical: 20.0, ), + child: Center(child: widget.child), ), ), ), @@ -2555,8 +2564,11 @@ class _ComponentDecorationState extends State { } class ComponentGroupDecoration extends StatelessWidget { - const ComponentGroupDecoration( - {super.key, required this.label, required this.children}); + const ComponentGroupDecoration({ + super.key, + required this.label, + required this.children, + }); final String label; final List children; @@ -2568,8 +2580,9 @@ class ComponentGroupDecoration extends StatelessWidget { child: Card( margin: EdgeInsets.zero, elevation: 0, - color: - Theme.of(context).colorScheme.surfaceContainerHighest.withAlpha(77), + color: Theme.of( + context, + ).colorScheme.surfaceContainerHighest.withAlpha(77), child: Padding( padding: const EdgeInsets.symmetric(vertical: 20.0), child: Center( @@ -2577,7 +2590,7 @@ class ComponentGroupDecoration extends StatelessWidget { children: [ Text(label, style: Theme.of(context).textTheme.titleLarge), colDivider, - ...children + ...children, ], ), ), diff --git a/material_3_demo/lib/constants.dart b/material_3_demo/lib/constants.dart index 41b97ebd2..0c827860a 100644 --- a/material_3_demo/lib/constants.dart +++ b/material_3_demo/lib/constants.dart @@ -15,10 +15,7 @@ const double transitionLength = 500; // Whether the user has chosen a theme color via a direct [ColorSeed] selection, // or an image [ColorImageProvider]. -enum ColorSelectionMethod { - colorSeed, - image, -} +enum ColorSelectionMethod { colorSeed, image } enum ColorSeed { baseColor('M3 Baseline', Color(0xff6750a4)), @@ -37,18 +34,30 @@ enum ColorSeed { } enum ColorImageProvider { - leaves('Leaves', - 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_1.png'), - peonies('Peonies', - 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_2.png'), - bubbles('Bubbles', - 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_3.png'), - seaweed('Seaweed', - 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_4.png'), - seagrapes('Sea Grapes', - 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_5.png'), - petals('Petals', - 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_6.png'); + leaves( + 'Leaves', + 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_1.png', + ), + peonies( + 'Peonies', + 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_2.png', + ), + bubbles( + 'Bubbles', + 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_3.png', + ), + seaweed( + 'Seaweed', + 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_4.png', + ), + seagrapes( + 'Sea Grapes', + 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_5.png', + ), + petals( + 'Petals', + 'https://flutter.github.io/assets-for-api-docs/assets/material/content_based_color_scheme_6.png', + ); const ColorImageProvider(this.label, this.url); final String label; diff --git a/material_3_demo/lib/elevation_screen.dart b/material_3_demo/lib/elevation_screen.dart index 6522e9b8e..87c4784d5 100644 --- a/material_3_demo/lib/elevation_screen.dart +++ b/material_3_demo/lib/elevation_screen.dart @@ -71,7 +71,9 @@ class ElevationGrid extends StatelessWidget { final Color? surfaceTintColor; List elevationCards( - Color? shadowColor, Color? surfaceTintColor) { + Color? shadowColor, + Color? surfaceTintColor, + ) { return elevations .map( (elevationInfo) => ElevationCard( @@ -87,26 +89,32 @@ class ElevationGrid extends StatelessWidget { Widget build(BuildContext context) { return SliverPadding( padding: const EdgeInsets.all(8), - sliver: SliverLayoutBuilder(builder: (context, constraints) { - if (constraints.crossAxisExtent < narrowScreenWidthThreshold) { - return SliverGrid.count( - crossAxisCount: 3, - children: elevationCards(shadowColor, surfaceTintColor), - ); - } else { - return SliverGrid.count( - crossAxisCount: 6, - children: elevationCards(shadowColor, surfaceTintColor), - ); - } - }), + sliver: SliverLayoutBuilder( + builder: (context, constraints) { + if (constraints.crossAxisExtent < narrowScreenWidthThreshold) { + return SliverGrid.count( + crossAxisCount: 3, + children: elevationCards(shadowColor, surfaceTintColor), + ); + } else { + return SliverGrid.count( + crossAxisCount: 6, + children: elevationCards(shadowColor, surfaceTintColor), + ); + } + }, + ), ); } } class ElevationCard extends StatefulWidget { - const ElevationCard( - {super.key, required this.info, this.shadowColor, this.surfaceTint}); + const ElevationCard({ + super.key, + required this.info, + this.shadowColor, + this.surfaceTint, + }); final ElevationInfo info; final Color? shadowColor; diff --git a/material_3_demo/lib/home.dart b/material_3_demo/lib/home.dart index debc9d552..fec4b4f2e 100644 --- a/material_3_demo/lib/home.dart +++ b/material_3_demo/lib/home.dart @@ -110,84 +110,85 @@ class _HomeState extends State with SingleTickerProviderStateMixin { Widget createScreenFor( ScreenSelected screenSelected, bool showNavBarExample, - ) => - switch (screenSelected) { - ScreenSelected.component => Expanded( - child: OneTwoTransition( - animation: railAnimation, - one: FirstComponentList( - showNavBottomBar: showNavBarExample, - scaffoldKey: scaffoldKey, - showSecondList: showMediumSizeLayout || showLargeSizeLayout), - two: SecondComponentList( - scaffoldKey: scaffoldKey, - ), - ), - ), - ScreenSelected.color => const ColorPalettesScreen(), - ScreenSelected.typography => const TypographyScreen(), - ScreenSelected.elevation => const ElevationScreen() - }; + ) => switch (screenSelected) { + ScreenSelected.component => Expanded( + child: OneTwoTransition( + animation: railAnimation, + one: FirstComponentList( + showNavBottomBar: showNavBarExample, + scaffoldKey: scaffoldKey, + showSecondList: showMediumSizeLayout || showLargeSizeLayout, + ), + two: SecondComponentList(scaffoldKey: scaffoldKey), + ), + ), + ScreenSelected.color => const ColorPalettesScreen(), + ScreenSelected.typography => const TypographyScreen(), + ScreenSelected.elevation => const ElevationScreen(), + }; PreferredSizeWidget createAppBar() { return AppBar( - title: widget.useMaterial3 - ? const Text('Material 3') - : const Text('Material 2'), - actions: !showMediumSizeLayout && !showLargeSizeLayout - ? [ - _BrightnessButton( - handleBrightnessChange: widget.handleBrightnessChange, - ), - _Material3Button( - handleMaterialVersionChange: widget.handleMaterialVersionChange, - ), - _ColorSeedButton( - handleColorSelect: widget.handleColorSelect, - colorSelected: widget.colorSelected, - colorSelectionMethod: widget.colorSelectionMethod, - ), - _ColorImageButton( - handleImageSelect: widget.handleImageSelect, - imageSelected: widget.imageSelected, - colorSelectionMethod: widget.colorSelectionMethod, - ) - ] - : [Container()], + title: + widget.useMaterial3 + ? const Text('Material 3') + : const Text('Material 2'), + actions: + !showMediumSizeLayout && !showLargeSizeLayout + ? [ + _BrightnessButton( + handleBrightnessChange: widget.handleBrightnessChange, + ), + _Material3Button( + handleMaterialVersionChange: + widget.handleMaterialVersionChange, + ), + _ColorSeedButton( + handleColorSelect: widget.handleColorSelect, + colorSelected: widget.colorSelected, + colorSelectionMethod: widget.colorSelectionMethod, + ), + _ColorImageButton( + handleImageSelect: widget.handleImageSelect, + imageSelected: widget.imageSelected, + colorSelectionMethod: widget.colorSelectionMethod, + ), + ] + : [Container()], ); } Widget _trailingActions() => Column( - mainAxisAlignment: MainAxisAlignment.end, - children: [ - Flexible( - child: _BrightnessButton( - handleBrightnessChange: widget.handleBrightnessChange, - showTooltipBelow: false, - ), - ), - Flexible( - child: _Material3Button( - handleMaterialVersionChange: widget.handleMaterialVersionChange, - showTooltipBelow: false, - ), - ), - Flexible( - child: _ColorSeedButton( - handleColorSelect: widget.handleColorSelect, - colorSelected: widget.colorSelected, - colorSelectionMethod: widget.colorSelectionMethod, - ), - ), - Flexible( - child: _ColorImageButton( - handleImageSelect: widget.handleImageSelect, - imageSelected: widget.imageSelected, - colorSelectionMethod: widget.colorSelectionMethod, - ), - ), - ], - ); + mainAxisAlignment: MainAxisAlignment.end, + children: [ + Flexible( + child: _BrightnessButton( + handleBrightnessChange: widget.handleBrightnessChange, + showTooltipBelow: false, + ), + ), + Flexible( + child: _Material3Button( + handleMaterialVersionChange: widget.handleMaterialVersionChange, + showTooltipBelow: false, + ), + ), + Flexible( + child: _ColorSeedButton( + handleColorSelect: widget.handleColorSelect, + colorSelected: widget.colorSelected, + colorSelectionMethod: widget.colorSelectionMethod, + ), + ), + Flexible( + child: _ColorImageButton( + handleImageSelect: widget.handleImageSelect, + imageSelected: widget.imageSelected, + colorSelectionMethod: widget.colorSelectionMethod, + ), + ), + ], + ); @override Widget build(BuildContext context) { @@ -200,7 +201,9 @@ class _HomeState extends State with SingleTickerProviderStateMixin { railAnimation: railAnimation, appBar: createAppBar(), body: createScreenFor( - ScreenSelected.values[screenIndex], controller.value == 1), + ScreenSelected.values[screenIndex], + controller.value == 1, + ), navigationRail: NavigationRail( extended: showLargeSizeLayout, destinations: navRailDestinations, @@ -214,20 +217,21 @@ class _HomeState extends State with SingleTickerProviderStateMixin { trailing: Expanded( child: Padding( padding: const EdgeInsets.only(bottom: 20), - child: showLargeSizeLayout - ? _ExpandedTrailingActions( - useLightMode: widget.useLightMode, - handleBrightnessChange: widget.handleBrightnessChange, - useMaterial3: widget.useMaterial3, - handleMaterialVersionChange: - widget.handleMaterialVersionChange, - handleImageSelect: widget.handleImageSelect, - handleColorSelect: widget.handleColorSelect, - colorSelectionMethod: widget.colorSelectionMethod, - imageSelected: widget.imageSelected, - colorSelected: widget.colorSelected, - ) - : _trailingActions(), + child: + showLargeSizeLayout + ? _ExpandedTrailingActions( + useLightMode: widget.useLightMode, + handleBrightnessChange: widget.handleBrightnessChange, + useMaterial3: widget.useMaterial3, + handleMaterialVersionChange: + widget.handleMaterialVersionChange, + handleImageSelect: widget.handleImageSelect, + handleColorSelect: widget.handleColorSelect, + colorSelectionMethod: widget.colorSelectionMethod, + imageSelected: widget.imageSelected, + colorSelected: widget.colorSelected, + ) + : _trailingActions(), ), ), ), @@ -263,9 +267,10 @@ class _BrightnessButton extends StatelessWidget { preferBelow: showTooltipBelow, message: 'Toggle brightness', child: IconButton( - icon: isBright - ? const Icon(Icons.dark_mode_outlined) - : const Icon(Icons.light_mode_outlined), + icon: + isBright + ? const Icon(Icons.dark_mode_outlined) + : const Icon(Icons.light_mode_outlined), onPressed: () => handleBrightnessChange(!isBright), ), ); @@ -288,9 +293,10 @@ class _Material3Button extends StatelessWidget { preferBelow: showTooltipBelow, message: 'Switch to Material ${useMaterial3 ? 2 : 3}', child: IconButton( - icon: useMaterial3 - ? const Icon(Icons.filter_2) - : const Icon(Icons.filter_3), + icon: + useMaterial3 + ? const Icon(Icons.filter_2) + : const Icon(Icons.filter_3), onPressed: handleMaterialVersionChange, ), ); @@ -311,9 +317,7 @@ class _ColorSeedButton extends StatelessWidget { @override Widget build(BuildContext context) { return PopupMenuButton( - icon: const Icon( - Icons.palette_outlined, - ), + icon: const Icon(Icons.palette_outlined), tooltip: 'Select a seed color', shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)), itemBuilder: (context) { @@ -322,7 +326,8 @@ class _ColorSeedButton extends StatelessWidget { return PopupMenuItem( value: index, - enabled: currentColor != colorSelected || + enabled: + currentColor != colorSelected || colorSelectionMethod != ColorSelectionMethod.colorSeed, child: Wrap( children: [ @@ -364,9 +369,7 @@ class _ColorImageButton extends StatelessWidget { @override Widget build(BuildContext context) { return PopupMenuButton( - icon: const Icon( - Icons.image_outlined, - ), + icon: const Icon(Icons.image_outlined), tooltip: 'Select a color extraction image', shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(10)), itemBuilder: (context) { @@ -375,7 +378,8 @@ class _ColorImageButton extends StatelessWidget { return PopupMenuItem( value: index, - enabled: currentImageProvider != imageSelected || + enabled: + currentImageProvider != imageSelected || colorSelectionMethod != ColorSelectionMethod.image, child: Wrap( crossAxisAlignment: WrapCrossAlignment.center, @@ -449,10 +453,11 @@ class _ExpandedTrailingActions extends StatelessWidget { const Text('Brightness'), Expanded(child: Container()), Switch( - value: useLightMode, - onChanged: (value) { - handleBrightnessChange(value); - }) + value: useLightMode, + onChanged: (value) { + handleBrightnessChange(value); + }, + ), ], ), Row( @@ -462,10 +467,11 @@ class _ExpandedTrailingActions extends StatelessWidget { : const Text('Material 2'), Expanded(child: Container()), Switch( - value: useMaterial3, - onChanged: (_) { - handleMaterialVersionChange(); - }) + value: useMaterial3, + onChanged: (_) { + handleMaterialVersionChange(); + }, + ), ], ), const Divider(), @@ -511,7 +517,8 @@ class _ExpandedColorSeedAction extends StatelessWidget { (i) => IconButton( icon: const Icon(Icons.radio_button_unchecked), color: ColorSeed.values[i].color, - isSelected: colorSelected.color == ColorSeed.values[i].color && + isSelected: + colorSelected.color == ColorSeed.values[i].color && colorSelectionMethod == ColorSelectionMethod.colorSeed, selectedIcon: const Icon(Icons.circle), onPressed: () { @@ -555,10 +562,12 @@ class _ExpandedImageColorAction extends StatelessWidget { padding: const EdgeInsets.all(8.0), child: Material( borderRadius: BorderRadius.circular(4.0), - elevation: imageSelected == ColorImageProvider.values[i] && - colorSelectionMethod == ColorSelectionMethod.image - ? 3 - : 0, + elevation: + imageSelected == ColorImageProvider.values[i] && + colorSelectionMethod == + ColorSelectionMethod.image + ? 3 + : 0, child: Padding( padding: const EdgeInsets.all(4.0), child: ClipRRect( @@ -580,15 +589,16 @@ class _ExpandedImageColorAction extends StatelessWidget { } class NavigationTransition extends StatefulWidget { - const NavigationTransition( - {super.key, - required this.scaffoldKey, - required this.animationController, - required this.railAnimation, - required this.navigationRail, - required this.navigationBar, - required this.appBar, - required this.body}); + const NavigationTransition({ + super.key, + required this.scaffoldKey, + required this.animationController, + required this.railAnimation, + required this.navigationRail, + required this.navigationBar, + required this.appBar, + required this.body, + }); final GlobalKey scaffoldKey; final AnimationController animationController; @@ -617,10 +627,7 @@ class _NavigationTransitionState extends State { railAnimation = widget.railAnimation; barAnimation = ReverseAnimation( - CurvedAnimation( - parent: controller, - curve: const Interval(0.0, 0.5), - ), + CurvedAnimation(parent: controller, curve: const Interval(0.0, 0.5)), ); } @@ -651,62 +658,53 @@ class _NavigationTransitionState extends State { } } -final List navRailDestinations = appBarDestinations - .map( - (destination) => NavigationRailDestination( - icon: Tooltip( - message: destination.label, - child: destination.icon, - ), - selectedIcon: Tooltip( - message: destination.label, - child: destination.selectedIcon, - ), - label: Text(destination.label), - ), - ) - .toList(); +final List navRailDestinations = + appBarDestinations + .map( + (destination) => NavigationRailDestination( + icon: Tooltip(message: destination.label, child: destination.icon), + selectedIcon: Tooltip( + message: destination.label, + child: destination.selectedIcon, + ), + label: Text(destination.label), + ), + ) + .toList(); class SizeAnimation extends CurvedAnimation { SizeAnimation(Animation parent) - : super( - parent: parent, - curve: const Interval( - 0.2, - 0.8, - curve: Curves.easeInOutCubicEmphasized, - ), - reverseCurve: Interval( - 0, - 0.2, - curve: Curves.easeInOutCubicEmphasized.flipped, - ), - ); + : super( + parent: parent, + curve: const Interval(0.2, 0.8, curve: Curves.easeInOutCubicEmphasized), + reverseCurve: Interval( + 0, + 0.2, + curve: Curves.easeInOutCubicEmphasized.flipped, + ), + ); } class OffsetAnimation extends CurvedAnimation { OffsetAnimation(Animation parent) - : super( - parent: parent, - curve: const Interval( - 0.4, - 1.0, - curve: Curves.easeInOutCubicEmphasized, - ), - reverseCurve: Interval( - 0, - 0.2, - curve: Curves.easeInOutCubicEmphasized.flipped, - ), - ); + : super( + parent: parent, + curve: const Interval(0.4, 1.0, curve: Curves.easeInOutCubicEmphasized), + reverseCurve: Interval( + 0, + 0.2, + curve: Curves.easeInOutCubicEmphasized.flipped, + ), + ); } class RailTransition extends StatefulWidget { - const RailTransition( - {super.key, - required this.animation, - required this.backgroundColor, - required this.child}); + const RailTransition({ + super.key, + required this.animation, + required this.backgroundColor, + required this.child, + }); final Animation animation; final Widget child; @@ -758,11 +756,12 @@ class _RailTransition extends State { } class BarTransition extends StatefulWidget { - const BarTransition( - {super.key, - required this.animation, - required this.backgroundColor, - required this.child}); + const BarTransition({ + super.key, + required this.animation, + required this.backgroundColor, + required this.child, + }); final Animation animation; final Color backgroundColor; @@ -848,10 +847,7 @@ class _OneTwoTransitionState extends State { Widget build(BuildContext context) { return Row( children: [ - Flexible( - flex: mediumWidthBreakpoint.toInt(), - child: widget.one, - ), + Flexible(flex: mediumWidthBreakpoint.toInt(), child: widget.one), if (widthAnimation.value.toInt() > 0) ...[ Flexible( flex: widthAnimation.value.toInt(), @@ -859,7 +855,7 @@ class _OneTwoTransitionState extends State { translation: offsetAnimation.value, child: widget.two, ), - ) + ), ], ], ); diff --git a/material_3_demo/lib/main.dart b/material_3_demo/lib/main.dart index f11572c86..a2b1b9319 100644 --- a/material_3_demo/lib/main.dart +++ b/material_3_demo/lib/main.dart @@ -27,12 +27,12 @@ class _AppState extends State { ColorSelectionMethod colorSelectionMethod = ColorSelectionMethod.colorSeed; bool get useLightMode => switch (themeMode) { - ThemeMode.system => - View.of(context).platformDispatcher.platformBrightness == - Brightness.light, - ThemeMode.light => true, - ThemeMode.dark => false - }; + ThemeMode.system => + View.of(context).platformDispatcher.platformBrightness == + Brightness.light, + ThemeMode.light => true, + ThemeMode.dark => false, + }; void handleBrightnessChange(bool useLightMode) { setState(() { @@ -55,8 +55,9 @@ class _AppState extends State { void handleImageSelect(int value) { final String url = ColorImageProvider.values[value].url; - ColorScheme.fromImageProvider(provider: NetworkImage(url)) - .then((newScheme) { + ColorScheme.fromImageProvider(provider: NetworkImage(url)).then(( + newScheme, + ) { setState(() { colorSelectionMethod = ColorSelectionMethod.image; imageSelected = ColorImageProvider.values[value]; @@ -72,19 +73,22 @@ class _AppState extends State { title: 'Material 3', themeMode: themeMode, theme: ThemeData( - colorSchemeSeed: colorSelectionMethod == ColorSelectionMethod.colorSeed - ? colorSelected.color - : null, - colorScheme: colorSelectionMethod == ColorSelectionMethod.image - ? imageColorScheme - : null, + colorSchemeSeed: + colorSelectionMethod == ColorSelectionMethod.colorSeed + ? colorSelected.color + : null, + colorScheme: + colorSelectionMethod == ColorSelectionMethod.image + ? imageColorScheme + : null, useMaterial3: useMaterial3, brightness: Brightness.light, ), darkTheme: ThemeData( - colorSchemeSeed: colorSelectionMethod == ColorSelectionMethod.colorSeed - ? colorSelected.color - : imageColorScheme!.primary, + colorSchemeSeed: + colorSelectionMethod == ColorSelectionMethod.colorSeed + ? colorSelected.color + : imageColorScheme!.primary, useMaterial3: useMaterial3, brightness: Brightness.dark, ), diff --git a/material_3_demo/lib/scheme.dart b/material_3_demo/lib/scheme.dart index f2ef72a33..46282f96d 100644 --- a/material_3_demo/lib/scheme.dart +++ b/material_3_demo/lib/scheme.dart @@ -46,16 +46,13 @@ class _SchemePreviewState extends State { color: scheme.surface, borderRadius: BorderRadius.circular(12), border: Border.all( - color: theme.brightness == widget.brightness - ? colors.outlineVariant - : Colors.transparent, + color: + theme.brightness == widget.brightness + ? colors.outlineVariant + : Colors.transparent, ), ), - padding: const EdgeInsets.only( - top: 16, - left: 16, - right: 16, - ), + padding: const EdgeInsets.only(top: 16, left: 16, right: 16), child: Column( mainAxisSize: MainAxisSize.min, mainAxisAlignment: MainAxisAlignment.center, diff --git a/material_3_demo/lib/typography_screen.dart b/material_3_demo/lib/typography_screen.dart index 08888115b..021143d5a 100644 --- a/material_3_demo/lib/typography_screen.dart +++ b/material_3_demo/lib/typography_screen.dart @@ -9,25 +9,37 @@ class TypographyScreen extends StatelessWidget { @override Widget build(BuildContext context) { - final textTheme = Theme.of(context) - .textTheme - .apply(displayColor: Theme.of(context).colorScheme.onSurface); + final textTheme = Theme.of( + context, + ).textTheme.apply(displayColor: Theme.of(context).colorScheme.onSurface); return Expanded( child: ListView( children: [ const SizedBox(height: 8), TextStyleExample( - name: 'Display Large', style: textTheme.displayLarge!), + name: 'Display Large', + style: textTheme.displayLarge!, + ), TextStyleExample( - name: 'Display Medium', style: textTheme.displayMedium!), + name: 'Display Medium', + style: textTheme.displayMedium!, + ), TextStyleExample( - name: 'Display Small', style: textTheme.displaySmall!), + name: 'Display Small', + style: textTheme.displaySmall!, + ), TextStyleExample( - name: 'Headline Large', style: textTheme.headlineLarge!), + name: 'Headline Large', + style: textTheme.headlineLarge!, + ), TextStyleExample( - name: 'Headline Medium', style: textTheme.headlineMedium!), + name: 'Headline Medium', + style: textTheme.headlineMedium!, + ), TextStyleExample( - name: 'Headline Small', style: textTheme.headlineSmall!), + name: 'Headline Small', + style: textTheme.headlineSmall!, + ), TextStyleExample(name: 'Title Large', style: textTheme.titleLarge!), TextStyleExample(name: 'Title Medium', style: textTheme.titleMedium!), TextStyleExample(name: 'Title Small', style: textTheme.titleSmall!), @@ -44,11 +56,7 @@ class TypographyScreen extends StatelessWidget { } class TextStyleExample extends StatelessWidget { - const TextStyleExample({ - super.key, - required this.name, - required this.style, - }); + const TextStyleExample({super.key, required this.name, required this.style}); final String name; final TextStyle style; diff --git a/material_3_demo/pubspec.yaml b/material_3_demo/pubspec.yaml index 45cce5d68..c42109ea3 100644 --- a/material_3_demo/pubspec.yaml +++ b/material_3_demo/pubspec.yaml @@ -8,7 +8,7 @@ publish_to: "none" version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/material_3_demo/test/color_screen_test.dart b/material_3_demo/test/color_screen_test.dart index 45d8e41eb..42418791e 100644 --- a/material_3_demo/test/color_screen_test.dart +++ b/material_3_demo/test/color_screen_test.dart @@ -12,62 +12,78 @@ import 'component_screen_test.dart'; void main() { testWidgets( - 'Color palettes screen shows correctly when color icon is clicked ' - 'on NavigationBar', (tester) async { - widgetSetup(tester, 449); - addTearDown(tester.view.resetPhysicalSize); - await tester.pumpWidget(const App()); + 'Color palettes screen shows correctly when color icon is clicked ' + 'on NavigationBar', + (tester) async { + widgetSetup(tester, 449); + addTearDown(tester.view.resetPhysicalSize); + await tester.pumpWidget(const App()); - expect(find.text('Light ColorScheme'), findsNothing); - expect(find.text('Dark ColorScheme'), findsNothing); - expect(find.byType(NavigationBar), findsOneWidget); - Finder colorIconOnBar = find.descendant( + expect(find.text('Light ColorScheme'), findsNothing); + expect(find.text('Dark ColorScheme'), findsNothing); + expect(find.byType(NavigationBar), findsOneWidget); + Finder colorIconOnBar = find.descendant( of: find.byType(NavigationBar), matching: find.widgetWithIcon( - NavigationDestination, Icons.format_paint_outlined)); - expect(colorIconOnBar, findsOneWidget); - await tester.tap(colorIconOnBar); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - expect(colorIconOnBar, findsNothing); + NavigationDestination, + Icons.format_paint_outlined, + ), + ); + expect(colorIconOnBar, findsOneWidget); + await tester.tap(colorIconOnBar); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + expect(colorIconOnBar, findsNothing); - Finder selectedColorIconOnBar = find.descendant( + Finder selectedColorIconOnBar = find.descendant( of: find.byType(NavigationBar), - matching: - find.widgetWithIcon(NavigationDestination, Icons.format_paint)); - expect(selectedColorIconOnBar, findsOneWidget); - expect(find.text('Light ColorScheme'), findsOneWidget); - expect(find.text('Dark ColorScheme'), findsOneWidget); - }); + matching: find.widgetWithIcon( + NavigationDestination, + Icons.format_paint, + ), + ); + expect(selectedColorIconOnBar, findsOneWidget); + expect(find.text('Light ColorScheme'), findsOneWidget); + expect(find.text('Dark ColorScheme'), findsOneWidget); + }, + ); testWidgets( - 'Color palettes screen shows correctly when color icon is clicked ' - 'on NavigationRail', (tester) async { - widgetSetup( - tester, 1200); // NavigationRail shows only when width is > 1000. - addTearDown(tester.view.resetPhysicalSize); - await tester.pumpWidget(const App()); - await tester.pumpAndSettle(); - expect(find.text('Light ColorScheme'), findsNothing); - expect(find.text('Dark ColorScheme'), findsNothing); - Finder colorIconOnRail = find.descendant( + 'Color palettes screen shows correctly when color icon is clicked ' + 'on NavigationRail', + (tester) async { + widgetSetup( + tester, + 1200, + ); // NavigationRail shows only when width is > 1000. + addTearDown(tester.view.resetPhysicalSize); + await tester.pumpWidget(const App()); + await tester.pumpAndSettle(); + expect(find.text('Light ColorScheme'), findsNothing); + expect(find.text('Dark ColorScheme'), findsNothing); + Finder colorIconOnRail = find.descendant( of: find.byType(NavigationRail), - matching: find.byIcon(Icons.format_paint_outlined)); - expect(colorIconOnRail, findsOneWidget); - await tester.tap(colorIconOnRail); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - expect(colorIconOnRail, findsNothing); - Finder selectedColorIconOnRail = find.descendant( + matching: find.byIcon(Icons.format_paint_outlined), + ); + expect(colorIconOnRail, findsOneWidget); + await tester.tap(colorIconOnRail); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + expect(colorIconOnRail, findsNothing); + Finder selectedColorIconOnRail = find.descendant( of: find.byType(NavigationRail), - matching: find.byIcon(Icons.format_paint)); - expect(selectedColorIconOnRail, findsOneWidget); - expect(find.text('Light ColorScheme'), findsOneWidget); - expect(find.text('Dark ColorScheme'), findsOneWidget); - }); + matching: find.byIcon(Icons.format_paint), + ); + expect(selectedColorIconOnRail, findsOneWidget); + expect(find.text('Light ColorScheme'), findsOneWidget); + expect(find.text('Dark ColorScheme'), findsOneWidget); + }, + ); testWidgets('Color screen shows correct content', (tester) async { - await tester.pumpWidget(const MaterialApp( - home: Scaffold(body: Row(children: [ColorPalettesScreen()])), - )); + await tester.pumpWidget( + const MaterialApp( + home: Scaffold(body: Row(children: [ColorPalettesScreen()])), + ), + ); expect(find.text('Light ColorScheme'), findsOneWidget); expect(find.text('Dark ColorScheme'), findsOneWidget); expect(find.byType(SchemePreview, skipOffstage: false), findsNWidgets(2)); diff --git a/material_3_demo/test/component_screen_test.dart b/material_3_demo/test/component_screen_test.dart index dd85363f4..9f4f092fc 100644 --- a/material_3_demo/test/component_screen_test.dart +++ b/material_3_demo/test/component_screen_test.dart @@ -16,7 +16,9 @@ void main() { // Elements on the app bar expect(find.text('Material 3'), findsOneWidget); expect( - find.widgetWithIcon(AppBar, Icons.dark_mode_outlined), findsOneWidget); + find.widgetWithIcon(AppBar, Icons.dark_mode_outlined), + findsOneWidget, + ); expect(find.widgetWithIcon(AppBar, Icons.filter_2), findsOneWidget); expect(find.widgetWithIcon(AppBar, Icons.palette_outlined), findsOneWidget); @@ -31,14 +33,16 @@ void main() { // FABs expect( - find.byType(FloatingActionButton), - findsNWidgets( - 6)); // 2 more show up in the bottom app bar. 1 more in the navigation rail + find.byType(FloatingActionButton), + findsNWidgets(6), + ); // 2 more show up in the bottom app bar. 1 more in the navigation rail expect(find.widgetWithText(FloatingActionButton, 'Create'), findsOneWidget); // Icon buttons - expect(find.widgetWithIcon(IconButton, Icons.settings_outlined), - findsNWidgets(8)); + expect( + find.widgetWithIcon(IconButton, Icons.settings_outlined), + findsNWidgets(8), + ); // Segmented buttons expect(find.byType(SegmentedButton), findsOneWidget); @@ -57,10 +61,14 @@ void main() { expect(find.widgetWithText(TextButton, 'Show snackbar'), findsOneWidget); // Bottom sheet - expect(find.widgetWithText(TextButton, 'Show modal bottom sheet'), - findsOneWidget); expect( - find.widgetWithText(TextButton, 'Show bottom sheet'), findsOneWidget); + find.widgetWithText(TextButton, 'Show modal bottom sheet'), + findsOneWidget, + ); + expect( + find.widgetWithText(TextButton, 'Show bottom sheet'), + findsOneWidget, + ); // Cards expect(find.widgetWithText(Cards, 'Elevated'), findsOneWidget); @@ -72,8 +80,10 @@ void main() { // Dialogs expect(find.widgetWithText(TextButton, 'Show dialog'), findsOneWidget); - expect(find.widgetWithText(TextButton, 'Show full-screen dialog'), - findsOneWidget); + expect( + find.widgetWithText(TextButton, 'Show full-screen dialog'), + findsOneWidget, + ); // Dividers expect(find.byKey(const Key('divider')), findsOneWidget); @@ -87,8 +97,10 @@ void main() { // Navigation drawer expect(find.byType(Drawer), findsOneWidget); - expect(find.widgetWithText(TextButton, 'Show modal navigation drawer'), - findsOneWidget); + expect( + find.widgetWithText(TextButton, 'Show modal navigation drawer'), + findsOneWidget, + ); // Navigation rail // Second one is off screen in the scaffold @@ -108,8 +120,10 @@ void main() { expect(checkboxExample, findsNWidgets(4)); // Chips - expect(find.byType(ActionChip), - findsNWidgets(4)); // includes Assist and Suggestion chip. + expect( + find.byType(ActionChip), + findsNWidgets(4), + ); // includes Assist and Suggestion chip. expect(find.byType(FilterChip), findsNWidgets(2)); expect(find.byType(InputChip), findsNWidgets(2)); @@ -138,8 +152,7 @@ void main() { expect(find.widgetWithText(TextField, 'Outlined'), findsNWidgets(2)); }); - testWidgets( - 'NavigationRail doesn\'t show when width value is small than 1000 ' + testWidgets('NavigationRail doesn\'t show when width value is small than 1000 ' '(in Portrait mode or narrow screen)', (tester) async { widgetSetup(tester, 999, windowHeight: 7000); await tester.pumpWidget(const App()); @@ -147,8 +160,10 @@ void main() { // When screen width is less than 1000, NavigationBar will show. At the same // time, the NavigationBar example still show up in the navigation group. - expect(find.byType(NavigationBars), - findsNWidgets(3)); // The real navBar, badges example and navBar example + expect( + find.byType(NavigationBars), + findsNWidgets(3), + ); // The real navBar, badges example and navBar example expect(find.widgetWithText(NavigationBar, 'Components'), findsOneWidget); expect(find.widgetWithText(NavigationBar, 'Color'), findsOneWidget); expect(find.widgetWithText(NavigationBar, 'Typography'), findsOneWidget); @@ -159,8 +174,7 @@ void main() { expect(find.widgetWithText(NavigationBar, 'Account'), findsOneWidget); }); - testWidgets( - 'NavigationRail shows when width value is greater than or equal ' + testWidgets('NavigationRail shows when width value is greater than or equal ' 'to 1000 (in Landscape mode or wider screen)', (tester) async { widgetSetup(tester, 1001, windowHeight: 3000); await tester.pumpWidget(const App()); @@ -180,26 +194,31 @@ void main() { expect(find.widgetWithText(NavigationBar, 'Account'), findsOneWidget); // the Navigation bar should be out of screen. - final RenderBox box = - tester.renderObject(find.widgetWithText(NavigationBar, 'Components')); + final RenderBox box = tester.renderObject( + find.widgetWithText(NavigationBar, 'Components'), + ); expect(box.localToGlobal(Offset.zero), const Offset(0.0, 3080.0)); }); - testWidgets( - 'Material version switches between Material3 and Material2 when ' + testWidgets('Material version switches between Material3 and Material2 when ' 'the version icon is clicked', (tester) async { widgetSetup(tester, 450, windowHeight: 7000); await tester.pumpWidget(const App()); - BuildContext defaultElevatedButton = - tester.firstElement(find.byType(ElevatedButton)); - BuildContext defaultIconButton = - tester.firstElement(find.byType(IconButton)); - BuildContext defaultFAB = - tester.firstElement(find.byType(FloatingActionButton)); - BuildContext defaultCard = - tester.firstElement(find.widgetWithText(Card, 'Elevated')); - BuildContext defaultChip = - tester.firstElement(find.widgetWithText(ActionChip, 'Assist')); + BuildContext defaultElevatedButton = tester.firstElement( + find.byType(ElevatedButton), + ); + BuildContext defaultIconButton = tester.firstElement( + find.byType(IconButton), + ); + BuildContext defaultFAB = tester.firstElement( + find.byType(FloatingActionButton), + ); + BuildContext defaultCard = tester.firstElement( + find.widgetWithText(Card, 'Elevated'), + ); + BuildContext defaultChip = tester.firstElement( + find.widgetWithText(ActionChip, 'Assist'), + ); Finder dialog = find.text('Show dialog'); await tester.tap(dialog); await tester.pumpAndSettle(const Duration(microseconds: 500)); @@ -219,24 +238,30 @@ void main() { expect(Theme.of(defaultChip).useMaterial3, true); Finder appbarM3Icon = find.descendant( - of: find.byType(AppBar), - matching: find.widgetWithIcon(IconButton, Icons.filter_2)); + of: find.byType(AppBar), + matching: find.widgetWithIcon(IconButton, Icons.filter_2), + ); await tester.tap(appbarM3Icon); await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext updatedElevatedButton = - tester.firstElement(find.byType(ElevatedButton)); - BuildContext updatedIconButton = - tester.firstElement(find.byType(IconButton)); - BuildContext updatedFAB = - tester.firstElement(find.byType(FloatingActionButton)); + BuildContext updatedElevatedButton = tester.firstElement( + find.byType(ElevatedButton), + ); + BuildContext updatedIconButton = tester.firstElement( + find.byType(IconButton), + ); + BuildContext updatedFAB = tester.firstElement( + find.byType(FloatingActionButton), + ); BuildContext updatedCard = tester.firstElement(find.byType(Card)); - BuildContext updatedChip = - tester.firstElement(find.widgetWithText(ActionChip, 'Assist')); + BuildContext updatedChip = tester.firstElement( + find.widgetWithText(ActionChip, 'Assist'), + ); Finder updatedDialog = find.text('Show dialog'); await tester.tap(updatedDialog); await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext updatedAlertDialog = - tester.firstElement(find.byType(AlertDialog)); + BuildContext updatedAlertDialog = tester.firstElement( + find.byType(AlertDialog), + ); expect(Theme.of(updatedAlertDialog).useMaterial3, false); Finder updatedDismiss = find.text('Dismiss'); await tester.tap(updatedDismiss); @@ -252,55 +277,67 @@ void main() { expect(Theme.of(updatedChip).useMaterial3, false); }); - testWidgets( - 'Other screens become Material2 mode after changing mode from ' + testWidgets('Other screens become Material2 mode after changing mode from ' 'main screen', (tester) async { await tester.pumpWidget(const App()); Finder appbarM2Icon = find.descendant( - of: find.byType(AppBar), - matching: find.widgetWithIcon(IconButton, Icons.filter_2)); + of: find.byType(AppBar), + matching: find.widgetWithIcon(IconButton, Icons.filter_2), + ); await tester.tap(appbarM2Icon); Finder secondScreenIcon = find.descendant( - of: find.byType(NavigationBar), - matching: find.widgetWithIcon( - NavigationDestination, Icons.format_paint_outlined)); + of: find.byType(NavigationBar), + matching: find.widgetWithIcon( + NavigationDestination, + Icons.format_paint_outlined, + ), + ); await tester.tap(secondScreenIcon); await tester.pumpAndSettle(const Duration(microseconds: 500)); - BuildContext lightThemeText = - tester.element(find.text('Light ColorScheme')); + BuildContext lightThemeText = tester.element( + find.text('Light ColorScheme'), + ); expect(Theme.of(lightThemeText).useMaterial3, false); Finder thirdScreenIcon = find.descendant( - of: find.byType(NavigationBar), - matching: find.widgetWithIcon( - NavigationDestination, Icons.text_snippet_outlined)); + of: find.byType(NavigationBar), + matching: find.widgetWithIcon( + NavigationDestination, + Icons.text_snippet_outlined, + ), + ); await tester.tap(thirdScreenIcon); await tester.pumpAndSettle(const Duration(microseconds: 500)); BuildContext displayLargeText = tester.element(find.text('Display Large')); expect(Theme.of(displayLargeText).useMaterial3, false); Finder fourthScreenIcon = find.descendant( - of: find.byType(NavigationBar), - matching: find.widgetWithIcon( - NavigationDestination, Icons.invert_colors_on_outlined)); + of: find.byType(NavigationBar), + matching: find.widgetWithIcon( + NavigationDestination, + Icons.invert_colors_on_outlined, + ), + ); await tester.tap(fourthScreenIcon); await tester.pumpAndSettle(const Duration(microseconds: 500)); BuildContext material = tester.firstElement(find.byType(Material)); expect(Theme.of(material).useMaterial3, false); }); - testWidgets( - 'Brightness mode switches between dark and light when' + testWidgets('Brightness mode switches between dark and light when' 'the brightness icon is clicked', (tester) async { await tester.pumpWidget(const App()); Finder lightIcon = find.descendant( - of: find.byType(AppBar), - matching: find.widgetWithIcon(IconButton, Icons.light_mode_outlined)); + of: find.byType(AppBar), + matching: find.widgetWithIcon(IconButton, Icons.light_mode_outlined), + ); Finder darkIcon = find.descendant( - of: find.byType(AppBar), - matching: find.widgetWithIcon(IconButton, Icons.dark_mode_outlined)); + of: find.byType(AppBar), + matching: find.widgetWithIcon(IconButton, Icons.dark_mode_outlined), + ); BuildContext appBar = tester.element(find.byType(AppBar).first); BuildContext body = tester.firstElement(find.byType(Scaffold).first); BuildContext navigationRail = tester.element( - find.widgetWithIcon(NavigationRail, Icons.format_paint_outlined)); + find.widgetWithIcon(NavigationRail, Icons.format_paint_outlined), + ); expect(darkIcon, findsOneWidget); expect(lightIcon, findsNothing); expect(Theme.of(appBar).brightness, Brightness.light); @@ -312,7 +349,8 @@ void main() { BuildContext appBar2 = tester.element(find.byType(AppBar).first); BuildContext body2 = tester.element(find.byType(Scaffold).first); BuildContext navigationRail2 = tester.element( - find.widgetWithIcon(NavigationRail, Icons.format_paint_outlined)); + find.widgetWithIcon(NavigationRail, Icons.format_paint_outlined), + ); expect(darkIcon, findsNothing); expect(lightIcon, findsOneWidget); @@ -321,17 +359,20 @@ void main() { expect(Theme.of(navigationRail2).brightness, Brightness.dark); }); - testWidgets('Color theme changes when a color is selected from menu', - (tester) async { + testWidgets('Color theme changes when a color is selected from menu', ( + tester, + ) async { Color m3BaseColor = const Color(0xff65558f); await tester.pumpWidget(Container()); await tester.pumpWidget(const App()); await tester.pump(); Finder menuIcon = find.descendant( - of: find.byType(AppBar), - matching: find.widgetWithIcon(IconButton, Icons.palette_outlined)); - BuildContext appBar = tester - .element(find.widgetWithIcon(AppBar, Icons.palette_outlined).first); + of: find.byType(AppBar), + matching: find.widgetWithIcon(IconButton, Icons.palette_outlined), + ); + BuildContext appBar = tester.element( + find.widgetWithIcon(AppBar, Icons.palette_outlined).first, + ); BuildContext body = tester.element(find.byType(Scaffold).first); expect(Theme.of(appBar).primaryColor, m3BaseColor); @@ -349,8 +390,11 @@ void main() { }); } -void widgetSetup(WidgetTester tester, double windowWidth, - {double? windowHeight}) { +void widgetSetup( + WidgetTester tester, + double windowWidth, { + double? windowHeight, +}) { final height = windowHeight ?? 846; tester.view.devicePixelRatio = 2; final dpi = tester.view.devicePixelRatio; diff --git a/material_3_demo/test/elevation_screen_test.dart b/material_3_demo/test/elevation_screen_test.dart index 77014efca..8ea23e0b8 100644 --- a/material_3_demo/test/elevation_screen_test.dart +++ b/material_3_demo/test/elevation_screen_test.dart @@ -12,54 +12,69 @@ import 'component_screen_test.dart'; void main() { testWidgets( - 'Surface Tones screen shows correctly when the corresponding icon is ' - 'selected on NavigationBar', (tester) async { - widgetSetup(tester, 449); - addTearDown(tester.view.resetPhysicalSize); - await tester.pumpWidget(const App()); + 'Surface Tones screen shows correctly when the corresponding icon is ' + 'selected on NavigationBar', + (tester) async { + widgetSetup(tester, 449); + addTearDown(tester.view.resetPhysicalSize); + await tester.pumpWidget(const App()); - expect(find.text('Surface Tint Color Only'), findsNothing); - expect(find.byType(NavigationBar), findsOneWidget); - Finder tintIconOnBar = find.descendant( + expect(find.text('Surface Tint Color Only'), findsNothing); + expect(find.byType(NavigationBar), findsOneWidget); + Finder tintIconOnBar = find.descendant( of: find.byType(NavigationBar), matching: find.widgetWithIcon( - NavigationDestination, Icons.invert_colors_on_outlined)); - expect(tintIconOnBar, findsOneWidget); - await tester.tap(tintIconOnBar); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - expect(tintIconOnBar, findsNothing); - Finder selectedTintIconOnBar = find.descendant( + NavigationDestination, + Icons.invert_colors_on_outlined, + ), + ); + expect(tintIconOnBar, findsOneWidget); + await tester.tap(tintIconOnBar); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + expect(tintIconOnBar, findsNothing); + Finder selectedTintIconOnBar = find.descendant( of: find.byType(NavigationBar), - matching: find.widgetWithIcon(NavigationDestination, Icons.opacity)); - expect(selectedTintIconOnBar, findsOneWidget); - expect(find.text('Surface Tint Color Only'), findsOneWidget); - }); + matching: find.widgetWithIcon(NavigationDestination, Icons.opacity), + ); + expect(selectedTintIconOnBar, findsOneWidget); + expect(find.text('Surface Tint Color Only'), findsOneWidget); + }, + ); testWidgets( - 'Surface Tones screen shows correctly when the corresponding icon is ' - 'selected on NavigationRail', (tester) async { - widgetSetup( - tester, 1200); // NavigationRail shows only when width is > 1000. - addTearDown(tester.view.resetPhysicalSize); - await tester.pumpWidget(const App()); - expect(find.text('Surface Tint Color Only'), findsNothing); - Finder tintIconOnRail = find.descendant( + 'Surface Tones screen shows correctly when the corresponding icon is ' + 'selected on NavigationRail', + (tester) async { + widgetSetup( + tester, + 1200, + ); // NavigationRail shows only when width is > 1000. + addTearDown(tester.view.resetPhysicalSize); + await tester.pumpWidget(const App()); + expect(find.text('Surface Tint Color Only'), findsNothing); + Finder tintIconOnRail = find.descendant( of: find.byType(NavigationRail), - matching: find.byIcon(Icons.invert_colors_on_outlined)); - expect(tintIconOnRail, findsOneWidget); - await tester.tap(tintIconOnRail); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - expect(tintIconOnRail, findsNothing); - Finder selectedTintIconOnRail = find.descendant( - of: find.byType(NavigationRail), matching: find.byIcon(Icons.opacity)); - expect(selectedTintIconOnRail, findsOneWidget); - expect(find.text('Surface Tint Color Only'), findsOneWidget); - }); + matching: find.byIcon(Icons.invert_colors_on_outlined), + ); + expect(tintIconOnRail, findsOneWidget); + await tester.tap(tintIconOnRail); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + expect(tintIconOnRail, findsNothing); + Finder selectedTintIconOnRail = find.descendant( + of: find.byType(NavigationRail), + matching: find.byIcon(Icons.opacity), + ); + expect(selectedTintIconOnRail, findsOneWidget); + expect(find.text('Surface Tint Color Only'), findsOneWidget); + }, + ); testWidgets('Surface Tones screen shows correct content', (tester) async { - await tester.pumpWidget(const MaterialApp( - home: Scaffold(body: Row(children: [ElevationScreen()])), - )); + await tester.pumpWidget( + const MaterialApp( + home: Scaffold(body: Row(children: [ElevationScreen()])), + ), + ); expect(find.text('Surface Tint Color Only'), findsOneWidget); expect(find.text('Surface Tint Color and Shadow Color'), findsOneWidget); expect(find.text('Shadow Color Only'), findsOneWidget); diff --git a/material_3_demo/test/typography_screen_test.dart b/material_3_demo/test/typography_screen_test.dart index 42c10cd2f..18fa9d1c7 100644 --- a/material_3_demo/test/typography_screen_test.dart +++ b/material_3_demo/test/typography_screen_test.dart @@ -12,54 +12,66 @@ import 'component_screen_test.dart'; void main() { testWidgets( - 'Typography screen shows correctly when the corresponding icon is ' - 'selected on NavigationBar', (tester) async { - widgetSetup(tester, 449); - addTearDown(tester.view.resetPhysicalSize); - await tester.pumpWidget(const App()); + 'Typography screen shows correctly when the corresponding icon is ' + 'selected on NavigationBar', + (tester) async { + widgetSetup(tester, 449); + addTearDown(tester.view.resetPhysicalSize); + await tester.pumpWidget(const App()); - expect(find.text('Display Large'), findsNothing); - expect(find.byType(NavigationBar), findsOneWidget); - Finder textIconOnBar = find.descendant( + expect(find.text('Display Large'), findsNothing); + expect(find.byType(NavigationBar), findsOneWidget); + Finder textIconOnBar = find.descendant( of: find.byType(NavigationBar), - matching: find.byIcon(Icons.text_snippet_outlined)); - expect(textIconOnBar, findsOneWidget); - await tester.tap(textIconOnBar); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - expect(textIconOnBar, findsNothing); - Finder selectedTextIconOnBar = find.descendant( + matching: find.byIcon(Icons.text_snippet_outlined), + ); + expect(textIconOnBar, findsOneWidget); + await tester.tap(textIconOnBar); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + expect(textIconOnBar, findsNothing); + Finder selectedTextIconOnBar = find.descendant( of: find.byType(NavigationBar), - matching: find.byIcon(Icons.text_snippet)); - expect(selectedTextIconOnBar, findsOneWidget); - expect(find.text('Display Large'), findsOneWidget); - }); + matching: find.byIcon(Icons.text_snippet), + ); + expect(selectedTextIconOnBar, findsOneWidget); + expect(find.text('Display Large'), findsOneWidget); + }, + ); testWidgets( - 'Typography screen shows correctly when the corresponding icon is ' - 'selected on NavigationRail', (tester) async { - widgetSetup( - tester, 1200); // NavigationRail shows only when width is > 1000. - addTearDown(tester.view.resetPhysicalSize); - await tester.pumpWidget(const App()); - expect(find.text('Display Large'), findsNothing); - Finder textIconOnRail = find.descendant( + 'Typography screen shows correctly when the corresponding icon is ' + 'selected on NavigationRail', + (tester) async { + widgetSetup( + tester, + 1200, + ); // NavigationRail shows only when width is > 1000. + addTearDown(tester.view.resetPhysicalSize); + await tester.pumpWidget(const App()); + expect(find.text('Display Large'), findsNothing); + Finder textIconOnRail = find.descendant( of: find.byType(NavigationRail), - matching: find.byIcon(Icons.text_snippet_outlined)); - expect(textIconOnRail, findsOneWidget); - await tester.tap(textIconOnRail); - await tester.pumpAndSettle(const Duration(microseconds: 500)); - expect(textIconOnRail, findsNothing); - Finder selectedTextIconOnRail = find.descendant( + matching: find.byIcon(Icons.text_snippet_outlined), + ); + expect(textIconOnRail, findsOneWidget); + await tester.tap(textIconOnRail); + await tester.pumpAndSettle(const Duration(microseconds: 500)); + expect(textIconOnRail, findsNothing); + Finder selectedTextIconOnRail = find.descendant( of: find.byType(NavigationRail), - matching: find.byIcon(Icons.text_snippet)); - expect(selectedTextIconOnRail, findsOneWidget); - expect(find.text('Display Large'), findsOneWidget); - }); + matching: find.byIcon(Icons.text_snippet), + ); + expect(selectedTextIconOnRail, findsOneWidget); + expect(find.text('Display Large'), findsOneWidget); + }, + ); testWidgets('Typography screen shows correct content', (tester) async { - await tester.pumpWidget(const MaterialApp( - home: Scaffold(body: Row(children: [TypographyScreen()])), - )); + await tester.pumpWidget( + const MaterialApp( + home: Scaffold(body: Row(children: [TypographyScreen()])), + ), + ); expect(find.text('Display Large'), findsOneWidget); expect(find.text('Display Medium'), findsOneWidget); expect(find.text('Display Small'), findsOneWidget); @@ -69,10 +81,7 @@ void main() { expect(find.text('Title Large'), findsOneWidget); expect(find.text('Title Medium'), findsOneWidget); expect(find.text('Title Small'), findsOneWidget); - await tester.scrollUntilVisible( - find.text('Body Small'), - 500.0, - ); + await tester.scrollUntilVisible(find.text('Body Small'), 500.0); expect(find.text('Label Large'), findsOneWidget); expect(find.text('Label Medium'), findsOneWidget); expect(find.text('Label Small'), findsOneWidget); diff --git a/navigation_and_routing/lib/main.dart b/navigation_and_routing/lib/main.dart index 1236816da..2a175df87 100644 --- a/navigation_and_routing/lib/main.dart +++ b/navigation_and_routing/lib/main.dart @@ -37,11 +37,13 @@ void setupWindow() { setWindowMinSize(const Size(windowWidth, windowHeight)); setWindowMaxSize(const Size(windowWidth, windowHeight)); getCurrentScreen().then((screen) { - setWindowFrame(Rect.fromCenter( - center: screen!.frame.center, - width: windowWidth, - height: windowHeight, - )); + setWindowFrame( + Rect.fromCenter( + center: screen!.frame.center, + width: windowWidth, + height: windowHeight, + ), + ); }); } } diff --git a/navigation_and_routing/lib/src/app.dart b/navigation_and_routing/lib/src/app.dart index 1f757b2ca..7ccdbb962 100644 --- a/navigation_and_routing/lib/src/app.dart +++ b/navigation_and_routing/lib/src/app.dart @@ -37,10 +37,7 @@ class _BookstoreState extends State { if (child == null) { throw ('No child in .router constructor builder'); } - return BookstoreAuthScope( - notifier: auth, - child: child, - ); + return BookstoreAuthScope(notifier: auth, child: child); }, routerConfig: GoRouter( refreshListenable: auth, @@ -74,25 +71,27 @@ class _BookstoreState extends State { key: state.pageKey, // Use a builder to get the correct BuildContext // TODO (johnpryan): remove when https://github.com/flutter/flutter/issues/108177 lands - child: Builder(builder: (context) { - return BooksScreen( - onTap: (idx) { - GoRouter.of(context).go(switch (idx) { - 0 => '/books/popular', - 1 => '/books/new', - 2 => '/books/all', - _ => '/books/popular', - }); - }, - selectedIndex: switch (state.uri.path) { - var p when p.startsWith('/books/popular') => 0, - var p when p.startsWith('/books/new') => 1, - var p when p.startsWith('/books/all') => 2, - _ => 0, - }, - child: child, - ); - }), + child: Builder( + builder: (context) { + return BooksScreen( + onTap: (idx) { + GoRouter.of(context).go(switch (idx) { + 0 => '/books/popular', + 1 => '/books/new', + 2 => '/books/all', + _ => '/books/popular', + }); + }, + selectedIndex: switch (state.uri.path) { + var p when p.startsWith('/books/popular') => 0, + var p when p.startsWith('/books/new') => 1, + var p when p.startsWith('/books/all') => 2, + _ => 0, + }, + child: child, + ); + }, + ), ); }, routes: [ @@ -108,8 +107,9 @@ class _BookstoreState extends State { return BookList( books: libraryInstance.popularBooks, onTap: (book) { - GoRouter.of(context) - .go('/books/popular/book/${book.id}'); + GoRouter.of( + context, + ).go('/books/popular/book/${book.id}'); }, ); }, @@ -122,8 +122,9 @@ class _BookstoreState extends State { parentNavigatorKey: appShellNavigatorKey, builder: (context, state) { return BookDetailsScreen( - book: libraryInstance - .getBook(state.pathParameters['bookId'] ?? ''), + book: libraryInstance.getBook( + state.pathParameters['bookId'] ?? '', + ), ); }, ), @@ -141,8 +142,9 @@ class _BookstoreState extends State { return BookList( books: libraryInstance.newBooks, onTap: (book) { - GoRouter.of(context) - .go('/books/new/book/${book.id}'); + GoRouter.of( + context, + ).go('/books/new/book/${book.id}'); }, ); }, @@ -155,8 +157,9 @@ class _BookstoreState extends State { parentNavigatorKey: appShellNavigatorKey, builder: (context, state) { return BookDetailsScreen( - book: libraryInstance - .getBook(state.pathParameters['bookId'] ?? ''), + book: libraryInstance.getBook( + state.pathParameters['bookId'] ?? '', + ), ); }, ), @@ -174,8 +177,9 @@ class _BookstoreState extends State { return BookList( books: libraryInstance.allBooks, onTap: (book) { - GoRouter.of(context) - .go('/books/all/book/${book.id}'); + GoRouter.of( + context, + ).go('/books/all/book/${book.id}'); }, ); }, @@ -188,8 +192,9 @@ class _BookstoreState extends State { parentNavigatorKey: appShellNavigatorKey, builder: (context, state) { return BookDetailsScreen( - book: libraryInstance - .getBook(state.pathParameters['bookId'] ?? ''), + book: libraryInstance.getBook( + state.pathParameters['bookId'] ?? '', + ), ); }, ), @@ -202,14 +207,17 @@ class _BookstoreState extends State { pageBuilder: (context, state) { return FadeTransitionPage( key: state.pageKey, - child: Builder(builder: (context) { - return AuthorsScreen( - onTap: (author) { - GoRouter.of(context) - .go('/authors/author/${author.id}'); - }, - ); - }), + child: Builder( + builder: (context) { + return AuthorsScreen( + onTap: (author) { + GoRouter.of( + context, + ).go('/authors/author/${author.id}'); + }, + ); + }, + ), ); }, routes: [ @@ -217,22 +225,26 @@ class _BookstoreState extends State { path: 'author/:authorId', builder: (context, state) { final author = libraryInstance.allAuthors.firstWhere( - (author) => - author.id == - int.parse(state.pathParameters['authorId']!)); + (author) => + author.id == + int.parse(state.pathParameters['authorId']!), + ); // Use a builder to get the correct BuildContext // TODO (johnpryan): remove when https://github.com/flutter/flutter/issues/108177 lands - return Builder(builder: (context) { - return AuthorDetailsScreen( - author: author, - onBookTapped: (book) { - GoRouter.of(context) - .go('/books/all/book/${book.id}'); - }, - ); - }); + return Builder( + builder: (context) { + return AuthorDetailsScreen( + author: author, + onBookTapped: (book) { + GoRouter.of( + context, + ).go('/books/all/book/${book.id}'); + }, + ); + }, + ); }, - ) + ), ], ), GoRoute( @@ -256,8 +268,9 @@ class _BookstoreState extends State { return SignInScreen( onSignIn: (value) async { final router = GoRouter.of(context); - await BookstoreAuth.of(context) - .signIn(value.username, value.password); + await BookstoreAuth.of( + context, + ).signIn(value.username, value.password); router.go('/books/popular'); }, ); diff --git a/navigation_and_routing/lib/src/auth.dart b/navigation_and_routing/lib/src/auth.dart index 9804207f4..4abe973f1 100644 --- a/navigation_and_routing/lib/src/auth.dart +++ b/navigation_and_routing/lib/src/auth.dart @@ -33,9 +33,10 @@ class BookstoreAuth extends ChangeNotifier { @override int get hashCode => _signedIn.hashCode; - static BookstoreAuth of(BuildContext context) => context - .dependOnInheritedWidgetOfExactType()! - .notifier!; + static BookstoreAuth of(BuildContext context) => + context + .dependOnInheritedWidgetOfExactType()! + .notifier!; } class BookstoreAuthScope extends InheritedNotifier { diff --git a/navigation_and_routing/lib/src/data/library.dart b/navigation_and_routing/lib/src/data/library.dart index d52f1bc26..8daf24dc3 100644 --- a/navigation_and_routing/lib/src/data/library.dart +++ b/navigation_and_routing/lib/src/data/library.dart @@ -5,27 +5,32 @@ import 'author.dart'; import 'book.dart'; -final libraryInstance = Library() - ..addBook( - title: 'Left Hand of Darkness', - authorName: 'Ursula K. Le Guin', - isPopular: true, - isNew: true) - ..addBook( - title: 'Too Like the Lightning', - authorName: 'Ada Palmer', - isPopular: false, - isNew: true) - ..addBook( - title: 'Kindred', - authorName: 'Octavia E. Butler', - isPopular: true, - isNew: false) - ..addBook( - title: 'The Lathe of Heaven', - authorName: 'Ursula K. Le Guin', - isPopular: false, - isNew: false); +final libraryInstance = + Library() + ..addBook( + title: 'Left Hand of Darkness', + authorName: 'Ursula K. Le Guin', + isPopular: true, + isNew: true, + ) + ..addBook( + title: 'Too Like the Lightning', + authorName: 'Ada Palmer', + isPopular: false, + isNew: true, + ) + ..addBook( + title: 'Kindred', + authorName: 'Octavia E. Butler', + isPopular: true, + isNew: false, + ) + ..addBook( + title: 'The Lathe of Heaven', + authorName: 'Ursula K. Le Guin', + isPopular: false, + isNew: false, + ); class Library { final List allBooks = []; @@ -55,11 +60,7 @@ class Library { return allBooks[int.parse(id)]; } - List get popularBooks => [ - ...allBooks.where((book) => book.isPopular), - ]; + List get popularBooks => [...allBooks.where((book) => book.isPopular)]; - List get newBooks => [ - ...allBooks.where((book) => book.isNew), - ]; + List get newBooks => [...allBooks.where((book) => book.isNew)]; } diff --git a/navigation_and_routing/lib/src/screens/author_details.dart b/navigation_and_routing/lib/src/screens/author_details.dart index ba3043fea..2f12c536e 100644 --- a/navigation_and_routing/lib/src/screens/author_details.dart +++ b/navigation_and_routing/lib/src/screens/author_details.dart @@ -19,22 +19,20 @@ class AuthorDetailsScreen extends StatelessWidget { @override Widget build(BuildContext context) => Scaffold( - appBar: AppBar( - title: Text(author.name), - ), - body: Center( - child: Column( - children: [ - Expanded( - child: BookList( - books: author.books, - onTap: (book) { - onBookTapped(book); - }, - ), - ), - ], + appBar: AppBar(title: Text(author.name)), + body: Center( + child: Column( + children: [ + Expanded( + child: BookList( + books: author.books, + onTap: (book) { + onBookTapped(book); + }, + ), ), - ), - ); + ], + ), + ), + ); } diff --git a/navigation_and_routing/lib/src/screens/authors.dart b/navigation_and_routing/lib/src/screens/authors.dart index 100b6096e..7c1408f8b 100644 --- a/navigation_and_routing/lib/src/screens/authors.dart +++ b/navigation_and_routing/lib/src/screens/authors.dart @@ -12,20 +12,11 @@ class AuthorsScreen extends StatelessWidget { final String title; final ValueChanged onTap; - const AuthorsScreen({ - required this.onTap, - this.title = 'Authors', - super.key, - }); + const AuthorsScreen({required this.onTap, this.title = 'Authors', super.key}); @override Widget build(BuildContext context) => Scaffold( - appBar: AppBar( - title: Text(title), - ), - body: AuthorList( - authors: libraryInstance.allAuthors, - onTap: onTap, - ), - ); + appBar: AppBar(title: Text(title)), + body: AuthorList(authors: libraryInstance.allAuthors, onTap: onTap), + ); } diff --git a/navigation_and_routing/lib/src/screens/book_details.dart b/navigation_and_routing/lib/src/screens/book_details.dart index 4e8b97e94..481e4826d 100644 --- a/navigation_and_routing/lib/src/screens/book_details.dart +++ b/navigation_and_routing/lib/src/screens/book_details.dart @@ -12,24 +12,15 @@ import 'author_details.dart'; class BookDetailsScreen extends StatelessWidget { final Book? book; - const BookDetailsScreen({ - super.key, - this.book, - }); + const BookDetailsScreen({super.key, this.book}); @override Widget build(BuildContext context) { if (book == null) { - return const Scaffold( - body: Center( - child: Text('No book found.'), - ), - ); + return const Scaffold(body: Center(child: Text('No book found.'))); } return Scaffold( - appBar: AppBar( - title: Text(book!.title), - ), + appBar: AppBar(title: Text(book!.title)), body: Center( child: Column( children: [ @@ -46,22 +37,26 @@ class BookDetailsScreen extends StatelessWidget { onPressed: () { Navigator.of(context).push( MaterialPageRoute( - builder: (context) => AuthorDetailsScreen( - author: book!.author, - onBookTapped: (book) { - GoRouter.of(context).go('/books/all/book/${book.id}'); - }, - ), + builder: + (context) => AuthorDetailsScreen( + author: book!.author, + onBookTapped: (book) { + GoRouter.of( + context, + ).go('/books/all/book/${book.id}'); + }, + ), ), ); }, ), Link( uri: Uri.parse('/authors/author/${book!.author.id}'), - builder: (context, followLink) => TextButton( - onPressed: followLink, - child: const Text('View author (Link)'), - ), + builder: + (context, followLink) => TextButton( + onPressed: followLink, + child: const Text('View author (Link)'), + ), ), ], ), diff --git a/navigation_and_routing/lib/src/screens/books.dart b/navigation_and_routing/lib/src/screens/books.dart index 6e323ea84..1557da5ba 100644 --- a/navigation_and_routing/lib/src/screens/books.dart +++ b/navigation_and_routing/lib/src/screens/books.dart @@ -46,18 +46,9 @@ class _BooksScreenState extends State bottom: TabBar( controller: _tabController, tabs: const [ - Tab( - text: 'Popular', - icon: Icon(Icons.people), - ), - Tab( - text: 'New', - icon: Icon(Icons.new_releases), - ), - Tab( - text: 'All', - icon: Icon(Icons.list), - ), + Tab(text: 'Popular', icon: Icon(Icons.people)), + Tab(text: 'New', icon: Icon(Icons.new_releases)), + Tab(text: 'All', icon: Icon(Icons.list)), ], ), ), diff --git a/navigation_and_routing/lib/src/screens/scaffold.dart b/navigation_and_routing/lib/src/screens/scaffold.dart index 678fbb913..0ac9e1490 100644 --- a/navigation_and_routing/lib/src/screens/scaffold.dart +++ b/navigation_and_routing/lib/src/screens/scaffold.dart @@ -30,18 +30,9 @@ class BookstoreScaffold extends StatelessWidget { if (idx == 2) goRouter.go('/settings'); }, destinations: const [ - AdaptiveScaffoldDestination( - title: 'Books', - icon: Icons.book, - ), - AdaptiveScaffoldDestination( - title: 'Authors', - icon: Icons.person, - ), - AdaptiveScaffoldDestination( - title: 'Settings', - icon: Icons.settings, - ), + AdaptiveScaffoldDestination(title: 'Books', icon: Icons.book), + AdaptiveScaffoldDestination(title: 'Authors', icon: Icons.person), + AdaptiveScaffoldDestination(title: 'Settings', icon: Icons.settings), ], ), ); diff --git a/navigation_and_routing/lib/src/screens/settings.dart b/navigation_and_routing/lib/src/screens/settings.dart index 4e0972805..54015b7a3 100644 --- a/navigation_and_routing/lib/src/screens/settings.dart +++ b/navigation_and_routing/lib/src/screens/settings.dart @@ -18,81 +18,79 @@ class SettingsScreen extends StatefulWidget { class _SettingsScreenState extends State { @override Widget build(BuildContext context) => Scaffold( - body: SafeArea( - child: SingleChildScrollView( - child: Align( - alignment: Alignment.topCenter, - child: ConstrainedBox( - constraints: const BoxConstraints(maxWidth: 400), - child: const Card( - child: Padding( - padding: EdgeInsets.symmetric(vertical: 18, horizontal: 12), - child: SettingsContent(), - ), - ), + body: SafeArea( + child: SingleChildScrollView( + child: Align( + alignment: Alignment.topCenter, + child: ConstrainedBox( + constraints: const BoxConstraints(maxWidth: 400), + child: const Card( + child: Padding( + padding: EdgeInsets.symmetric(vertical: 18, horizontal: 12), + child: SettingsContent(), ), ), ), ), - ); + ), + ), + ); } class SettingsContent extends StatelessWidget { - const SettingsContent({ - super.key, - }); + const SettingsContent({super.key}); @override Widget build(BuildContext context) => Column( - children: [ - ...[ - Text( - 'Settings', - style: Theme.of(context).textTheme.headlineMedium, - ), - FilledButton( - onPressed: () { - BookstoreAuth.of(context).signOut(); - }, - child: const Text('Sign out'), - ), - const Text('Example using the Link widget:'), - Link( - uri: Uri.parse('/books/all/book/0'), - builder: (context, followLink) => TextButton( + children: [ + ...[ + Text('Settings', style: Theme.of(context).textTheme.headlineMedium), + FilledButton( + onPressed: () { + BookstoreAuth.of(context).signOut(); + }, + child: const Text('Sign out'), + ), + const Text('Example using the Link widget:'), + Link( + uri: Uri.parse('/books/all/book/0'), + builder: + (context, followLink) => TextButton( onPressed: followLink, child: const Text('/books/all/book/0'), ), - ), - const Text('Example using GoRouter.of(context).go():'), - TextButton( - child: const Text('/books/all/book/0'), - onPressed: () { - GoRouter.of(context).go('/books/all/book/0'); - }, - ), - ].map((w) => Padding(padding: const EdgeInsets.all(8), child: w)), - const Text('Displays a dialog on the root Navigator:'), - TextButton( - onPressed: () => showDialog( + ), + const Text('Example using GoRouter.of(context).go():'), + TextButton( + child: const Text('/books/all/book/0'), + onPressed: () { + GoRouter.of(context).go('/books/all/book/0'); + }, + ), + ].map((w) => Padding(padding: const EdgeInsets.all(8), child: w)), + const Text('Displays a dialog on the root Navigator:'), + TextButton( + onPressed: + () => showDialog( context: context, - builder: (context) => AlertDialog( - title: const Text('Alert!'), - content: const Text('The alert description goes here.'), - actions: [ - TextButton( - onPressed: () => Navigator.pop(context, 'Cancel'), - child: const Text('Cancel'), + builder: + (context) => AlertDialog( + title: const Text('Alert!'), + content: const Text('The alert description goes here.'), + actions: [ + TextButton( + onPressed: () => Navigator.pop(context, 'Cancel'), + child: const Text('Cancel'), + ), + TextButton( + onPressed: () => Navigator.pop(context, 'OK'), + child: const Text('OK'), + ), + ], ), - TextButton( - onPressed: () => Navigator.pop(context, 'OK'), - child: const Text('OK'), - ), - ], - ), ), - child: const Text('Show Dialog'), - ) - ], - ); + child: const Text('Show Dialog'), + ), + ], + ); } diff --git a/navigation_and_routing/lib/src/screens/sign_in.dart b/navigation_and_routing/lib/src/screens/sign_in.dart index 84f915f73..78abb2b8d 100644 --- a/navigation_and_routing/lib/src/screens/sign_in.dart +++ b/navigation_and_routing/lib/src/screens/sign_in.dart @@ -14,10 +14,7 @@ class Credentials { class SignInScreen extends StatefulWidget { final ValueChanged onSignIn; - const SignInScreen({ - required this.onSignIn, - super.key, - }); + const SignInScreen({required this.onSignIn, super.key}); @override State createState() => _SignInScreenState(); @@ -29,41 +26,46 @@ class _SignInScreenState extends State { @override Widget build(BuildContext context) => Scaffold( - body: Center( - child: Card( - child: Container( - constraints: BoxConstraints.loose(const Size(600, 600)), - padding: const EdgeInsets.all(8), - child: Column( - mainAxisAlignment: MainAxisAlignment.center, - mainAxisSize: MainAxisSize.min, - children: [ - Text('Sign in', - style: Theme.of(context).textTheme.headlineMedium), - TextField( - decoration: const InputDecoration(labelText: 'Username'), - controller: _usernameController, - ), - TextField( - decoration: const InputDecoration(labelText: 'Password'), - obscureText: true, - controller: _passwordController, - ), - Padding( - padding: const EdgeInsets.all(16), - child: TextButton( - onPressed: () async { - widget.onSignIn(Credentials( - _usernameController.value.text, - _passwordController.value.text)); - }, - child: const Text('Sign in'), - ), - ), - ], + body: Center( + child: Card( + child: Container( + constraints: BoxConstraints.loose(const Size(600, 600)), + padding: const EdgeInsets.all(8), + child: Column( + mainAxisAlignment: MainAxisAlignment.center, + mainAxisSize: MainAxisSize.min, + children: [ + Text( + 'Sign in', + style: Theme.of(context).textTheme.headlineMedium, ), - ), + TextField( + decoration: const InputDecoration(labelText: 'Username'), + controller: _usernameController, + ), + TextField( + decoration: const InputDecoration(labelText: 'Password'), + obscureText: true, + controller: _passwordController, + ), + Padding( + padding: const EdgeInsets.all(16), + child: TextButton( + onPressed: () async { + widget.onSignIn( + Credentials( + _usernameController.value.text, + _passwordController.value.text, + ), + ); + }, + child: const Text('Sign in'), + ), + ), + ], ), ), - ); + ), + ), + ); } diff --git a/navigation_and_routing/lib/src/widgets/author_list.dart b/navigation_and_routing/lib/src/widgets/author_list.dart index 88906962a..445350926 100644 --- a/navigation_and_routing/lib/src/widgets/author_list.dart +++ b/navigation_and_routing/lib/src/widgets/author_list.dart @@ -10,23 +10,16 @@ class AuthorList extends StatelessWidget { final List authors; final ValueChanged? onTap; - const AuthorList({ - required this.authors, - this.onTap, - super.key, - }); + const AuthorList({required this.authors, this.onTap, super.key}); @override Widget build(BuildContext context) => ListView.builder( - itemCount: authors.length, - itemBuilder: (context, index) => ListTile( - title: Text( - authors[index].name, - ), - subtitle: Text( - '${authors[index].books.length} books', - ), + itemCount: authors.length, + itemBuilder: + (context, index) => ListTile( + title: Text(authors[index].name), + subtitle: Text('${authors[index].books.length} books'), onTap: onTap != null ? () => onTap!(authors[index]) : null, ), - ); + ); } diff --git a/navigation_and_routing/lib/src/widgets/book_list.dart b/navigation_and_routing/lib/src/widgets/book_list.dart index b3c637098..630f1e43b 100644 --- a/navigation_and_routing/lib/src/widgets/book_list.dart +++ b/navigation_and_routing/lib/src/widgets/book_list.dart @@ -10,23 +10,16 @@ class BookList extends StatelessWidget { final List books; final ValueChanged? onTap; - const BookList({ - required this.books, - this.onTap, - super.key, - }); + const BookList({required this.books, this.onTap, super.key}); @override Widget build(BuildContext context) => ListView.builder( - itemCount: books.length, - itemBuilder: (context, index) => ListTile( - title: Text( - books[index].title, - ), - subtitle: Text( - books[index].author.name, - ), + itemCount: books.length, + itemBuilder: + (context, index) => ListTile( + title: Text(books[index].title), + subtitle: Text(books[index].author.name), onTap: onTap != null ? () => onTap!(books[index]) : null, ), - ); + ); } diff --git a/navigation_and_routing/lib/src/widgets/fade_transition_page.dart b/navigation_and_routing/lib/src/widgets/fade_transition_page.dart index 552171b06..f17506305 100644 --- a/navigation_and_routing/lib/src/widgets/fade_transition_page.dart +++ b/navigation_and_routing/lib/src/widgets/fade_transition_page.dart @@ -37,8 +37,11 @@ class PageBasedFadeTransitionRoute extends PageRoute { bool get maintainState => true; @override - Widget buildPage(BuildContext context, Animation animation, - Animation secondaryAnimation) { + Widget buildPage( + BuildContext context, + Animation animation, + Animation secondaryAnimation, + ) { var curveTween = CurveTween(curve: Curves.easeIn); return FadeTransition( opacity: animation.drive(curveTween), @@ -47,7 +50,10 @@ class PageBasedFadeTransitionRoute extends PageRoute { } @override - Widget buildTransitions(BuildContext context, Animation animation, - Animation secondaryAnimation, Widget child) => - child; + Widget buildTransitions( + BuildContext context, + Animation animation, + Animation secondaryAnimation, + Widget child, + ) => child; } diff --git a/navigation_and_routing/pubspec.yaml b/navigation_and_routing/pubspec.yaml index dfc3ccef8..d0b8b6904 100644 --- a/navigation_and_routing/pubspec.yaml +++ b/navigation_and_routing/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: "none" # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: adaptive_navigation: ^0.0.3 diff --git a/navigation_and_routing/test/library_test.dart b/navigation_and_routing/test/library_test.dart index 4305d47cc..788867bbc 100644 --- a/navigation_and_routing/test/library_test.dart +++ b/navigation_and_routing/test/library_test.dart @@ -10,25 +10,29 @@ void main() { test('addBook', () { final library = Library(); library.addBook( - title: 'Left Hand of Darkness', - authorName: 'Ursula K. Le Guin', - isPopular: true, - isNew: true); + title: 'Left Hand of Darkness', + authorName: 'Ursula K. Le Guin', + isPopular: true, + isNew: true, + ); library.addBook( - title: 'Too Like the Lightning', - authorName: 'Ada Palmer', - isPopular: false, - isNew: true); + title: 'Too Like the Lightning', + authorName: 'Ada Palmer', + isPopular: false, + isNew: true, + ); library.addBook( - title: 'Kindred', - authorName: 'Octavia E. Butler', - isPopular: true, - isNew: false); + title: 'Kindred', + authorName: 'Octavia E. Butler', + isPopular: true, + isNew: false, + ); library.addBook( - title: 'The Lathe of Heaven', - authorName: 'Ursula K. Le Guin', - isPopular: false, - isNew: false); + title: 'The Lathe of Heaven', + authorName: 'Ursula K. Le Guin', + isPopular: false, + isNew: false, + ); expect(library.allAuthors.length, 3); expect(library.allAuthors.first.books.length, 2); expect(library.allBooks.length, 4); diff --git a/experimental/pedometer/.gitignore b/pedometer/.gitignore similarity index 100% rename from experimental/pedometer/.gitignore rename to pedometer/.gitignore diff --git a/experimental/pedometer/.metadata b/pedometer/.metadata similarity index 100% rename from experimental/pedometer/.metadata rename to pedometer/.metadata diff --git a/experimental/pedometer/CHANGELOG.md b/pedometer/CHANGELOG.md similarity index 100% rename from experimental/pedometer/CHANGELOG.md rename to pedometer/CHANGELOG.md diff --git a/experimental/pedometer/LICENSE b/pedometer/LICENSE similarity index 100% rename from experimental/pedometer/LICENSE rename to pedometer/LICENSE diff --git a/experimental/pedometer/README.md b/pedometer/README.md similarity index 100% rename from experimental/pedometer/README.md rename to pedometer/README.md diff --git a/experimental/pedometer/analysis_options.yaml b/pedometer/analysis_options.yaml similarity index 100% rename from experimental/pedometer/analysis_options.yaml rename to pedometer/analysis_options.yaml diff --git a/experimental/pedometer/android/.gitignore b/pedometer/android/.gitignore similarity index 100% rename from experimental/pedometer/android/.gitignore rename to pedometer/android/.gitignore diff --git a/experimental/pedometer/android/build.gradle b/pedometer/android/build.gradle similarity index 100% rename from experimental/pedometer/android/build.gradle rename to pedometer/android/build.gradle diff --git a/experimental/pedometer/android/settings.gradle b/pedometer/android/settings.gradle similarity index 100% rename from experimental/pedometer/android/settings.gradle rename to pedometer/android/settings.gradle diff --git a/experimental/pedometer/android/src/main/AndroidManifest.xml b/pedometer/android/src/main/AndroidManifest.xml similarity index 100% rename from experimental/pedometer/android/src/main/AndroidManifest.xml rename to pedometer/android/src/main/AndroidManifest.xml diff --git a/experimental/pedometer/example/.gitignore b/pedometer/example/.gitignore similarity index 100% rename from experimental/pedometer/example/.gitignore rename to pedometer/example/.gitignore diff --git a/experimental/pedometer/example/README.md b/pedometer/example/README.md similarity index 100% rename from experimental/pedometer/example/README.md rename to pedometer/example/README.md diff --git a/experimental/pedometer/example/analysis_options.yaml b/pedometer/example/analysis_options.yaml similarity index 100% rename from experimental/pedometer/example/analysis_options.yaml rename to pedometer/example/analysis_options.yaml diff --git a/experimental/pedometer/example/android/.gitignore b/pedometer/example/android/.gitignore similarity index 100% rename from experimental/pedometer/example/android/.gitignore rename to pedometer/example/android/.gitignore diff --git a/experimental/pedometer/example/android/app/build.gradle b/pedometer/example/android/app/build.gradle similarity index 100% rename from experimental/pedometer/example/android/app/build.gradle rename to pedometer/example/android/app/build.gradle diff --git a/experimental/pedometer/example/android/app/proguard-rules.pro b/pedometer/example/android/app/proguard-rules.pro similarity index 100% rename from experimental/pedometer/example/android/app/proguard-rules.pro rename to pedometer/example/android/app/proguard-rules.pro diff --git a/experimental/pedometer/example/android/app/src/debug/AndroidManifest.xml b/pedometer/example/android/app/src/debug/AndroidManifest.xml similarity index 100% rename from experimental/pedometer/example/android/app/src/debug/AndroidManifest.xml rename to pedometer/example/android/app/src/debug/AndroidManifest.xml diff --git a/experimental/pedometer/example/android/app/src/main/AndroidManifest.xml b/pedometer/example/android/app/src/main/AndroidManifest.xml similarity index 100% rename from experimental/pedometer/example/android/app/src/main/AndroidManifest.xml rename to pedometer/example/android/app/src/main/AndroidManifest.xml diff --git a/experimental/pedometer/example/android/app/src/main/kotlin/com/example/jni_demo/MainActivity.kt b/pedometer/example/android/app/src/main/kotlin/com/example/jni_demo/MainActivity.kt similarity index 100% rename from experimental/pedometer/example/android/app/src/main/kotlin/com/example/jni_demo/MainActivity.kt rename to pedometer/example/android/app/src/main/kotlin/com/example/jni_demo/MainActivity.kt diff --git a/experimental/pedometer/example/android/app/src/main/res/drawable-v21/launch_background.xml b/pedometer/example/android/app/src/main/res/drawable-v21/launch_background.xml similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/drawable-v21/launch_background.xml rename to pedometer/example/android/app/src/main/res/drawable-v21/launch_background.xml diff --git a/experimental/pedometer/example/android/app/src/main/res/drawable/launch_background.xml b/pedometer/example/android/app/src/main/res/drawable/launch_background.xml similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/drawable/launch_background.xml rename to pedometer/example/android/app/src/main/res/drawable/launch_background.xml diff --git a/experimental/pedometer/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png b/pedometer/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png rename to pedometer/example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png diff --git a/experimental/pedometer/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png b/pedometer/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png rename to pedometer/example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png diff --git a/experimental/pedometer/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png b/pedometer/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png rename to pedometer/example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png diff --git a/experimental/pedometer/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png b/pedometer/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png rename to pedometer/example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png diff --git a/experimental/pedometer/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png b/pedometer/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png rename to pedometer/example/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png diff --git a/experimental/pedometer/example/android/app/src/main/res/values-night/styles.xml b/pedometer/example/android/app/src/main/res/values-night/styles.xml similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/values-night/styles.xml rename to pedometer/example/android/app/src/main/res/values-night/styles.xml diff --git a/experimental/pedometer/example/android/app/src/main/res/values/health-permissions.xml b/pedometer/example/android/app/src/main/res/values/health-permissions.xml similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/values/health-permissions.xml rename to pedometer/example/android/app/src/main/res/values/health-permissions.xml diff --git a/experimental/pedometer/example/android/app/src/main/res/values/styles.xml b/pedometer/example/android/app/src/main/res/values/styles.xml similarity index 100% rename from experimental/pedometer/example/android/app/src/main/res/values/styles.xml rename to pedometer/example/android/app/src/main/res/values/styles.xml diff --git a/experimental/pedometer/example/android/app/src/profile/AndroidManifest.xml b/pedometer/example/android/app/src/profile/AndroidManifest.xml similarity index 100% rename from experimental/pedometer/example/android/app/src/profile/AndroidManifest.xml rename to pedometer/example/android/app/src/profile/AndroidManifest.xml diff --git a/experimental/pedometer/example/android/build.gradle b/pedometer/example/android/build.gradle similarity index 100% rename from experimental/pedometer/example/android/build.gradle rename to pedometer/example/android/build.gradle diff --git a/experimental/pedometer/example/android/gradle.properties b/pedometer/example/android/gradle.properties similarity index 100% rename from experimental/pedometer/example/android/gradle.properties rename to pedometer/example/android/gradle.properties diff --git a/experimental/pedometer/example/android/gradle/wrapper/gradle-wrapper.properties b/pedometer/example/android/gradle/wrapper/gradle-wrapper.properties similarity index 100% rename from experimental/pedometer/example/android/gradle/wrapper/gradle-wrapper.properties rename to pedometer/example/android/gradle/wrapper/gradle-wrapper.properties diff --git a/experimental/pedometer/example/android/settings.gradle b/pedometer/example/android/settings.gradle similarity index 100% rename from experimental/pedometer/example/android/settings.gradle rename to pedometer/example/android/settings.gradle diff --git a/experimental/date_planner/ios/.gitignore b/pedometer/example/ios/.gitignore similarity index 100% rename from experimental/date_planner/ios/.gitignore rename to pedometer/example/ios/.gitignore diff --git a/experimental/pedometer/example/ios/Flutter/AppFrameworkInfo.plist b/pedometer/example/ios/Flutter/AppFrameworkInfo.plist similarity index 100% rename from experimental/pedometer/example/ios/Flutter/AppFrameworkInfo.plist rename to pedometer/example/ios/Flutter/AppFrameworkInfo.plist diff --git a/experimental/pedometer/example/ios/Flutter/Debug.xcconfig b/pedometer/example/ios/Flutter/Debug.xcconfig similarity index 100% rename from experimental/pedometer/example/ios/Flutter/Debug.xcconfig rename to pedometer/example/ios/Flutter/Debug.xcconfig diff --git a/experimental/pedometer/example/ios/Flutter/Release.xcconfig b/pedometer/example/ios/Flutter/Release.xcconfig similarity index 100% rename from experimental/pedometer/example/ios/Flutter/Release.xcconfig rename to pedometer/example/ios/Flutter/Release.xcconfig diff --git a/experimental/pedometer/example/ios/Podfile b/pedometer/example/ios/Podfile similarity index 100% rename from experimental/pedometer/example/ios/Podfile rename to pedometer/example/ios/Podfile diff --git a/experimental/pedometer/example/ios/Runner.xcodeproj/project.pbxproj b/pedometer/example/ios/Runner.xcodeproj/project.pbxproj similarity index 100% rename from experimental/pedometer/example/ios/Runner.xcodeproj/project.pbxproj rename to pedometer/example/ios/Runner.xcodeproj/project.pbxproj diff --git a/experimental/date_planner/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata similarity index 100% rename from experimental/date_planner/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename to pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/contents.xcworkspacedata diff --git a/experimental/date_planner/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from experimental/date_planner/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/experimental/date_planner/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from experimental/date_planner/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to pedometer/example/ios/Runner.xcodeproj/project.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/experimental/pedometer/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme b/pedometer/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme similarity index 100% rename from experimental/pedometer/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme rename to pedometer/example/ios/Runner.xcodeproj/xcshareddata/xcschemes/Runner.xcscheme diff --git a/experimental/pedometer/example/ios/Runner.xcworkspace/contents.xcworkspacedata b/pedometer/example/ios/Runner.xcworkspace/contents.xcworkspacedata similarity index 100% rename from experimental/pedometer/example/ios/Runner.xcworkspace/contents.xcworkspacedata rename to pedometer/example/ios/Runner.xcworkspace/contents.xcworkspacedata diff --git a/experimental/date_planner/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/pedometer/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist similarity index 100% rename from experimental/date_planner/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist rename to pedometer/example/ios/Runner.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist diff --git a/experimental/date_planner/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings b/pedometer/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings similarity index 100% rename from experimental/date_planner/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings rename to pedometer/example/ios/Runner.xcworkspace/xcshareddata/WorkspaceSettings.xcsettings diff --git a/experimental/pedometer/example/ios/Runner/AppDelegate.swift b/pedometer/example/ios/Runner/AppDelegate.swift similarity index 100% rename from experimental/pedometer/example/ios/Runner/AppDelegate.swift rename to pedometer/example/ios/Runner/AppDelegate.swift diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Contents.json diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-1024x1024@1x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@1x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@2x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-20x20@3x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@1x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@2x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-29x29@3x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@1x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@2x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-40x40@3x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@2x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-60x60@3x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@1x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-76x76@2x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png b/pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png rename to pedometer/example/ios/Runner/Assets.xcassets/AppIcon.appiconset/Icon-App-83.5x83.5@2x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json b/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json rename to pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/Contents.json diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png b/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png rename to pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png b/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png rename to pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@2x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png b/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png rename to pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/LaunchImage@3x.png diff --git a/experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md b/pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md similarity index 100% rename from experimental/date_planner/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md rename to pedometer/example/ios/Runner/Assets.xcassets/LaunchImage.imageset/README.md diff --git a/experimental/date_planner/ios/Runner/Base.lproj/LaunchScreen.storyboard b/pedometer/example/ios/Runner/Base.lproj/LaunchScreen.storyboard similarity index 100% rename from experimental/date_planner/ios/Runner/Base.lproj/LaunchScreen.storyboard rename to pedometer/example/ios/Runner/Base.lproj/LaunchScreen.storyboard diff --git a/experimental/date_planner/ios/Runner/Base.lproj/Main.storyboard b/pedometer/example/ios/Runner/Base.lproj/Main.storyboard similarity index 100% rename from experimental/date_planner/ios/Runner/Base.lproj/Main.storyboard rename to pedometer/example/ios/Runner/Base.lproj/Main.storyboard diff --git a/experimental/pedometer/example/ios/Runner/Info.plist b/pedometer/example/ios/Runner/Info.plist similarity index 100% rename from experimental/pedometer/example/ios/Runner/Info.plist rename to pedometer/example/ios/Runner/Info.plist diff --git a/experimental/date_planner/ios/Runner/Runner-Bridging-Header.h b/pedometer/example/ios/Runner/Runner-Bridging-Header.h similarity index 100% rename from experimental/date_planner/ios/Runner/Runner-Bridging-Header.h rename to pedometer/example/ios/Runner/Runner-Bridging-Header.h diff --git a/pedometer/example/lib/main.dart b/pedometer/example/lib/main.dart new file mode 100644 index 000000000..ac402fc27 --- /dev/null +++ b/pedometer/example/lib/main.dart @@ -0,0 +1,207 @@ +import 'package:fl_chart/fl_chart.dart'; +import 'package:flutter/material.dart'; +import 'package:intl/intl.dart'; + +import 'steps_repo.dart'; + +void main() { + runApp(const MyApp()); +} + +class MyApp extends StatelessWidget { + const MyApp({super.key}); + + @override + Widget build(BuildContext context) { + return MaterialApp( + title: 'Flutter Demo', + theme: ThemeData(primarySwatch: Colors.blue), + home: const Home(), + ); + } +} + +class RoundClipper extends CustomClipper { + @override + Path getClip(Size size) { + final diameter = size.shortestSide * 1.5; + final x = -(diameter - size.width) / 2; + final y = size.height - diameter; + final rect = Offset(x, y) & Size(diameter, diameter); + return Path()..addOval(rect); + } + + @override + bool shouldReclip(CustomClipper oldClipper) { + return false; + } +} + +class Home extends StatefulWidget { + const Home({super.key}); + + @override + State createState() => _HomeState(); +} + +class _HomeState extends State { + var hourlySteps = []; + DateTime? lastUpdated; + + @override + void initState() { + runPedometer(); + super.initState(); + } + + void runPedometer() async { + final now = DateTime.now(); + hourlySteps = await StepsRepo.instance.getSteps(); + lastUpdated = now; + setState(() {}); + } + + @override + Widget build(BuildContext context) { + final textTheme = Theme.of(context).textTheme; + + final barGroups = + hourlySteps + .map( + (e) => BarChartGroupData( + x: int.parse(e.startHour), + barRods: [ + BarChartRodData( + color: Colors.blue[900], + toY: e.steps.toDouble() / 100, + ), + ], + ), + ) + .toList(); + + return Scaffold( + body: Stack( + children: [ + ClipPath( + clipper: RoundClipper(), + child: FractionallySizedBox( + heightFactor: 0.55, + widthFactor: 1, + child: Container(color: Colors.blue[300]), + ), + ), + Align( + alignment: Alignment.topCenter, + child: Padding( + padding: const EdgeInsets.all(80.0), + child: Column( + children: [ + lastUpdated != null + ? Padding( + padding: const EdgeInsets.symmetric(vertical: 50.0), + child: Text( + DateFormat.yMMMMd('en_US').format(lastUpdated!), + style: textTheme.titleLarge!.copyWith( + color: Colors.blue[900], + ), + ), + ) + : const SizedBox(height: 0), + Text( + hourlySteps.fold(0, (t, e) => t + e.steps).toString(), + style: textTheme.displayMedium!.copyWith( + color: Colors.white, + ), + ), + Text( + 'steps', + style: textTheme.titleLarge!.copyWith(color: Colors.white), + ), + ], + ), + ), + ), + Align( + alignment: Alignment.centerRight, + child: GestureDetector( + onTap: runPedometer, + child: Padding( + padding: const EdgeInsets.all(20.0), + child: Container( + decoration: BoxDecoration( + color: Colors.blue[900], + shape: BoxShape.circle, + ), + child: const Padding( + padding: EdgeInsets.all(8.0), + child: Icon(Icons.refresh, color: Colors.white, size: 50), + ), + ), + ), + ), + ), + Align( + alignment: Alignment.bottomCenter, + child: Padding( + padding: const EdgeInsets.symmetric( + horizontal: 30.0, + vertical: 50.0, + ), + child: AspectRatio( + aspectRatio: 1.2, + child: BarChart( + BarChartData( + titlesData: const FlTitlesData( + show: true, + // Top titles are null + topTitles: AxisTitles( + sideTitles: SideTitles(showTitles: false), + ), + rightTitles: AxisTitles( + sideTitles: SideTitles(showTitles: false), + ), + leftTitles: AxisTitles( + sideTitles: SideTitles(showTitles: false), + ), + bottomTitles: AxisTitles( + sideTitles: SideTitles( + showTitles: true, + reservedSize: 30, + getTitlesWidget: getBottomTitles, + ), + ), + ), + borderData: FlBorderData(show: false), + barGroups: barGroups, + gridData: const FlGridData(show: false), + alignment: BarChartAlignment.spaceAround, + ), + ), + ), + ), + ), + ], + ), + ); + } +} + +// Axis labels for bottom of chart. +Widget getBottomTitles(double value, TitleMeta meta) { + final timeText = switch (value.toInt()) { + 0 => '12AM', + 6 => '6AM', + 12 => '12PM', + 18 => '6PM', + _ => '', + }; + return SideTitleWidget( + space: 4, + meta: meta, + child: Text( + timeText, + style: TextStyle(fontSize: 14, color: Colors.blue[900]), + ), + ); +} diff --git a/experimental/pedometer/example/lib/steps_repo.dart b/pedometer/example/lib/steps_repo.dart similarity index 79% rename from experimental/pedometer/example/lib/steps_repo.dart rename to pedometer/example/lib/steps_repo.dart index a14518076..d44e5f1ae 100644 --- a/experimental/pedometer/example/lib/steps_repo.dart +++ b/pedometer/example/lib/steps_repo.dart @@ -46,8 +46,9 @@ class _IOSStepsRepo implements StepsRepo { // Initialize the Dart API final initializeApi = dylib.lookupFunction< - ffi.IntPtr Function(ffi.Pointer), - int Function(ffi.Pointer)>('Dart_InitializeApiDL'); + ffi.IntPtr Function(ffi.Pointer), + int Function(ffi.Pointer) + >('Dart_InitializeApiDL'); final initializeResult = initializeApi(ffi.NativeApi.initializeApiDLData); if (initializeResult != 0) { @@ -58,11 +59,13 @@ class _IOSStepsRepo implements StepsRepo { client = pd.CMPedometer.new1(lib); // Setting the formatter for date strings. - formatter = - pd.NSDateFormatter.castFrom(pd.NSDateFormatter.alloc(lib).init()); + formatter = pd.NSDateFormatter.castFrom( + pd.NSDateFormatter.alloc(lib).init(), + ); formatter.dateFormat = pd.NSString(lib, "${StepsRepo._formatString} zzz"); - hourFormatter = - pd.NSDateFormatter.castFrom(pd.NSDateFormatter.alloc(lib).init()); + hourFormatter = pd.NSDateFormatter.castFrom( + pd.NSDateFormatter.alloc(lib).init(), + ); hourFormatter.dateFormat = pd.NSString(lib, "HH"); } @@ -97,21 +100,27 @@ class _IOSStepsRepo implements StepsRepo { futures.add(completer.future); final handler = helpLib.wrapCallback( - pd.ObjCBlock_ffiVoid_CMPedometerData_NSError.listener(lib, - (pd.CMPedometerData? result, pd.NSError? error) { - if (result != null) { - final stepCount = result.numberOfSteps.intValue; - final startHour = - hourFormatter.stringFromDate_(result.startDate).toString(); - completer.complete(Steps(startHour, stepCount)); - } else { - debugPrint("Query error: ${error?.localizedDescription}"); - completer.complete(null); - } - })); + pd.ObjCBlock_ffiVoid_CMPedometerData_NSError.listener(lib, ( + pd.CMPedometerData? result, + pd.NSError? error, + ) { + if (result != null) { + final stepCount = result.numberOfSteps.intValue; + final startHour = + hourFormatter.stringFromDate_(result.startDate).toString(); + completer.complete(Steps(startHour, stepCount)); + } else { + debugPrint("Query error: ${error?.localizedDescription}"); + completer.complete(null); + } + }), + ); handlers.add(handler); client.queryPedometerDataFromDate_toDate_withHandler_( - start, end, handler); + start, + end, + handler, + ); } return (await futures.wait).nonNulls.toList(); @@ -127,8 +136,8 @@ class _AndroidStepsRepo implements StepsRepo { // ignore: invalid_use_of_internal_member activity = hc.Activity.fromReference(jni.Jni.getCurrentActivity()); applicationContext = - // ignore: invalid_use_of_internal_member - hc.Context.fromReference(jni.Jni.getCachedApplicationContext()); + // ignore: invalid_use_of_internal_member + hc.Context.fromReference(jni.Jni.getCachedApplicationContext()); client = hc.HealthConnectClient.getOrCreate$1(applicationContext); } @@ -143,8 +152,9 @@ class _AndroidStepsRepo implements StepsRepo { final end = DateTime(now.year, now.month, now.day, h + 1).millisecondsSinceEpoch; final request = hc.AggregateRequest( - {hc.StepsRecord.COUNT_TOTAL} - .toJSet(hc.AggregateMetric.type(jni.JLong.type)), + { + hc.StepsRecord.COUNT_TOTAL, + }.toJSet(hc.AggregateMetric.type(jni.JLong.type)), hc.TimeRangeFilter.between( hc.Instant.ofEpochMilli(start)!, hc.Instant.ofEpochMilli(end)!, diff --git a/experimental/pedometer/example/pubspec.yaml b/pedometer/example/pubspec.yaml similarity index 99% rename from experimental/pedometer/example/pubspec.yaml rename to pedometer/example/pubspec.yaml index ca3e3aec9..e454e4275 100644 --- a/experimental/pedometer/example/pubspec.yaml +++ b/pedometer/example/pubspec.yaml @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/experimental/pedometer/ffigen.yaml b/pedometer/ffigen.yaml similarity index 100% rename from experimental/pedometer/ffigen.yaml rename to pedometer/ffigen.yaml diff --git a/experimental/pedometer/ios/Classes/dart_api_dl.c b/pedometer/ios/Classes/dart_api_dl.c similarity index 100% rename from experimental/pedometer/ios/Classes/dart_api_dl.c rename to pedometer/ios/Classes/dart_api_dl.c diff --git a/experimental/pedometer/ios/Classes/pedometerHelper.m b/pedometer/ios/Classes/pedometerHelper.m similarity index 100% rename from experimental/pedometer/ios/Classes/pedometerHelper.m rename to pedometer/ios/Classes/pedometerHelper.m diff --git a/experimental/pedometer/ios/pedometer.podspec b/pedometer/ios/pedometer.podspec similarity index 100% rename from experimental/pedometer/ios/pedometer.podspec rename to pedometer/ios/pedometer.podspec diff --git a/experimental/pedometer/jnigen.yaml b/pedometer/jnigen.yaml similarity index 100% rename from experimental/pedometer/jnigen.yaml rename to pedometer/jnigen.yaml diff --git a/experimental/pedometer/lib/health_connect.dart b/pedometer/lib/health_connect.dart similarity index 54% rename from experimental/pedometer/lib/health_connect.dart rename to pedometer/lib/health_connect.dart index aae2b4afd..7272f1506 100644 --- a/experimental/pedometer/lib/health_connect.dart +++ b/pedometer/lib/health_connect.dart @@ -42,13 +42,13 @@ class HealthConnectClient$Companion extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - HealthConnectClient$Companion.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + HealthConnectClient$Companion.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/HealthConnectClient$Companion'); + r'androidx/health/connect/client/HealthConnectClient$Companion', + ); /// The type which includes information such as the signature of this class. static const nullableType = $HealthConnectClient$Companion$NullableType(); @@ -78,36 +78,37 @@ class HealthConnectClient$Companion extends jni$_.JObject { r'(Landroid/content/Context;Ljava/util/List;)Z', ); - static final _isAvailable = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isAvailable = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public final boolean isAvailable(android.content.Context context, java.util.List list)` - bool isAvailable( - Context context, - jni$_.JList list, - ) { + bool isAvailable(Context context, jni$_.JList list) { final _$context = context.reference; final _$list = list.reference; return _isAvailable( - reference.pointer, - _id_isAvailable as jni$_.JMethodIDPtr, - _$context.pointer, - _$list.pointer) - .boolean; + reference.pointer, + _id_isAvailable as jni$_.JMethodIDPtr, + _$context.pointer, + _$list.pointer, + ).boolean; } static final _id_getOrCreate = _class.instanceMethodId( @@ -115,22 +116,26 @@ class HealthConnectClient$Companion extends jni$_.JObject { r'(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getOrCreate = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public final androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context, java.util.List list)` /// The returned object must be released after use, by calling the [release] method. @@ -141,11 +146,11 @@ class HealthConnectClient$Companion extends jni$_.JObject { final _$context = context.reference; final _$list = list.reference; return _getOrCreate( - reference.pointer, - _id_getOrCreate as jni$_.JMethodIDPtr, - _$context.pointer, - _$list.pointer) - .object(const $HealthConnectClient$Type()); + reference.pointer, + _id_getOrCreate as jni$_.JMethodIDPtr, + _$context.pointer, + _$list.pointer, + ).object(const $HealthConnectClient$Type()); } static final _id_isAvailable$1 = _class.instanceMethodId( @@ -153,25 +158,32 @@ class HealthConnectClient$Companion extends jni$_.JObject { r'(Landroid/content/Context;)Z', ); - static final _isAvailable$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _isAvailable$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final boolean isAvailable(android.content.Context context)` - bool isAvailable$1( - Context context, - ) { + bool isAvailable$1(Context context) { final _$context = context.reference; - return _isAvailable$1(reference.pointer, - _id_isAvailable$1 as jni$_.JMethodIDPtr, _$context.pointer) - .boolean; + return _isAvailable$1( + reference.pointer, + _id_isAvailable$1 as jni$_.JMethodIDPtr, + _$context.pointer, + ).boolean; } static final _id_getOrCreate$1 = _class.instanceMethodId( @@ -179,26 +191,33 @@ class HealthConnectClient$Companion extends jni$_.JObject { r'(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getOrCreate$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. - HealthConnectClient getOrCreate$1( - Context context, - ) { + HealthConnectClient getOrCreate$1(Context context) { final _$context = context.reference; - return _getOrCreate$1(reference.pointer, - _id_getOrCreate$1 as jni$_.JMethodIDPtr, _$context.pointer) - .object(const $HealthConnectClient$Type()); + return _getOrCreate$1( + reference.pointer, + _id_getOrCreate$1 as jni$_.JMethodIDPtr, + _$context.pointer, + ).object(const $HealthConnectClient$Type()); } } @@ -217,9 +236,7 @@ final class $HealthConnectClient$Companion$NullableType HealthConnectClient$Companion? fromReference(jni$_.JReference reference) => reference.isNull ? null - : HealthConnectClient$Companion.fromReference( - reference, - ); + : HealthConnectClient$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -255,9 +272,7 @@ final class $HealthConnectClient$Companion$Type @jni$_.internal @core$_.override HealthConnectClient$Companion fromReference(jni$_.JReference reference) => - HealthConnectClient$Companion.fromReference( - reference, - ); + HealthConnectClient$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -288,13 +303,13 @@ class HealthConnectClient extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - HealthConnectClient.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + HealthConnectClient.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/HealthConnectClient'); + r'androidx/health/connect/client/HealthConnectClient', + ); /// The type which includes information such as the signature of this class. static const nullableType = $HealthConnectClient$NullableType(); @@ -334,24 +349,29 @@ class HealthConnectClient extends jni$_.JObject { r'()Landroidx/health/connect/client/PermissionController;', ); - static final _getPermissionController = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getPermissionController = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract androidx.health.connect.client.PermissionController getPermissionController()` /// The returned object must be released after use, by calling the [release] method. PermissionController getPermissionController() { - return _getPermissionController(reference.pointer, - _id_getPermissionController as jni$_.JMethodIDPtr) - .object(const $PermissionController$Type()); + return _getPermissionController( + reference.pointer, + _id_getPermissionController as jni$_.JMethodIDPtr, + ).object(const $PermissionController$Type()); } static final _id_insertRecords = _class.instanceMethodId( @@ -359,22 +379,26 @@ class HealthConnectClient extends jni$_.JObject { r'(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _insertRecords = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _insertRecords = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object insertRecords(java.util.List list, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -384,13 +408,16 @@ class HealthConnectClient extends jni$_.JObject { final $p = jni$_.ReceivePort(); final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$list = list.reference; - _insertRecords(reference.pointer, _id_insertRecords as jni$_.JMethodIDPtr, - _$list.pointer, _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + _insertRecords( + reference.pointer, + _id_insertRecords as jni$_.JMethodIDPtr, + _$list.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -405,22 +432,26 @@ class HealthConnectClient extends jni$_.JObject { r'(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _updateRecords = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _updateRecords = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object updateRecords(java.util.List list, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -430,13 +461,16 @@ class HealthConnectClient extends jni$_.JObject { final $p = jni$_.ReceivePort(); final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$list = list.reference; - _updateRecords(reference.pointer, _id_updateRecords as jni$_.JMethodIDPtr, - _$list.pointer, _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + _updateRecords( + reference.pointer, + _id_updateRecords as jni$_.JMethodIDPtr, + _$list.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -451,26 +485,33 @@ class HealthConnectClient extends jni$_.JObject { r'(Lkotlin/reflect/KClass;Ljava/util/List;Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _deleteRecords = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _deleteRecords = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object deleteRecords(kotlin.reflect.KClass kClass, java.util.List list, java.util.List list1, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -485,17 +526,17 @@ class HealthConnectClient extends jni$_.JObject { final _$list = list.reference; final _$list1 = list1.reference; _deleteRecords( - reference.pointer, - _id_deleteRecords as jni$_.JMethodIDPtr, - _$kClass.pointer, - _$list.pointer, - _$list1.pointer, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_deleteRecords as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$list.pointer, + _$list1.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -510,24 +551,31 @@ class HealthConnectClient extends jni$_.JObject { r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _deleteRecords$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _deleteRecords$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object deleteRecords(kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -540,16 +588,16 @@ class HealthConnectClient extends jni$_.JObject { final _$kClass = kClass.reference; final _$timeRangeFilter = timeRangeFilter.reference; _deleteRecords$1( - reference.pointer, - _id_deleteRecords$1 as jni$_.JMethodIDPtr, - _$kClass.pointer, - _$timeRangeFilter.pointer, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_deleteRecords$1 as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$timeRangeFilter.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -564,24 +612,31 @@ class HealthConnectClient extends jni$_.JObject { r'(Lkotlin/reflect/KClass;Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _readRecord = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _readRecord = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object readRecord(kotlin.reflect.KClass kClass, java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -594,13 +649,17 @@ class HealthConnectClient extends jni$_.JObject { final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$kClass = kClass.reference; final _$string = string.reference; - _readRecord(reference.pointer, _id_readRecord as jni$_.JMethodIDPtr, - _$kClass.pointer, _$string.pointer, _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + _readRecord( + reference.pointer, + _id_readRecord as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$string.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -615,22 +674,26 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroidx/health/connect/client/request/ReadRecordsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _readRecords = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _readRecords = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object readRecords(androidx.health.connect.client.request.ReadRecordsRequest readRecordsRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -638,19 +701,26 @@ class HealthConnectClient extends jni$_.JObject { ReadRecordsRequest<$T> readRecordsRequest, { jni$_.JObjType<$T>? T, }) async { - T ??= jni$_.lowestCommonSuperType([ - (readRecordsRequest.$type as $ReadRecordsRequest$Type).T, - ]) as jni$_.JObjType<$T>; + T ??= + jni$_.lowestCommonSuperType([ + (readRecordsRequest.$type + as $ReadRecordsRequest$Type) + .T, + ]) + as jni$_.JObjType<$T>; final $p = jni$_.ReceivePort(); final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$readRecordsRequest = readRecordsRequest.reference; - _readRecords(reference.pointer, _id_readRecords as jni$_.JMethodIDPtr, - _$readRecordsRequest.pointer, _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + _readRecords( + reference.pointer, + _id_readRecords as jni$_.JMethodIDPtr, + _$readRecordsRequest.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -665,22 +735,26 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroidx/health/connect/client/request/AggregateRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _aggregate = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object aggregate(androidx.health.connect.client.request.AggregateRequest aggregateRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -690,13 +764,16 @@ class HealthConnectClient extends jni$_.JObject { final $p = jni$_.ReceivePort(); final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$aggregateRequest = aggregateRequest.reference; - _aggregate(reference.pointer, _id_aggregate as jni$_.JMethodIDPtr, - _$aggregateRequest.pointer, _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + _aggregate( + reference.pointer, + _id_aggregate as jni$_.JMethodIDPtr, + _$aggregateRequest.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const $AggregationResult$Type().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -711,22 +788,26 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregateGroupByDuration = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _aggregateGroupByDuration = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object aggregateGroupByDuration(androidx.health.connect.client.request.AggregateGroupByDurationRequest aggregateGroupByDurationRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -738,25 +819,27 @@ class HealthConnectClient extends jni$_.JObject { final _$aggregateGroupByDurationRequest = aggregateGroupByDurationRequest.reference; _aggregateGroupByDuration( - reference.pointer, - _id_aggregateGroupByDuration as jni$_.JMethodIDPtr, - _$aggregateGroupByDurationRequest.pointer, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_aggregateGroupByDuration as jni$_.JMethodIDPtr, + _$aggregateGroupByDurationRequest.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni$_.JListType(jni$_.JObjectType()) - .jClass - .reference; + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); + final $k = + const jni$_.JListType( + jni$_.JObjectType(), + ).jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); throw 'Failed'; } $k.release(); - return const jni$_.JListType(jni$_.JObjectType()) - .fromReference($o); + return const jni$_.JListType( + jni$_.JObjectType(), + ).fromReference($o); } static final _id_aggregateGroupByPeriod = _class.instanceMethodId( @@ -764,22 +847,26 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _aggregateGroupByPeriod = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _aggregateGroupByPeriod = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object aggregateGroupByPeriod(androidx.health.connect.client.request.AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -791,25 +878,27 @@ class HealthConnectClient extends jni$_.JObject { final _$aggregateGroupByPeriodRequest = aggregateGroupByPeriodRequest.reference; _aggregateGroupByPeriod( - reference.pointer, - _id_aggregateGroupByPeriod as jni$_.JMethodIDPtr, - _$aggregateGroupByPeriodRequest.pointer, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_aggregateGroupByPeriod as jni$_.JMethodIDPtr, + _$aggregateGroupByPeriodRequest.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni$_.JListType(jni$_.JObjectType()) - .jClass - .reference; + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); + final $k = + const jni$_.JListType( + jni$_.JObjectType(), + ).jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); throw 'Failed'; } $k.release(); - return const jni$_.JListType(jni$_.JObjectType()) - .fromReference($o); + return const jni$_.JListType( + jni$_.JObjectType(), + ).fromReference($o); } static final _id_getChangesToken = _class.instanceMethodId( @@ -817,22 +906,26 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroidx/health/connect/client/request/ChangesTokenRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getChangesToken = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getChangesToken = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object getChangesToken(androidx.health.connect.client.request.ChangesTokenRequest changesTokenRequest, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -843,15 +936,15 @@ class HealthConnectClient extends jni$_.JObject { final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$changesTokenRequest = changesTokenRequest.reference; _getChangesToken( - reference.pointer, - _id_getChangesToken as jni$_.JMethodIDPtr, - _$changesTokenRequest.pointer, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_getChangesToken as jni$_.JMethodIDPtr, + _$changesTokenRequest.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JStringType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -868,23 +961,29 @@ class HealthConnectClient extends jni$_.JObject { static final _registerForDataNotifications = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object registerForDataNotifications(java.lang.String string, java.lang.Iterable iterable, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -897,16 +996,16 @@ class HealthConnectClient extends jni$_.JObject { final _$string = string.reference; final _$iterable = iterable.reference; _registerForDataNotifications( - reference.pointer, - _id_registerForDataNotifications as jni$_.JMethodIDPtr, - _$string.pointer, - _$iterable.pointer, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_registerForDataNotifications as jni$_.JMethodIDPtr, + _$string.pointer, + _$iterable.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -923,21 +1022,24 @@ class HealthConnectClient extends jni$_.JObject { static final _unregisterFromDataNotifications = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object unregisterFromDataNotifications(java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -948,15 +1050,15 @@ class HealthConnectClient extends jni$_.JObject { final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$string = string.reference; _unregisterFromDataNotifications( - reference.pointer, - _id_unregisterFromDataNotifications as jni$_.JMethodIDPtr, - _$string.pointer, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_unregisterFromDataNotifications as jni$_.JMethodIDPtr, + _$string.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -971,38 +1073,43 @@ class HealthConnectClient extends jni$_.JObject { r'(Ljava/lang/String;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getChanges = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getChanges = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object getChanges(java.lang.String string, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. - core$_.Future getChanges( - jni$_.JString string, - ) async { + core$_.Future getChanges(jni$_.JString string) async { final $p = jni$_.ReceivePort(); final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$string = string.reference; - _getChanges(reference.pointer, _id_getChanges as jni$_.JMethodIDPtr, - _$string.pointer, _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + _getChanges( + reference.pointer, + _id_getChanges as jni$_.JMethodIDPtr, + _$string.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -1017,36 +1124,37 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroid/content/Context;Ljava/util/List;)Z', ); - static final _isAvailable = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isAvailable = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `static public boolean isAvailable(android.content.Context context, java.util.List list)` - static bool isAvailable( - Context context, - jni$_.JList list, - ) { + static bool isAvailable(Context context, jni$_.JList list) { final _$context = context.reference; final _$list = list.reference; return _isAvailable( - _class.reference.pointer, - _id_isAvailable as jni$_.JMethodIDPtr, - _$context.pointer, - _$list.pointer) - .boolean; + _class.reference.pointer, + _id_isAvailable as jni$_.JMethodIDPtr, + _$context.pointer, + _$list.pointer, + ).boolean; } static final _id_getOrCreate = _class.staticMethodId( @@ -1054,22 +1162,26 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroid/content/Context;Ljava/util/List;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getOrCreate = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `static public androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context, java.util.List list)` /// The returned object must be released after use, by calling the [release] method. @@ -1080,11 +1192,11 @@ class HealthConnectClient extends jni$_.JObject { final _$context = context.reference; final _$list = list.reference; return _getOrCreate( - _class.reference.pointer, - _id_getOrCreate as jni$_.JMethodIDPtr, - _$context.pointer, - _$list.pointer) - .object(const $HealthConnectClient$Type()); + _class.reference.pointer, + _id_getOrCreate as jni$_.JMethodIDPtr, + _$context.pointer, + _$list.pointer, + ).object(const $HealthConnectClient$Type()); } static final _id_isAvailable$1 = _class.staticMethodId( @@ -1092,25 +1204,32 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroid/content/Context;)Z', ); - static final _isAvailable$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _isAvailable$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public boolean isAvailable(android.content.Context context)` - static bool isAvailable$1( - Context context, - ) { + static bool isAvailable$1(Context context) { final _$context = context.reference; - return _isAvailable$1(_class.reference.pointer, - _id_isAvailable$1 as jni$_.JMethodIDPtr, _$context.pointer) - .boolean; + return _isAvailable$1( + _class.reference.pointer, + _id_isAvailable$1 as jni$_.JMethodIDPtr, + _$context.pointer, + ).boolean; } static final _id_getOrCreate$1 = _class.staticMethodId( @@ -1118,26 +1237,33 @@ class HealthConnectClient extends jni$_.JObject { r'(Landroid/content/Context;)Landroidx/health/connect/client/HealthConnectClient;', ); - static final _getOrCreate$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getOrCreate$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public androidx.health.connect.client.HealthConnectClient getOrCreate(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. - static HealthConnectClient getOrCreate$1( - Context context, - ) { + static HealthConnectClient getOrCreate$1(Context context) { final _$context = context.reference; - return _getOrCreate$1(_class.reference.pointer, - _id_getOrCreate$1 as jni$_.JMethodIDPtr, _$context.pointer) - .object(const $HealthConnectClient$Type()); + return _getOrCreate$1( + _class.reference.pointer, + _id_getOrCreate$1 as jni$_.JMethodIDPtr, + _$context.pointer, + ).object(const $HealthConnectClient$Type()); } /// Maps a specific port to the implemented interface. @@ -1149,19 +1275,16 @@ class HealthConnectClient extends jni$_.JObject { ) { return _$invokeMethod( port, - jni$_.MethodInvocation.fromAddresses( - 0, - descriptor.address, - args.address, - ), + jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address), ); } static final jni$_.Pointer< - jni$_.NativeFunction< - jni$_.JObjectPtr Function( - jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> - _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); + jni$_.NativeFunction< + jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr) + > + > + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); static jni$_.Pointer _$invokeMethod( int $p, @@ -1183,9 +1306,9 @@ class HealthConnectClient extends jni$_.JObject { r'insertRecords(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.insertRecords( $a![0]!.as( - const jni$_.JListType( - jni$_.JObjectNullableType()), - releaseOriginal: true), + const jni$_.JListType(jni$_.JObjectNullableType()), + releaseOriginal: true, + ), $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); return ($r as jni$_.JObject?) @@ -1198,9 +1321,9 @@ class HealthConnectClient extends jni$_.JObject { r'updateRecords(Ljava/util/List;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.updateRecords( $a![0]!.as( - const jni$_.JListType( - jni$_.JObjectNullableType()), - releaseOriginal: true), + const jni$_.JListType(jni$_.JObjectNullableType()), + releaseOriginal: true, + ), $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); return ($r as jni$_.JObject?) @@ -1214,13 +1337,13 @@ class HealthConnectClient extends jni$_.JObject { final $r = _$impls[$p]!.deleteRecords( $a![0]!.as(const jni$_.JObjectType(), releaseOriginal: true), $a![1]!.as( - const jni$_.JListType( - jni$_.JStringNullableType()), - releaseOriginal: true), + const jni$_.JListType(jni$_.JStringNullableType()), + releaseOriginal: true, + ), $a![2]!.as( - const jni$_.JListType( - jni$_.JStringNullableType()), - releaseOriginal: true), + const jni$_.JListType(jni$_.JStringNullableType()), + releaseOriginal: true, + ), $a![3]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); return ($r as jni$_.JObject?) @@ -1259,9 +1382,9 @@ class HealthConnectClient extends jni$_.JObject { r'readRecords(Landroidx/health/connect/client/request/ReadRecordsRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.readRecords( $a![0]!.as( - const $ReadRecordsRequest$Type( - jni$_.JObjectType()), - releaseOriginal: true), + const $ReadRecordsRequest$Type(jni$_.JObjectType()), + releaseOriginal: true, + ), $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); return ($r as jni$_.JObject?) @@ -1285,8 +1408,10 @@ class HealthConnectClient extends jni$_.JObject { if ($d == r'aggregateGroupByDuration(Landroidx/health/connect/client/request/AggregateGroupByDurationRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.aggregateGroupByDuration( - $a![0]!.as(const $AggregateGroupByDurationRequest$Type(), - releaseOriginal: true), + $a![0]!.as( + const $AggregateGroupByDurationRequest$Type(), + releaseOriginal: true, + ), $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); return ($r as jni$_.JObject?) @@ -1298,8 +1423,10 @@ class HealthConnectClient extends jni$_.JObject { if ($d == r'aggregateGroupByPeriod(Landroidx/health/connect/client/request/AggregateGroupByPeriodRequest;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.aggregateGroupByPeriod( - $a![0]!.as(const $AggregateGroupByPeriodRequest$Type(), - releaseOriginal: true), + $a![0]!.as( + const $AggregateGroupByPeriodRequest$Type(), + releaseOriginal: true, + ), $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); return ($r as jni$_.JObject?) @@ -1361,9 +1488,9 @@ class HealthConnectClient extends jni$_.JObject { final $r = _$impls[$p]!.isAvailable( $a![0]!.as(const $Context$Type(), releaseOriginal: true), $a![1]!.as( - const jni$_.JListType( - jni$_.JStringNullableType()), - releaseOriginal: true), + const jni$_.JListType(jni$_.JStringNullableType()), + releaseOriginal: true, + ), ); return jni$_.JBoolean($r).reference.toPointer(); } @@ -1372,9 +1499,9 @@ class HealthConnectClient extends jni$_.JObject { final $r = _$impls[$p]!.getOrCreate( $a![0]!.as(const $Context$Type(), releaseOriginal: true), $a![1]!.as( - const jni$_.JListType( - jni$_.JStringNullableType()), - releaseOriginal: true), + const jni$_.JListType(jni$_.JStringNullableType()), + releaseOriginal: true, + ), ); return ($r as jni$_.JObject?) ?.as(const jni$_.JObjectType()) @@ -1430,14 +1557,10 @@ class HealthConnectClient extends jni$_.JObject { _$impls[$a] = $impl; } - factory HealthConnectClient.implement( - $HealthConnectClient $impl, - ) { + factory HealthConnectClient.implement($HealthConnectClient $impl) { final $i = jni$_.JImplementer(); implementIn($i, $impl); - return HealthConnectClient.fromReference( - $i.implementReference(), - ); + return HealthConnectClient.fromReference($i.implementReference()); } } @@ -1445,94 +1568,146 @@ abstract base mixin class $HealthConnectClient { factory $HealthConnectClient({ required PermissionController Function() getPermissionController, required jni$_.JObject Function( - jni$_.JList list, jni$_.JObject continuation) - insertRecords, + jni$_.JList list, + jni$_.JObject continuation, + ) + insertRecords, + required jni$_.JObject Function( + jni$_.JList list, + jni$_.JObject continuation, + ) + updateRecords, + required jni$_.JObject Function( + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation, + ) + deleteRecords, + required jni$_.JObject Function( + jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, + jni$_.JObject continuation, + ) + deleteRecords$1, required jni$_.JObject Function( - jni$_.JList list, jni$_.JObject continuation) - updateRecords, + jni$_.JObject kClass, + jni$_.JString string, + jni$_.JObject continuation, + ) + readRecord, required jni$_.JObject Function( - jni$_.JObject kClass, - jni$_.JList list, - jni$_.JList list1, - jni$_.JObject continuation) - deleteRecords, - required jni$_.JObject Function(jni$_.JObject kClass, - TimeRangeFilter timeRangeFilter, jni$_.JObject continuation) - deleteRecords$1, - required jni$_.JObject Function(jni$_.JObject kClass, jni$_.JString string, - jni$_.JObject continuation) - readRecord, + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation, + ) + readRecords, required jni$_.JObject Function( - ReadRecordsRequest readRecordsRequest, - jni$_.JObject continuation) - readRecords, + AggregateRequest aggregateRequest, + jni$_.JObject continuation, + ) + aggregate, required jni$_.JObject Function( - AggregateRequest aggregateRequest, jni$_.JObject continuation) - aggregate, + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + jni$_.JObject continuation, + ) + aggregateGroupByDuration, required jni$_.JObject Function( - AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - jni$_.JObject continuation) - aggregateGroupByDuration, + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + jni$_.JObject continuation, + ) + aggregateGroupByPeriod, required jni$_.JObject Function( - AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - jni$_.JObject continuation) - aggregateGroupByPeriod, + ChangesTokenRequest changesTokenRequest, + jni$_.JObject continuation, + ) + getChangesToken, required jni$_.JObject Function( - ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation) - getChangesToken, - required jni$_.JObject Function(jni$_.JString string, - jni$_.JObject iterable, jni$_.JObject continuation) - registerForDataNotifications, + jni$_.JString string, + jni$_.JObject iterable, + jni$_.JObject continuation, + ) + registerForDataNotifications, required jni$_.JObject Function( - jni$_.JString string, jni$_.JObject continuation) - unregisterFromDataNotifications, + jni$_.JString string, + jni$_.JObject continuation, + ) + unregisterFromDataNotifications, required jni$_.JObject Function( - jni$_.JString string, jni$_.JObject continuation) - getChanges, + jni$_.JString string, + jni$_.JObject continuation, + ) + getChanges, required bool Function(Context context, jni$_.JList list) - isAvailable, + isAvailable, required HealthConnectClient Function( - Context context, jni$_.JList list) - getOrCreate, + Context context, + jni$_.JList list, + ) + getOrCreate, required bool Function(Context context) isAvailable$1, required HealthConnectClient Function(Context context) getOrCreate$1, }) = _$HealthConnectClient; PermissionController getPermissionController(); jni$_.JObject insertRecords( - jni$_.JList list, jni$_.JObject continuation); + jni$_.JList list, + jni$_.JObject continuation, + ); jni$_.JObject updateRecords( - jni$_.JList list, jni$_.JObject continuation); + jni$_.JList list, + jni$_.JObject continuation, + ); jni$_.JObject deleteRecords( - jni$_.JObject kClass, - jni$_.JList list, - jni$_.JList list1, - jni$_.JObject continuation); - jni$_.JObject deleteRecords$1(jni$_.JObject kClass, - TimeRangeFilter timeRangeFilter, jni$_.JObject continuation); + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation, + ); + jni$_.JObject deleteRecords$1( + jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, + jni$_.JObject continuation, + ); jni$_.JObject readRecord( - jni$_.JObject kClass, jni$_.JString string, jni$_.JObject continuation); + jni$_.JObject kClass, + jni$_.JString string, + jni$_.JObject continuation, + ); jni$_.JObject readRecords( - ReadRecordsRequest readRecordsRequest, - jni$_.JObject continuation); + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation, + ); jni$_.JObject aggregate( - AggregateRequest aggregateRequest, jni$_.JObject continuation); + AggregateRequest aggregateRequest, + jni$_.JObject continuation, + ); jni$_.JObject aggregateGroupByDuration( - AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - jni$_.JObject continuation); + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + jni$_.JObject continuation, + ); jni$_.JObject aggregateGroupByPeriod( - AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - jni$_.JObject continuation); + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + jni$_.JObject continuation, + ); jni$_.JObject getChangesToken( - ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation); + ChangesTokenRequest changesTokenRequest, + jni$_.JObject continuation, + ); jni$_.JObject registerForDataNotifications( - jni$_.JString string, jni$_.JObject iterable, jni$_.JObject continuation); + jni$_.JString string, + jni$_.JObject iterable, + jni$_.JObject continuation, + ); jni$_.JObject unregisterFromDataNotifications( - jni$_.JString string, jni$_.JObject continuation); + jni$_.JString string, + jni$_.JObject continuation, + ); jni$_.JObject getChanges(jni$_.JString string, jni$_.JObject continuation); bool isAvailable(Context context, jni$_.JList list); HealthConnectClient getOrCreate( - Context context, jni$_.JList list); + Context context, + jni$_.JList list, + ); bool isAvailable$1(Context context); HealthConnectClient getOrCreate$1(Context context); } @@ -1541,118 +1716,175 @@ final class _$HealthConnectClient with $HealthConnectClient { _$HealthConnectClient({ required PermissionController Function() getPermissionController, required jni$_.JObject Function( - jni$_.JList list, jni$_.JObject continuation) - insertRecords, + jni$_.JList list, + jni$_.JObject continuation, + ) + insertRecords, + required jni$_.JObject Function( + jni$_.JList list, + jni$_.JObject continuation, + ) + updateRecords, + required jni$_.JObject Function( + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation, + ) + deleteRecords, + required jni$_.JObject Function( + jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, + jni$_.JObject continuation, + ) + deleteRecords$1, required jni$_.JObject Function( - jni$_.JList list, jni$_.JObject continuation) - updateRecords, + jni$_.JObject kClass, + jni$_.JString string, + jni$_.JObject continuation, + ) + readRecord, required jni$_.JObject Function( - jni$_.JObject kClass, - jni$_.JList list, - jni$_.JList list1, - jni$_.JObject continuation) - deleteRecords, - required jni$_.JObject Function(jni$_.JObject kClass, - TimeRangeFilter timeRangeFilter, jni$_.JObject continuation) - deleteRecords$1, - required jni$_.JObject Function(jni$_.JObject kClass, jni$_.JString string, - jni$_.JObject continuation) - readRecord, + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation, + ) + readRecords, required jni$_.JObject Function( - ReadRecordsRequest readRecordsRequest, - jni$_.JObject continuation) - readRecords, + AggregateRequest aggregateRequest, + jni$_.JObject continuation, + ) + aggregate, required jni$_.JObject Function( - AggregateRequest aggregateRequest, jni$_.JObject continuation) - aggregate, + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + jni$_.JObject continuation, + ) + aggregateGroupByDuration, required jni$_.JObject Function( - AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - jni$_.JObject continuation) - aggregateGroupByDuration, + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + jni$_.JObject continuation, + ) + aggregateGroupByPeriod, required jni$_.JObject Function( - AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - jni$_.JObject continuation) - aggregateGroupByPeriod, + ChangesTokenRequest changesTokenRequest, + jni$_.JObject continuation, + ) + getChangesToken, required jni$_.JObject Function( - ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation) - getChangesToken, - required jni$_.JObject Function(jni$_.JString string, - jni$_.JObject iterable, jni$_.JObject continuation) - registerForDataNotifications, + jni$_.JString string, + jni$_.JObject iterable, + jni$_.JObject continuation, + ) + registerForDataNotifications, required jni$_.JObject Function( - jni$_.JString string, jni$_.JObject continuation) - unregisterFromDataNotifications, + jni$_.JString string, + jni$_.JObject continuation, + ) + unregisterFromDataNotifications, required jni$_.JObject Function( - jni$_.JString string, jni$_.JObject continuation) - getChanges, + jni$_.JString string, + jni$_.JObject continuation, + ) + getChanges, required bool Function(Context context, jni$_.JList list) - isAvailable, + isAvailable, required HealthConnectClient Function( - Context context, jni$_.JList list) - getOrCreate, + Context context, + jni$_.JList list, + ) + getOrCreate, required bool Function(Context context) isAvailable$1, required HealthConnectClient Function(Context context) getOrCreate$1, - }) : _getPermissionController = getPermissionController, - _insertRecords = insertRecords, - _updateRecords = updateRecords, - _deleteRecords = deleteRecords, - _deleteRecords$1 = deleteRecords$1, - _readRecord = readRecord, - _readRecords = readRecords, - _aggregate = aggregate, - _aggregateGroupByDuration = aggregateGroupByDuration, - _aggregateGroupByPeriod = aggregateGroupByPeriod, - _getChangesToken = getChangesToken, - _registerForDataNotifications = registerForDataNotifications, - _unregisterFromDataNotifications = unregisterFromDataNotifications, - _getChanges = getChanges, - _isAvailable = isAvailable, - _getOrCreate = getOrCreate, - _isAvailable$1 = isAvailable$1, - _getOrCreate$1 = getOrCreate$1; + }) : _getPermissionController = getPermissionController, + _insertRecords = insertRecords, + _updateRecords = updateRecords, + _deleteRecords = deleteRecords, + _deleteRecords$1 = deleteRecords$1, + _readRecord = readRecord, + _readRecords = readRecords, + _aggregate = aggregate, + _aggregateGroupByDuration = aggregateGroupByDuration, + _aggregateGroupByPeriod = aggregateGroupByPeriod, + _getChangesToken = getChangesToken, + _registerForDataNotifications = registerForDataNotifications, + _unregisterFromDataNotifications = unregisterFromDataNotifications, + _getChanges = getChanges, + _isAvailable = isAvailable, + _getOrCreate = getOrCreate, + _isAvailable$1 = isAvailable$1, + _getOrCreate$1 = getOrCreate$1; final PermissionController Function() _getPermissionController; final jni$_.JObject Function( - jni$_.JList list, jni$_.JObject continuation) - _insertRecords; + jni$_.JList list, + jni$_.JObject continuation, + ) + _insertRecords; final jni$_.JObject Function( - jni$_.JList list, jni$_.JObject continuation) - _updateRecords; + jni$_.JList list, + jni$_.JObject continuation, + ) + _updateRecords; final jni$_.JObject Function( - jni$_.JObject kClass, - jni$_.JList list, - jni$_.JList list1, - jni$_.JObject continuation) _deleteRecords; + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation, + ) + _deleteRecords; final jni$_.JObject Function( - jni$_.JObject kClass, - TimeRangeFilter timeRangeFilter, - jni$_.JObject continuation) _deleteRecords$1; - final jni$_.JObject Function(jni$_.JObject kClass, jni$_.JString string, - jni$_.JObject continuation) _readRecord; + jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, + jni$_.JObject continuation, + ) + _deleteRecords$1; final jni$_.JObject Function( - ReadRecordsRequest readRecordsRequest, - jni$_.JObject continuation) _readRecords; + jni$_.JObject kClass, + jni$_.JString string, + jni$_.JObject continuation, + ) + _readRecord; final jni$_.JObject Function( - AggregateRequest aggregateRequest, jni$_.JObject continuation) _aggregate; + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation, + ) + _readRecords; final jni$_.JObject Function( - AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - jni$_.JObject continuation) _aggregateGroupByDuration; + AggregateRequest aggregateRequest, + jni$_.JObject continuation, + ) + _aggregate; final jni$_.JObject Function( - AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - jni$_.JObject continuation) _aggregateGroupByPeriod; + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + jni$_.JObject continuation, + ) + _aggregateGroupByDuration; + final jni$_.JObject Function( + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + jni$_.JObject continuation, + ) + _aggregateGroupByPeriod; final jni$_.JObject Function( - ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation) - _getChangesToken; - final jni$_.JObject Function(jni$_.JString string, jni$_.JObject iterable, - jni$_.JObject continuation) _registerForDataNotifications; + ChangesTokenRequest changesTokenRequest, + jni$_.JObject continuation, + ) + _getChangesToken; + final jni$_.JObject Function( + jni$_.JString string, + jni$_.JObject iterable, + jni$_.JObject continuation, + ) + _registerForDataNotifications; final jni$_.JObject Function(jni$_.JString string, jni$_.JObject continuation) - _unregisterFromDataNotifications; + _unregisterFromDataNotifications; final jni$_.JObject Function(jni$_.JString string, jni$_.JObject continuation) - _getChanges; + _getChanges; final bool Function(Context context, jni$_.JList list) - _isAvailable; + _isAvailable; final HealthConnectClient Function( - Context context, jni$_.JList list) _getOrCreate; + Context context, + jni$_.JList list, + ) + _getOrCreate; final bool Function(Context context) _isAvailable$1; final HealthConnectClient Function(Context context) _getOrCreate$1; @@ -1661,69 +1893,94 @@ final class _$HealthConnectClient with $HealthConnectClient { } jni$_.JObject insertRecords( - jni$_.JList list, jni$_.JObject continuation) { + jni$_.JList list, + jni$_.JObject continuation, + ) { return _insertRecords(list, continuation); } jni$_.JObject updateRecords( - jni$_.JList list, jni$_.JObject continuation) { + jni$_.JList list, + jni$_.JObject continuation, + ) { return _updateRecords(list, continuation); } jni$_.JObject deleteRecords( - jni$_.JObject kClass, - jni$_.JList list, - jni$_.JList list1, - jni$_.JObject continuation) { + jni$_.JObject kClass, + jni$_.JList list, + jni$_.JList list1, + jni$_.JObject continuation, + ) { return _deleteRecords(kClass, list, list1, continuation); } - jni$_.JObject deleteRecords$1(jni$_.JObject kClass, - TimeRangeFilter timeRangeFilter, jni$_.JObject continuation) { + jni$_.JObject deleteRecords$1( + jni$_.JObject kClass, + TimeRangeFilter timeRangeFilter, + jni$_.JObject continuation, + ) { return _deleteRecords$1(kClass, timeRangeFilter, continuation); } jni$_.JObject readRecord( - jni$_.JObject kClass, jni$_.JString string, jni$_.JObject continuation) { + jni$_.JObject kClass, + jni$_.JString string, + jni$_.JObject continuation, + ) { return _readRecord(kClass, string, continuation); } jni$_.JObject readRecords( - ReadRecordsRequest readRecordsRequest, - jni$_.JObject continuation) { + ReadRecordsRequest readRecordsRequest, + jni$_.JObject continuation, + ) { return _readRecords(readRecordsRequest, continuation); } jni$_.JObject aggregate( - AggregateRequest aggregateRequest, jni$_.JObject continuation) { + AggregateRequest aggregateRequest, + jni$_.JObject continuation, + ) { return _aggregate(aggregateRequest, continuation); } jni$_.JObject aggregateGroupByDuration( - AggregateGroupByDurationRequest aggregateGroupByDurationRequest, - jni$_.JObject continuation) { + AggregateGroupByDurationRequest aggregateGroupByDurationRequest, + jni$_.JObject continuation, + ) { return _aggregateGroupByDuration( - aggregateGroupByDurationRequest, continuation); + aggregateGroupByDurationRequest, + continuation, + ); } jni$_.JObject aggregateGroupByPeriod( - AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, - jni$_.JObject continuation) { + AggregateGroupByPeriodRequest aggregateGroupByPeriodRequest, + jni$_.JObject continuation, + ) { return _aggregateGroupByPeriod(aggregateGroupByPeriodRequest, continuation); } jni$_.JObject getChangesToken( - ChangesTokenRequest changesTokenRequest, jni$_.JObject continuation) { + ChangesTokenRequest changesTokenRequest, + jni$_.JObject continuation, + ) { return _getChangesToken(changesTokenRequest, continuation); } - jni$_.JObject registerForDataNotifications(jni$_.JString string, - jni$_.JObject iterable, jni$_.JObject continuation) { + jni$_.JObject registerForDataNotifications( + jni$_.JString string, + jni$_.JObject iterable, + jni$_.JObject continuation, + ) { return _registerForDataNotifications(string, iterable, continuation); } jni$_.JObject unregisterFromDataNotifications( - jni$_.JString string, jni$_.JObject continuation) { + jni$_.JString string, + jni$_.JObject continuation, + ) { return _unregisterFromDataNotifications(string, continuation); } @@ -1736,7 +1993,9 @@ final class _$HealthConnectClient with $HealthConnectClient { } HealthConnectClient getOrCreate( - Context context, jni$_.JList list) { + Context context, + jni$_.JList list, + ) { return _getOrCreate(context, list); } @@ -1762,11 +2021,7 @@ final class $HealthConnectClient$NullableType @jni$_.internal @core$_.override HealthConnectClient? fromReference(jni$_.JReference reference) => - reference.isNull - ? null - : HealthConnectClient.fromReference( - reference, - ); + reference.isNull ? null : HealthConnectClient.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -1802,9 +2057,7 @@ final class $HealthConnectClient$Type @jni$_.internal @core$_.override HealthConnectClient fromReference(jni$_.JReference reference) => - HealthConnectClient.fromReference( - reference, - ); + HealthConnectClient.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -1835,73 +2088,80 @@ class PermissionController$Companion extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - PermissionController$Companion.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + PermissionController$Companion.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/PermissionController$Companion'); + r'androidx/health/connect/client/PermissionController$Companion', + ); /// The type which includes information such as the signature of this class. static const nullableType = $PermissionController$Companion$NullableType(); static const type = $PermissionController$Companion$Type(); - static final _id_createRequestPermissionResultContract = - _class.instanceMethodId( + static final _id_createRequestPermissionResultContract = _class.instanceMethodId( r'createRequestPermissionResultContract', r'(Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract;', ); static final _createRequestPermissionResultContract = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject createRequestPermissionResultContract( - jni$_.JString string, - ) { + jni$_.JObject createRequestPermissionResultContract(jni$_.JString string) { final _$string = string.reference; return _createRequestPermissionResultContract( - reference.pointer, - _id_createRequestPermissionResultContract as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const jni$_.JObjectType()); + reference.pointer, + _id_createRequestPermissionResultContract as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectType()); } - static final _id_createRequestPermissionResultContract$1 = - _class.instanceMethodId( - r'createRequestPermissionResultContract', - r'()Landroidx/activity/result/contract/ActivityResultContract;', - ); + static final _id_createRequestPermissionResultContract$1 = _class + .instanceMethodId( + r'createRequestPermissionResultContract', + r'()Landroidx/activity/result/contract/ActivityResultContract;', + ); static final _createRequestPermissionResultContract$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject createRequestPermissionResultContract$1() { - return _createRequestPermissionResultContract$1(reference.pointer, - _id_createRequestPermissionResultContract$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + return _createRequestPermissionResultContract$1( + reference.pointer, + _id_createRequestPermissionResultContract$1 as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectType()); } } @@ -1920,9 +2180,7 @@ final class $PermissionController$Companion$NullableType PermissionController$Companion? fromReference(jni$_.JReference reference) => reference.isNull ? null - : PermissionController$Companion.fromReference( - reference, - ); + : PermissionController$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -1959,9 +2217,7 @@ final class $PermissionController$Companion$Type @jni$_.internal @core$_.override PermissionController$Companion fromReference(jni$_.JReference reference) => - PermissionController$Companion.fromReference( - reference, - ); + PermissionController$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -1992,13 +2248,13 @@ class PermissionController extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - PermissionController.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + PermissionController.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/PermissionController'); + r'androidx/health/connect/client/PermissionController', + ); /// The type which includes information such as the signature of this class. static const nullableType = $PermissionController$NullableType(); @@ -2018,22 +2274,26 @@ class PermissionController extends jni$_.JObject { r'(Ljava/util/Set;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _getGrantedPermissions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getGrantedPermissions = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object getGrantedPermissions(java.util.Set set, kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -2044,25 +2304,27 @@ class PermissionController extends jni$_.JObject { final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); final _$set = set.reference; _getGrantedPermissions( - reference.pointer, - _id_getGrantedPermissions as jni$_.JMethodIDPtr, - _$set.pointer, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_getGrantedPermissions as jni$_.JMethodIDPtr, + _$set.pointer, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); - final $k = const jni$_.JSetType(jni$_.JObjectType()) - .jClass - .reference; + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); + final $k = + const jni$_.JSetType( + jni$_.JObjectType(), + ).jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); throw 'Failed'; } $k.release(); - return const jni$_.JSetType(jni$_.JObjectType()) - .fromReference($o); + return const jni$_.JSetType( + jni$_.JObjectType(), + ).fromReference($o); } static final _id_revokeAllPermissions = _class.instanceMethodId( @@ -2070,16 +2332,23 @@ class PermissionController extends jni$_.JObject { r'(Lkotlin/coroutines/Continuation;)Ljava/lang/Object;', ); - static final _revokeAllPermissions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _revokeAllPermissions = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object revokeAllPermissions(kotlin.coroutines.Continuation continuation)` /// The returned object must be released after use, by calling the [release] method. @@ -2088,14 +2357,14 @@ class PermissionController extends jni$_.JObject { final _$continuation = jni$_.ProtectedJniExtensions.newPortContinuation($p); _revokeAllPermissions( - reference.pointer, - _id_revokeAllPermissions as jni$_.JMethodIDPtr, - _$continuation.pointer) - .object(const jni$_.JObjectType()) - .release(); + reference.pointer, + _id_revokeAllPermissions as jni$_.JMethodIDPtr, + _$continuation.pointer, + ).object(const jni$_.JObjectType()).release(); _$continuation.release(); - final $o = - jni$_.JGlobalReference(jni$_.JObjectPtr.fromAddress(await $p.first)); + final $o = jni$_.JGlobalReference( + jni$_.JObjectPtr.fromAddress(await $p.first), + ); final $k = const jni$_.JObjectType().jClass.reference; if (!jni$_.Jni.env.IsInstanceOf($o.pointer, $k.pointer)) { $k.release(); @@ -2105,23 +2374,28 @@ class PermissionController extends jni$_.JObject { return const jni$_.JObjectType().fromReference($o); } - static final _id_createRequestPermissionResultContract = - _class.staticMethodId( + static final _id_createRequestPermissionResultContract = _class.staticMethodId( r'createRequestPermissionResultContract', r'(Ljava/lang/String;)Landroidx/activity/result/contract/ActivityResultContract;', ); static final _createRequestPermissionResultContract = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. @@ -2130,37 +2404,41 @@ class PermissionController extends jni$_.JObject { ) { final _$string = string.reference; return _createRequestPermissionResultContract( - _class.reference.pointer, - _id_createRequestPermissionResultContract as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const jni$_.JObjectType()); + _class.reference.pointer, + _id_createRequestPermissionResultContract as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectType()); } - static final _id_createRequestPermissionResultContract$1 = - _class.staticMethodId( - r'createRequestPermissionResultContract', - r'()Landroidx/activity/result/contract/ActivityResultContract;', - ); + static final _id_createRequestPermissionResultContract$1 = _class + .staticMethodId( + r'createRequestPermissionResultContract', + r'()Landroidx/activity/result/contract/ActivityResultContract;', + ); static final _createRequestPermissionResultContract$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallStaticObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `static public androidx.activity.result.contract.ActivityResultContract createRequestPermissionResultContract()` /// The returned object must be released after use, by calling the [release] method. static jni$_.JObject createRequestPermissionResultContract$1() { - return _createRequestPermissionResultContract$1(_class.reference.pointer, - _id_createRequestPermissionResultContract$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + return _createRequestPermissionResultContract$1( + _class.reference.pointer, + _id_createRequestPermissionResultContract$1 as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectType()); } /// Maps a specific port to the implemented interface. @@ -2172,19 +2450,16 @@ class PermissionController extends jni$_.JObject { ) { return _$invokeMethod( port, - jni$_.MethodInvocation.fromAddresses( - 0, - descriptor.address, - args.address, - ), + jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address), ); } static final jni$_.Pointer< - jni$_.NativeFunction< - jni$_.JObjectPtr Function( - jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> - _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); + jni$_.NativeFunction< + jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr) + > + > + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); static jni$_.Pointer _$invokeMethod( int $p, @@ -2197,8 +2472,9 @@ class PermissionController extends jni$_.JObject { r'getGrantedPermissions(Ljava/util/Set;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;') { final $r = _$impls[$p]!.getGrantedPermissions( $a![0]!.as( - const jni$_.JSetType(jni$_.JObjectNullableType()), - releaseOriginal: true), + const jni$_.JSetType(jni$_.JObjectNullableType()), + releaseOriginal: true, + ), $a![1]!.as(const jni$_.JObjectType(), releaseOriginal: true), ); return ($r as jni$_.JObject?) @@ -2269,31 +2545,31 @@ class PermissionController extends jni$_.JObject { _$impls[$a] = $impl; } - factory PermissionController.implement( - $PermissionController $impl, - ) { + factory PermissionController.implement($PermissionController $impl) { final $i = jni$_.JImplementer(); implementIn($i, $impl); - return PermissionController.fromReference( - $i.implementReference(), - ); + return PermissionController.fromReference($i.implementReference()); } } abstract base mixin class $PermissionController { factory $PermissionController({ required jni$_.JObject Function( - jni$_.JSet set, jni$_.JObject continuation) - getGrantedPermissions, + jni$_.JSet set, + jni$_.JObject continuation, + ) + getGrantedPermissions, required jni$_.JObject Function(jni$_.JObject continuation) - revokeAllPermissions, + revokeAllPermissions, required jni$_.JObject Function(jni$_.JString string) - createRequestPermissionResultContract, + createRequestPermissionResultContract, required jni$_.JObject Function() createRequestPermissionResultContract$1, }) = _$PermissionController; jni$_.JObject getGrantedPermissions( - jni$_.JSet set, jni$_.JObject continuation); + jni$_.JSet set, + jni$_.JObject continuation, + ); jni$_.JObject revokeAllPermissions(jni$_.JObject continuation); jni$_.JObject createRequestPermissionResultContract(jni$_.JString string); jni$_.JObject createRequestPermissionResultContract$1(); @@ -2302,31 +2578,37 @@ abstract base mixin class $PermissionController { final class _$PermissionController with $PermissionController { _$PermissionController({ required jni$_.JObject Function( - jni$_.JSet set, jni$_.JObject continuation) - getGrantedPermissions, + jni$_.JSet set, + jni$_.JObject continuation, + ) + getGrantedPermissions, required jni$_.JObject Function(jni$_.JObject continuation) - revokeAllPermissions, + revokeAllPermissions, required jni$_.JObject Function(jni$_.JString string) - createRequestPermissionResultContract, + createRequestPermissionResultContract, required jni$_.JObject Function() createRequestPermissionResultContract$1, - }) : _getGrantedPermissions = getGrantedPermissions, - _revokeAllPermissions = revokeAllPermissions, - _createRequestPermissionResultContract = - createRequestPermissionResultContract, - _createRequestPermissionResultContract$1 = - createRequestPermissionResultContract$1; + }) : _getGrantedPermissions = getGrantedPermissions, + _revokeAllPermissions = revokeAllPermissions, + _createRequestPermissionResultContract = + createRequestPermissionResultContract, + _createRequestPermissionResultContract$1 = + createRequestPermissionResultContract$1; final jni$_.JObject Function( - jni$_.JSet set, jni$_.JObject continuation) - _getGrantedPermissions; + jni$_.JSet set, + jni$_.JObject continuation, + ) + _getGrantedPermissions; final jni$_.JObject Function(jni$_.JObject continuation) - _revokeAllPermissions; + _revokeAllPermissions; final jni$_.JObject Function(jni$_.JString string) - _createRequestPermissionResultContract; + _createRequestPermissionResultContract; final jni$_.JObject Function() _createRequestPermissionResultContract$1; jni$_.JObject getGrantedPermissions( - jni$_.JSet set, jni$_.JObject continuation) { + jni$_.JSet set, + jni$_.JObject continuation, + ) { return _getGrantedPermissions(set, continuation); } @@ -2356,11 +2638,7 @@ final class $PermissionController$NullableType @jni$_.internal @core$_.override PermissionController? fromReference(jni$_.JReference reference) => - reference.isNull - ? null - : PermissionController.fromReference( - reference, - ); + reference.isNull ? null : PermissionController.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -2396,9 +2674,7 @@ final class $PermissionController$Type @jni$_.internal @core$_.override PermissionController fromReference(jni$_.JReference reference) => - PermissionController.fromReference( - reference, - ); + PermissionController.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -2429,13 +2705,13 @@ class StepsRecord$Companion extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - StepsRecord$Companion.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + StepsRecord$Companion.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/records/StepsRecord$Companion'); + r'androidx/health/connect/client/records/StepsRecord$Companion', + ); /// The type which includes information such as the signature of this class. static const nullableType = $StepsRecord$Companion$NullableType(); @@ -2444,27 +2720,36 @@ class StepsRecord$Companion extends jni$_.JObject { r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory StepsRecord$Companion( - jni$_.JObject? defaultConstructorMarker, - ) { + factory StepsRecord$Companion(jni$_.JObject? defaultConstructorMarker) { final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return StepsRecord$Companion.fromReference(_new$(_class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, _$defaultConstructorMarker.pointer) - .reference); + return StepsRecord$Companion.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$defaultConstructorMarker.pointer, + ).reference, + ); } } @@ -2481,11 +2766,7 @@ final class $StepsRecord$Companion$NullableType @jni$_.internal @core$_.override StepsRecord$Companion? fromReference(jni$_.JReference reference) => - reference.isNull - ? null - : StepsRecord$Companion.fromReference( - reference, - ); + reference.isNull ? null : StepsRecord$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -2521,9 +2802,7 @@ final class $StepsRecord$Companion$Type @jni$_.internal @core$_.override StepsRecord$Companion fromReference(jni$_.JReference reference) => - StepsRecord$Companion.fromReference( - reference, - ); + StepsRecord$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -2554,13 +2833,13 @@ class StepsRecord extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - StepsRecord.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + StepsRecord.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/records/StepsRecord'); + r'androidx/health/connect/client/records/StepsRecord', + ); /// The type which includes information such as the signature of this class. static const nullableType = $StepsRecord$NullableType(); @@ -2583,28 +2862,35 @@ class StepsRecord extends jni$_.JObject { /// from: `static public final androidx.health.connect.client.aggregate.AggregateMetric COUNT_TOTAL` /// The returned object must be released after use, by calling the [release] method. static AggregateMetric get COUNT_TOTAL => _id_COUNT_TOTAL.get( - _class, const $AggregateMetric$Type(jni$_.JLongType())); + _class, + const $AggregateMetric$Type(jni$_.JLongType()), + ); static final _id_new$ = _class.constructorId( r'(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/records/metadata/Metadata;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Int64, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Int64, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int, @@ -2612,7 +2898,9 @@ class StepsRecord extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (long j, java.time.Instant instant, java.time.ZoneOffset zoneOffset, java.time.Instant instant1, java.time.ZoneOffset zoneOffset1, androidx.health.connect.client.records.metadata.Metadata metadata)` /// The returned object must be released after use, by calling the [release] method. @@ -2629,40 +2917,47 @@ class StepsRecord extends jni$_.JObject { final _$instant1 = instant1.reference; final _$zoneOffset1 = zoneOffset1?.reference ?? jni$_.jNullReference; final _$metadata = metadata.reference; - return StepsRecord.fromReference(_new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - j, - _$instant.pointer, - _$zoneOffset.pointer, - _$instant1.pointer, - _$zoneOffset1.pointer, - _$metadata.pointer) - .reference); + return StepsRecord.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + j, + _$instant.pointer, + _$zoneOffset.pointer, + _$instant1.pointer, + _$zoneOffset1.pointer, + _$metadata.pointer, + ).reference, + ); } static final _id_new$1 = _class.constructorId( r'(JLjava/time/Instant;Ljava/time/ZoneOffset;Ljava/time/Instant;Ljava/time/ZoneOffset;Landroidx/health/connect/client/records/metadata/Metadata;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Int64, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Int64, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int, @@ -2672,7 +2967,9 @@ class StepsRecord extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (long j, java.time.Instant instant, java.time.ZoneOffset zoneOffset, java.time.Instant instant1, java.time.ZoneOffset zoneOffset1, androidx.health.connect.client.records.metadata.Metadata metadata, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. @@ -2693,41 +2990,46 @@ class StepsRecord extends jni$_.JObject { final _$metadata = metadata?.reference ?? jni$_.jNullReference; final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return StepsRecord.fromReference(_new$1( - _class.reference.pointer, - _id_new$1 as jni$_.JMethodIDPtr, - j, - _$instant.pointer, - _$zoneOffset.pointer, - _$instant1.pointer, - _$zoneOffset1.pointer, - _$metadata.pointer, - i, - _$defaultConstructorMarker.pointer) - .reference); - } - - static final _id_getCount = _class.instanceMethodId( - r'getCount', - r'()J', - ); + return StepsRecord.fromReference( + _new$1( + _class.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + j, + _$instant.pointer, + _$zoneOffset.pointer, + _$instant1.pointer, + _$zoneOffset1.pointer, + _$metadata.pointer, + i, + _$defaultConstructorMarker.pointer, + ).reference, + ); + } + + static final _id_getCount = _class.instanceMethodId(r'getCount', r'()J'); - static final _getCount = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getCount = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallLongMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallLongMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final long getCount()` int getCount() { - return _getCount(reference.pointer, _id_getCount as jni$_.JMethodIDPtr) - .long; + return _getCount( + reference.pointer, + _id_getCount as jni$_.JMethodIDPtr, + ).long; } static final _id_getStartTime = _class.instanceMethodId( @@ -2735,24 +3037,29 @@ class StepsRecord extends jni$_.JObject { r'()Ljava/time/Instant;', ); - static final _getStartTime = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getStartTime = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.time.Instant getStartTime()` /// The returned object must be released after use, by calling the [release] method. Instant getStartTime() { return _getStartTime( - reference.pointer, _id_getStartTime as jni$_.JMethodIDPtr) - .object(const $Instant$Type()); + reference.pointer, + _id_getStartTime as jni$_.JMethodIDPtr, + ).object(const $Instant$Type()); } static final _id_getStartZoneOffset = _class.instanceMethodId( @@ -2760,24 +3067,29 @@ class StepsRecord extends jni$_.JObject { r'()Ljava/time/ZoneOffset;', ); - static final _getStartZoneOffset = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getStartZoneOffset = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.time.ZoneOffset getStartZoneOffset()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getStartZoneOffset() { return _getStartZoneOffset( - reference.pointer, _id_getStartZoneOffset as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getStartZoneOffset as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getEndTime = _class.instanceMethodId( @@ -2785,23 +3097,29 @@ class StepsRecord extends jni$_.JObject { r'()Ljava/time/Instant;', ); - static final _getEndTime = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getEndTime = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.time.Instant getEndTime()` /// The returned object must be released after use, by calling the [release] method. Instant getEndTime() { - return _getEndTime(reference.pointer, _id_getEndTime as jni$_.JMethodIDPtr) - .object(const $Instant$Type()); + return _getEndTime( + reference.pointer, + _id_getEndTime as jni$_.JMethodIDPtr, + ).object(const $Instant$Type()); } static final _id_getEndZoneOffset = _class.instanceMethodId( @@ -2809,24 +3127,29 @@ class StepsRecord extends jni$_.JObject { r'()Ljava/time/ZoneOffset;', ); - static final _getEndZoneOffset = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getEndZoneOffset = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.time.ZoneOffset getEndZoneOffset()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getEndZoneOffset() { return _getEndZoneOffset( - reference.pointer, _id_getEndZoneOffset as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getEndZoneOffset as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getMetadata = _class.instanceMethodId( @@ -2834,24 +3157,29 @@ class StepsRecord extends jni$_.JObject { r'()Landroidx/health/connect/client/records/metadata/Metadata;', ); - static final _getMetadata = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getMetadata = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public androidx.health.connect.client.records.metadata.Metadata getMetadata()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject getMetadata() { return _getMetadata( - reference.pointer, _id_getMetadata as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectType()); + reference.pointer, + _id_getMetadata as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectType()); } static final _id_equals = _class.instanceMethodId( @@ -2859,48 +3187,58 @@ class StepsRecord extends jni$_.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _equals = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean equals(java.lang.Object object)` - bool equals( - jni$_.JObject? object, - ) { + bool equals(jni$_.JObject? object) { final _$object = object?.reference ?? jni$_.jNullReference; - return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, - _$object.pointer) - .boolean; + return _equals( + reference.pointer, + _id_equals as jni$_.JMethodIDPtr, + _$object.pointer, + ).boolean; } - static final _id_hashCode$1 = _class.instanceMethodId( - r'hashCode', - r'()I', - ); + static final _id_hashCode$1 = _class.instanceMethodId(r'hashCode', r'()I'); - static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _hashCode$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) - .integer; + return _hashCode$1( + reference.pointer, + _id_hashCode$1 as jni$_.JMethodIDPtr, + ).integer; } } @@ -2915,11 +3253,8 @@ final class $StepsRecord$NullableType extends jni$_.JObjType { @jni$_.internal @core$_.override - StepsRecord? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : StepsRecord.fromReference( - reference, - ); + StepsRecord? fromReference(jni$_.JReference reference) => + reference.isNull ? null : StepsRecord.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -2954,9 +3289,7 @@ final class $StepsRecord$Type extends jni$_.JObjType { @jni$_.internal @core$_.override StepsRecord fromReference(jni$_.JReference reference) => - StepsRecord.fromReference( - reference, - ); + StepsRecord.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -2987,13 +3320,13 @@ class TimeRangeFilter$Companion extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - TimeRangeFilter$Companion.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + TimeRangeFilter$Companion.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/time/TimeRangeFilter$Companion'); + r'androidx/health/connect/client/time/TimeRangeFilter$Companion', + ); /// The type which includes information such as the signature of this class. static const nullableType = $TimeRangeFilter$Companion$NullableType(); @@ -3003,34 +3336,38 @@ class TimeRangeFilter$Companion extends jni$_.JObject { r'(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _between = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.Instant instant, java.time.Instant instant1)` /// The returned object must be released after use, by calling the [release] method. - TimeRangeFilter between( - Instant instant, - Instant instant1, - ) { + TimeRangeFilter between(Instant instant, Instant instant1) { final _$instant = instant.reference; final _$instant1 = instant1.reference; - return _between(reference.pointer, _id_between as jni$_.JMethodIDPtr, - _$instant.pointer, _$instant1.pointer) - .object(const $TimeRangeFilter$Type()); + return _between( + reference.pointer, + _id_between as jni$_.JMethodIDPtr, + _$instant.pointer, + _$instant1.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_between$1 = _class.instanceMethodId( @@ -3038,22 +3375,26 @@ class TimeRangeFilter$Companion extends jni$_.JObject { r'(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _between$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. @@ -3063,9 +3404,12 @@ class TimeRangeFilter$Companion extends jni$_.JObject { ) { final _$localDateTime = localDateTime.reference; final _$localDateTime1 = localDateTime1.reference; - return _between$1(reference.pointer, _id_between$1 as jni$_.JMethodIDPtr, - _$localDateTime.pointer, _$localDateTime1.pointer) - .object(const $TimeRangeFilter$Type()); + return _between$1( + reference.pointer, + _id_between$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer, + _$localDateTime1.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_before = _class.instanceMethodId( @@ -3073,26 +3417,33 @@ class TimeRangeFilter$Companion extends jni$_.JObject { r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _before = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. - TimeRangeFilter before( - Instant instant, - ) { + TimeRangeFilter before(Instant instant) { final _$instant = instant.reference; - return _before(reference.pointer, _id_before as jni$_.JMethodIDPtr, - _$instant.pointer) - .object(const $TimeRangeFilter$Type()); + return _before( + reference.pointer, + _id_before as jni$_.JMethodIDPtr, + _$instant.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_before$1 = _class.instanceMethodId( @@ -3100,26 +3451,33 @@ class TimeRangeFilter$Companion extends jni$_.JObject { r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _before$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. - TimeRangeFilter before$1( - jni$_.JObject localDateTime, - ) { + TimeRangeFilter before$1(jni$_.JObject localDateTime) { final _$localDateTime = localDateTime.reference; - return _before$1(reference.pointer, _id_before$1 as jni$_.JMethodIDPtr, - _$localDateTime.pointer) - .object(const $TimeRangeFilter$Type()); + return _before$1( + reference.pointer, + _id_before$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_after = _class.instanceMethodId( @@ -3127,26 +3485,33 @@ class TimeRangeFilter$Companion extends jni$_.JObject { r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _after = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. - TimeRangeFilter after( - Instant instant, - ) { + TimeRangeFilter after(Instant instant) { final _$instant = instant.reference; - return _after(reference.pointer, _id_after as jni$_.JMethodIDPtr, - _$instant.pointer) - .object(const $TimeRangeFilter$Type()); + return _after( + reference.pointer, + _id_after as jni$_.JMethodIDPtr, + _$instant.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_after$1 = _class.instanceMethodId( @@ -3154,55 +3519,69 @@ class TimeRangeFilter$Companion extends jni$_.JObject { r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _after$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. - TimeRangeFilter after$1( - jni$_.JObject localDateTime, - ) { + TimeRangeFilter after$1(jni$_.JObject localDateTime) { final _$localDateTime = localDateTime.reference; - return _after$1(reference.pointer, _id_after$1 as jni$_.JMethodIDPtr, - _$localDateTime.pointer) - .object(const $TimeRangeFilter$Type()); + return _after$1( + reference.pointer, + _id_after$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_new$ = _class.constructorId( r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory TimeRangeFilter$Companion( - jni$_.JObject? defaultConstructorMarker, - ) { + factory TimeRangeFilter$Companion(jni$_.JObject? defaultConstructorMarker) { final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return TimeRangeFilter$Companion.fromReference(_new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$defaultConstructorMarker.pointer) - .reference); + return TimeRangeFilter$Companion.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$defaultConstructorMarker.pointer, + ).reference, + ); } } @@ -3221,9 +3600,7 @@ final class $TimeRangeFilter$Companion$NullableType TimeRangeFilter$Companion? fromReference(jni$_.JReference reference) => reference.isNull ? null - : TimeRangeFilter$Companion.fromReference( - reference, - ); + : TimeRangeFilter$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -3259,9 +3636,7 @@ final class $TimeRangeFilter$Companion$Type @jni$_.internal @core$_.override TimeRangeFilter$Companion fromReference(jni$_.JReference reference) => - TimeRangeFilter$Companion.fromReference( - reference, - ); + TimeRangeFilter$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -3292,13 +3667,13 @@ class TimeRangeFilter extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - TimeRangeFilter.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + TimeRangeFilter.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/time/TimeRangeFilter'); + r'androidx/health/connect/client/time/TimeRangeFilter', + ); /// The type which includes information such as the signature of this class. static const nullableType = $TimeRangeFilter$NullableType(); @@ -3317,26 +3692,33 @@ class TimeRangeFilter extends jni$_.JObject { r'(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (java.time.Instant instant, java.time.Instant instant1, java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. @@ -3350,36 +3732,43 @@ class TimeRangeFilter extends jni$_.JObject { final _$instant1 = instant1?.reference ?? jni$_.jNullReference; final _$localDateTime = localDateTime?.reference ?? jni$_.jNullReference; final _$localDateTime1 = localDateTime1?.reference ?? jni$_.jNullReference; - return TimeRangeFilter.fromReference(_new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$instant.pointer, - _$instant1.pointer, - _$localDateTime.pointer, - _$localDateTime1.pointer) - .reference); + return TimeRangeFilter.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$instant.pointer, + _$instant1.pointer, + _$localDateTime.pointer, + _$localDateTime1.pointer, + ).reference, + ); } static final _id_new$1 = _class.constructorId( r'(Ljava/time/Instant;Ljava/time/Instant;Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -3387,7 +3776,9 @@ class TimeRangeFilter extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (java.time.Instant instant, java.time.Instant instant1, java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. @@ -3405,16 +3796,18 @@ class TimeRangeFilter extends jni$_.JObject { final _$localDateTime1 = localDateTime1?.reference ?? jni$_.jNullReference; final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return TimeRangeFilter.fromReference(_new$1( - _class.reference.pointer, - _id_new$1 as jni$_.JMethodIDPtr, - _$instant.pointer, - _$instant1.pointer, - _$localDateTime.pointer, - _$localDateTime1.pointer, - i, - _$defaultConstructorMarker.pointer) - .reference); + return TimeRangeFilter.fromReference( + _new$1( + _class.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$instant.pointer, + _$instant1.pointer, + _$localDateTime.pointer, + _$localDateTime1.pointer, + i, + _$defaultConstructorMarker.pointer, + ).reference, + ); } static final _id_equals = _class.instanceMethodId( @@ -3422,72 +3815,87 @@ class TimeRangeFilter extends jni$_.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _equals = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean equals(java.lang.Object object)` - bool equals( - jni$_.JObject? object, - ) { + bool equals(jni$_.JObject? object) { final _$object = object?.reference ?? jni$_.jNullReference; - return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, - _$object.pointer) - .boolean; + return _equals( + reference.pointer, + _id_equals as jni$_.JMethodIDPtr, + _$object.pointer, + ).boolean; } - static final _id_hashCode$1 = _class.instanceMethodId( - r'hashCode', - r'()I', - ); + static final _id_hashCode$1 = _class.instanceMethodId(r'hashCode', r'()I'); - static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _hashCode$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) - .integer; + return _hashCode$1( + reference.pointer, + _id_hashCode$1 as jni$_.JMethodIDPtr, + ).integer; } - static final _id_new$2 = _class.constructorId( - r'()V', - ); + static final _id_new$2 = _class.constructorId(r'()V'); - static final _new$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$2 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory TimeRangeFilter.new$2() { return TimeRangeFilter.fromReference( - _new$2(_class.reference.pointer, _id_new$2 as jni$_.JMethodIDPtr) - .reference); + _new$2( + _class.reference.pointer, + _id_new$2 as jni$_.JMethodIDPtr, + ).reference, + ); } static final _id_between = _class.staticMethodId( @@ -3495,34 +3903,38 @@ class TimeRangeFilter extends jni$_.JObject { r'(Ljava/time/Instant;Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _between = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.Instant instant, java.time.Instant instant1)` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter between( - Instant instant, - Instant instant1, - ) { + static TimeRangeFilter between(Instant instant, Instant instant1) { final _$instant = instant.reference; final _$instant1 = instant1.reference; - return _between(_class.reference.pointer, _id_between as jni$_.JMethodIDPtr, - _$instant.pointer, _$instant1.pointer) - .object(const $TimeRangeFilter$Type()); + return _between( + _class.reference.pointer, + _id_between as jni$_.JMethodIDPtr, + _$instant.pointer, + _$instant1.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_between$1 = _class.staticMethodId( @@ -3530,22 +3942,26 @@ class TimeRangeFilter extends jni$_.JObject { r'(Ljava/time/LocalDateTime;Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _between$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _between$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter between(java.time.LocalDateTime localDateTime, java.time.LocalDateTime localDateTime1)` /// The returned object must be released after use, by calling the [release] method. @@ -3556,11 +3972,11 @@ class TimeRangeFilter extends jni$_.JObject { final _$localDateTime = localDateTime.reference; final _$localDateTime1 = localDateTime1.reference; return _between$1( - _class.reference.pointer, - _id_between$1 as jni$_.JMethodIDPtr, - _$localDateTime.pointer, - _$localDateTime1.pointer) - .object(const $TimeRangeFilter$Type()); + _class.reference.pointer, + _id_between$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer, + _$localDateTime1.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_before = _class.staticMethodId( @@ -3568,26 +3984,33 @@ class TimeRangeFilter extends jni$_.JObject { r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _before = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter before( - Instant instant, - ) { + static TimeRangeFilter before(Instant instant) { final _$instant = instant.reference; - return _before(_class.reference.pointer, _id_before as jni$_.JMethodIDPtr, - _$instant.pointer) - .object(const $TimeRangeFilter$Type()); + return _before( + _class.reference.pointer, + _id_before as jni$_.JMethodIDPtr, + _$instant.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_before$1 = _class.staticMethodId( @@ -3595,26 +4018,33 @@ class TimeRangeFilter extends jni$_.JObject { r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _before$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _before$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter before(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter before$1( - jni$_.JObject localDateTime, - ) { + static TimeRangeFilter before$1(jni$_.JObject localDateTime) { final _$localDateTime = localDateTime.reference; - return _before$1(_class.reference.pointer, - _id_before$1 as jni$_.JMethodIDPtr, _$localDateTime.pointer) - .object(const $TimeRangeFilter$Type()); + return _before$1( + _class.reference.pointer, + _id_before$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_after = _class.staticMethodId( @@ -3622,26 +4052,33 @@ class TimeRangeFilter extends jni$_.JObject { r'(Ljava/time/Instant;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _after = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.Instant instant)` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter after( - Instant instant, - ) { + static TimeRangeFilter after(Instant instant) { final _$instant = instant.reference; - return _after(_class.reference.pointer, _id_after as jni$_.JMethodIDPtr, - _$instant.pointer) - .object(const $TimeRangeFilter$Type()); + return _after( + _class.reference.pointer, + _id_after as jni$_.JMethodIDPtr, + _$instant.pointer, + ).object(const $TimeRangeFilter$Type()); } static final _id_after$1 = _class.staticMethodId( @@ -3649,26 +4086,33 @@ class TimeRangeFilter extends jni$_.JObject { r'(Ljava/time/LocalDateTime;)Landroidx/health/connect/client/time/TimeRangeFilter;', ); - static final _after$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _after$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public final androidx.health.connect.client.time.TimeRangeFilter after(java.time.LocalDateTime localDateTime)` /// The returned object must be released after use, by calling the [release] method. - static TimeRangeFilter after$1( - jni$_.JObject localDateTime, - ) { + static TimeRangeFilter after$1(jni$_.JObject localDateTime) { final _$localDateTime = localDateTime.reference; - return _after$1(_class.reference.pointer, _id_after$1 as jni$_.JMethodIDPtr, - _$localDateTime.pointer) - .object(const $TimeRangeFilter$Type()); + return _after$1( + _class.reference.pointer, + _id_after$1 as jni$_.JMethodIDPtr, + _$localDateTime.pointer, + ).object(const $TimeRangeFilter$Type()); } } @@ -3684,11 +4128,8 @@ final class $TimeRangeFilter$NullableType @jni$_.internal @core$_.override - TimeRangeFilter? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : TimeRangeFilter.fromReference( - reference, - ); + TimeRangeFilter? fromReference(jni$_.JReference reference) => + reference.isNull ? null : TimeRangeFilter.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -3723,9 +4164,7 @@ final class $TimeRangeFilter$Type extends jni$_.JObjType { @jni$_.internal @core$_.override TimeRangeFilter fromReference(jni$_.JReference reference) => - TimeRangeFilter.fromReference( - reference, - ); + TimeRangeFilter.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -3756,10 +4195,9 @@ class Context extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - Context.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + Context.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName(r'android/content/Context'); @@ -3977,7 +4415,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get COMPANION_DEVICE_SERVICE => _id_COMPANION_DEVICE_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CONNECTIVITY_DIAGNOSTICS_SERVICE = _class.staticFieldId( r'CONNECTIVITY_DIAGNOSTICS_SERVICE', @@ -3988,7 +4428,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CONNECTIVITY_DIAGNOSTICS_SERVICE => _id_CONNECTIVITY_DIAGNOSTICS_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CONNECTIVITY_SERVICE = _class.staticFieldId( r'CONNECTIVITY_SERVICE', @@ -4027,7 +4469,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CROSS_PROFILE_APPS_SERVICE => _id_CROSS_PROFILE_APPS_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_DEVICE_POLICY_SERVICE = _class.staticFieldId( r'DEVICE_POLICY_SERVICE', @@ -4068,7 +4512,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get DOMAIN_VERIFICATION_SERVICE => _id_DOMAIN_VERIFICATION_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_DOWNLOAD_SERVICE = _class.staticFieldId( r'DOWNLOAD_SERVICE', @@ -4139,7 +4585,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get HARDWARE_PROPERTIES_SERVICE => _id_HARDWARE_PROPERTIES_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_INPUT_METHOD_SERVICE = _class.staticFieldId( r'INPUT_METHOD_SERVICE', @@ -4210,7 +4658,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get LAYOUT_INFLATER_SERVICE => _id_LAYOUT_INFLATER_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_LOCALE_SERVICE = _class.staticFieldId( r'LOCALE_SERVICE', @@ -4241,7 +4691,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get MEDIA_COMMUNICATION_SERVICE => _id_MEDIA_COMMUNICATION_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_MEDIA_METRICS_SERVICE = _class.staticFieldId( r'MEDIA_METRICS_SERVICE', @@ -4262,7 +4714,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get MEDIA_PROJECTION_SERVICE => _id_MEDIA_PROJECTION_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_MEDIA_ROUTER_SERVICE = _class.staticFieldId( r'MEDIA_ROUTER_SERVICE', @@ -4373,7 +4827,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get PERFORMANCE_HINT_SERVICE => _id_PERFORMANCE_HINT_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_POWER_SERVICE = _class.staticFieldId( r'POWER_SERVICE', @@ -4532,7 +4988,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get TELEPHONY_SUBSCRIPTION_SERVICE => _id_TELEPHONY_SUBSCRIPTION_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_TEXT_CLASSIFICATION_SERVICE = _class.staticFieldId( r'TEXT_CLASSIFICATION_SERVICE', @@ -4543,7 +5001,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get TEXT_CLASSIFICATION_SERVICE => _id_TEXT_CLASSIFICATION_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_TEXT_SERVICES_MANAGER_SERVICE = _class.staticFieldId( r'TEXT_SERVICES_MANAGER_SERVICE', @@ -4554,7 +5014,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get TEXT_SERVICES_MANAGER_SERVICE => _id_TEXT_SERVICES_MANAGER_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_TV_INPUT_SERVICE = _class.staticFieldId( r'TV_INPUT_SERVICE', @@ -4575,7 +5037,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get TV_INTERACTIVE_APP_SERVICE => _id_TV_INTERACTIVE_APP_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_UI_MODE_SERVICE = _class.staticFieldId( r'UI_MODE_SERVICE', @@ -4626,7 +5090,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get VIBRATOR_MANAGER_SERVICE => _id_VIBRATOR_MANAGER_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_VIBRATOR_SERVICE = _class.staticFieldId( r'VIBRATOR_SERVICE', @@ -4687,7 +5153,9 @@ class Context extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get WIFI_RTT_RANGING_SERVICE => _id_WIFI_RTT_RANGING_SERVICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_WIFI_SERVICE = _class.staticFieldId( r'WIFI_SERVICE', @@ -4714,23 +5182,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/res/AssetManager;', ); - static final _getAssets = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getAssets = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.content.res.AssetManager getAssets()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getAssets() { - return _getAssets(reference.pointer, _id_getAssets as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getAssets( + reference.pointer, + _id_getAssets as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getResources = _class.instanceMethodId( @@ -4738,24 +5212,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/res/Resources;', ); - static final _getResources = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getResources = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.content.res.Resources getResources()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getResources() { return _getResources( - reference.pointer, _id_getResources as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getResources as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getPackageManager = _class.instanceMethodId( @@ -4763,24 +5242,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/pm/PackageManager;', ); - static final _getPackageManager = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getPackageManager = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.content.pm.PackageManager getPackageManager()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getPackageManager() { return _getPackageManager( - reference.pointer, _id_getPackageManager as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getPackageManager as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getContentResolver = _class.instanceMethodId( @@ -4788,24 +5272,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/ContentResolver;', ); - static final _getContentResolver = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getContentResolver = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.content.ContentResolver getContentResolver()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getContentResolver() { return _getContentResolver( - reference.pointer, _id_getContentResolver as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getContentResolver as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getMainLooper = _class.instanceMethodId( @@ -4813,24 +5302,29 @@ class Context extends jni$_.JObject { r'()Landroid/os/Looper;', ); - static final _getMainLooper = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getMainLooper = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.os.Looper getMainLooper()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getMainLooper() { return _getMainLooper( - reference.pointer, _id_getMainLooper as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getMainLooper as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getMainExecutor = _class.instanceMethodId( @@ -4838,24 +5332,29 @@ class Context extends jni$_.JObject { r'()Ljava/util/concurrent/Executor;', ); - static final _getMainExecutor = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getMainExecutor = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.util.concurrent.Executor getMainExecutor()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getMainExecutor() { return _getMainExecutor( - reference.pointer, _id_getMainExecutor as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getMainExecutor as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getApplicationContext = _class.instanceMethodId( @@ -4863,24 +5362,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/Context;', ); - static final _getApplicationContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getApplicationContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.content.Context getApplicationContext()` /// The returned object must be released after use, by calling the [release] method. Context? getApplicationContext() { return _getApplicationContext( - reference.pointer, _id_getApplicationContext as jni$_.JMethodIDPtr) - .object(const $Context$NullableType()); + reference.pointer, + _id_getApplicationContext as jni$_.JMethodIDPtr, + ).object(const $Context$NullableType()); } static final _id_registerComponentCallbacks = _class.instanceMethodId( @@ -4890,27 +5394,31 @@ class Context extends jni$_.JObject { static final _registerComponentCallbacks = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void registerComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` - void registerComponentCallbacks( - jni$_.JObject? componentCallbacks, - ) { + void registerComponentCallbacks(jni$_.JObject? componentCallbacks) { final _$componentCallbacks = componentCallbacks?.reference ?? jni$_.jNullReference; _registerComponentCallbacks( - reference.pointer, - _id_registerComponentCallbacks as jni$_.JMethodIDPtr, - _$componentCallbacks.pointer) - .check(); + reference.pointer, + _id_registerComponentCallbacks as jni$_.JMethodIDPtr, + _$componentCallbacks.pointer, + ).check(); } static final _id_unregisterComponentCallbacks = _class.instanceMethodId( @@ -4920,27 +5428,31 @@ class Context extends jni$_.JObject { static final _unregisterComponentCallbacks = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void unregisterComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` - void unregisterComponentCallbacks( - jni$_.JObject? componentCallbacks, - ) { + void unregisterComponentCallbacks(jni$_.JObject? componentCallbacks) { final _$componentCallbacks = componentCallbacks?.reference ?? jni$_.jNullReference; _unregisterComponentCallbacks( - reference.pointer, - _id_unregisterComponentCallbacks as jni$_.JMethodIDPtr, - _$componentCallbacks.pointer) - .check(); + reference.pointer, + _id_unregisterComponentCallbacks as jni$_.JMethodIDPtr, + _$componentCallbacks.pointer, + ).check(); } static final _id_getText = _class.instanceMethodId( @@ -4948,23 +5460,32 @@ class Context extends jni$_.JObject { r'(I)Ljava/lang/CharSequence;', ); - static final _getText = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getText = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final java.lang.CharSequence getText(int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getText( - int i, - ) { - return _getText(reference.pointer, _id_getText as jni$_.JMethodIDPtr, i) - .object(const jni$_.JObjectNullableType()); + jni$_.JObject? getText(int i) { + return _getText( + reference.pointer, + _id_getText as jni$_.JMethodIDPtr, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_getString = _class.instanceMethodId( @@ -4972,23 +5493,32 @@ class Context extends jni$_.JObject { r'(I)Ljava/lang/String;', ); - static final _getString = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getString = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final java.lang.String getString(int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getString( - int i, - ) { - return _getString(reference.pointer, _id_getString as jni$_.JMethodIDPtr, i) - .object(const jni$_.JStringNullableType()); + jni$_.JString? getString(int i) { + return _getString( + reference.pointer, + _id_getString as jni$_.JMethodIDPtr, + i, + ).object(const jni$_.JStringNullableType()); } static final _id_getString$1 = _class.instanceMethodId( @@ -4996,51 +5526,64 @@ class Context extends jni$_.JObject { r'(I[Ljava/lang/Object;)Ljava/lang/String;', ); - static final _getString$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _getString$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public final java.lang.String getString(int i, java.lang.Object[] objects)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getString$1( - int i, - jni$_.JArray? objects, - ) { + jni$_.JString? getString$1(int i, jni$_.JArray? objects) { final _$objects = objects?.reference ?? jni$_.jNullReference; - return _getString$1(reference.pointer, - _id_getString$1 as jni$_.JMethodIDPtr, i, _$objects.pointer) - .object(const jni$_.JStringNullableType()); + return _getString$1( + reference.pointer, + _id_getString$1 as jni$_.JMethodIDPtr, + i, + _$objects.pointer, + ).object(const jni$_.JStringNullableType()); } - static final _id_getColor = _class.instanceMethodId( - r'getColor', - r'(I)I', - ); + static final _id_getColor = _class.instanceMethodId(r'getColor', r'(I)I'); - static final _getColor = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getColor = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final int getColor(int i)` - int getColor( - int i, - ) { - return _getColor(reference.pointer, _id_getColor as jni$_.JMethodIDPtr, i) - .integer; + int getColor(int i) { + return _getColor( + reference.pointer, + _id_getColor as jni$_.JMethodIDPtr, + i, + ).integer; } static final _id_getDrawable = _class.instanceMethodId( @@ -5048,24 +5591,32 @@ class Context extends jni$_.JObject { r'(I)Landroid/graphics/drawable/Drawable;', ); - static final _getDrawable = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getDrawable = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final android.graphics.drawable.Drawable getDrawable(int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getDrawable( - int i, - ) { + jni$_.JObject? getDrawable(int i) { return _getDrawable( - reference.pointer, _id_getDrawable as jni$_.JMethodIDPtr, i) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getDrawable as jni$_.JMethodIDPtr, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_getColorStateList = _class.instanceMethodId( @@ -5073,45 +5624,56 @@ class Context extends jni$_.JObject { r'(I)Landroid/content/res/ColorStateList;', ); - static final _getColorStateList = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getColorStateList = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final android.content.res.ColorStateList getColorStateList(int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getColorStateList( - int i, - ) { + jni$_.JObject? getColorStateList(int i) { return _getColorStateList( - reference.pointer, _id_getColorStateList as jni$_.JMethodIDPtr, i) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getColorStateList as jni$_.JMethodIDPtr, + i, + ).object(const jni$_.JObjectNullableType()); } - static final _id_setTheme = _class.instanceMethodId( - r'setTheme', - r'(I)V', - ); + static final _id_setTheme = _class.instanceMethodId(r'setTheme', r'(I)V'); - static final _setTheme = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setTheme = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public abstract void setTheme(int i)` - void setTheme( - int i, - ) { + void setTheme(int i) { _setTheme(reference.pointer, _id_setTheme as jni$_.JMethodIDPtr, i).check(); } @@ -5120,23 +5682,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/res/Resources$Theme;', ); - static final _getTheme = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getTheme = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.content.res.Resources$Theme getTheme()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getTheme() { - return _getTheme(reference.pointer, _id_getTheme as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getTheme( + reference.pointer, + _id_getTheme as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_obtainStyledAttributes = _class.instanceMethodId( @@ -5144,26 +5712,33 @@ class Context extends jni$_.JObject { r'([I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - + static final _obtainStyledAttributes = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); + /// from: `public final android.content.res.TypedArray obtainStyledAttributes(int[] is)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? obtainStyledAttributes( - jni$_.JIntArray? is$, - ) { + jni$_.JObject? obtainStyledAttributes(jni$_.JIntArray? is$) { final _$is$ = is$?.reference ?? jni$_.jNullReference; - return _obtainStyledAttributes(reference.pointer, - _id_obtainStyledAttributes as jni$_.JMethodIDPtr, _$is$.pointer) - .object(const jni$_.JObjectNullableType()); + return _obtainStyledAttributes( + reference.pointer, + _id_obtainStyledAttributes as jni$_.JMethodIDPtr, + _$is$.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_obtainStyledAttributes$1 = _class.instanceMethodId( @@ -5171,31 +5746,35 @@ class Context extends jni$_.JObject { r'(I[I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _obtainStyledAttributes$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public final android.content.res.TypedArray obtainStyledAttributes(int i, int[] is)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? obtainStyledAttributes$1( - int i, - jni$_.JIntArray? is$, - ) { + jni$_.JObject? obtainStyledAttributes$1(int i, jni$_.JIntArray? is$) { final _$is$ = is$?.reference ?? jni$_.jNullReference; return _obtainStyledAttributes$1( - reference.pointer, - _id_obtainStyledAttributes$1 as jni$_.JMethodIDPtr, - i, - _$is$.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_obtainStyledAttributes$1 as jni$_.JMethodIDPtr, + i, + _$is$.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_obtainStyledAttributes$2 = _class.instanceMethodId( @@ -5203,22 +5782,26 @@ class Context extends jni$_.JObject { r'(Landroid/util/AttributeSet;[I)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _obtainStyledAttributes$2 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public final android.content.res.TypedArray obtainStyledAttributes(android.util.AttributeSet attributeSet, int[] is)` /// The returned object must be released after use, by calling the [release] method. @@ -5229,11 +5812,11 @@ class Context extends jni$_.JObject { final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; final _$is$ = is$?.reference ?? jni$_.jNullReference; return _obtainStyledAttributes$2( - reference.pointer, - _id_obtainStyledAttributes$2 as jni$_.JMethodIDPtr, - _$attributeSet.pointer, - _$is$.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_obtainStyledAttributes$2 as jni$_.JMethodIDPtr, + _$attributeSet.pointer, + _$is$.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_obtainStyledAttributes$3 = _class.instanceMethodId( @@ -5241,26 +5824,33 @@ class Context extends jni$_.JObject { r'(Landroid/util/AttributeSet;[III)Landroid/content/res/TypedArray;', ); - static final _obtainStyledAttributes$3 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _obtainStyledAttributes$3 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, int, - int)>(); + int, + ) + >(); /// from: `public final android.content.res.TypedArray obtainStyledAttributes(android.util.AttributeSet attributeSet, int[] is, int i, int i1)` /// The returned object must be released after use, by calling the [release] method. @@ -5273,13 +5863,13 @@ class Context extends jni$_.JObject { final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; final _$is$ = is$?.reference ?? jni$_.jNullReference; return _obtainStyledAttributes$3( - reference.pointer, - _id_obtainStyledAttributes$3 as jni$_.JMethodIDPtr, - _$attributeSet.pointer, - _$is$.pointer, - i, - i1) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_obtainStyledAttributes$3 as jni$_.JMethodIDPtr, + _$attributeSet.pointer, + _$is$.pointer, + i, + i1, + ).object(const jni$_.JObjectNullableType()); } static final _id_getClassLoader = _class.instanceMethodId( @@ -5287,24 +5877,29 @@ class Context extends jni$_.JObject { r'()Ljava/lang/ClassLoader;', ); - static final _getClassLoader = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getClassLoader = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.lang.ClassLoader getClassLoader()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getClassLoader() { return _getClassLoader( - reference.pointer, _id_getClassLoader as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getClassLoader as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getPackageName = _class.instanceMethodId( @@ -5312,24 +5907,29 @@ class Context extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getPackageName = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getPackageName = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.lang.String getPackageName()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getPackageName() { return _getPackageName( - reference.pointer, _id_getPackageName as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getPackageName as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getOpPackageName = _class.instanceMethodId( @@ -5337,24 +5937,29 @@ class Context extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getOpPackageName = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getOpPackageName = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getOpPackageName()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getOpPackageName() { return _getOpPackageName( - reference.pointer, _id_getOpPackageName as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getOpPackageName as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getAttributionTag = _class.instanceMethodId( @@ -5362,24 +5967,29 @@ class Context extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getAttributionTag = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getAttributionTag = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getAttributionTag()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getAttributionTag() { return _getAttributionTag( - reference.pointer, _id_getAttributionTag as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getAttributionTag as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getAttributionSource = _class.instanceMethodId( @@ -5387,24 +5997,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/AttributionSource;', ); - static final _getAttributionSource = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getAttributionSource = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.AttributionSource getAttributionSource()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getAttributionSource() { return _getAttributionSource( - reference.pointer, _id_getAttributionSource as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getAttributionSource as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getParams = _class.instanceMethodId( @@ -5412,23 +6027,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/ContextParams;', ); - static final _getParams = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getParams = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.ContextParams getParams()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getParams() { - return _getParams(reference.pointer, _id_getParams as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getParams( + reference.pointer, + _id_getParams as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getApplicationInfo = _class.instanceMethodId( @@ -5436,24 +6057,29 @@ class Context extends jni$_.JObject { r'()Landroid/content/pm/ApplicationInfo;', ); - static final _getApplicationInfo = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getApplicationInfo = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.content.pm.ApplicationInfo getApplicationInfo()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getApplicationInfo() { return _getApplicationInfo( - reference.pointer, _id_getApplicationInfo as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getApplicationInfo as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getPackageResourcePath = _class.instanceMethodId( @@ -5461,24 +6087,29 @@ class Context extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getPackageResourcePath = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getPackageResourcePath = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.lang.String getPackageResourcePath()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getPackageResourcePath() { return _getPackageResourcePath( - reference.pointer, _id_getPackageResourcePath as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getPackageResourcePath as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getPackageCodePath = _class.instanceMethodId( @@ -5486,24 +6117,29 @@ class Context extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getPackageCodePath = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getPackageCodePath = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.lang.String getPackageCodePath()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getPackageCodePath() { return _getPackageCodePath( - reference.pointer, _id_getPackageCodePath as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getPackageCodePath as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getSharedPreferences = _class.instanceMethodId( @@ -5511,28 +6147,35 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;I)Landroid/content/SharedPreferences;', ); - static final _getSharedPreferences = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _getSharedPreferences = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public abstract android.content.SharedPreferences getSharedPreferences(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSharedPreferences( - jni$_.JString? string, - int i, - ) { + jni$_.JObject? getSharedPreferences(jni$_.JString? string, int i) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getSharedPreferences(reference.pointer, - _id_getSharedPreferences as jni$_.JMethodIDPtr, _$string.pointer, i) - .object(const jni$_.JObjectNullableType()); + return _getSharedPreferences( + reference.pointer, + _id_getSharedPreferences as jni$_.JMethodIDPtr, + _$string.pointer, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_moveSharedPreferencesFrom = _class.instanceMethodId( @@ -5540,36 +6183,37 @@ class Context extends jni$_.JObject { r'(Landroid/content/Context;Ljava/lang/String;)Z', ); - static final _moveSharedPreferencesFrom = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _moveSharedPreferencesFrom = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract boolean moveSharedPreferencesFrom(android.content.Context context, java.lang.String string)` - bool moveSharedPreferencesFrom( - Context? context, - jni$_.JString? string, - ) { + bool moveSharedPreferencesFrom(Context? context, jni$_.JString? string) { final _$context = context?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; return _moveSharedPreferencesFrom( - reference.pointer, - _id_moveSharedPreferencesFrom as jni$_.JMethodIDPtr, - _$context.pointer, - _$string.pointer) - .boolean; + reference.pointer, + _id_moveSharedPreferencesFrom as jni$_.JMethodIDPtr, + _$context.pointer, + _$string.pointer, + ).boolean; } static final _id_deleteSharedPreferences = _class.instanceMethodId( @@ -5577,25 +6221,32 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Z', ); - static final _deleteSharedPreferences = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _deleteSharedPreferences = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract boolean deleteSharedPreferences(java.lang.String string)` - bool deleteSharedPreferences( - jni$_.JString? string, - ) { + bool deleteSharedPreferences(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _deleteSharedPreferences(reference.pointer, - _id_deleteSharedPreferences as jni$_.JMethodIDPtr, _$string.pointer) - .boolean; + return _deleteSharedPreferences( + reference.pointer, + _id_deleteSharedPreferences as jni$_.JMethodIDPtr, + _$string.pointer, + ).boolean; } static final _id_openFileInput = _class.instanceMethodId( @@ -5603,26 +6254,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/io/FileInputStream;', ); - static final _openFileInput = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _openFileInput = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.io.FileInputStream openFileInput(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? openFileInput( - jni$_.JString? string, - ) { + jni$_.JObject? openFileInput(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _openFileInput(reference.pointer, - _id_openFileInput as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _openFileInput( + reference.pointer, + _id_openFileInput as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_openFileOutput = _class.instanceMethodId( @@ -5630,28 +6288,35 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;I)Ljava/io/FileOutputStream;', ); - static final _openFileOutput = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _openFileOutput = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public abstract java.io.FileOutputStream openFileOutput(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? openFileOutput( - jni$_.JString? string, - int i, - ) { + jni$_.JObject? openFileOutput(jni$_.JString? string, int i) { final _$string = string?.reference ?? jni$_.jNullReference; - return _openFileOutput(reference.pointer, - _id_openFileOutput as jni$_.JMethodIDPtr, _$string.pointer, i) - .object(const jni$_.JObjectNullableType()); + return _openFileOutput( + reference.pointer, + _id_openFileOutput as jni$_.JMethodIDPtr, + _$string.pointer, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_deleteFile = _class.instanceMethodId( @@ -5659,25 +6324,32 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Z', ); - static final _deleteFile = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _deleteFile = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract boolean deleteFile(java.lang.String string)` - bool deleteFile( - jni$_.JString? string, - ) { + bool deleteFile(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _deleteFile(reference.pointer, _id_deleteFile as jni$_.JMethodIDPtr, - _$string.pointer) - .boolean; + return _deleteFile( + reference.pointer, + _id_deleteFile as jni$_.JMethodIDPtr, + _$string.pointer, + ).boolean; } static final _id_getFileStreamPath = _class.instanceMethodId( @@ -5685,26 +6357,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getFileStreamPath = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getFileStreamPath = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.io.File getFileStreamPath(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getFileStreamPath( - jni$_.JString? string, - ) { + jni$_.JObject? getFileStreamPath(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getFileStreamPath(reference.pointer, - _id_getFileStreamPath as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getFileStreamPath( + reference.pointer, + _id_getFileStreamPath as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getDataDir = _class.instanceMethodId( @@ -5712,23 +6391,29 @@ class Context extends jni$_.JObject { r'()Ljava/io/File;', ); - static final _getDataDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getDataDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File getDataDir()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getDataDir() { - return _getDataDir(reference.pointer, _id_getDataDir as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getDataDir( + reference.pointer, + _id_getDataDir as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getFilesDir = _class.instanceMethodId( @@ -5736,24 +6421,29 @@ class Context extends jni$_.JObject { r'()Ljava/io/File;', ); - static final _getFilesDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getFilesDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File getFilesDir()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getFilesDir() { return _getFilesDir( - reference.pointer, _id_getFilesDir as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getFilesDir as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getNoBackupFilesDir = _class.instanceMethodId( @@ -5761,24 +6451,29 @@ class Context extends jni$_.JObject { r'()Ljava/io/File;', ); - static final _getNoBackupFilesDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getNoBackupFilesDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File getNoBackupFilesDir()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getNoBackupFilesDir() { return _getNoBackupFilesDir( - reference.pointer, _id_getNoBackupFilesDir as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getNoBackupFilesDir as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getExternalFilesDir = _class.instanceMethodId( @@ -5786,26 +6481,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getExternalFilesDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getExternalFilesDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.io.File getExternalFilesDir(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getExternalFilesDir( - jni$_.JString? string, - ) { + jni$_.JObject? getExternalFilesDir(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getExternalFilesDir(reference.pointer, - _id_getExternalFilesDir as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getExternalFilesDir( + reference.pointer, + _id_getExternalFilesDir as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getExternalFilesDirs = _class.instanceMethodId( @@ -5813,28 +6515,37 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)[Ljava/io/File;', ); - static final _getExternalFilesDirs = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getExternalFilesDirs = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.io.File[] getExternalFilesDirs(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getExternalFilesDirs( - jni$_.JString? string, - ) { + jni$_.JArray? getExternalFilesDirs(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getExternalFilesDirs(reference.pointer, - _id_getExternalFilesDirs as jni$_.JMethodIDPtr, _$string.pointer) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JObjectNullableType())); + return _getExternalFilesDirs( + reference.pointer, + _id_getExternalFilesDirs as jni$_.JMethodIDPtr, + _$string.pointer, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType(), + ), + ); } static final _id_getObbDir = _class.instanceMethodId( @@ -5842,23 +6553,29 @@ class Context extends jni$_.JObject { r'()Ljava/io/File;', ); - static final _getObbDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getObbDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File getObbDir()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getObbDir() { - return _getObbDir(reference.pointer, _id_getObbDir as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getObbDir( + reference.pointer, + _id_getObbDir as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getObbDirs = _class.instanceMethodId( @@ -5866,25 +6583,33 @@ class Context extends jni$_.JObject { r'()[Ljava/io/File;', ); - static final _getObbDirs = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getObbDirs = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File[] getObbDirs()` /// The returned object must be released after use, by calling the [release] method. jni$_.JArray? getObbDirs() { - return _getObbDirs(reference.pointer, _id_getObbDirs as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JObjectNullableType())); + return _getObbDirs( + reference.pointer, + _id_getObbDirs as jni$_.JMethodIDPtr, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType(), + ), + ); } static final _id_getCacheDir = _class.instanceMethodId( @@ -5892,24 +6617,29 @@ class Context extends jni$_.JObject { r'()Ljava/io/File;', ); - static final _getCacheDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getCacheDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File getCacheDir()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getCacheDir() { return _getCacheDir( - reference.pointer, _id_getCacheDir as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getCacheDir as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getCodeCacheDir = _class.instanceMethodId( @@ -5917,24 +6647,29 @@ class Context extends jni$_.JObject { r'()Ljava/io/File;', ); - static final _getCodeCacheDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getCodeCacheDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File getCodeCacheDir()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getCodeCacheDir() { return _getCodeCacheDir( - reference.pointer, _id_getCodeCacheDir as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getCodeCacheDir as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getExternalCacheDir = _class.instanceMethodId( @@ -5942,24 +6677,29 @@ class Context extends jni$_.JObject { r'()Ljava/io/File;', ); - static final _getExternalCacheDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getExternalCacheDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File getExternalCacheDir()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getExternalCacheDir() { return _getExternalCacheDir( - reference.pointer, _id_getExternalCacheDir as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getExternalCacheDir as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getExternalCacheDirs = _class.instanceMethodId( @@ -5967,26 +6707,33 @@ class Context extends jni$_.JObject { r'()[Ljava/io/File;', ); - static final _getExternalCacheDirs = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getExternalCacheDirs = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File[] getExternalCacheDirs()` /// The returned object must be released after use, by calling the [release] method. jni$_.JArray? getExternalCacheDirs() { return _getExternalCacheDirs( - reference.pointer, _id_getExternalCacheDirs as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JObjectNullableType())); + reference.pointer, + _id_getExternalCacheDirs as jni$_.JMethodIDPtr, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType(), + ), + ); } static final _id_getExternalMediaDirs = _class.instanceMethodId( @@ -5994,26 +6741,33 @@ class Context extends jni$_.JObject { r'()[Ljava/io/File;', ); - static final _getExternalMediaDirs = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getExternalMediaDirs = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.io.File[] getExternalMediaDirs()` /// The returned object must be released after use, by calling the [release] method. jni$_.JArray? getExternalMediaDirs() { return _getExternalMediaDirs( - reference.pointer, _id_getExternalMediaDirs as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JObjectNullableType())); + reference.pointer, + _id_getExternalMediaDirs as jni$_.JMethodIDPtr, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType(), + ), + ); } static final _id_fileList = _class.instanceMethodId( @@ -6021,25 +6775,33 @@ class Context extends jni$_.JObject { r'()[Ljava/lang/String;', ); - static final _fileList = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _fileList = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.lang.String[] fileList()` /// The returned object must be released after use, by calling the [release] method. jni$_.JArray? fileList() { - return _fileList(reference.pointer, _id_fileList as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JStringNullableType())); + return _fileList( + reference.pointer, + _id_fileList as jni$_.JMethodIDPtr, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JStringNullableType(), + ), + ); } static final _id_getDir = _class.instanceMethodId( @@ -6047,28 +6809,35 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;I)Ljava/io/File;', ); - static final _getDir = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _getDir = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public abstract java.io.File getDir(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getDir( - jni$_.JString? string, - int i, - ) { + jni$_.JObject? getDir(jni$_.JString? string, int i) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getDir(reference.pointer, _id_getDir as jni$_.JMethodIDPtr, - _$string.pointer, i) - .object(const jni$_.JObjectNullableType()); + return _getDir( + reference.pointer, + _id_getDir as jni$_.JMethodIDPtr, + _$string.pointer, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_openOrCreateDatabase = _class.instanceMethodId( @@ -6076,24 +6845,31 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;)Landroid/database/sqlite/SQLiteDatabase;', ); - static final _openOrCreateDatabase = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _openOrCreateDatabase = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String string, int i, android.database.sqlite.SQLiteDatabase$CursorFactory cursorFactory)` /// The returned object must be released after use, by calling the [release] method. @@ -6105,12 +6881,12 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$cursorFactory = cursorFactory?.reference ?? jni$_.jNullReference; return _openOrCreateDatabase( - reference.pointer, - _id_openOrCreateDatabase as jni$_.JMethodIDPtr, - _$string.pointer, - i, - _$cursorFactory.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_openOrCreateDatabase as jni$_.JMethodIDPtr, + _$string.pointer, + i, + _$cursorFactory.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_openOrCreateDatabase$1 = _class.instanceMethodId( @@ -6118,26 +6894,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;ILandroid/database/sqlite/SQLiteDatabase$CursorFactory;Landroid/database/DatabaseErrorHandler;)Landroid/database/sqlite/SQLiteDatabase;', ); - static final _openOrCreateDatabase$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _openOrCreateDatabase$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract android.database.sqlite.SQLiteDatabase openOrCreateDatabase(java.lang.String string, int i, android.database.sqlite.SQLiteDatabase$CursorFactory cursorFactory, android.database.DatabaseErrorHandler databaseErrorHandler)` /// The returned object must be released after use, by calling the [release] method. @@ -6152,13 +6935,13 @@ class Context extends jni$_.JObject { final _$databaseErrorHandler = databaseErrorHandler?.reference ?? jni$_.jNullReference; return _openOrCreateDatabase$1( - reference.pointer, - _id_openOrCreateDatabase$1 as jni$_.JMethodIDPtr, - _$string.pointer, - i, - _$cursorFactory.pointer, - _$databaseErrorHandler.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_openOrCreateDatabase$1 as jni$_.JMethodIDPtr, + _$string.pointer, + i, + _$cursorFactory.pointer, + _$databaseErrorHandler.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_moveDatabaseFrom = _class.instanceMethodId( @@ -6166,36 +6949,37 @@ class Context extends jni$_.JObject { r'(Landroid/content/Context;Ljava/lang/String;)Z', ); - static final _moveDatabaseFrom = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _moveDatabaseFrom = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract boolean moveDatabaseFrom(android.content.Context context, java.lang.String string)` - bool moveDatabaseFrom( - Context? context, - jni$_.JString? string, - ) { + bool moveDatabaseFrom(Context? context, jni$_.JString? string) { final _$context = context?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; return _moveDatabaseFrom( - reference.pointer, - _id_moveDatabaseFrom as jni$_.JMethodIDPtr, - _$context.pointer, - _$string.pointer) - .boolean; + reference.pointer, + _id_moveDatabaseFrom as jni$_.JMethodIDPtr, + _$context.pointer, + _$string.pointer, + ).boolean; } static final _id_deleteDatabase = _class.instanceMethodId( @@ -6203,25 +6987,32 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Z', ); - static final _deleteDatabase = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); - - /// from: `public abstract boolean deleteDatabase(java.lang.String string)` - bool deleteDatabase( - jni$_.JString? string, - ) { + static final _deleteDatabase = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); + + /// from: `public abstract boolean deleteDatabase(java.lang.String string)` + bool deleteDatabase(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _deleteDatabase(reference.pointer, - _id_deleteDatabase as jni$_.JMethodIDPtr, _$string.pointer) - .boolean; + return _deleteDatabase( + reference.pointer, + _id_deleteDatabase as jni$_.JMethodIDPtr, + _$string.pointer, + ).boolean; } static final _id_getDatabasePath = _class.instanceMethodId( @@ -6229,26 +7020,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/io/File;', ); - static final _getDatabasePath = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getDatabasePath = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.io.File getDatabasePath(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getDatabasePath( - jni$_.JString? string, - ) { + jni$_.JObject? getDatabasePath(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getDatabasePath(reference.pointer, - _id_getDatabasePath as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getDatabasePath( + reference.pointer, + _id_getDatabasePath as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_databaseList = _class.instanceMethodId( @@ -6256,26 +7054,33 @@ class Context extends jni$_.JObject { r'()[Ljava/lang/String;', ); - static final _databaseList = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _databaseList = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract java.lang.String[] databaseList()` /// The returned object must be released after use, by calling the [release] method. jni$_.JArray? databaseList() { return _databaseList( - reference.pointer, _id_databaseList as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JStringNullableType())); + reference.pointer, + _id_databaseList as jni$_.JMethodIDPtr, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JStringNullableType(), + ), + ); } static final _id_getWallpaper = _class.instanceMethodId( @@ -6283,24 +7088,29 @@ class Context extends jni$_.JObject { r'()Landroid/graphics/drawable/Drawable;', ); - static final _getWallpaper = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getWallpaper = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.graphics.drawable.Drawable getWallpaper()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getWallpaper() { return _getWallpaper( - reference.pointer, _id_getWallpaper as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getWallpaper as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_peekWallpaper = _class.instanceMethodId( @@ -6308,24 +7118,29 @@ class Context extends jni$_.JObject { r'()Landroid/graphics/drawable/Drawable;', ); - static final _peekWallpaper = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _peekWallpaper = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.graphics.drawable.Drawable peekWallpaper()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? peekWallpaper() { return _peekWallpaper( - reference.pointer, _id_peekWallpaper as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_peekWallpaper as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getWallpaperDesiredMinimumWidth = _class.instanceMethodId( @@ -6335,22 +7150,26 @@ class Context extends jni$_.JObject { static final _getWallpaperDesiredMinimumWidth = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract int getWallpaperDesiredMinimumWidth()` int getWallpaperDesiredMinimumWidth() { - return _getWallpaperDesiredMinimumWidth(reference.pointer, - _id_getWallpaperDesiredMinimumWidth as jni$_.JMethodIDPtr) - .integer; + return _getWallpaperDesiredMinimumWidth( + reference.pointer, + _id_getWallpaperDesiredMinimumWidth as jni$_.JMethodIDPtr, + ).integer; } static final _id_getWallpaperDesiredMinimumHeight = _class.instanceMethodId( @@ -6360,22 +7179,26 @@ class Context extends jni$_.JObject { static final _getWallpaperDesiredMinimumHeight = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract int getWallpaperDesiredMinimumHeight()` int getWallpaperDesiredMinimumHeight() { - return _getWallpaperDesiredMinimumHeight(reference.pointer, - _id_getWallpaperDesiredMinimumHeight as jni$_.JMethodIDPtr) - .integer; + return _getWallpaperDesiredMinimumHeight( + reference.pointer, + _id_getWallpaperDesiredMinimumHeight as jni$_.JMethodIDPtr, + ).integer; } static final _id_setWallpaper = _class.instanceMethodId( @@ -6383,25 +7206,32 @@ class Context extends jni$_.JObject { r'(Landroid/graphics/Bitmap;)V', ); - static final _setWallpaper = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setWallpaper = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void setWallpaper(android.graphics.Bitmap bitmap)` - void setWallpaper( - jni$_.JObject? bitmap, - ) { + void setWallpaper(jni$_.JObject? bitmap) { final _$bitmap = bitmap?.reference ?? jni$_.jNullReference; - _setWallpaper(reference.pointer, _id_setWallpaper as jni$_.JMethodIDPtr, - _$bitmap.pointer) - .check(); + _setWallpaper( + reference.pointer, + _id_setWallpaper as jni$_.JMethodIDPtr, + _$bitmap.pointer, + ).check(); } static final _id_setWallpaper$1 = _class.instanceMethodId( @@ -6409,25 +7239,32 @@ class Context extends jni$_.JObject { r'(Ljava/io/InputStream;)V', ); - static final _setWallpaper$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setWallpaper$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void setWallpaper(java.io.InputStream inputStream)` - void setWallpaper$1( - jni$_.JObject? inputStream, - ) { + void setWallpaper$1(jni$_.JObject? inputStream) { final _$inputStream = inputStream?.reference ?? jni$_.jNullReference; - _setWallpaper$1(reference.pointer, _id_setWallpaper$1 as jni$_.JMethodIDPtr, - _$inputStream.pointer) - .check(); + _setWallpaper$1( + reference.pointer, + _id_setWallpaper$1 as jni$_.JMethodIDPtr, + _$inputStream.pointer, + ).check(); } static final _id_clearWallpaper = _class.instanceMethodId( @@ -6435,22 +7272,28 @@ class Context extends jni$_.JObject { r'()V', ); - static final _clearWallpaper = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _clearWallpaper = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract void clearWallpaper()` void clearWallpaper() { - _clearWallpaper(reference.pointer, _id_clearWallpaper as jni$_.JMethodIDPtr) - .check(); + _clearWallpaper( + reference.pointer, + _id_clearWallpaper as jni$_.JMethodIDPtr, + ).check(); } static final _id_startActivity = _class.instanceMethodId( @@ -6458,25 +7301,32 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;)V', ); - static final _startActivity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startActivity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void startActivity(android.content.Intent intent)` - void startActivity( - Intent? intent, - ) { + void startActivity(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _startActivity(reference.pointer, _id_startActivity as jni$_.JMethodIDPtr, - _$intent.pointer) - .check(); + _startActivity( + reference.pointer, + _id_startActivity as jni$_.JMethodIDPtr, + _$intent.pointer, + ).check(); } static final _id_startActivity$1 = _class.instanceMethodId( @@ -6484,36 +7334,37 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivity$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivity$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void startActivity(android.content.Intent intent, android.os.Bundle bundle)` - void startActivity$1( - Intent? intent, - jni$_.JObject? bundle, - ) { + void startActivity$1(Intent? intent, jni$_.JObject? bundle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivity$1( - reference.pointer, - _id_startActivity$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startActivity$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$bundle.pointer, + ).check(); } static final _id_startActivities = _class.instanceMethodId( @@ -6521,25 +7372,32 @@ class Context extends jni$_.JObject { r'([Landroid/content/Intent;)V', ); - static final _startActivities = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startActivities = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void startActivities(android.content.Intent[] intents)` - void startActivities( - jni$_.JArray? intents, - ) { + void startActivities(jni$_.JArray? intents) { final _$intents = intents?.reference ?? jni$_.jNullReference; - _startActivities(reference.pointer, - _id_startActivities as jni$_.JMethodIDPtr, _$intents.pointer) - .check(); + _startActivities( + reference.pointer, + _id_startActivities as jni$_.JMethodIDPtr, + _$intents.pointer, + ).check(); } static final _id_startActivities$1 = _class.instanceMethodId( @@ -6547,22 +7405,26 @@ class Context extends jni$_.JObject { r'([Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivities$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivities$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void startActivities(android.content.Intent[] intents, android.os.Bundle bundle)` void startActivities$1( @@ -6572,11 +7434,11 @@ class Context extends jni$_.JObject { final _$intents = intents?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivities$1( - reference.pointer, - _id_startActivities$1 as jni$_.JMethodIDPtr, - _$intents.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startActivities$1 as jni$_.JMethodIDPtr, + _$intents.pointer, + _$bundle.pointer, + ).check(); } static final _id_startIntentSender = _class.instanceMethodId( @@ -6584,28 +7446,35 @@ class Context extends jni$_.JObject { r'(Landroid/content/IntentSender;Landroid/content/Intent;III)V', ); - static final _startIntentSender = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startIntentSender = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, int, int, - int)>(); + int, + ) + >(); /// from: `public abstract void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2)` void startIntentSender( @@ -6618,14 +7487,14 @@ class Context extends jni$_.JObject { final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; final _$intent = intent?.reference ?? jni$_.jNullReference; _startIntentSender( - reference.pointer, - _id_startIntentSender as jni$_.JMethodIDPtr, - _$intentSender.pointer, - _$intent.pointer, - i, - i1, - i2) - .check(); + reference.pointer, + _id_startIntentSender as jni$_.JMethodIDPtr, + _$intentSender.pointer, + _$intent.pointer, + i, + i1, + i2, + ).check(); } static final _id_startIntentSender$1 = _class.instanceMethodId( @@ -6633,22 +7502,27 @@ class Context extends jni$_.JObject { r'(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V', ); - static final _startIntentSender$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startIntentSender$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -6656,7 +7530,9 @@ class Context extends jni$_.JObject { int, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2, android.os.Bundle bundle)` void startIntentSender$1( @@ -6671,15 +7547,15 @@ class Context extends jni$_.JObject { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startIntentSender$1( - reference.pointer, - _id_startIntentSender$1 as jni$_.JMethodIDPtr, - _$intentSender.pointer, - _$intent.pointer, - i, - i1, - i2, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startIntentSender$1 as jni$_.JMethodIDPtr, + _$intentSender.pointer, + _$intent.pointer, + i, + i1, + i2, + _$bundle.pointer, + ).check(); } static final _id_sendBroadcast = _class.instanceMethodId( @@ -6687,25 +7563,32 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;)V', ); - static final _sendBroadcast = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _sendBroadcast = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendBroadcast(android.content.Intent intent)` - void sendBroadcast( - Intent? intent, - ) { + void sendBroadcast(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _sendBroadcast(reference.pointer, _id_sendBroadcast as jni$_.JMethodIDPtr, - _$intent.pointer) - .check(); + _sendBroadcast( + reference.pointer, + _id_sendBroadcast as jni$_.JMethodIDPtr, + _$intent.pointer, + ).check(); } static final _id_sendBroadcast$1 = _class.instanceMethodId( @@ -6713,61 +7596,65 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Ljava/lang/String;)V', ); - static final _sendBroadcast$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _sendBroadcast$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendBroadcast(android.content.Intent intent, java.lang.String string)` - void sendBroadcast$1( - Intent? intent, - jni$_.JString? string, - ) { + void sendBroadcast$1(Intent? intent, jni$_.JString? string) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; _sendBroadcast$1( - reference.pointer, - _id_sendBroadcast$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$string.pointer) - .check(); + reference.pointer, + _id_sendBroadcast$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$string.pointer, + ).check(); } - static final _id_sendBroadcastWithMultiplePermissions = - _class.instanceMethodId( - r'sendBroadcastWithMultiplePermissions', - r'(Landroid/content/Intent;[Ljava/lang/String;)V', - ); + static final _id_sendBroadcastWithMultiplePermissions = _class + .instanceMethodId( + r'sendBroadcastWithMultiplePermissions', + r'(Landroid/content/Intent;[Ljava/lang/String;)V', + ); static final _sendBroadcastWithMultiplePermissions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public void sendBroadcastWithMultiplePermissions(android.content.Intent intent, java.lang.String[] strings)` void sendBroadcastWithMultiplePermissions( @@ -6777,11 +7664,11 @@ class Context extends jni$_.JObject { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$strings = strings?.reference ?? jni$_.jNullReference; _sendBroadcastWithMultiplePermissions( - reference.pointer, - _id_sendBroadcastWithMultiplePermissions as jni$_.JMethodIDPtr, - _$intent.pointer, - _$strings.pointer) - .check(); + reference.pointer, + _id_sendBroadcastWithMultiplePermissions as jni$_.JMethodIDPtr, + _$intent.pointer, + _$strings.pointer, + ).check(); } static final _id_sendOrderedBroadcast = _class.instanceMethodId( @@ -6789,36 +7676,37 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Ljava/lang/String;)V', ); - static final _sendOrderedBroadcast = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _sendOrderedBroadcast = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string)` - void sendOrderedBroadcast( - Intent? intent, - jni$_.JString? string, - ) { + void sendOrderedBroadcast(Intent? intent, jni$_.JString? string) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; _sendOrderedBroadcast( - reference.pointer, - _id_sendOrderedBroadcast as jni$_.JMethodIDPtr, - _$intent.pointer, - _$string.pointer) - .check(); + reference.pointer, + _id_sendOrderedBroadcast as jni$_.JMethodIDPtr, + _$intent.pointer, + _$string.pointer, + ).check(); } static final _id_sendOrderedBroadcast$1 = _class.instanceMethodId( @@ -6826,23 +7714,28 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); - static final _sendOrderedBroadcast$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _sendOrderedBroadcast$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -6851,7 +7744,9 @@ class Context extends jni$_.JObject { jni$_.Pointer, int, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string1, android.os.Bundle bundle)` void sendOrderedBroadcast$1( @@ -6871,16 +7766,16 @@ class Context extends jni$_.JObject { final _$string1 = string1?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendOrderedBroadcast$1( - reference.pointer, - _id_sendOrderedBroadcast$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$string.pointer, - _$broadcastReceiver.pointer, - _$handler.pointer, - i, - _$string1.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_sendOrderedBroadcast$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$string.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, + i, + _$string1.pointer, + _$bundle.pointer, + ).check(); } static final _id_sendBroadcastAsUser = _class.instanceMethodId( @@ -6888,36 +7783,37 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Landroid/os/UserHandle;)V', ); - static final _sendBroadcastAsUser = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _sendBroadcastAsUser = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` - void sendBroadcastAsUser( - Intent? intent, - jni$_.JObject? userHandle, - ) { + void sendBroadcastAsUser(Intent? intent, jni$_.JObject? userHandle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; _sendBroadcastAsUser( - reference.pointer, - _id_sendBroadcastAsUser as jni$_.JMethodIDPtr, - _$intent.pointer, - _$userHandle.pointer) - .check(); + reference.pointer, + _id_sendBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + ).check(); } static final _id_sendBroadcastAsUser$1 = _class.instanceMethodId( @@ -6925,24 +7821,31 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Landroid/os/UserHandle;Ljava/lang/String;)V', ); - static final _sendBroadcastAsUser$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _sendBroadcastAsUser$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, java.lang.String string)` void sendBroadcastAsUser$1( @@ -6954,12 +7857,12 @@ class Context extends jni$_.JObject { final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; _sendBroadcastAsUser$1( - reference.pointer, - _id_sendBroadcastAsUser$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$userHandle.pointer, - _$string.pointer) - .check(); + reference.pointer, + _id_sendBroadcastAsUser$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + _$string.pointer, + ).check(); } static final _id_sendOrderedBroadcastAsUser = _class.instanceMethodId( @@ -6969,33 +7872,39 @@ class Context extends jni$_.JObject { static final _sendOrderedBroadcastAsUser = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - int, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + int, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, java.lang.String string, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string1, android.os.Bundle bundle)` void sendOrderedBroadcastAsUser( @@ -7017,17 +7926,17 @@ class Context extends jni$_.JObject { final _$string1 = string1?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendOrderedBroadcastAsUser( - reference.pointer, - _id_sendOrderedBroadcastAsUser as jni$_.JMethodIDPtr, - _$intent.pointer, - _$userHandle.pointer, - _$string.pointer, - _$broadcastReceiver.pointer, - _$handler.pointer, - i, - _$string1.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_sendOrderedBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + _$string.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, + i, + _$string1.pointer, + _$bundle.pointer, + ).check(); } static final _id_sendOrderedBroadcast$2 = _class.instanceMethodId( @@ -7035,24 +7944,29 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Ljava/lang/String;Ljava/lang/String;Landroid/content/BroadcastReceiver;Landroid/os/Handler;ILjava/lang/String;Landroid/os/Bundle;)V', ); - static final _sendOrderedBroadcast$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _sendOrderedBroadcast$2 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -7062,7 +7976,9 @@ class Context extends jni$_.JObject { jni$_.Pointer, int, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void sendOrderedBroadcast(android.content.Intent intent, java.lang.String string, java.lang.String string1, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string2, android.os.Bundle bundle)` void sendOrderedBroadcast$2( @@ -7084,17 +8000,17 @@ class Context extends jni$_.JObject { final _$string2 = string2?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendOrderedBroadcast$2( - reference.pointer, - _id_sendOrderedBroadcast$2 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$string.pointer, - _$string1.pointer, - _$broadcastReceiver.pointer, - _$handler.pointer, - i, - _$string2.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_sendOrderedBroadcast$2 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$string.pointer, + _$string1.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, + i, + _$string2.pointer, + _$bundle.pointer, + ).check(); } static final _id_sendStickyBroadcast = _class.instanceMethodId( @@ -7102,25 +8018,32 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;)V', ); - static final _sendStickyBroadcast = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _sendStickyBroadcast = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendStickyBroadcast(android.content.Intent intent)` - void sendStickyBroadcast( - Intent? intent, - ) { + void sendStickyBroadcast(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _sendStickyBroadcast(reference.pointer, - _id_sendStickyBroadcast as jni$_.JMethodIDPtr, _$intent.pointer) - .check(); + _sendStickyBroadcast( + reference.pointer, + _id_sendStickyBroadcast as jni$_.JMethodIDPtr, + _$intent.pointer, + ).check(); } static final _id_sendStickyBroadcast$1 = _class.instanceMethodId( @@ -7128,36 +8051,37 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _sendStickyBroadcast$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _sendStickyBroadcast$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void sendStickyBroadcast(android.content.Intent intent, android.os.Bundle bundle)` - void sendStickyBroadcast$1( - Intent? intent, - jni$_.JObject? bundle, - ) { + void sendStickyBroadcast$1(Intent? intent, jni$_.JObject? bundle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendStickyBroadcast$1( - reference.pointer, - _id_sendStickyBroadcast$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_sendStickyBroadcast$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$bundle.pointer, + ).check(); } static final _id_sendStickyOrderedBroadcast = _class.instanceMethodId( @@ -7167,29 +8091,35 @@ class Context extends jni$_.JObject { static final _sendStickyOrderedBroadcast = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - int, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + int, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendStickyOrderedBroadcast(android.content.Intent intent, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string, android.os.Bundle bundle)` void sendStickyOrderedBroadcast( @@ -7207,15 +8137,15 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendStickyOrderedBroadcast( - reference.pointer, - _id_sendStickyOrderedBroadcast as jni$_.JMethodIDPtr, - _$intent.pointer, - _$broadcastReceiver.pointer, - _$handler.pointer, - i, - _$string.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_sendStickyOrderedBroadcast as jni$_.JMethodIDPtr, + _$intent.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, + i, + _$string.pointer, + _$bundle.pointer, + ).check(); } static final _id_removeStickyBroadcast = _class.instanceMethodId( @@ -7223,25 +8153,32 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;)V', ); - static final _removeStickyBroadcast = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _removeStickyBroadcast = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void removeStickyBroadcast(android.content.Intent intent)` - void removeStickyBroadcast( - Intent? intent, - ) { + void removeStickyBroadcast(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _removeStickyBroadcast(reference.pointer, - _id_removeStickyBroadcast as jni$_.JMethodIDPtr, _$intent.pointer) - .check(); + _removeStickyBroadcast( + reference.pointer, + _id_removeStickyBroadcast as jni$_.JMethodIDPtr, + _$intent.pointer, + ).check(); } static final _id_sendStickyBroadcastAsUser = _class.instanceMethodId( @@ -7249,36 +8186,37 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Landroid/os/UserHandle;)V', ); - static final _sendStickyBroadcastAsUser = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _sendStickyBroadcastAsUser = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` - void sendStickyBroadcastAsUser( - Intent? intent, - jni$_.JObject? userHandle, - ) { + void sendStickyBroadcastAsUser(Intent? intent, jni$_.JObject? userHandle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; _sendStickyBroadcastAsUser( - reference.pointer, - _id_sendStickyBroadcastAsUser as jni$_.JMethodIDPtr, - _$intent.pointer, - _$userHandle.pointer) - .check(); + reference.pointer, + _id_sendStickyBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + ).check(); } static final _id_sendStickyOrderedBroadcastAsUser = _class.instanceMethodId( @@ -7288,31 +8226,37 @@ class Context extends jni$_.JObject { static final _sendStickyOrderedBroadcastAsUser = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - int, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + int, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public abstract void sendStickyOrderedBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle, android.content.BroadcastReceiver broadcastReceiver, android.os.Handler handler, int i, java.lang.String string, android.os.Bundle bundle)` void sendStickyOrderedBroadcastAsUser( @@ -7332,16 +8276,16 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _sendStickyOrderedBroadcastAsUser( - reference.pointer, - _id_sendStickyOrderedBroadcastAsUser as jni$_.JMethodIDPtr, - _$intent.pointer, - _$userHandle.pointer, - _$broadcastReceiver.pointer, - _$handler.pointer, - i, - _$string.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_sendStickyOrderedBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + _$broadcastReceiver.pointer, + _$handler.pointer, + i, + _$string.pointer, + _$bundle.pointer, + ).check(); } static final _id_removeStickyBroadcastAsUser = _class.instanceMethodId( @@ -7351,35 +8295,35 @@ class Context extends jni$_.JObject { static final _removeStickyBroadcastAsUser = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public abstract void removeStickyBroadcastAsUser(android.content.Intent intent, android.os.UserHandle userHandle)` - void removeStickyBroadcastAsUser( - Intent? intent, - jni$_.JObject? userHandle, - ) { + void removeStickyBroadcastAsUser(Intent? intent, jni$_.JObject? userHandle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; _removeStickyBroadcastAsUser( - reference.pointer, - _id_removeStickyBroadcastAsUser as jni$_.JMethodIDPtr, - _$intent.pointer, - _$userHandle.pointer) - .check(); + reference.pointer, + _id_removeStickyBroadcastAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$userHandle.pointer, + ).check(); } static final _id_registerReceiver = _class.instanceMethodId( @@ -7387,22 +8331,26 @@ class Context extends jni$_.JObject { r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;)Landroid/content/Intent;', ); - static final _registerReceiver = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _registerReceiver = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter)` /// The returned object must be released after use, by calling the [release] method. @@ -7414,11 +8362,11 @@ class Context extends jni$_.JObject { broadcastReceiver?.reference ?? jni$_.jNullReference; final _$intentFilter = intentFilter?.reference ?? jni$_.jNullReference; return _registerReceiver( - reference.pointer, - _id_registerReceiver as jni$_.JMethodIDPtr, - _$broadcastReceiver.pointer, - _$intentFilter.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_registerReceiver as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + _$intentFilter.pointer, + ).object(const $Intent$NullableType()); } static final _id_registerReceiver$1 = _class.instanceMethodId( @@ -7426,24 +8374,31 @@ class Context extends jni$_.JObject { r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;I)Landroid/content/Intent;', ); - static final _registerReceiver$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _registerReceiver$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - int)>(); + int, + ) + >(); /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, int i)` /// The returned object must be released after use, by calling the [release] method. @@ -7456,12 +8411,12 @@ class Context extends jni$_.JObject { broadcastReceiver?.reference ?? jni$_.jNullReference; final _$intentFilter = intentFilter?.reference ?? jni$_.jNullReference; return _registerReceiver$1( - reference.pointer, - _id_registerReceiver$1 as jni$_.JMethodIDPtr, - _$broadcastReceiver.pointer, - _$intentFilter.pointer, - i) - .object(const $Intent$NullableType()); + reference.pointer, + _id_registerReceiver$1 as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + _$intentFilter.pointer, + i, + ).object(const $Intent$NullableType()); } static final _id_registerReceiver$2 = _class.instanceMethodId( @@ -7469,26 +8424,33 @@ class Context extends jni$_.JObject { r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;)Landroid/content/Intent;', ); - static final _registerReceiver$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _registerReceiver$2 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, java.lang.String string, android.os.Handler handler)` /// The returned object must be released after use, by calling the [release] method. @@ -7504,13 +8466,13 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$handler = handler?.reference ?? jni$_.jNullReference; return _registerReceiver$2( - reference.pointer, - _id_registerReceiver$2 as jni$_.JMethodIDPtr, - _$broadcastReceiver.pointer, - _$intentFilter.pointer, - _$string.pointer, - _$handler.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_registerReceiver$2 as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + _$intentFilter.pointer, + _$string.pointer, + _$handler.pointer, + ).object(const $Intent$NullableType()); } static final _id_registerReceiver$3 = _class.instanceMethodId( @@ -7518,28 +8480,35 @@ class Context extends jni$_.JObject { r'(Landroid/content/BroadcastReceiver;Landroid/content/IntentFilter;Ljava/lang/String;Landroid/os/Handler;I)Landroid/content/Intent;', ); - static final _registerReceiver$3 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _registerReceiver$3 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - int)>(); + int, + ) + >(); /// from: `public abstract android.content.Intent registerReceiver(android.content.BroadcastReceiver broadcastReceiver, android.content.IntentFilter intentFilter, java.lang.String string, android.os.Handler handler, int i)` /// The returned object must be released after use, by calling the [release] method. @@ -7556,14 +8525,14 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$handler = handler?.reference ?? jni$_.jNullReference; return _registerReceiver$3( - reference.pointer, - _id_registerReceiver$3 as jni$_.JMethodIDPtr, - _$broadcastReceiver.pointer, - _$intentFilter.pointer, - _$string.pointer, - _$handler.pointer, - i) - .object(const $Intent$NullableType()); + reference.pointer, + _id_registerReceiver$3 as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + _$intentFilter.pointer, + _$string.pointer, + _$handler.pointer, + i, + ).object(const $Intent$NullableType()); } static final _id_unregisterReceiver = _class.instanceMethodId( @@ -7571,28 +8540,33 @@ class Context extends jni$_.JObject { r'(Landroid/content/BroadcastReceiver;)V', ); - static final _unregisterReceiver = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _unregisterReceiver = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void unregisterReceiver(android.content.BroadcastReceiver broadcastReceiver)` - void unregisterReceiver( - jni$_.JObject? broadcastReceiver, - ) { + void unregisterReceiver(jni$_.JObject? broadcastReceiver) { final _$broadcastReceiver = broadcastReceiver?.reference ?? jni$_.jNullReference; _unregisterReceiver( - reference.pointer, - _id_unregisterReceiver as jni$_.JMethodIDPtr, - _$broadcastReceiver.pointer) - .check(); + reference.pointer, + _id_unregisterReceiver as jni$_.JMethodIDPtr, + _$broadcastReceiver.pointer, + ).check(); } static final _id_startService = _class.instanceMethodId( @@ -7600,26 +8574,33 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;)Landroid/content/ComponentName;', ); - static final _startService = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startService = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract android.content.ComponentName startService(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? startService( - Intent? intent, - ) { + jni$_.JObject? startService(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _startService(reference.pointer, - _id_startService as jni$_.JMethodIDPtr, _$intent.pointer) - .object(const jni$_.JObjectNullableType()); + return _startService( + reference.pointer, + _id_startService as jni$_.JMethodIDPtr, + _$intent.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_startForegroundService = _class.instanceMethodId( @@ -7627,26 +8608,33 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;)Landroid/content/ComponentName;', ); - static final _startForegroundService = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startForegroundService = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract android.content.ComponentName startForegroundService(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? startForegroundService( - Intent? intent, - ) { + jni$_.JObject? startForegroundService(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _startForegroundService(reference.pointer, - _id_startForegroundService as jni$_.JMethodIDPtr, _$intent.pointer) - .object(const jni$_.JObjectNullableType()); + return _startForegroundService( + reference.pointer, + _id_startForegroundService as jni$_.JMethodIDPtr, + _$intent.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_stopService = _class.instanceMethodId( @@ -7654,25 +8642,32 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;)Z', ); - static final _stopService = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _stopService = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract boolean stopService(android.content.Intent intent)` - bool stopService( - Intent? intent, - ) { + bool stopService(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _stopService(reference.pointer, - _id_stopService as jni$_.JMethodIDPtr, _$intent.pointer) - .boolean; + return _stopService( + reference.pointer, + _id_stopService as jni$_.JMethodIDPtr, + _$intent.pointer, + ).boolean; } static final _id_bindService = _class.instanceMethodId( @@ -7680,41 +8675,44 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Landroid/content/ServiceConnection;I)Z', ); - static final _bindService = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _bindService = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - int)>(); + int, + ) + >(); /// from: `public abstract boolean bindService(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i)` - bool bindService( - Intent? intent, - jni$_.JObject? serviceConnection, - int i, - ) { + bool bindService(Intent? intent, jni$_.JObject? serviceConnection, int i) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$serviceConnection = serviceConnection?.reference ?? jni$_.jNullReference; return _bindService( - reference.pointer, - _id_bindService as jni$_.JMethodIDPtr, - _$intent.pointer, - _$serviceConnection.pointer, - i) - .boolean; + reference.pointer, + _id_bindService as jni$_.JMethodIDPtr, + _$intent.pointer, + _$serviceConnection.pointer, + i, + ).boolean; } static final _id_bindService$1 = _class.instanceMethodId( @@ -7722,26 +8720,33 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;ILjava/util/concurrent/Executor;Landroid/content/ServiceConnection;)Z', ); - static final _bindService$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _bindService$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public boolean bindService(android.content.Intent intent, int i, java.util.concurrent.Executor executor, android.content.ServiceConnection serviceConnection)` bool bindService$1( @@ -7755,13 +8760,13 @@ class Context extends jni$_.JObject { final _$serviceConnection = serviceConnection?.reference ?? jni$_.jNullReference; return _bindService$1( - reference.pointer, - _id_bindService$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - i, - _$executor.pointer, - _$serviceConnection.pointer) - .boolean; + reference.pointer, + _id_bindService$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + i, + _$executor.pointer, + _$serviceConnection.pointer, + ).boolean; } static final _id_bindIsolatedService = _class.instanceMethodId( @@ -7769,28 +8774,35 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;ILjava/lang/String;Ljava/util/concurrent/Executor;Landroid/content/ServiceConnection;)Z', ); - static final _bindIsolatedService = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _bindIsolatedService = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public boolean bindIsolatedService(android.content.Intent intent, int i, java.lang.String string, java.util.concurrent.Executor executor, android.content.ServiceConnection serviceConnection)` bool bindIsolatedService( @@ -7806,14 +8818,14 @@ class Context extends jni$_.JObject { final _$serviceConnection = serviceConnection?.reference ?? jni$_.jNullReference; return _bindIsolatedService( - reference.pointer, - _id_bindIsolatedService as jni$_.JMethodIDPtr, - _$intent.pointer, - i, - _$string.pointer, - _$executor.pointer, - _$serviceConnection.pointer) - .boolean; + reference.pointer, + _id_bindIsolatedService as jni$_.JMethodIDPtr, + _$intent.pointer, + i, + _$string.pointer, + _$executor.pointer, + _$serviceConnection.pointer, + ).boolean; } static final _id_bindServiceAsUser = _class.instanceMethodId( @@ -7821,26 +8833,33 @@ class Context extends jni$_.JObject { r'(Landroid/content/Intent;Landroid/content/ServiceConnection;ILandroid/os/UserHandle;)Z', ); - static final _bindServiceAsUser = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _bindServiceAsUser = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public boolean bindServiceAsUser(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i, android.os.UserHandle userHandle)` bool bindServiceAsUser( @@ -7854,13 +8873,13 @@ class Context extends jni$_.JObject { serviceConnection?.reference ?? jni$_.jNullReference; final _$userHandle = userHandle?.reference ?? jni$_.jNullReference; return _bindServiceAsUser( - reference.pointer, - _id_bindServiceAsUser as jni$_.JMethodIDPtr, - _$intent.pointer, - _$serviceConnection.pointer, - i, - _$userHandle.pointer) - .boolean; + reference.pointer, + _id_bindServiceAsUser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$serviceConnection.pointer, + i, + _$userHandle.pointer, + ).boolean; } static final _id_updateServiceGroup = _class.instanceMethodId( @@ -7868,36 +8887,39 @@ class Context extends jni$_.JObject { r'(Landroid/content/ServiceConnection;II)V', ); - static final _updateServiceGroup = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _updateServiceGroup = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Int32, jni$_.Int32) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + ) + >(); /// from: `public void updateServiceGroup(android.content.ServiceConnection serviceConnection, int i, int i1)` - void updateServiceGroup( - jni$_.JObject? serviceConnection, - int i, - int i1, - ) { + void updateServiceGroup(jni$_.JObject? serviceConnection, int i, int i1) { final _$serviceConnection = serviceConnection?.reference ?? jni$_.jNullReference; _updateServiceGroup( - reference.pointer, - _id_updateServiceGroup as jni$_.JMethodIDPtr, - _$serviceConnection.pointer, - i, - i1) - .check(); + reference.pointer, + _id_updateServiceGroup as jni$_.JMethodIDPtr, + _$serviceConnection.pointer, + i, + i1, + ).check(); } static final _id_unbindService = _class.instanceMethodId( @@ -7905,26 +8927,33 @@ class Context extends jni$_.JObject { r'(Landroid/content/ServiceConnection;)V', ); - static final _unbindService = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _unbindService = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract void unbindService(android.content.ServiceConnection serviceConnection)` - void unbindService( - jni$_.JObject? serviceConnection, - ) { + void unbindService(jni$_.JObject? serviceConnection) { final _$serviceConnection = serviceConnection?.reference ?? jni$_.jNullReference; - _unbindService(reference.pointer, _id_unbindService as jni$_.JMethodIDPtr, - _$serviceConnection.pointer) - .check(); + _unbindService( + reference.pointer, + _id_unbindService as jni$_.JMethodIDPtr, + _$serviceConnection.pointer, + ).check(); } static final _id_startInstrumentation = _class.instanceMethodId( @@ -7932,24 +8961,31 @@ class Context extends jni$_.JObject { r'(Landroid/content/ComponentName;Ljava/lang/String;Landroid/os/Bundle;)Z', ); - static final _startInstrumentation = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startInstrumentation = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract boolean startInstrumentation(android.content.ComponentName componentName, java.lang.String string, android.os.Bundle bundle)` bool startInstrumentation( @@ -7961,12 +8997,12 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _startInstrumentation( - reference.pointer, - _id_startInstrumentation as jni$_.JMethodIDPtr, - _$componentName.pointer, - _$string.pointer, - _$bundle.pointer) - .boolean; + reference.pointer, + _id_startInstrumentation as jni$_.JMethodIDPtr, + _$componentName.pointer, + _$string.pointer, + _$bundle.pointer, + ).boolean; } static final _id_getSystemService = _class.instanceMethodId( @@ -7974,26 +9010,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/lang/Object;', ); - static final _getSystemService = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getSystemService = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.Object getSystemService(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSystemService( - jni$_.JString? string, - ) { + jni$_.JObject? getSystemService(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getSystemService(reference.pointer, - _id_getSystemService as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getSystemService( + reference.pointer, + _id_getSystemService as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getSystemService$1 = _class.instanceMethodId( @@ -8001,16 +9044,23 @@ class Context extends jni$_.JObject { r'(Ljava/lang/Class;)Ljava/lang/Object;', ); - static final _getSystemService$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getSystemService$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final T getSystemService(java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. @@ -8019,9 +9069,11 @@ class Context extends jni$_.JObject { required jni$_.JObjType<$T> T, }) { final _$class$ = class$?.reference ?? jni$_.jNullReference; - return _getSystemService$1(reference.pointer, - _id_getSystemService$1 as jni$_.JMethodIDPtr, _$class$.pointer) - .object<$T?>(T.nullableType); + return _getSystemService$1( + reference.pointer, + _id_getSystemService$1 as jni$_.JMethodIDPtr, + _$class$.pointer, + ).object<$T?>(T.nullableType); } static final _id_getSystemServiceName = _class.instanceMethodId( @@ -8029,26 +9081,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/Class;)Ljava/lang/String;', ); - static final _getSystemServiceName = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getSystemServiceName = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract java.lang.String getSystemServiceName(java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getSystemServiceName( - jni$_.JObject? class$, - ) { + jni$_.JString? getSystemServiceName(jni$_.JObject? class$) { final _$class$ = class$?.reference ?? jni$_.jNullReference; - return _getSystemServiceName(reference.pointer, - _id_getSystemServiceName as jni$_.JMethodIDPtr, _$class$.pointer) - .object(const jni$_.JStringNullableType()); + return _getSystemServiceName( + reference.pointer, + _id_getSystemServiceName as jni$_.JMethodIDPtr, + _$class$.pointer, + ).object(const jni$_.JStringNullableType()); } static final _id_checkPermission = _class.instanceMethodId( @@ -8056,31 +9115,38 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;II)I', ); - static final _checkPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _checkPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Int32, jni$_.Int32) + >, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + ) + >(); /// from: `public abstract int checkPermission(java.lang.String string, int i, int i1)` - int checkPermission( - jni$_.JString? string, - int i, - int i1, - ) { + int checkPermission(jni$_.JString? string, int i, int i1) { final _$string = string?.reference ?? jni$_.jNullReference; - return _checkPermission(reference.pointer, - _id_checkPermission as jni$_.JMethodIDPtr, _$string.pointer, i, i1) - .integer; + return _checkPermission( + reference.pointer, + _id_checkPermission as jni$_.JMethodIDPtr, + _$string.pointer, + i, + i1, + ).integer; } static final _id_checkCallingPermission = _class.instanceMethodId( @@ -8088,25 +9154,32 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)I', ); - static final _checkCallingPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _checkCallingPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract int checkCallingPermission(java.lang.String string)` - int checkCallingPermission( - jni$_.JString? string, - ) { + int checkCallingPermission(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _checkCallingPermission(reference.pointer, - _id_checkCallingPermission as jni$_.JMethodIDPtr, _$string.pointer) - .integer; + return _checkCallingPermission( + reference.pointer, + _id_checkCallingPermission as jni$_.JMethodIDPtr, + _$string.pointer, + ).integer; } static final _id_checkCallingOrSelfPermission = _class.instanceMethodId( @@ -8116,26 +9189,30 @@ class Context extends jni$_.JObject { static final _checkCallingOrSelfPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallIntMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract int checkCallingOrSelfPermission(java.lang.String string)` - int checkCallingOrSelfPermission( - jni$_.JString? string, - ) { + int checkCallingOrSelfPermission(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; return _checkCallingOrSelfPermission( - reference.pointer, - _id_checkCallingOrSelfPermission as jni$_.JMethodIDPtr, - _$string.pointer) - .integer; + reference.pointer, + _id_checkCallingOrSelfPermission as jni$_.JMethodIDPtr, + _$string.pointer, + ).integer; } static final _id_checkSelfPermission = _class.instanceMethodId( @@ -8143,25 +9220,32 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)I', ); - static final _checkSelfPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _checkSelfPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract int checkSelfPermission(java.lang.String string)` - int checkSelfPermission( - jni$_.JString? string, - ) { + int checkSelfPermission(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _checkSelfPermission(reference.pointer, - _id_checkSelfPermission as jni$_.JMethodIDPtr, _$string.pointer) - .integer; + return _checkSelfPermission( + reference.pointer, + _id_checkSelfPermission as jni$_.JMethodIDPtr, + _$string.pointer, + ).integer; } static final _id_enforcePermission = _class.instanceMethodId( @@ -8169,26 +9253,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;IILjava/lang/String;)V', ); - static final _enforcePermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _enforcePermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void enforcePermission(java.lang.String string, int i, int i1, java.lang.String string1)` void enforcePermission( @@ -8200,13 +9291,13 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$string1 = string1?.reference ?? jni$_.jNullReference; _enforcePermission( - reference.pointer, - _id_enforcePermission as jni$_.JMethodIDPtr, - _$string.pointer, - i, - i1, - _$string1.pointer) - .check(); + reference.pointer, + _id_enforcePermission as jni$_.JMethodIDPtr, + _$string.pointer, + i, + i1, + _$string1.pointer, + ).check(); } static final _id_enforceCallingPermission = _class.instanceMethodId( @@ -8214,36 +9305,37 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;Ljava/lang/String;)V', ); - static final _enforceCallingPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _enforceCallingPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void enforceCallingPermission(java.lang.String string, java.lang.String string1)` - void enforceCallingPermission( - jni$_.JString? string, - jni$_.JString? string1, - ) { + void enforceCallingPermission(jni$_.JString? string, jni$_.JString? string1) { final _$string = string?.reference ?? jni$_.jNullReference; final _$string1 = string1?.reference ?? jni$_.jNullReference; _enforceCallingPermission( - reference.pointer, - _id_enforceCallingPermission as jni$_.JMethodIDPtr, - _$string.pointer, - _$string1.pointer) - .check(); + reference.pointer, + _id_enforceCallingPermission as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer, + ).check(); } static final _id_enforceCallingOrSelfPermission = _class.instanceMethodId( @@ -8253,21 +9345,24 @@ class Context extends jni$_.JObject { static final _enforceCallingOrSelfPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public abstract void enforceCallingOrSelfPermission(java.lang.String string, java.lang.String string1)` void enforceCallingOrSelfPermission( @@ -8277,11 +9372,11 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$string1 = string1?.reference ?? jni$_.jNullReference; _enforceCallingOrSelfPermission( - reference.pointer, - _id_enforceCallingOrSelfPermission as jni$_.JMethodIDPtr, - _$string.pointer, - _$string1.pointer) - .check(); + reference.pointer, + _id_enforceCallingOrSelfPermission as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer, + ).check(); } static final _id_grantUriPermission = _class.instanceMethodId( @@ -8289,40 +9384,43 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;Landroid/net/Uri;I)V', ); - static final _grantUriPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _grantUriPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - int)>(); + int, + ) + >(); /// from: `public abstract void grantUriPermission(java.lang.String string, android.net.Uri uri, int i)` - void grantUriPermission( - jni$_.JString? string, - jni$_.JObject? uri, - int i, - ) { + void grantUriPermission(jni$_.JString? string, jni$_.JObject? uri, int i) { final _$string = string?.reference ?? jni$_.jNullReference; final _$uri = uri?.reference ?? jni$_.jNullReference; _grantUriPermission( - reference.pointer, - _id_grantUriPermission as jni$_.JMethodIDPtr, - _$string.pointer, - _$uri.pointer, - i) - .check(); + reference.pointer, + _id_grantUriPermission as jni$_.JMethodIDPtr, + _$string.pointer, + _$uri.pointer, + i, + ).check(); } static final _id_revokeUriPermission = _class.instanceMethodId( @@ -8330,27 +9428,34 @@ class Context extends jni$_.JObject { r'(Landroid/net/Uri;I)V', ); - static final _revokeUriPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _revokeUriPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public abstract void revokeUriPermission(android.net.Uri uri, int i)` - void revokeUriPermission( - jni$_.JObject? uri, - int i, - ) { + void revokeUriPermission(jni$_.JObject? uri, int i) { final _$uri = uri?.reference ?? jni$_.jNullReference; - _revokeUriPermission(reference.pointer, - _id_revokeUriPermission as jni$_.JMethodIDPtr, _$uri.pointer, i) - .check(); + _revokeUriPermission( + reference.pointer, + _id_revokeUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, + i, + ).check(); } static final _id_revokeUriPermission$1 = _class.instanceMethodId( @@ -8358,40 +9463,43 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;Landroid/net/Uri;I)V', ); - static final _revokeUriPermission$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _revokeUriPermission$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - int)>(); + int, + ) + >(); /// from: `public abstract void revokeUriPermission(java.lang.String string, android.net.Uri uri, int i)` - void revokeUriPermission$1( - jni$_.JString? string, - jni$_.JObject? uri, - int i, - ) { + void revokeUriPermission$1(jni$_.JString? string, jni$_.JObject? uri, int i) { final _$string = string?.reference ?? jni$_.jNullReference; final _$uri = uri?.reference ?? jni$_.jNullReference; _revokeUriPermission$1( - reference.pointer, - _id_revokeUriPermission$1 as jni$_.JMethodIDPtr, - _$string.pointer, - _$uri.pointer, - i) - .check(); + reference.pointer, + _id_revokeUriPermission$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$uri.pointer, + i, + ).check(); } static final _id_checkUriPermission = _class.instanceMethodId( @@ -8399,38 +9507,45 @@ class Context extends jni$_.JObject { r'(Landroid/net/Uri;III)I', ); - static final _checkUriPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _checkUriPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + int, + ) + >(); /// from: `public abstract int checkUriPermission(android.net.Uri uri, int i, int i1, int i2)` - int checkUriPermission( - jni$_.JObject? uri, - int i, - int i1, - int i2, - ) { + int checkUriPermission(jni$_.JObject? uri, int i, int i1, int i2) { final _$uri = uri?.reference ?? jni$_.jNullReference; return _checkUriPermission( - reference.pointer, - _id_checkUriPermission as jni$_.JMethodIDPtr, - _$uri.pointer, - i, - i1, - i2) - .integer; + reference.pointer, + _id_checkUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, + i, + i1, + i2, + ).integer; } static final _id_checkUriPermissions = _class.instanceMethodId( @@ -8438,21 +9553,33 @@ class Context extends jni$_.JObject { r'(Ljava/util/List;III)[I', ); - static final _checkUriPermissions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _checkUriPermissions = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + int, + int, + ) + >(); /// from: `public java.lang.Object[] checkUriPermissions(java.util.List list, int i, int i1, int i2)` /// The returned object must be released after use, by calling the [release] method. @@ -8464,13 +9591,13 @@ class Context extends jni$_.JObject { ) { final _$list = list?.reference ?? jni$_.jNullReference; return _checkUriPermissions( - reference.pointer, - _id_checkUriPermissions as jni$_.JMethodIDPtr, - _$list.pointer, - i, - i1, - i2) - .object(const jni$_.JIntArrayNullableType()); + reference.pointer, + _id_checkUriPermissions as jni$_.JMethodIDPtr, + _$list.pointer, + i, + i1, + i2, + ).object(const jni$_.JIntArrayNullableType()); } static final _id_checkCallingUriPermission = _class.instanceMethodId( @@ -8478,30 +9605,34 @@ class Context extends jni$_.JObject { r'(Landroid/net/Uri;I)I', ); - static final _checkCallingUriPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _checkCallingUriPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public abstract int checkCallingUriPermission(android.net.Uri uri, int i)` - int checkCallingUriPermission( - jni$_.JObject? uri, - int i, - ) { + int checkCallingUriPermission(jni$_.JObject? uri, int i) { final _$uri = uri?.reference ?? jni$_.jNullReference; return _checkCallingUriPermission( - reference.pointer, - _id_checkCallingUriPermission as jni$_.JMethodIDPtr, - _$uri.pointer, - i) - .integer; + reference.pointer, + _id_checkCallingUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, + i, + ).integer; } static final _id_checkCallingUriPermissions = _class.instanceMethodId( @@ -8511,18 +9642,22 @@ class Context extends jni$_.JObject { static final _checkCallingUriPermissions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public java.lang.Object[] checkCallingUriPermissions(java.util.List list, int i)` /// The returned object must be released after use, by calling the [release] method. @@ -8532,11 +9667,11 @@ class Context extends jni$_.JObject { ) { final _$list = list?.reference ?? jni$_.jNullReference; return _checkCallingUriPermissions( - reference.pointer, - _id_checkCallingUriPermissions as jni$_.JMethodIDPtr, - _$list.pointer, - i) - .object(const jni$_.JIntArrayNullableType()); + reference.pointer, + _id_checkCallingUriPermissions as jni$_.JMethodIDPtr, + _$list.pointer, + i, + ).object(const jni$_.JIntArrayNullableType()); } static final _id_checkCallingOrSelfUriPermission = _class.instanceMethodId( @@ -8546,31 +9681,32 @@ class Context extends jni$_.JObject { static final _checkCallingOrSelfUriPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallIntMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallIntMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public abstract int checkCallingOrSelfUriPermission(android.net.Uri uri, int i)` - int checkCallingOrSelfUriPermission( - jni$_.JObject? uri, - int i, - ) { + int checkCallingOrSelfUriPermission(jni$_.JObject? uri, int i) { final _$uri = uri?.reference ?? jni$_.jNullReference; return _checkCallingOrSelfUriPermission( - reference.pointer, - _id_checkCallingOrSelfUriPermission as jni$_.JMethodIDPtr, - _$uri.pointer, - i) - .integer; + reference.pointer, + _id_checkCallingOrSelfUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, + i, + ).integer; } static final _id_checkCallingOrSelfUriPermissions = _class.instanceMethodId( @@ -8580,18 +9716,22 @@ class Context extends jni$_.JObject { static final _checkCallingOrSelfUriPermissions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public java.lang.Object[] checkCallingOrSelfUriPermissions(java.util.List list, int i)` /// The returned object must be released after use, by calling the [release] method. @@ -8601,11 +9741,11 @@ class Context extends jni$_.JObject { ) { final _$list = list?.reference ?? jni$_.jNullReference; return _checkCallingOrSelfUriPermissions( - reference.pointer, - _id_checkCallingOrSelfUriPermissions as jni$_.JMethodIDPtr, - _$list.pointer, - i) - .object(const jni$_.JIntArrayNullableType()); + reference.pointer, + _id_checkCallingOrSelfUriPermissions as jni$_.JMethodIDPtr, + _$list.pointer, + i, + ).object(const jni$_.JIntArrayNullableType()); } static final _id_checkUriPermission$1 = _class.instanceMethodId( @@ -8613,22 +9753,27 @@ class Context extends jni$_.JObject { r'(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;III)I', ); - static final _checkUriPermission$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _checkUriPermission$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -8636,7 +9781,9 @@ class Context extends jni$_.JObject { jni$_.Pointer, int, int, - int)>(); + int, + ) + >(); /// from: `public abstract int checkUriPermission(android.net.Uri uri, java.lang.String string, java.lang.String string1, int i, int i1, int i2)` int checkUriPermission$1( @@ -8651,15 +9798,15 @@ class Context extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$string1 = string1?.reference ?? jni$_.jNullReference; return _checkUriPermission$1( - reference.pointer, - _id_checkUriPermission$1 as jni$_.JMethodIDPtr, - _$uri.pointer, - _$string.pointer, - _$string1.pointer, - i, - i1, - i2) - .integer; + reference.pointer, + _id_checkUriPermission$1 as jni$_.JMethodIDPtr, + _$uri.pointer, + _$string.pointer, + _$string1.pointer, + i, + i1, + i2, + ).integer; } static final _id_enforceUriPermission = _class.instanceMethodId( @@ -8667,28 +9814,35 @@ class Context extends jni$_.JObject { r'(Landroid/net/Uri;IIILjava/lang/String;)V', ); - static final _enforceUriPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _enforceUriPermission = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void enforceUriPermission(android.net.Uri uri, int i, int i1, int i2, java.lang.String string)` void enforceUriPermission( @@ -8701,14 +9855,14 @@ class Context extends jni$_.JObject { final _$uri = uri?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; _enforceUriPermission( - reference.pointer, - _id_enforceUriPermission as jni$_.JMethodIDPtr, - _$uri.pointer, - i, - i1, - i2, - _$string.pointer) - .check(); + reference.pointer, + _id_enforceUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, + i, + i1, + i2, + _$string.pointer, + ).check(); } static final _id_enforceCallingUriPermission = _class.instanceMethodId( @@ -8718,23 +9872,29 @@ class Context extends jni$_.JObject { static final _enforceCallingUriPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + jni$_.Pointer, + ) + >(); /// from: `public abstract void enforceCallingUriPermission(android.net.Uri uri, int i, java.lang.String string)` void enforceCallingUriPermission( @@ -8745,12 +9905,12 @@ class Context extends jni$_.JObject { final _$uri = uri?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; _enforceCallingUriPermission( - reference.pointer, - _id_enforceCallingUriPermission as jni$_.JMethodIDPtr, - _$uri.pointer, - i, - _$string.pointer) - .check(); + reference.pointer, + _id_enforceCallingUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, + i, + _$string.pointer, + ).check(); } static final _id_enforceCallingOrSelfUriPermission = _class.instanceMethodId( @@ -8760,23 +9920,29 @@ class Context extends jni$_.JObject { static final _enforceCallingOrSelfUriPermission = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + jni$_.Pointer, + ) + >(); /// from: `public abstract void enforceCallingOrSelfUriPermission(android.net.Uri uri, int i, java.lang.String string)` void enforceCallingOrSelfUriPermission( @@ -8787,12 +9953,12 @@ class Context extends jni$_.JObject { final _$uri = uri?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; _enforceCallingOrSelfUriPermission( - reference.pointer, - _id_enforceCallingOrSelfUriPermission as jni$_.JMethodIDPtr, - _$uri.pointer, - i, - _$string.pointer) - .check(); + reference.pointer, + _id_enforceCallingOrSelfUriPermission as jni$_.JMethodIDPtr, + _$uri.pointer, + i, + _$string.pointer, + ).check(); } static final _id_enforceUriPermission$1 = _class.instanceMethodId( @@ -8800,23 +9966,28 @@ class Context extends jni$_.JObject { r'(Landroid/net/Uri;Ljava/lang/String;Ljava/lang/String;IIILjava/lang/String;)V', ); - static final _enforceUriPermission$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _enforceUriPermission$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -8825,7 +9996,9 @@ class Context extends jni$_.JObject { int, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public abstract void enforceUriPermission(android.net.Uri uri, java.lang.String string, java.lang.String string1, int i, int i1, int i2, java.lang.String string2)` void enforceUriPermission$1( @@ -8842,16 +10015,16 @@ class Context extends jni$_.JObject { final _$string1 = string1?.reference ?? jni$_.jNullReference; final _$string2 = string2?.reference ?? jni$_.jNullReference; _enforceUriPermission$1( - reference.pointer, - _id_enforceUriPermission$1 as jni$_.JMethodIDPtr, - _$uri.pointer, - _$string.pointer, - _$string1.pointer, - i, - i1, - i2, - _$string2.pointer) - .check(); + reference.pointer, + _id_enforceUriPermission$1 as jni$_.JMethodIDPtr, + _$uri.pointer, + _$string.pointer, + _$string1.pointer, + i, + i1, + i2, + _$string2.pointer, + ).check(); } static final _id_revokeSelfPermissionOnKill = _class.instanceMethodId( @@ -8861,26 +10034,30 @@ class Context extends jni$_.JObject { static final _revokeSelfPermissionOnKill = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void revokeSelfPermissionOnKill(java.lang.String string)` - void revokeSelfPermissionOnKill( - jni$_.JString? string, - ) { + void revokeSelfPermissionOnKill(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; _revokeSelfPermissionOnKill( - reference.pointer, - _id_revokeSelfPermissionOnKill as jni$_.JMethodIDPtr, - _$string.pointer) - .check(); + reference.pointer, + _id_revokeSelfPermissionOnKill as jni$_.JMethodIDPtr, + _$string.pointer, + ).check(); } static final _id_revokeSelfPermissionsOnKill = _class.instanceMethodId( @@ -8890,26 +10067,30 @@ class Context extends jni$_.JObject { static final _revokeSelfPermissionsOnKill = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void revokeSelfPermissionsOnKill(java.util.Collection collection)` - void revokeSelfPermissionsOnKill( - jni$_.JObject? collection, - ) { + void revokeSelfPermissionsOnKill(jni$_.JObject? collection) { final _$collection = collection?.reference ?? jni$_.jNullReference; _revokeSelfPermissionsOnKill( - reference.pointer, - _id_revokeSelfPermissionsOnKill as jni$_.JMethodIDPtr, - _$collection.pointer) - .check(); + reference.pointer, + _id_revokeSelfPermissionsOnKill as jni$_.JMethodIDPtr, + _$collection.pointer, + ).check(); } static final _id_createPackageContext = _class.instanceMethodId( @@ -8917,28 +10098,35 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;I)Landroid/content/Context;', ); - static final _createPackageContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _createPackageContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public abstract android.content.Context createPackageContext(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - Context? createPackageContext( - jni$_.JString? string, - int i, - ) { + Context? createPackageContext(jni$_.JString? string, int i) { final _$string = string?.reference ?? jni$_.jNullReference; - return _createPackageContext(reference.pointer, - _id_createPackageContext as jni$_.JMethodIDPtr, _$string.pointer, i) - .object(const $Context$NullableType()); + return _createPackageContext( + reference.pointer, + _id_createPackageContext as jni$_.JMethodIDPtr, + _$string.pointer, + i, + ).object(const $Context$NullableType()); } static final _id_createContextForSplit = _class.instanceMethodId( @@ -8946,26 +10134,33 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Context;', ); - static final _createContextForSplit = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _createContextForSplit = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract android.content.Context createContextForSplit(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Context? createContextForSplit( - jni$_.JString? string, - ) { + Context? createContextForSplit(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _createContextForSplit(reference.pointer, - _id_createContextForSplit as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Context$NullableType()); + return _createContextForSplit( + reference.pointer, + _id_createContextForSplit as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Context$NullableType()); } static final _id_createConfigurationContext = _class.instanceMethodId( @@ -8975,27 +10170,31 @@ class Context extends jni$_.JObject { static final _createConfigurationContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract android.content.Context createConfigurationContext(android.content.res.Configuration configuration)` /// The returned object must be released after use, by calling the [release] method. - Context? createConfigurationContext( - jni$_.JObject? configuration, - ) { + Context? createConfigurationContext(jni$_.JObject? configuration) { final _$configuration = configuration?.reference ?? jni$_.jNullReference; return _createConfigurationContext( - reference.pointer, - _id_createConfigurationContext as jni$_.JMethodIDPtr, - _$configuration.pointer) - .object(const $Context$NullableType()); + reference.pointer, + _id_createConfigurationContext as jni$_.JMethodIDPtr, + _$configuration.pointer, + ).object(const $Context$NullableType()); } static final _id_createDisplayContext = _class.instanceMethodId( @@ -9003,26 +10202,33 @@ class Context extends jni$_.JObject { r'(Landroid/view/Display;)Landroid/content/Context;', ); - static final _createDisplayContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _createDisplayContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public abstract android.content.Context createDisplayContext(android.view.Display display)` /// The returned object must be released after use, by calling the [release] method. - Context? createDisplayContext( - jni$_.JObject? display, - ) { + Context? createDisplayContext(jni$_.JObject? display) { final _$display = display?.reference ?? jni$_.jNullReference; - return _createDisplayContext(reference.pointer, - _id_createDisplayContext as jni$_.JMethodIDPtr, _$display.pointer) - .object(const $Context$NullableType()); + return _createDisplayContext( + reference.pointer, + _id_createDisplayContext as jni$_.JMethodIDPtr, + _$display.pointer, + ).object(const $Context$NullableType()); } static final _id_createWindowContext = _class.instanceMethodId( @@ -9030,28 +10236,35 @@ class Context extends jni$_.JObject { r'(ILandroid/os/Bundle;)Landroid/content/Context;', ); - static final _createWindowContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _createWindowContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Context createWindowContext(int i, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Context? createWindowContext( - int i, - jni$_.JObject? bundle, - ) { + Context? createWindowContext(int i, jni$_.JObject? bundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; - return _createWindowContext(reference.pointer, - _id_createWindowContext as jni$_.JMethodIDPtr, i, _$bundle.pointer) - .object(const $Context$NullableType()); + return _createWindowContext( + reference.pointer, + _id_createWindowContext as jni$_.JMethodIDPtr, + i, + _$bundle.pointer, + ).object(const $Context$NullableType()); } static final _id_createWindowContext$1 = _class.instanceMethodId( @@ -9059,24 +10272,31 @@ class Context extends jni$_.JObject { r'(Landroid/view/Display;ILandroid/os/Bundle;)Landroid/content/Context;', ); - static final _createWindowContext$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _createWindowContext$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Context createWindowContext(android.view.Display display, int i, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. @@ -9088,12 +10308,12 @@ class Context extends jni$_.JObject { final _$display = display?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _createWindowContext$1( - reference.pointer, - _id_createWindowContext$1 as jni$_.JMethodIDPtr, - _$display.pointer, - i, - _$bundle.pointer) - .object(const $Context$NullableType()); + reference.pointer, + _id_createWindowContext$1 as jni$_.JMethodIDPtr, + _$display.pointer, + i, + _$bundle.pointer, + ).object(const $Context$NullableType()); } static final _id_createContext = _class.instanceMethodId( @@ -9101,26 +10321,33 @@ class Context extends jni$_.JObject { r'(Landroid/content/ContextParams;)Landroid/content/Context;', ); - static final _createContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _createContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Context createContext(android.content.ContextParams contextParams)` /// The returned object must be released after use, by calling the [release] method. - Context? createContext( - jni$_.JObject? contextParams, - ) { + Context? createContext(jni$_.JObject? contextParams) { final _$contextParams = contextParams?.reference ?? jni$_.jNullReference; - return _createContext(reference.pointer, - _id_createContext as jni$_.JMethodIDPtr, _$contextParams.pointer) - .object(const $Context$NullableType()); + return _createContext( + reference.pointer, + _id_createContext as jni$_.JMethodIDPtr, + _$contextParams.pointer, + ).object(const $Context$NullableType()); } static final _id_createAttributionContext = _class.instanceMethodId( @@ -9128,55 +10355,64 @@ class Context extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Context;', ); - static final _createAttributionContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _createAttributionContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Context createAttributionContext(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Context? createAttributionContext( - jni$_.JString? string, - ) { + Context? createAttributionContext(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; return _createAttributionContext( - reference.pointer, - _id_createAttributionContext as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const $Context$NullableType()); + reference.pointer, + _id_createAttributionContext as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Context$NullableType()); } - static final _id_createDeviceProtectedStorageContext = - _class.instanceMethodId( - r'createDeviceProtectedStorageContext', - r'()Landroid/content/Context;', - ); + static final _id_createDeviceProtectedStorageContext = _class + .instanceMethodId( + r'createDeviceProtectedStorageContext', + r'()Landroid/content/Context;', + ); static final _createDeviceProtectedStorageContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract android.content.Context createDeviceProtectedStorageContext()` /// The returned object must be released after use, by calling the [release] method. Context? createDeviceProtectedStorageContext() { - return _createDeviceProtectedStorageContext(reference.pointer, - _id_createDeviceProtectedStorageContext as jni$_.JMethodIDPtr) - .object(const $Context$NullableType()); + return _createDeviceProtectedStorageContext( + reference.pointer, + _id_createDeviceProtectedStorageContext as jni$_.JMethodIDPtr, + ).object(const $Context$NullableType()); } static final _id_getDisplay = _class.instanceMethodId( @@ -9184,23 +10420,29 @@ class Context extends jni$_.JObject { r'()Landroid/view/Display;', ); - static final _getDisplay = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getDisplay = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); - - /// from: `public android.view.Display getDisplay()` + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); + + /// from: `public android.view.Display getDisplay()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getDisplay() { - return _getDisplay(reference.pointer, _id_getDisplay as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getDisplay( + reference.pointer, + _id_getDisplay as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_isRestricted = _class.instanceMethodId( @@ -9208,23 +10450,28 @@ class Context extends jni$_.JObject { r'()Z', ); - static final _isRestricted = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isRestricted = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isRestricted()` bool isRestricted() { return _isRestricted( - reference.pointer, _id_isRestricted as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isRestricted as jni$_.JMethodIDPtr, + ).boolean; } static final _id_isDeviceProtectedStorage = _class.instanceMethodId( @@ -9232,23 +10479,28 @@ class Context extends jni$_.JObject { r'()Z', ); - static final _isDeviceProtectedStorage = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isDeviceProtectedStorage = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public abstract boolean isDeviceProtectedStorage()` bool isDeviceProtectedStorage() { - return _isDeviceProtectedStorage(reference.pointer, - _id_isDeviceProtectedStorage as jni$_.JMethodIDPtr) - .boolean; + return _isDeviceProtectedStorage( + reference.pointer, + _id_isDeviceProtectedStorage as jni$_.JMethodIDPtr, + ).boolean; } static final _id_isUiContext = _class.instanceMethodId( @@ -9256,23 +10508,28 @@ class Context extends jni$_.JObject { r'()Z', ); - static final _isUiContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isUiContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isUiContext()` bool isUiContext() { return _isUiContext( - reference.pointer, _id_isUiContext as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isUiContext as jni$_.JMethodIDPtr, + ).boolean; } } @@ -9286,11 +10543,8 @@ final class $Context$NullableType extends jni$_.JObjType { @jni$_.internal @core$_.override - Context? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : Context.fromReference( - reference, - ); + Context? fromReference(jni$_.JReference reference) => + reference.isNull ? null : Context.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -9323,9 +10577,8 @@ final class $Context$Type extends jni$_.JObjType { @jni$_.internal @core$_.override - Context fromReference(jni$_.JReference reference) => Context.fromReference( - reference, - ); + Context fromReference(jni$_.JReference reference) => + Context.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -9354,41 +10607,48 @@ class Intent$FilterComparison extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - Intent$FilterComparison.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + Intent$FilterComparison.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); - static final _class = - jni$_.JClass.forName(r'android/content/Intent$FilterComparison'); + static final _class = jni$_.JClass.forName( + r'android/content/Intent$FilterComparison', + ); /// The type which includes information such as the signature of this class. static const nullableType = $Intent$FilterComparison$NullableType(); static const type = $Intent$FilterComparison$Type(); - static final _id_new$ = _class.constructorId( - r'(Landroid/content/Intent;)V', - ); + static final _id_new$ = _class.constructorId(r'(Landroid/content/Intent;)V'); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void (android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - factory Intent$FilterComparison( - Intent? intent, - ) { + factory Intent$FilterComparison(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return Intent$FilterComparison.fromReference(_new$(_class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, _$intent.pointer) - .reference); + return Intent$FilterComparison.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$intent.pointer, + ).reference, + ); } static final _id_getIntent = _class.instanceMethodId( @@ -9396,23 +10656,29 @@ class Intent$FilterComparison extends jni$_.JObject { r'()Landroid/content/Intent;', ); - static final _getIntent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getIntent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.Intent getIntent()` /// The returned object must be released after use, by calling the [release] method. Intent? getIntent() { - return _getIntent(reference.pointer, _id_getIntent as jni$_.JMethodIDPtr) - .object(const $Intent$NullableType()); + return _getIntent( + reference.pointer, + _id_getIntent as jni$_.JMethodIDPtr, + ).object(const $Intent$NullableType()); } static final _id_equals = _class.instanceMethodId( @@ -9420,48 +10686,58 @@ class Intent$FilterComparison extends jni$_.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _equals = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean equals(java.lang.Object object)` - bool equals( - jni$_.JObject? object, - ) { + bool equals(jni$_.JObject? object) { final _$object = object?.reference ?? jni$_.jNullReference; - return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, - _$object.pointer) - .boolean; + return _equals( + reference.pointer, + _id_equals as jni$_.JMethodIDPtr, + _$object.pointer, + ).boolean; } - static final _id_hashCode$1 = _class.instanceMethodId( - r'hashCode', - r'()I', - ); + static final _id_hashCode$1 = _class.instanceMethodId(r'hashCode', r'()I'); - static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _hashCode$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) - .integer; + return _hashCode$1( + reference.pointer, + _id_hashCode$1 as jni$_.JMethodIDPtr, + ).integer; } } @@ -9479,9 +10755,7 @@ final class $Intent$FilterComparison$NullableType Intent$FilterComparison? fromReference(jni$_.JReference reference) => reference.isNull ? null - : Intent$FilterComparison.fromReference( - reference, - ); + : Intent$FilterComparison.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -9516,9 +10790,7 @@ final class $Intent$FilterComparison$Type @jni$_.internal @core$_.override Intent$FilterComparison fromReference(jni$_.JReference reference) => - Intent$FilterComparison.fromReference( - reference, - ); + Intent$FilterComparison.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -9549,13 +10821,13 @@ class Intent$ShortcutIconResource extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - Intent$ShortcutIconResource.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + Intent$ShortcutIconResource.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); - static final _class = - jni$_.JClass.forName(r'android/content/Intent$ShortcutIconResource'); + static final _class = jni$_.JClass.forName( + r'android/content/Intent$ShortcutIconResource', + ); /// The type which includes information such as the signature of this class. static const nullableType = $Intent$ShortcutIconResource$NullableType(); @@ -9600,28 +10872,30 @@ class Intent$ShortcutIconResource extends jni$_.JObject { set resourceName(jni$_.JString? value) => _id_resourceName.set(this, const jni$_.JStringNullableType(), value); - static final _id_new$ = _class.constructorId( - r'()V', - ); + static final _id_new$ = _class.constructorId(r'()V'); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Intent$ShortcutIconResource() { return Intent$ShortcutIconResource.fromReference( - _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr) - .reference); + _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr).reference, + ); } static final _id_fromContext = _class.staticMethodId( @@ -9629,29 +10903,37 @@ class Intent$ShortcutIconResource extends jni$_.JObject { r'(Landroid/content/Context;I)Landroid/content/Intent$ShortcutIconResource;', ); - static final _fromContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _fromContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `static public android.content.Intent$ShortcutIconResource fromContext(android.content.Context context, int i)` /// The returned object must be released after use, by calling the [release] method. - static Intent$ShortcutIconResource? fromContext( - Context? context, - int i, - ) { + static Intent$ShortcutIconResource? fromContext(Context? context, int i) { final _$context = context?.reference ?? jni$_.jNullReference; - return _fromContext(_class.reference.pointer, - _id_fromContext as jni$_.JMethodIDPtr, _$context.pointer, i) - .object( - const $Intent$ShortcutIconResource$NullableType()); + return _fromContext( + _class.reference.pointer, + _id_fromContext as jni$_.JMethodIDPtr, + _$context.pointer, + i, + ).object( + const $Intent$ShortcutIconResource$NullableType(), + ); } static final _id_describeContents = _class.instanceMethodId( @@ -9659,23 +10941,28 @@ class Intent$ShortcutIconResource extends jni$_.JObject { r'()I', ); - static final _describeContents = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _describeContents = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int describeContents()` int describeContents() { return _describeContents( - reference.pointer, _id_describeContents as jni$_.JMethodIDPtr) - .integer; + reference.pointer, + _id_describeContents as jni$_.JMethodIDPtr, + ).integer; } static final _id_writeToParcel = _class.instanceMethodId( @@ -9683,27 +10970,34 @@ class Intent$ShortcutIconResource extends jni$_.JObject { r'(Landroid/os/Parcel;I)V', ); - static final _writeToParcel = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _writeToParcel = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public void writeToParcel(android.os.Parcel parcel, int i)` - void writeToParcel( - jni$_.JObject? parcel, - int i, - ) { + void writeToParcel(jni$_.JObject? parcel, int i) { final _$parcel = parcel?.reference ?? jni$_.jNullReference; - _writeToParcel(reference.pointer, _id_writeToParcel as jni$_.JMethodIDPtr, - _$parcel.pointer, i) - .check(); + _writeToParcel( + reference.pointer, + _id_writeToParcel as jni$_.JMethodIDPtr, + _$parcel.pointer, + i, + ).check(); } static final _id_toString$1 = _class.instanceMethodId( @@ -9711,23 +11005,29 @@ class Intent$ShortcutIconResource extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _toString$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? toString$1() { - return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + return _toString$1( + reference.pointer, + _id_toString$1 as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } } @@ -9745,9 +11045,7 @@ final class $Intent$ShortcutIconResource$NullableType Intent$ShortcutIconResource? fromReference(jni$_.JReference reference) => reference.isNull ? null - : Intent$ShortcutIconResource.fromReference( - reference, - ); + : Intent$ShortcutIconResource.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -9782,9 +11080,7 @@ final class $Intent$ShortcutIconResource$Type @jni$_.internal @core$_.override Intent$ShortcutIconResource fromReference(jni$_.JReference reference) => - Intent$ShortcutIconResource.fromReference( - reference, - ); + Intent$ShortcutIconResource.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -9815,10 +11111,9 @@ class Intent extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - Intent.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + Intent.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName(r'android/content/Intent'); @@ -9834,7 +11129,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_AIRPLANE_MODE_CHANGED => _id_ACTION_AIRPLANE_MODE_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_ALL_APPS = _class.staticFieldId( r'ACTION_ALL_APPS', @@ -9865,7 +11162,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_APPLICATION_LOCALE_CHANGED => _id_ACTION_APPLICATION_LOCALE_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_APPLICATION_PREFERENCES = _class.staticFieldId( r'ACTION_APPLICATION_PREFERENCES', @@ -9876,19 +11175,23 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_APPLICATION_PREFERENCES => _id_ACTION_APPLICATION_PREFERENCES.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); - static final _id_ACTION_APPLICATION_RESTRICTIONS_CHANGED = - _class.staticFieldId( - r'ACTION_APPLICATION_RESTRICTIONS_CHANGED', - r'Ljava/lang/String;', - ); + static final _id_ACTION_APPLICATION_RESTRICTIONS_CHANGED = _class + .staticFieldId( + r'ACTION_APPLICATION_RESTRICTIONS_CHANGED', + r'Ljava/lang/String;', + ); /// from: `static public final java.lang.String ACTION_APPLICATION_RESTRICTIONS_CHANGED` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_APPLICATION_RESTRICTIONS_CHANGED => _id_ACTION_APPLICATION_RESTRICTIONS_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_APP_ERROR = _class.staticFieldId( r'ACTION_APP_ERROR', @@ -9929,7 +11232,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_AUTO_REVOKE_PERMISSIONS => _id_ACTION_AUTO_REVOKE_PERMISSIONS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_BATTERY_CHANGED = _class.staticFieldId( r'ACTION_BATTERY_CHANGED', @@ -10040,7 +11345,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_CLOSE_SYSTEM_DIALOGS => _id_ACTION_CLOSE_SYSTEM_DIALOGS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_CONFIGURATION_CHANGED = _class.staticFieldId( r'ACTION_CONFIGURATION_CHANGED', @@ -10051,7 +11358,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_CONFIGURATION_CHANGED => _id_ACTION_CONFIGURATION_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_CREATE_DOCUMENT = _class.staticFieldId( r'ACTION_CREATE_DOCUMENT', @@ -10132,7 +11441,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_DEVICE_STORAGE_LOW => _id_ACTION_DEVICE_STORAGE_LOW.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_DEVICE_STORAGE_OK = _class.staticFieldId( r'ACTION_DEVICE_STORAGE_OK', @@ -10143,7 +11454,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_DEVICE_STORAGE_OK => _id_ACTION_DEVICE_STORAGE_OK.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_DIAL = _class.staticFieldId( r'ACTION_DIAL', @@ -10174,7 +11487,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_DREAMING_STARTED => _id_ACTION_DREAMING_STARTED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_DREAMING_STOPPED = _class.staticFieldId( r'ACTION_DREAMING_STOPPED', @@ -10185,7 +11500,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_DREAMING_STOPPED => _id_ACTION_DREAMING_STOPPED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_EDIT = _class.staticFieldId( r'ACTION_EDIT', @@ -10197,29 +11514,33 @@ class Intent extends jni$_.JObject { static jni$_.JString? get ACTION_EDIT => _id_ACTION_EDIT.get(_class, const jni$_.JStringNullableType()); - static final _id_ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = - _class.staticFieldId( - r'ACTION_EXTERNAL_APPLICATIONS_AVAILABLE', - r'Ljava/lang/String;', - ); + static final _id_ACTION_EXTERNAL_APPLICATIONS_AVAILABLE = _class + .staticFieldId( + r'ACTION_EXTERNAL_APPLICATIONS_AVAILABLE', + r'Ljava/lang/String;', + ); /// from: `static public final java.lang.String ACTION_EXTERNAL_APPLICATIONS_AVAILABLE` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_EXTERNAL_APPLICATIONS_AVAILABLE => _id_ACTION_EXTERNAL_APPLICATIONS_AVAILABLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); - static final _id_ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE = - _class.staticFieldId( - r'ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE', - r'Ljava/lang/String;', - ); + static final _id_ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE = _class + .staticFieldId( + r'ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE', + r'Ljava/lang/String;', + ); /// from: `static public final java.lang.String ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE => _id_ACTION_EXTERNAL_APPLICATIONS_UNAVAILABLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_FACTORY_TEST = _class.staticFieldId( r'ACTION_FACTORY_TEST', @@ -10250,7 +11571,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_GET_RESTRICTION_ENTRIES => _id_ACTION_GET_RESTRICTION_ENTRIES.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_GTALK_SERVICE_CONNECTED = _class.staticFieldId( r'ACTION_GTALK_SERVICE_CONNECTED', @@ -10261,7 +11584,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_GTALK_SERVICE_CONNECTED => _id_ACTION_GTALK_SERVICE_CONNECTED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_GTALK_SERVICE_DISCONNECTED = _class.staticFieldId( r'ACTION_GTALK_SERVICE_DISCONNECTED', @@ -10272,7 +11597,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_GTALK_SERVICE_DISCONNECTED => _id_ACTION_GTALK_SERVICE_DISCONNECTED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_HEADSET_PLUG = _class.staticFieldId( r'ACTION_HEADSET_PLUG', @@ -10293,7 +11620,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_INPUT_METHOD_CHANGED => _id_ACTION_INPUT_METHOD_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_INSERT = _class.staticFieldId( r'ACTION_INSERT', @@ -10354,7 +11683,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_LOCKED_BOOT_COMPLETED => _id_ACTION_LOCKED_BOOT_COMPLETED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MAIN = _class.staticFieldId( r'ACTION_MAIN', @@ -10375,7 +11706,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MANAGED_PROFILE_ADDED => _id_ACTION_MANAGED_PROFILE_ADDED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MANAGED_PROFILE_AVAILABLE = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_AVAILABLE', @@ -10386,7 +11719,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MANAGED_PROFILE_AVAILABLE => _id_ACTION_MANAGED_PROFILE_AVAILABLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MANAGED_PROFILE_REMOVED = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_REMOVED', @@ -10397,7 +11732,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MANAGED_PROFILE_REMOVED => _id_ACTION_MANAGED_PROFILE_REMOVED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MANAGED_PROFILE_UNAVAILABLE = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_UNAVAILABLE', @@ -10408,7 +11745,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MANAGED_PROFILE_UNAVAILABLE => _id_ACTION_MANAGED_PROFILE_UNAVAILABLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MANAGED_PROFILE_UNLOCKED = _class.staticFieldId( r'ACTION_MANAGED_PROFILE_UNLOCKED', @@ -10419,7 +11758,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MANAGED_PROFILE_UNLOCKED => _id_ACTION_MANAGED_PROFILE_UNLOCKED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MANAGE_NETWORK_USAGE = _class.staticFieldId( r'ACTION_MANAGE_NETWORK_USAGE', @@ -10430,7 +11771,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MANAGE_NETWORK_USAGE => _id_ACTION_MANAGE_NETWORK_USAGE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MANAGE_PACKAGE_STORAGE = _class.staticFieldId( r'ACTION_MANAGE_PACKAGE_STORAGE', @@ -10441,7 +11784,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MANAGE_PACKAGE_STORAGE => _id_ACTION_MANAGE_PACKAGE_STORAGE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MANAGE_UNUSED_APPS = _class.staticFieldId( r'ACTION_MANAGE_UNUSED_APPS', @@ -10452,7 +11797,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MANAGE_UNUSED_APPS => _id_ACTION_MANAGE_UNUSED_APPS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MEDIA_BAD_REMOVAL = _class.staticFieldId( r'ACTION_MEDIA_BAD_REMOVAL', @@ -10463,7 +11810,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MEDIA_BAD_REMOVAL => _id_ACTION_MEDIA_BAD_REMOVAL.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MEDIA_BUTTON = _class.staticFieldId( r'ACTION_MEDIA_BUTTON', @@ -10534,7 +11883,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MEDIA_SCANNER_FINISHED => _id_ACTION_MEDIA_SCANNER_FINISHED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MEDIA_SCANNER_SCAN_FILE = _class.staticFieldId( r'ACTION_MEDIA_SCANNER_SCAN_FILE', @@ -10545,7 +11896,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MEDIA_SCANNER_SCAN_FILE => _id_ACTION_MEDIA_SCANNER_SCAN_FILE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MEDIA_SCANNER_STARTED = _class.staticFieldId( r'ACTION_MEDIA_SCANNER_STARTED', @@ -10556,7 +11909,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MEDIA_SCANNER_STARTED => _id_ACTION_MEDIA_SCANNER_STARTED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MEDIA_SHARED = _class.staticFieldId( r'ACTION_MEDIA_SHARED', @@ -10577,7 +11932,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MEDIA_UNMOUNTABLE => _id_ACTION_MEDIA_UNMOUNTABLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MEDIA_UNMOUNTED = _class.staticFieldId( r'ACTION_MEDIA_UNMOUNTED', @@ -10598,7 +11955,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MY_PACKAGE_REPLACED => _id_ACTION_MY_PACKAGE_REPLACED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MY_PACKAGE_SUSPENDED = _class.staticFieldId( r'ACTION_MY_PACKAGE_SUSPENDED', @@ -10609,7 +11968,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MY_PACKAGE_SUSPENDED => _id_ACTION_MY_PACKAGE_SUSPENDED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_MY_PACKAGE_UNSUSPENDED = _class.staticFieldId( r'ACTION_MY_PACKAGE_UNSUSPENDED', @@ -10620,7 +11981,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_MY_PACKAGE_UNSUSPENDED => _id_ACTION_MY_PACKAGE_UNSUSPENDED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_NEW_OUTGOING_CALL = _class.staticFieldId( r'ACTION_NEW_OUTGOING_CALL', @@ -10631,7 +11994,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_NEW_OUTGOING_CALL => _id_ACTION_NEW_OUTGOING_CALL.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_OPEN_DOCUMENT = _class.staticFieldId( r'ACTION_OPEN_DOCUMENT', @@ -10652,7 +12017,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_OPEN_DOCUMENT_TREE => _id_ACTION_OPEN_DOCUMENT_TREE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGES_SUSPENDED = _class.staticFieldId( r'ACTION_PACKAGES_SUSPENDED', @@ -10663,7 +12030,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGES_SUSPENDED => _id_ACTION_PACKAGES_SUSPENDED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGES_UNSUSPENDED = _class.staticFieldId( r'ACTION_PACKAGES_UNSUSPENDED', @@ -10674,7 +12043,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGES_UNSUSPENDED => _id_ACTION_PACKAGES_UNSUSPENDED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGE_ADDED = _class.staticFieldId( r'ACTION_PACKAGE_ADDED', @@ -10705,7 +12076,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGE_DATA_CLEARED => _id_ACTION_PACKAGE_DATA_CLEARED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGE_FIRST_LAUNCH = _class.staticFieldId( r'ACTION_PACKAGE_FIRST_LAUNCH', @@ -10716,7 +12089,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGE_FIRST_LAUNCH => _id_ACTION_PACKAGE_FIRST_LAUNCH.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGE_FULLY_REMOVED = _class.staticFieldId( r'ACTION_PACKAGE_FULLY_REMOVED', @@ -10727,7 +12102,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGE_FULLY_REMOVED => _id_ACTION_PACKAGE_FULLY_REMOVED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGE_INSTALL = _class.staticFieldId( r'ACTION_PACKAGE_INSTALL', @@ -10748,7 +12125,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGE_NEEDS_VERIFICATION => _id_ACTION_PACKAGE_NEEDS_VERIFICATION.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGE_REMOVED = _class.staticFieldId( r'ACTION_PACKAGE_REMOVED', @@ -10769,7 +12148,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGE_REPLACED => _id_ACTION_PACKAGE_REPLACED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGE_RESTARTED = _class.staticFieldId( r'ACTION_PACKAGE_RESTARTED', @@ -10780,7 +12161,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGE_RESTARTED => _id_ACTION_PACKAGE_RESTARTED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PACKAGE_VERIFIED = _class.staticFieldId( r'ACTION_PACKAGE_VERIFIED', @@ -10791,7 +12174,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PACKAGE_VERIFIED => _id_ACTION_PACKAGE_VERIFIED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PASTE = _class.staticFieldId( r'ACTION_PASTE', @@ -10842,7 +12227,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_POWER_DISCONNECTED => _id_ACTION_POWER_DISCONNECTED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_POWER_USAGE_SUMMARY = _class.staticFieldId( r'ACTION_POWER_USAGE_SUMMARY', @@ -10853,7 +12240,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_POWER_USAGE_SUMMARY => _id_ACTION_POWER_USAGE_SUMMARY.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PROCESS_TEXT = _class.staticFieldId( r'ACTION_PROCESS_TEXT', @@ -10874,7 +12263,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PROFILE_ACCESSIBLE => _id_ACTION_PROFILE_ACCESSIBLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PROFILE_INACCESSIBLE = _class.staticFieldId( r'ACTION_PROFILE_INACCESSIBLE', @@ -10885,7 +12276,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PROFILE_INACCESSIBLE => _id_ACTION_PROFILE_INACCESSIBLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_PROVIDER_CHANGED = _class.staticFieldId( r'ACTION_PROVIDER_CHANGED', @@ -10896,7 +12289,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_PROVIDER_CHANGED => _id_ACTION_PROVIDER_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_QUICK_CLOCK = _class.staticFieldId( r'ACTION_QUICK_CLOCK', @@ -10987,7 +12382,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_SEARCH_LONG_PRESS => _id_ACTION_SEARCH_LONG_PRESS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_SEND = _class.staticFieldId( r'ACTION_SEND', @@ -11088,7 +12485,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_TIMEZONE_CHANGED => _id_ACTION_TIMEZONE_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_TIME_CHANGED = _class.staticFieldId( r'ACTION_TIME_CHANGED', @@ -11149,7 +12548,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_UMS_DISCONNECTED => _id_ACTION_UMS_DISCONNECTED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_UNINSTALL_PACKAGE = _class.staticFieldId( r'ACTION_UNINSTALL_PACKAGE', @@ -11160,7 +12561,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_UNINSTALL_PACKAGE => _id_ACTION_UNINSTALL_PACKAGE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_USER_BACKGROUND = _class.staticFieldId( r'ACTION_USER_BACKGROUND', @@ -11241,19 +12644,23 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_VIEW_PERMISSION_USAGE => _id_ACTION_VIEW_PERMISSION_USAGE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); - static final _id_ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD = - _class.staticFieldId( - r'ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD', - r'Ljava/lang/String;', - ); + static final _id_ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD = _class + .staticFieldId( + r'ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD', + r'Ljava/lang/String;', + ); /// from: `static public final java.lang.String ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD => _id_ACTION_VIEW_PERMISSION_USAGE_FOR_PERIOD.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_VOICE_COMMAND = _class.staticFieldId( r'ACTION_VOICE_COMMAND', @@ -11274,7 +12681,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get ACTION_WALLPAPER_CHANGED => _id_ACTION_WALLPAPER_CHANGED.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_ACTION_WEB_SEARCH = _class.staticFieldId( r'ACTION_WEB_SEARCH', @@ -11286,17 +12695,19 @@ class Intent extends jni$_.JObject { static jni$_.JString? get ACTION_WEB_SEARCH => _id_ACTION_WEB_SEARCH.get(_class, const jni$_.JStringNullableType()); - static final _id_CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET = - _class.staticFieldId( - r'CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET', - r'Ljava/lang/String;', - ); + static final _id_CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET = _class + .staticFieldId( + r'CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET', + r'Ljava/lang/String;', + ); /// from: `static public final java.lang.String CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET => _id_CATEGORY_ACCESSIBILITY_SHORTCUT_TARGET.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CATEGORY_ALTERNATIVE = _class.staticFieldId( r'CATEGORY_ALTERNATIVE', @@ -11327,7 +12738,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CATEGORY_APP_CALCULATOR => _id_CATEGORY_APP_CALCULATOR.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CATEGORY_APP_CALENDAR = _class.staticFieldId( r'CATEGORY_APP_CALENDAR', @@ -11498,7 +12911,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CATEGORY_DEVELOPMENT_PREFERENCE => _id_CATEGORY_DEVELOPMENT_PREFERENCE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CATEGORY_EMBED = _class.staticFieldId( r'CATEGORY_EMBED', @@ -11510,17 +12925,19 @@ class Intent extends jni$_.JObject { static jni$_.JString? get CATEGORY_EMBED => _id_CATEGORY_EMBED.get(_class, const jni$_.JStringNullableType()); - static final _id_CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST = - _class.staticFieldId( - r'CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST', - r'Ljava/lang/String;', - ); + static final _id_CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST = _class + .staticFieldId( + r'CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST', + r'Ljava/lang/String;', + ); /// from: `static public final java.lang.String CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST => _id_CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CATEGORY_HE_DESK_DOCK = _class.staticFieldId( r'CATEGORY_HE_DESK_DOCK', @@ -11571,7 +12988,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CATEGORY_LEANBACK_LAUNCHER => _id_CATEGORY_LEANBACK_LAUNCHER.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CATEGORY_LE_DESK_DOCK = _class.staticFieldId( r'CATEGORY_LE_DESK_DOCK', @@ -11632,7 +13051,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CATEGORY_SECONDARY_HOME => _id_CATEGORY_SECONDARY_HOME.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CATEGORY_SELECTED_ALTERNATIVE = _class.staticFieldId( r'CATEGORY_SELECTED_ALTERNATIVE', @@ -11643,7 +13064,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CATEGORY_SELECTED_ALTERNATIVE => _id_CATEGORY_SELECTED_ALTERNATIVE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CATEGORY_TAB = _class.staticFieldId( r'CATEGORY_TAB', @@ -11674,7 +13097,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get CATEGORY_TYPED_OPENABLE => _id_CATEGORY_TYPED_OPENABLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_CATEGORY_UNIT_TEST = _class.staticFieldId( r'CATEGORY_UNIT_TEST', @@ -11755,7 +13180,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_ALTERNATE_INTENTS => _id_EXTRA_ALTERNATE_INTENTS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_ASSIST_CONTEXT = _class.staticFieldId( r'EXTRA_ASSIST_CONTEXT', @@ -11776,7 +13203,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_ASSIST_INPUT_DEVICE_ID => _id_EXTRA_ASSIST_INPUT_DEVICE_ID.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_ASSIST_INPUT_HINT_KEYBOARD = _class.staticFieldId( r'EXTRA_ASSIST_INPUT_HINT_KEYBOARD', @@ -11787,7 +13216,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_ASSIST_INPUT_HINT_KEYBOARD => _id_EXTRA_ASSIST_INPUT_HINT_KEYBOARD.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_ASSIST_PACKAGE = _class.staticFieldId( r'EXTRA_ASSIST_PACKAGE', @@ -11828,7 +13259,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_AUTO_LAUNCH_SINGLE_CHOICE => _id_EXTRA_AUTO_LAUNCH_SINGLE_CHOICE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_BCC = _class.staticFieldId( r'EXTRA_BCC', @@ -11869,7 +13302,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_CHANGED_COMPONENT_NAME => _id_EXTRA_CHANGED_COMPONENT_NAME.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_CHANGED_COMPONENT_NAME_LIST = _class.staticFieldId( r'EXTRA_CHANGED_COMPONENT_NAME_LIST', @@ -11880,7 +13315,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_CHANGED_COMPONENT_NAME_LIST => _id_EXTRA_CHANGED_COMPONENT_NAME_LIST.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_CHANGED_PACKAGE_LIST = _class.staticFieldId( r'EXTRA_CHANGED_PACKAGE_LIST', @@ -11891,7 +13328,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_CHANGED_PACKAGE_LIST => _id_EXTRA_CHANGED_PACKAGE_LIST.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_CHANGED_UID_LIST = _class.staticFieldId( r'EXTRA_CHANGED_UID_LIST', @@ -11903,17 +13342,19 @@ class Intent extends jni$_.JObject { static jni$_.JString? get EXTRA_CHANGED_UID_LIST => _id_EXTRA_CHANGED_UID_LIST.get(_class, const jni$_.JStringNullableType()); - static final _id_EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER = - _class.staticFieldId( - r'EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER', - r'Ljava/lang/String;', - ); + static final _id_EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER = _class + .staticFieldId( + r'EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER', + r'Ljava/lang/String;', + ); /// from: `static public final java.lang.String EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER` /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER => _id_EXTRA_CHOOSER_REFINEMENT_INTENT_SENDER.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_CHOOSER_TARGETS = _class.staticFieldId( r'EXTRA_CHOOSER_TARGETS', @@ -11944,7 +13385,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_CHOSEN_COMPONENT_INTENT_SENDER => _id_EXTRA_CHOSEN_COMPONENT_INTENT_SENDER.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_COMPONENT_NAME = _class.staticFieldId( r'EXTRA_COMPONENT_NAME', @@ -11965,7 +13408,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_CONTENT_ANNOTATIONS => _id_EXTRA_CONTENT_ANNOTATIONS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_CONTENT_QUERY = _class.staticFieldId( r'EXTRA_CONTENT_QUERY', @@ -12060,7 +13505,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_EXCLUDE_COMPONENTS => _id_EXTRA_EXCLUDE_COMPONENTS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_FROM_STORAGE = _class.staticFieldId( r'EXTRA_FROM_STORAGE', @@ -12111,7 +13558,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_INSTALLER_PACKAGE_NAME => _id_EXTRA_INSTALLER_PACKAGE_NAME.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_INTENT = _class.staticFieldId( r'EXTRA_INTENT', @@ -12182,7 +13631,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_NOT_UNKNOWN_SOURCE => _id_EXTRA_NOT_UNKNOWN_SOURCE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_ORIGINATING_URI = _class.staticFieldId( r'EXTRA_ORIGINATING_URI', @@ -12213,7 +13664,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_PERMISSION_GROUP_NAME => _id_EXTRA_PERMISSION_GROUP_NAME.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_PHONE_NUMBER = _class.staticFieldId( r'EXTRA_PHONE_NUMBER', @@ -12244,7 +13697,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_PROCESS_TEXT_READONLY => _id_EXTRA_PROCESS_TEXT_READONLY.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_QUICK_VIEW_FEATURES = _class.staticFieldId( r'EXTRA_QUICK_VIEW_FEATURES', @@ -12255,7 +13710,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_QUICK_VIEW_FEATURES => _id_EXTRA_QUICK_VIEW_FEATURES.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_QUIET_MODE = _class.staticFieldId( r'EXTRA_QUIET_MODE', @@ -12296,7 +13753,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_REMOTE_INTENT_TOKEN => _id_EXTRA_REMOTE_INTENT_TOKEN.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_REPLACEMENT_EXTRAS = _class.staticFieldId( r'EXTRA_REPLACEMENT_EXTRAS', @@ -12307,7 +13766,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_REPLACEMENT_EXTRAS => _id_EXTRA_REPLACEMENT_EXTRAS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_REPLACING = _class.staticFieldId( r'EXTRA_REPLACING', @@ -12328,7 +13789,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_RESTRICTIONS_BUNDLE => _id_EXTRA_RESTRICTIONS_BUNDLE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_RESTRICTIONS_INTENT = _class.staticFieldId( r'EXTRA_RESTRICTIONS_INTENT', @@ -12339,7 +13802,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_RESTRICTIONS_INTENT => _id_EXTRA_RESTRICTIONS_INTENT.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_RESTRICTIONS_LIST = _class.staticFieldId( r'EXTRA_RESTRICTIONS_LIST', @@ -12350,7 +13815,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_RESTRICTIONS_LIST => _id_EXTRA_RESTRICTIONS_LIST.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_RESULT_RECEIVER = _class.staticFieldId( r'EXTRA_RESULT_RECEIVER', @@ -12391,7 +13858,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_SHORTCUT_ICON_RESOURCE => _id_EXTRA_SHORTCUT_ICON_RESOURCE.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_SHORTCUT_ID = _class.staticFieldId( r'EXTRA_SHORTCUT_ID', @@ -12432,7 +13901,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_SHUTDOWN_USERSPACE_ONLY => _id_EXTRA_SHUTDOWN_USERSPACE_ONLY.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_SPLIT_NAME = _class.staticFieldId( r'EXTRA_SPLIT_NAME', @@ -12483,7 +13954,9 @@ class Intent extends jni$_.JObject { /// The returned object must be released after use, by calling the [release] method. static jni$_.JString? get EXTRA_SUSPENDED_PACKAGE_EXTRAS => _id_EXTRA_SUSPENDED_PACKAGE_EXTRAS.get( - _class, const jni$_.JStringNullableType()); + _class, + const jni$_.JStringNullableType(), + ); static final _id_EXTRA_TEMPLATE = _class.staticFieldId( r'EXTRA_TEMPLATE', @@ -12720,177 +14193,209 @@ class Intent extends jni$_.JObject { /// from: `static public final int URI_INTENT_SCHEME` static const URI_INTENT_SCHEME = 1; - static final _id_new$ = _class.constructorId( - r'()V', - ); + static final _id_new$ = _class.constructorId(r'()V'); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Intent() { return Intent.fromReference( - _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr) - .reference); + _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr).reference, + ); } - static final _id_new$1 = _class.constructorId( - r'(Landroid/content/Intent;)V', - ); + static final _id_new$1 = _class.constructorId(r'(Landroid/content/Intent;)V'); - static final _new$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _new$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void (android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - factory Intent.new$1( - Intent? intent, - ) { + factory Intent.new$1(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return Intent.fromReference(_new$1(_class.reference.pointer, - _id_new$1 as jni$_.JMethodIDPtr, _$intent.pointer) - .reference); + return Intent.fromReference( + _new$1( + _class.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + ).reference, + ); } - static final _id_new$2 = _class.constructorId( - r'(Ljava/lang/String;)V', - ); + static final _id_new$2 = _class.constructorId(r'(Ljava/lang/String;)V'); - static final _new$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _new$2 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void (java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - factory Intent.new$2( - jni$_.JString? string, - ) { + factory Intent.new$2(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return Intent.fromReference(_new$2(_class.reference.pointer, - _id_new$2 as jni$_.JMethodIDPtr, _$string.pointer) - .reference); + return Intent.fromReference( + _new$2( + _class.reference.pointer, + _id_new$2 as jni$_.JMethodIDPtr, + _$string.pointer, + ).reference, + ); } static final _id_new$3 = _class.constructorId( r'(Ljava/lang/String;Landroid/net/Uri;)V', ); - static final _new$3 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$3 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (java.lang.String string, android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. - factory Intent.new$3( - jni$_.JString? string, - jni$_.JObject? uri, - ) { + factory Intent.new$3(jni$_.JString? string, jni$_.JObject? uri) { final _$string = string?.reference ?? jni$_.jNullReference; final _$uri = uri?.reference ?? jni$_.jNullReference; - return Intent.fromReference(_new$3(_class.reference.pointer, - _id_new$3 as jni$_.JMethodIDPtr, _$string.pointer, _$uri.pointer) - .reference); + return Intent.fromReference( + _new$3( + _class.reference.pointer, + _id_new$3 as jni$_.JMethodIDPtr, + _$string.pointer, + _$uri.pointer, + ).reference, + ); } static final _id_new$4 = _class.constructorId( r'(Landroid/content/Context;Ljava/lang/Class;)V', ); - static final _new$4 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$4 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (android.content.Context context, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - factory Intent.new$4( - Context? context, - jni$_.JObject? class$, - ) { + factory Intent.new$4(Context? context, jni$_.JObject? class$) { final _$context = context?.reference ?? jni$_.jNullReference; final _$class$ = class$?.reference ?? jni$_.jNullReference; - return Intent.fromReference(_new$4( - _class.reference.pointer, - _id_new$4 as jni$_.JMethodIDPtr, - _$context.pointer, - _$class$.pointer) - .reference); + return Intent.fromReference( + _new$4( + _class.reference.pointer, + _id_new$4 as jni$_.JMethodIDPtr, + _$context.pointer, + _$class$.pointer, + ).reference, + ); } static final _id_new$5 = _class.constructorId( r'(Ljava/lang/String;Landroid/net/Uri;Landroid/content/Context;Ljava/lang/Class;)V', ); - static final _new$5 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$5 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (java.lang.String string, android.net.Uri uri, android.content.Context context, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. @@ -12904,14 +14409,16 @@ class Intent extends jni$_.JObject { final _$uri = uri?.reference ?? jni$_.jNullReference; final _$context = context?.reference ?? jni$_.jNullReference; final _$class$ = class$?.reference ?? jni$_.jNullReference; - return Intent.fromReference(_new$5( - _class.reference.pointer, - _id_new$5 as jni$_.JMethodIDPtr, - _$string.pointer, - _$uri.pointer, - _$context.pointer, - _$class$.pointer) - .reference); + return Intent.fromReference( + _new$5( + _class.reference.pointer, + _id_new$5 as jni$_.JMethodIDPtr, + _$string.pointer, + _$uri.pointer, + _$context.pointer, + _$class$.pointer, + ).reference, + ); } static final _id_createChooser = _class.staticMethodId( @@ -12919,37 +14426,38 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Intent;Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _createChooser = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _createChooser = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `static public android.content.Intent createChooser(android.content.Intent intent, java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. - static Intent? createChooser( - Intent? intent, - jni$_.JObject? charSequence, - ) { + static Intent? createChooser(Intent? intent, jni$_.JObject? charSequence) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; return _createChooser( - _class.reference.pointer, - _id_createChooser as jni$_.JMethodIDPtr, - _$intent.pointer, - _$charSequence.pointer) - .object(const $Intent$NullableType()); + _class.reference.pointer, + _id_createChooser as jni$_.JMethodIDPtr, + _$intent.pointer, + _$charSequence.pointer, + ).object(const $Intent$NullableType()); } static final _id_createChooser$1 = _class.staticMethodId( @@ -12957,24 +14465,31 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Intent;Ljava/lang/CharSequence;Landroid/content/IntentSender;)Landroid/content/Intent;', ); - static final _createChooser$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _createChooser$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `static public android.content.Intent createChooser(android.content.Intent intent, java.lang.CharSequence charSequence, android.content.IntentSender intentSender)` /// The returned object must be released after use, by calling the [release] method. @@ -12987,12 +14502,12 @@ class Intent extends jni$_.JObject { final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; return _createChooser$1( - _class.reference.pointer, - _id_createChooser$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$charSequence.pointer, - _$intentSender.pointer) - .object(const $Intent$NullableType()); + _class.reference.pointer, + _id_createChooser$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$charSequence.pointer, + _$intentSender.pointer, + ).object(const $Intent$NullableType()); } static final _id_clone = _class.instanceMethodId( @@ -13000,23 +14515,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/Object;', ); - static final _clone = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _clone = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.Object clone()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? clone() { - return _clone(reference.pointer, _id_clone as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _clone( + reference.pointer, + _id_clone as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_cloneFilter = _class.instanceMethodId( @@ -13024,24 +14545,29 @@ class Intent extends jni$_.JObject { r'()Landroid/content/Intent;', ); - static final _cloneFilter = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _cloneFilter = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.Intent cloneFilter()` /// The returned object must be released after use, by calling the [release] method. Intent? cloneFilter() { return _cloneFilter( - reference.pointer, _id_cloneFilter as jni$_.JMethodIDPtr) - .object(const $Intent$NullableType()); + reference.pointer, + _id_cloneFilter as jni$_.JMethodIDPtr, + ).object(const $Intent$NullableType()); } static final _id_makeMainActivity = _class.staticMethodId( @@ -13049,26 +14575,33 @@ class Intent extends jni$_.JObject { r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _makeMainActivity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _makeMainActivity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public android.content.Intent makeMainActivity(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. - static Intent? makeMainActivity( - jni$_.JObject? componentName, - ) { + static Intent? makeMainActivity(jni$_.JObject? componentName) { final _$componentName = componentName?.reference ?? jni$_.jNullReference; - return _makeMainActivity(_class.reference.pointer, - _id_makeMainActivity as jni$_.JMethodIDPtr, _$componentName.pointer) - .object(const $Intent$NullableType()); + return _makeMainActivity( + _class.reference.pointer, + _id_makeMainActivity as jni$_.JMethodIDPtr, + _$componentName.pointer, + ).object(const $Intent$NullableType()); } static final _id_makeMainSelectorActivity = _class.staticMethodId( @@ -13076,22 +14609,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _makeMainSelectorActivity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _makeMainSelectorActivity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `static public android.content.Intent makeMainSelectorActivity(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. @@ -13102,11 +14639,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$string1 = string1?.reference ?? jni$_.jNullReference; return _makeMainSelectorActivity( - _class.reference.pointer, - _id_makeMainSelectorActivity as jni$_.JMethodIDPtr, - _$string.pointer, - _$string1.pointer) - .object(const $Intent$NullableType()); + _class.reference.pointer, + _id_makeMainSelectorActivity as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer, + ).object(const $Intent$NullableType()); } static final _id_makeRestartActivityTask = _class.staticMethodId( @@ -13114,28 +14651,33 @@ class Intent extends jni$_.JObject { r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _makeRestartActivityTask = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _makeRestartActivityTask = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public android.content.Intent makeRestartActivityTask(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. - static Intent? makeRestartActivityTask( - jni$_.JObject? componentName, - ) { + static Intent? makeRestartActivityTask(jni$_.JObject? componentName) { final _$componentName = componentName?.reference ?? jni$_.jNullReference; return _makeRestartActivityTask( - _class.reference.pointer, - _id_makeRestartActivityTask as jni$_.JMethodIDPtr, - _$componentName.pointer) - .object(const $Intent$NullableType()); + _class.reference.pointer, + _id_makeRestartActivityTask as jni$_.JMethodIDPtr, + _$componentName.pointer, + ).object(const $Intent$NullableType()); } static final _id_getIntent = _class.staticMethodId( @@ -13143,26 +14685,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _getIntent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getIntent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public android.content.Intent getIntent(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static Intent? getIntent( - jni$_.JString? string, - ) { + static Intent? getIntent(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getIntent(_class.reference.pointer, - _id_getIntent as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Intent$NullableType()); + return _getIntent( + _class.reference.pointer, + _id_getIntent as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_parseUri = _class.staticMethodId( @@ -13170,28 +14719,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;I)Landroid/content/Intent;', ); - static final _parseUri = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _parseUri = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `static public android.content.Intent parseUri(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - static Intent? parseUri( - jni$_.JString? string, - int i, - ) { + static Intent? parseUri(jni$_.JString? string, int i) { final _$string = string?.reference ?? jni$_.jNullReference; - return _parseUri(_class.reference.pointer, - _id_parseUri as jni$_.JMethodIDPtr, _$string.pointer, i) - .object(const $Intent$NullableType()); + return _parseUri( + _class.reference.pointer, + _id_parseUri as jni$_.JMethodIDPtr, + _$string.pointer, + i, + ).object(const $Intent$NullableType()); } static final _id_getIntentOld = _class.staticMethodId( @@ -13199,26 +14755,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _getIntentOld = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getIntentOld = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public android.content.Intent getIntentOld(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static Intent? getIntentOld( - jni$_.JString? string, - ) { + static Intent? getIntentOld(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getIntentOld(_class.reference.pointer, - _id_getIntentOld as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Intent$NullableType()); + return _getIntentOld( + _class.reference.pointer, + _id_getIntentOld as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_getAction = _class.instanceMethodId( @@ -13226,23 +14789,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getAction = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getAction = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getAction()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getAction() { - return _getAction(reference.pointer, _id_getAction as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + return _getAction( + reference.pointer, + _id_getAction as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getData = _class.instanceMethodId( @@ -13250,23 +14819,29 @@ class Intent extends jni$_.JObject { r'()Landroid/net/Uri;', ); - static final _getData = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getData = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.net.Uri getData()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getData() { - return _getData(reference.pointer, _id_getData as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getData( + reference.pointer, + _id_getData as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getDataString = _class.instanceMethodId( @@ -13274,24 +14849,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getDataString = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getDataString = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getDataString()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getDataString() { return _getDataString( - reference.pointer, _id_getDataString as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getDataString as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getScheme = _class.instanceMethodId( @@ -13299,23 +14879,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getScheme = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getScheme = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getScheme()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getScheme() { - return _getScheme(reference.pointer, _id_getScheme as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + return _getScheme( + reference.pointer, + _id_getScheme as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getType = _class.instanceMethodId( @@ -13323,23 +14909,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getType = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getType = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getType()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getType() { - return _getType(reference.pointer, _id_getType as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + return _getType( + reference.pointer, + _id_getType as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_resolveType = _class.instanceMethodId( @@ -13347,26 +14939,33 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Context;)Ljava/lang/String;', ); - static final _resolveType = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _resolveType = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.lang.String resolveType(android.content.Context context)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? resolveType( - Context? context, - ) { + jni$_.JString? resolveType(Context? context) { final _$context = context?.reference ?? jni$_.jNullReference; - return _resolveType(reference.pointer, - _id_resolveType as jni$_.JMethodIDPtr, _$context.pointer) - .object(const jni$_.JStringNullableType()); + return _resolveType( + reference.pointer, + _id_resolveType as jni$_.JMethodIDPtr, + _$context.pointer, + ).object(const jni$_.JStringNullableType()); } static final _id_resolveType$1 = _class.instanceMethodId( @@ -13374,27 +14973,34 @@ class Intent extends jni$_.JObject { r'(Landroid/content/ContentResolver;)Ljava/lang/String;', ); - static final _resolveType$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _resolveType$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.lang.String resolveType(android.content.ContentResolver contentResolver)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? resolveType$1( - jni$_.JObject? contentResolver, - ) { + jni$_.JString? resolveType$1(jni$_.JObject? contentResolver) { final _$contentResolver = contentResolver?.reference ?? jni$_.jNullReference; - return _resolveType$1(reference.pointer, - _id_resolveType$1 as jni$_.JMethodIDPtr, _$contentResolver.pointer) - .object(const jni$_.JStringNullableType()); + return _resolveType$1( + reference.pointer, + _id_resolveType$1 as jni$_.JMethodIDPtr, + _$contentResolver.pointer, + ).object(const jni$_.JStringNullableType()); } static final _id_resolveTypeIfNeeded = _class.instanceMethodId( @@ -13402,29 +15008,34 @@ class Intent extends jni$_.JObject { r'(Landroid/content/ContentResolver;)Ljava/lang/String;', ); - static final _resolveTypeIfNeeded = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _resolveTypeIfNeeded = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.lang.String resolveTypeIfNeeded(android.content.ContentResolver contentResolver)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? resolveTypeIfNeeded( - jni$_.JObject? contentResolver, - ) { + jni$_.JString? resolveTypeIfNeeded(jni$_.JObject? contentResolver) { final _$contentResolver = contentResolver?.reference ?? jni$_.jNullReference; return _resolveTypeIfNeeded( - reference.pointer, - _id_resolveTypeIfNeeded as jni$_.JMethodIDPtr, - _$contentResolver.pointer) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_resolveTypeIfNeeded as jni$_.JMethodIDPtr, + _$contentResolver.pointer, + ).object(const jni$_.JStringNullableType()); } static final _id_getIdentifier = _class.instanceMethodId( @@ -13432,24 +15043,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getIdentifier = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getIdentifier = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getIdentifier()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getIdentifier() { return _getIdentifier( - reference.pointer, _id_getIdentifier as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getIdentifier as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_hasCategory = _class.instanceMethodId( @@ -13457,25 +15073,32 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Z', ); - static final _hasCategory = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _hasCategory = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean hasCategory(java.lang.String string)` - bool hasCategory( - jni$_.JString? string, - ) { + bool hasCategory(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _hasCategory(reference.pointer, - _id_hasCategory as jni$_.JMethodIDPtr, _$string.pointer) - .boolean; + return _hasCategory( + reference.pointer, + _id_hasCategory as jni$_.JMethodIDPtr, + _$string.pointer, + ).boolean; } static final _id_getCategories = _class.instanceMethodId( @@ -13483,26 +15106,31 @@ class Intent extends jni$_.JObject { r'()Ljava/util/Set;', ); - static final _getCategories = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getCategories = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.util.Set getCategories()` /// The returned object must be released after use, by calling the [release] method. jni$_.JSet? getCategories() { return _getCategories( - reference.pointer, _id_getCategories as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JSetNullableType( - jni$_.JStringNullableType())); + reference.pointer, + _id_getCategories as jni$_.JMethodIDPtr, + ).object?>( + const jni$_.JSetNullableType(jni$_.JStringNullableType()), + ); } static final _id_getSelector = _class.instanceMethodId( @@ -13510,24 +15138,29 @@ class Intent extends jni$_.JObject { r'()Landroid/content/Intent;', ); - static final _getSelector = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getSelector = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.Intent getSelector()` /// The returned object must be released after use, by calling the [release] method. Intent? getSelector() { return _getSelector( - reference.pointer, _id_getSelector as jni$_.JMethodIDPtr) - .object(const $Intent$NullableType()); + reference.pointer, + _id_getSelector as jni$_.JMethodIDPtr, + ).object(const $Intent$NullableType()); } static final _id_getClipData = _class.instanceMethodId( @@ -13535,24 +15168,29 @@ class Intent extends jni$_.JObject { r'()Landroid/content/ClipData;', ); - static final _getClipData = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getClipData = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.ClipData getClipData()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getClipData() { return _getClipData( - reference.pointer, _id_getClipData as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getClipData as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_setExtrasClassLoader = _class.instanceMethodId( @@ -13560,27 +15198,32 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/ClassLoader;)V', ); - static final _setExtrasClassLoader = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setExtrasClassLoader = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setExtrasClassLoader(java.lang.ClassLoader classLoader)` - void setExtrasClassLoader( - jni$_.JObject? classLoader, - ) { + void setExtrasClassLoader(jni$_.JObject? classLoader) { final _$classLoader = classLoader?.reference ?? jni$_.jNullReference; _setExtrasClassLoader( - reference.pointer, - _id_setExtrasClassLoader as jni$_.JMethodIDPtr, - _$classLoader.pointer) - .check(); + reference.pointer, + _id_setExtrasClassLoader as jni$_.JMethodIDPtr, + _$classLoader.pointer, + ).check(); } static final _id_hasExtra = _class.instanceMethodId( @@ -13588,25 +15231,32 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Z', ); - static final _hasExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _hasExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean hasExtra(java.lang.String string)` - bool hasExtra( - jni$_.JString? string, - ) { + bool hasExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _hasExtra(reference.pointer, _id_hasExtra as jni$_.JMethodIDPtr, - _$string.pointer) - .boolean; + return _hasExtra( + reference.pointer, + _id_hasExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).boolean; } static final _id_hasFileDescriptors = _class.instanceMethodId( @@ -13614,23 +15264,28 @@ class Intent extends jni$_.JObject { r'()Z', ); - static final _hasFileDescriptors = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _hasFileDescriptors = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean hasFileDescriptors()` bool hasFileDescriptors() { return _hasFileDescriptors( - reference.pointer, _id_hasFileDescriptors as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_hasFileDescriptors as jni$_.JMethodIDPtr, + ).boolean; } static final _id_getBooleanExtra = _class.instanceMethodId( @@ -13638,30 +15293,34 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Z)Z', ); - static final _getBooleanExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _getBooleanExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public boolean getBooleanExtra(java.lang.String string, boolean z)` - bool getBooleanExtra( - jni$_.JString? string, - bool z, - ) { + bool getBooleanExtra(jni$_.JString? string, bool z) { final _$string = string?.reference ?? jni$_.jNullReference; return _getBooleanExtra( - reference.pointer, - _id_getBooleanExtra as jni$_.JMethodIDPtr, - _$string.pointer, - z ? 1 : 0) - .boolean; + reference.pointer, + _id_getBooleanExtra as jni$_.JMethodIDPtr, + _$string.pointer, + z ? 1 : 0, + ).boolean; } static final _id_getByteExtra = _class.instanceMethodId( @@ -13669,27 +15328,34 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;B)B', ); - static final _getByteExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallByteMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _getByteExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallByteMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public byte getByteExtra(java.lang.String string, byte b)` - int getByteExtra( - jni$_.JString? string, - int b, - ) { + int getByteExtra(jni$_.JString? string, int b) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getByteExtra(reference.pointer, - _id_getByteExtra as jni$_.JMethodIDPtr, _$string.pointer, b) - .byte; + return _getByteExtra( + reference.pointer, + _id_getByteExtra as jni$_.JMethodIDPtr, + _$string.pointer, + b, + ).byte; } static final _id_getShortExtra = _class.instanceMethodId( @@ -13697,27 +15363,34 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;S)S', ); - static final _getShortExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallShortMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _getShortExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallShortMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public short getShortExtra(java.lang.String string, short s)` - int getShortExtra( - jni$_.JString? string, - int s, - ) { + int getShortExtra(jni$_.JString? string, int s) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getShortExtra(reference.pointer, - _id_getShortExtra as jni$_.JMethodIDPtr, _$string.pointer, s) - .short; + return _getShortExtra( + reference.pointer, + _id_getShortExtra as jni$_.JMethodIDPtr, + _$string.pointer, + s, + ).short; } static final _id_getCharExtra = _class.instanceMethodId( @@ -13725,27 +15398,34 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;C)C', ); - static final _getCharExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallCharMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _getCharExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallCharMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public char getCharExtra(java.lang.String string, char c)` - int getCharExtra( - jni$_.JString? string, - int c, - ) { + int getCharExtra(jni$_.JString? string, int c) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getCharExtra(reference.pointer, - _id_getCharExtra as jni$_.JMethodIDPtr, _$string.pointer, c) - .char; + return _getCharExtra( + reference.pointer, + _id_getCharExtra as jni$_.JMethodIDPtr, + _$string.pointer, + c, + ).char; } static final _id_getIntExtra = _class.instanceMethodId( @@ -13753,27 +15433,34 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;I)I', ); - static final _getIntExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _getIntExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public int getIntExtra(java.lang.String string, int i)` - int getIntExtra( - jni$_.JString? string, - int i, - ) { + int getIntExtra(jni$_.JString? string, int i) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getIntExtra(reference.pointer, - _id_getIntExtra as jni$_.JMethodIDPtr, _$string.pointer, i) - .integer; + return _getIntExtra( + reference.pointer, + _id_getIntExtra as jni$_.JMethodIDPtr, + _$string.pointer, + i, + ).integer; } static final _id_getLongExtra = _class.instanceMethodId( @@ -13781,27 +15468,34 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;J)J', ); - static final _getLongExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( - 'globalEnv_CallLongMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _getLongExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int64)>, + ) + > + >('globalEnv_CallLongMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public long getLongExtra(java.lang.String string, long j)` - int getLongExtra( - jni$_.JString? string, - int j, - ) { + int getLongExtra(jni$_.JString? string, int j) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getLongExtra(reference.pointer, - _id_getLongExtra as jni$_.JMethodIDPtr, _$string.pointer, j) - .long; + return _getLongExtra( + reference.pointer, + _id_getLongExtra as jni$_.JMethodIDPtr, + _$string.pointer, + j, + ).long; } static final _id_getFloatExtra = _class.instanceMethodId( @@ -13809,29 +15503,34 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;F)F', ); - static final _getFloatExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getFloatExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Double - )>)>>('globalEnv_CallFloatMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Double)>, + ) + > + >('globalEnv_CallFloatMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + double, + ) + >(); /// from: `public float getFloatExtra(java.lang.String string, float f)` - double getFloatExtra( - jni$_.JString? string, - double f, - ) { + double getFloatExtra(jni$_.JString? string, double f) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getFloatExtra(reference.pointer, - _id_getFloatExtra as jni$_.JMethodIDPtr, _$string.pointer, f) - .float; + return _getFloatExtra( + reference.pointer, + _id_getFloatExtra as jni$_.JMethodIDPtr, + _$string.pointer, + f, + ).float; } static final _id_getDoubleExtra = _class.instanceMethodId( @@ -13839,29 +15538,34 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;D)D', ); - static final _getDoubleExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getDoubleExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Double - )>)>>('globalEnv_CallDoubleMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Double)>, + ) + > + >('globalEnv_CallDoubleMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + double, + ) + >(); /// from: `public double getDoubleExtra(java.lang.String string, double d)` - double getDoubleExtra( - jni$_.JString? string, - double d, - ) { + double getDoubleExtra(jni$_.JString? string, double d) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getDoubleExtra(reference.pointer, - _id_getDoubleExtra as jni$_.JMethodIDPtr, _$string.pointer, d) - .doubleFloat; + return _getDoubleExtra( + reference.pointer, + _id_getDoubleExtra as jni$_.JMethodIDPtr, + _$string.pointer, + d, + ).doubleFloat; } static final _id_getStringExtra = _class.instanceMethodId( @@ -13869,26 +15573,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/lang/String;', ); - static final _getStringExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getStringExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.lang.String getStringExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? getStringExtra( - jni$_.JString? string, - ) { + jni$_.JString? getStringExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getStringExtra(reference.pointer, - _id_getStringExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JStringNullableType()); + return _getStringExtra( + reference.pointer, + _id_getStringExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JStringNullableType()); } static final _id_getCharSequenceExtra = _class.instanceMethodId( @@ -13896,26 +15607,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/lang/CharSequence;', ); - static final _getCharSequenceExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getCharSequenceExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.lang.CharSequence getCharSequenceExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getCharSequenceExtra( - jni$_.JString? string, - ) { + jni$_.JObject? getCharSequenceExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getCharSequenceExtra(reference.pointer, - _id_getCharSequenceExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getCharSequenceExtra( + reference.pointer, + _id_getCharSequenceExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getParcelableExtra = _class.instanceMethodId( @@ -13923,16 +15641,23 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/os/Parcelable;', ); - static final _getParcelableExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getParcelableExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public T getParcelableExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. @@ -13941,9 +15666,11 @@ class Intent extends jni$_.JObject { required jni$_.JObjType<$T> T, }) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getParcelableExtra(reference.pointer, - _id_getParcelableExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object<$T?>(T.nullableType); + return _getParcelableExtra( + reference.pointer, + _id_getParcelableExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object<$T?>(T.nullableType); } static final _id_getParcelableExtra$1 = _class.instanceMethodId( @@ -13951,22 +15678,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/lang/Class;)Ljava/lang/Object;', ); - static final _getParcelableExtra$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getParcelableExtra$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public T getParcelableExtra(java.lang.String string, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. @@ -13978,11 +15709,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$class$ = class$?.reference ?? jni$_.jNullReference; return _getParcelableExtra$1( - reference.pointer, - _id_getParcelableExtra$1 as jni$_.JMethodIDPtr, - _$string.pointer, - _$class$.pointer) - .object<$T?>(T.nullableType); + reference.pointer, + _id_getParcelableExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$class$.pointer, + ).object<$T?>(T.nullableType); } static final _id_getParcelableArrayExtra = _class.instanceMethodId( @@ -13990,28 +15721,37 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[Landroid/os/Parcelable;', ); - static final _getParcelableArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getParcelableArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.os.Parcelable[] getParcelableArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getParcelableArrayExtra( - jni$_.JString? string, - ) { + jni$_.JArray? getParcelableArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getParcelableArrayExtra(reference.pointer, - _id_getParcelableArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JObjectNullableType())); + return _getParcelableArrayExtra( + reference.pointer, + _id_getParcelableArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType(), + ), + ); } static final _id_getParcelableArrayExtra$1 = _class.instanceMethodId( @@ -14019,22 +15759,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/lang/Class;)[Ljava/lang/Object;', ); - static final _getParcelableArrayExtra$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getParcelableArrayExtra$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public java.lang.Object[] getParcelableArrayExtra(java.lang.String string, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. @@ -14046,12 +15790,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$class$ = class$?.reference ?? jni$_.jNullReference; return _getParcelableArrayExtra$1( - reference.pointer, - _id_getParcelableArrayExtra$1 as jni$_.JMethodIDPtr, - _$string.pointer, - _$class$.pointer) - .object?>( - jni$_.JArrayNullableType<$T?>(T.nullableType)); + reference.pointer, + _id_getParcelableArrayExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$class$.pointer, + ).object?>(jni$_.JArrayNullableType<$T?>(T.nullableType)); } static final _id_getParcelableArrayListExtra = _class.instanceMethodId( @@ -14061,15 +15804,21 @@ class Intent extends jni$_.JObject { static final _getParcelableArrayListExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.util.ArrayList getParcelableArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. @@ -14079,10 +15828,10 @@ class Intent extends jni$_.JObject { }) { final _$string = string?.reference ?? jni$_.jNullReference; return _getParcelableArrayListExtra( - reference.pointer, - _id_getParcelableArrayListExtra as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getParcelableArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getParcelableArrayListExtra$1 = _class.instanceMethodId( @@ -14092,21 +15841,24 @@ class Intent extends jni$_.JObject { static final _getParcelableArrayListExtra$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public java.util.ArrayList getParcelableArrayListExtra(java.lang.String string, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. @@ -14118,11 +15870,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$class$ = class$?.reference ?? jni$_.jNullReference; return _getParcelableArrayListExtra$1( - reference.pointer, - _id_getParcelableArrayListExtra$1 as jni$_.JMethodIDPtr, - _$string.pointer, - _$class$.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getParcelableArrayListExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$class$.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getSerializableExtra = _class.instanceMethodId( @@ -14130,26 +15882,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/io/Serializable;', ); - static final _getSerializableExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getSerializableExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.io.Serializable getSerializableExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSerializableExtra( - jni$_.JString? string, - ) { + jni$_.JObject? getSerializableExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getSerializableExtra(reference.pointer, - _id_getSerializableExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getSerializableExtra( + reference.pointer, + _id_getSerializableExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getSerializableExtra$1 = _class.instanceMethodId( @@ -14157,22 +15916,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/lang/Class;)Ljava/io/Serializable;', ); - static final _getSerializableExtra$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getSerializableExtra$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public T getSerializableExtra(java.lang.String string, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. @@ -14184,11 +15947,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$class$ = class$?.reference ?? jni$_.jNullReference; return _getSerializableExtra$1( - reference.pointer, - _id_getSerializableExtra$1 as jni$_.JMethodIDPtr, - _$string.pointer, - _$class$.pointer) - .object<$T?>(T.nullableType); + reference.pointer, + _id_getSerializableExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$class$.pointer, + ).object<$T?>(T.nullableType); } static final _id_getIntegerArrayListExtra = _class.instanceMethodId( @@ -14196,28 +15959,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/util/ArrayList;', ); - static final _getIntegerArrayListExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getIntegerArrayListExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.util.ArrayList getIntegerArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getIntegerArrayListExtra( - jni$_.JString? string, - ) { + jni$_.JObject? getIntegerArrayListExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; return _getIntegerArrayListExtra( - reference.pointer, - _id_getIntegerArrayListExtra as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getIntegerArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getStringArrayListExtra = _class.instanceMethodId( @@ -14225,26 +15993,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/util/ArrayList;', ); - static final _getStringArrayListExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getStringArrayListExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.util.ArrayList getStringArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getStringArrayListExtra( - jni$_.JString? string, - ) { + jni$_.JObject? getStringArrayListExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getStringArrayListExtra(reference.pointer, - _id_getStringArrayListExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getStringArrayListExtra( + reference.pointer, + _id_getStringArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getCharSequenceArrayListExtra = _class.instanceMethodId( @@ -14254,27 +16029,31 @@ class Intent extends jni$_.JObject { static final _getCharSequenceArrayListExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.util.ArrayList getCharSequenceArrayListExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getCharSequenceArrayListExtra( - jni$_.JString? string, - ) { + jni$_.JObject? getCharSequenceArrayListExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; return _getCharSequenceArrayListExtra( - reference.pointer, - _id_getCharSequenceArrayListExtra as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getCharSequenceArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getBooleanArrayExtra = _class.instanceMethodId( @@ -14282,26 +16061,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[Z', ); - static final _getBooleanArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getBooleanArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean[] getBooleanArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JBooleanArray? getBooleanArrayExtra( - jni$_.JString? string, - ) { + jni$_.JBooleanArray? getBooleanArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getBooleanArrayExtra(reference.pointer, - _id_getBooleanArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JBooleanArrayNullableType()); + return _getBooleanArrayExtra( + reference.pointer, + _id_getBooleanArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JBooleanArrayNullableType()); } static final _id_getByteArrayExtra = _class.instanceMethodId( @@ -14309,26 +16095,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[B', ); - static final _getByteArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getByteArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public byte[] getByteArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JByteArray? getByteArrayExtra( - jni$_.JString? string, - ) { + jni$_.JByteArray? getByteArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getByteArrayExtra(reference.pointer, - _id_getByteArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JByteArrayNullableType()); + return _getByteArrayExtra( + reference.pointer, + _id_getByteArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JByteArrayNullableType()); } static final _id_getShortArrayExtra = _class.instanceMethodId( @@ -14336,26 +16129,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[S', ); - static final _getShortArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getShortArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public short[] getShortArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JShortArray? getShortArrayExtra( - jni$_.JString? string, - ) { + jni$_.JShortArray? getShortArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getShortArrayExtra(reference.pointer, - _id_getShortArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JShortArrayNullableType()); + return _getShortArrayExtra( + reference.pointer, + _id_getShortArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JShortArrayNullableType()); } static final _id_getCharArrayExtra = _class.instanceMethodId( @@ -14363,26 +16163,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[C', ); - static final _getCharArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getCharArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public char[] getCharArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JCharArray? getCharArrayExtra( - jni$_.JString? string, - ) { + jni$_.JCharArray? getCharArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getCharArrayExtra(reference.pointer, - _id_getCharArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JCharArrayNullableType()); + return _getCharArrayExtra( + reference.pointer, + _id_getCharArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JCharArrayNullableType()); } static final _id_getIntArrayExtra = _class.instanceMethodId( @@ -14390,26 +16197,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[I', ); - static final _getIntArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getIntArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public int[] getIntArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JIntArray? getIntArrayExtra( - jni$_.JString? string, - ) { + jni$_.JIntArray? getIntArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getIntArrayExtra(reference.pointer, - _id_getIntArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JIntArrayNullableType()); + return _getIntArrayExtra( + reference.pointer, + _id_getIntArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JIntArrayNullableType()); } static final _id_getLongArrayExtra = _class.instanceMethodId( @@ -14417,26 +16231,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[J', ); - static final _getLongArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getLongArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public long[] getLongArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JLongArray? getLongArrayExtra( - jni$_.JString? string, - ) { + jni$_.JLongArray? getLongArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getLongArrayExtra(reference.pointer, - _id_getLongArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JLongArrayNullableType()); + return _getLongArrayExtra( + reference.pointer, + _id_getLongArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JLongArrayNullableType()); } static final _id_getFloatArrayExtra = _class.instanceMethodId( @@ -14444,26 +16265,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[F', ); - static final _getFloatArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getFloatArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public float[] getFloatArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JFloatArray? getFloatArrayExtra( - jni$_.JString? string, - ) { + jni$_.JFloatArray? getFloatArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getFloatArrayExtra(reference.pointer, - _id_getFloatArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JFloatArrayNullableType()); + return _getFloatArrayExtra( + reference.pointer, + _id_getFloatArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JFloatArrayNullableType()); } static final _id_getDoubleArrayExtra = _class.instanceMethodId( @@ -14471,26 +16299,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[D', ); - static final _getDoubleArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getDoubleArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public double[] getDoubleArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JDoubleArray? getDoubleArrayExtra( - jni$_.JString? string, - ) { + jni$_.JDoubleArray? getDoubleArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getDoubleArrayExtra(reference.pointer, - _id_getDoubleArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JDoubleArrayNullableType()); + return _getDoubleArrayExtra( + reference.pointer, + _id_getDoubleArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JDoubleArrayNullableType()); } static final _id_getStringArrayExtra = _class.instanceMethodId( @@ -14498,28 +16333,37 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[Ljava/lang/String;', ); - static final _getStringArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getStringArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.lang.String[] getStringArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JArray? getStringArrayExtra( - jni$_.JString? string, - ) { + jni$_.JArray? getStringArrayExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getStringArrayExtra(reference.pointer, - _id_getStringArrayExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JStringNullableType())); + return _getStringArrayExtra( + reference.pointer, + _id_getStringArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JStringNullableType(), + ), + ); } static final _id_getCharSequenceArrayExtra = _class.instanceMethodId( @@ -14527,16 +16371,23 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)[Ljava/lang/CharSequence;', ); - static final _getCharSequenceArrayExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getCharSequenceArrayExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.lang.CharSequence[] getCharSequenceArrayExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. @@ -14545,12 +16396,14 @@ class Intent extends jni$_.JObject { ) { final _$string = string?.reference ?? jni$_.jNullReference; return _getCharSequenceArrayExtra( - reference.pointer, - _id_getCharSequenceArrayExtra as jni$_.JMethodIDPtr, - _$string.pointer) - .object?>( - const jni$_.JArrayNullableType( - jni$_.JObjectNullableType())); + reference.pointer, + _id_getCharSequenceArrayExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object?>( + const jni$_.JArrayNullableType( + jni$_.JObjectNullableType(), + ), + ); } static final _id_getBundleExtra = _class.instanceMethodId( @@ -14558,26 +16411,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/os/Bundle;', ); - static final _getBundleExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getBundleExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.os.Bundle getBundleExtra(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getBundleExtra( - jni$_.JString? string, - ) { + jni$_.JObject? getBundleExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getBundleExtra(reference.pointer, - _id_getBundleExtra as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getBundleExtra( + reference.pointer, + _id_getBundleExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_getExtras = _class.instanceMethodId( @@ -14585,46 +16445,55 @@ class Intent extends jni$_.JObject { r'()Landroid/os/Bundle;', ); - static final _getExtras = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getExtras = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.os.Bundle getExtras()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getExtras() { - return _getExtras(reference.pointer, _id_getExtras as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getExtras( + reference.pointer, + _id_getExtras as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } - static final _id_getFlags = _class.instanceMethodId( - r'getFlags', - r'()I', - ); + static final _id_getFlags = _class.instanceMethodId(r'getFlags', r'()I'); - static final _getFlags = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getFlags = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int getFlags()` int getFlags() { - return _getFlags(reference.pointer, _id_getFlags as jni$_.JMethodIDPtr) - .integer; + return _getFlags( + reference.pointer, + _id_getFlags as jni$_.JMethodIDPtr, + ).integer; } static final _id_getPackage = _class.instanceMethodId( @@ -14632,23 +16501,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getPackage = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getPackage = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getPackage()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getPackage() { - return _getPackage(reference.pointer, _id_getPackage as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + return _getPackage( + reference.pointer, + _id_getPackage as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getComponent = _class.instanceMethodId( @@ -14656,24 +16531,29 @@ class Intent extends jni$_.JObject { r'()Landroid/content/ComponentName;', ); - static final _getComponent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getComponent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.ComponentName getComponent()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getComponent() { return _getComponent( - reference.pointer, _id_getComponent as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getComponent as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getSourceBounds = _class.instanceMethodId( @@ -14681,24 +16561,29 @@ class Intent extends jni$_.JObject { r'()Landroid/graphics/Rect;', ); - static final _getSourceBounds = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getSourceBounds = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.graphics.Rect getSourceBounds()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getSourceBounds() { return _getSourceBounds( - reference.pointer, _id_getSourceBounds as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getSourceBounds as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_resolveActivity = _class.instanceMethodId( @@ -14706,26 +16591,33 @@ class Intent extends jni$_.JObject { r'(Landroid/content/pm/PackageManager;)Landroid/content/ComponentName;', ); - static final _resolveActivity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _resolveActivity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.ComponentName resolveActivity(android.content.pm.PackageManager packageManager)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? resolveActivity( - jni$_.JObject? packageManager, - ) { + jni$_.JObject? resolveActivity(jni$_.JObject? packageManager) { final _$packageManager = packageManager?.reference ?? jni$_.jNullReference; - return _resolveActivity(reference.pointer, - _id_resolveActivity as jni$_.JMethodIDPtr, _$packageManager.pointer) - .object(const jni$_.JObjectNullableType()); + return _resolveActivity( + reference.pointer, + _id_resolveActivity as jni$_.JMethodIDPtr, + _$packageManager.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_resolveActivityInfo = _class.instanceMethodId( @@ -14733,31 +16625,35 @@ class Intent extends jni$_.JObject { r'(Landroid/content/pm/PackageManager;I)Landroid/content/pm/ActivityInfo;', ); - static final _resolveActivityInfo = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _resolveActivityInfo = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.content.pm.ActivityInfo resolveActivityInfo(android.content.pm.PackageManager packageManager, int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? resolveActivityInfo( - jni$_.JObject? packageManager, - int i, - ) { + jni$_.JObject? resolveActivityInfo(jni$_.JObject? packageManager, int i) { final _$packageManager = packageManager?.reference ?? jni$_.jNullReference; return _resolveActivityInfo( - reference.pointer, - _id_resolveActivityInfo as jni$_.JMethodIDPtr, - _$packageManager.pointer, - i) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_resolveActivityInfo as jni$_.JMethodIDPtr, + _$packageManager.pointer, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_setAction = _class.instanceMethodId( @@ -14765,26 +16661,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setAction = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setAction = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setAction(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent? setAction( - jni$_.JString? string, - ) { + Intent? setAction(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _setAction(reference.pointer, _id_setAction as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const $Intent$NullableType()); + return _setAction( + reference.pointer, + _id_setAction as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_setData = _class.instanceMethodId( @@ -14792,26 +16695,33 @@ class Intent extends jni$_.JObject { r'(Landroid/net/Uri;)Landroid/content/Intent;', ); - static final _setData = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setData = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setData(android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. - Intent? setData( - jni$_.JObject? uri, - ) { + Intent? setData(jni$_.JObject? uri) { final _$uri = uri?.reference ?? jni$_.jNullReference; return _setData( - reference.pointer, _id_setData as jni$_.JMethodIDPtr, _$uri.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_setData as jni$_.JMethodIDPtr, + _$uri.pointer, + ).object(const $Intent$NullableType()); } static final _id_setDataAndNormalize = _class.instanceMethodId( @@ -14819,26 +16729,33 @@ class Intent extends jni$_.JObject { r'(Landroid/net/Uri;)Landroid/content/Intent;', ); - static final _setDataAndNormalize = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setDataAndNormalize = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setDataAndNormalize(android.net.Uri uri)` /// The returned object must be released after use, by calling the [release] method. - Intent? setDataAndNormalize( - jni$_.JObject? uri, - ) { + Intent? setDataAndNormalize(jni$_.JObject? uri) { final _$uri = uri?.reference ?? jni$_.jNullReference; - return _setDataAndNormalize(reference.pointer, - _id_setDataAndNormalize as jni$_.JMethodIDPtr, _$uri.pointer) - .object(const $Intent$NullableType()); + return _setDataAndNormalize( + reference.pointer, + _id_setDataAndNormalize as jni$_.JMethodIDPtr, + _$uri.pointer, + ).object(const $Intent$NullableType()); } static final _id_setType = _class.instanceMethodId( @@ -14846,26 +16763,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setType = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setType = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setType(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent? setType( - jni$_.JString? string, - ) { + Intent? setType(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _setType(reference.pointer, _id_setType as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const $Intent$NullableType()); + return _setType( + reference.pointer, + _id_setType as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_setTypeAndNormalize = _class.instanceMethodId( @@ -14873,26 +16797,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setTypeAndNormalize = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setTypeAndNormalize = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setTypeAndNormalize(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent? setTypeAndNormalize( - jni$_.JString? string, - ) { + Intent? setTypeAndNormalize(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _setTypeAndNormalize(reference.pointer, - _id_setTypeAndNormalize as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Intent$NullableType()); + return _setTypeAndNormalize( + reference.pointer, + _id_setTypeAndNormalize as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_setDataAndType = _class.instanceMethodId( @@ -14900,37 +16831,38 @@ class Intent extends jni$_.JObject { r'(Landroid/net/Uri;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setDataAndType = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setDataAndType = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setDataAndType(android.net.Uri uri, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent? setDataAndType( - jni$_.JObject? uri, - jni$_.JString? string, - ) { + Intent? setDataAndType(jni$_.JObject? uri, jni$_.JString? string) { final _$uri = uri?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; return _setDataAndType( - reference.pointer, - _id_setDataAndType as jni$_.JMethodIDPtr, - _$uri.pointer, - _$string.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_setDataAndType as jni$_.JMethodIDPtr, + _$uri.pointer, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_setDataAndTypeAndNormalize = _class.instanceMethodId( @@ -14940,21 +16872,24 @@ class Intent extends jni$_.JObject { static final _setDataAndTypeAndNormalize = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setDataAndTypeAndNormalize(android.net.Uri uri, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. @@ -14965,11 +16900,11 @@ class Intent extends jni$_.JObject { final _$uri = uri?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; return _setDataAndTypeAndNormalize( - reference.pointer, - _id_setDataAndTypeAndNormalize as jni$_.JMethodIDPtr, - _$uri.pointer, - _$string.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_setDataAndTypeAndNormalize as jni$_.JMethodIDPtr, + _$uri.pointer, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_setIdentifier = _class.instanceMethodId( @@ -14977,26 +16912,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setIdentifier = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setIdentifier = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setIdentifier(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent? setIdentifier( - jni$_.JString? string, - ) { + Intent? setIdentifier(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _setIdentifier(reference.pointer, - _id_setIdentifier as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Intent$NullableType()); + return _setIdentifier( + reference.pointer, + _id_setIdentifier as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_addCategory = _class.instanceMethodId( @@ -15004,26 +16946,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _addCategory = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _addCategory = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent addCategory(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent? addCategory( - jni$_.JString? string, - ) { + Intent? addCategory(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _addCategory(reference.pointer, - _id_addCategory as jni$_.JMethodIDPtr, _$string.pointer) - .object(const $Intent$NullableType()); + return _addCategory( + reference.pointer, + _id_addCategory as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_removeCategory = _class.instanceMethodId( @@ -15031,25 +16980,32 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)V', ); - static final _removeCategory = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _removeCategory = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void removeCategory(java.lang.String string)` - void removeCategory( - jni$_.JString? string, - ) { + void removeCategory(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - _removeCategory(reference.pointer, _id_removeCategory as jni$_.JMethodIDPtr, - _$string.pointer) - .check(); + _removeCategory( + reference.pointer, + _id_removeCategory as jni$_.JMethodIDPtr, + _$string.pointer, + ).check(); } static final _id_setSelector = _class.instanceMethodId( @@ -15057,25 +17013,32 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Intent;)V', ); - static final _setSelector = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setSelector = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setSelector(android.content.Intent intent)` - void setSelector( - Intent? intent, - ) { + void setSelector(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _setSelector(reference.pointer, _id_setSelector as jni$_.JMethodIDPtr, - _$intent.pointer) - .check(); + _setSelector( + reference.pointer, + _id_setSelector as jni$_.JMethodIDPtr, + _$intent.pointer, + ).check(); } static final _id_setClipData = _class.instanceMethodId( @@ -15083,25 +17046,32 @@ class Intent extends jni$_.JObject { r'(Landroid/content/ClipData;)V', ); - static final _setClipData = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setClipData = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setClipData(android.content.ClipData clipData)` - void setClipData( - jni$_.JObject? clipData, - ) { + void setClipData(jni$_.JObject? clipData) { final _$clipData = clipData?.reference ?? jni$_.jNullReference; - _setClipData(reference.pointer, _id_setClipData as jni$_.JMethodIDPtr, - _$clipData.pointer) - .check(); + _setClipData( + reference.pointer, + _id_setClipData as jni$_.JMethodIDPtr, + _$clipData.pointer, + ).check(); } static final _id_putExtra = _class.instanceMethodId( @@ -15109,28 +17079,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Z)Landroid/content/Intent;', ); - static final _putExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _putExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, boolean z)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra( - jni$_.JString? string, - bool z, - ) { + Intent? putExtra(jni$_.JString? string, bool z) { final _$string = string?.reference ?? jni$_.jNullReference; - return _putExtra(reference.pointer, _id_putExtra as jni$_.JMethodIDPtr, - _$string.pointer, z ? 1 : 0) - .object(const $Intent$NullableType()); + return _putExtra( + reference.pointer, + _id_putExtra as jni$_.JMethodIDPtr, + _$string.pointer, + z ? 1 : 0, + ).object(const $Intent$NullableType()); } static final _id_putExtra$1 = _class.instanceMethodId( @@ -15138,28 +17115,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;B)Landroid/content/Intent;', ); - static final _putExtra$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _putExtra$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, byte b)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$1( - jni$_.JString? string, - int b, - ) { + Intent? putExtra$1(jni$_.JString? string, int b) { final _$string = string?.reference ?? jni$_.jNullReference; - return _putExtra$1(reference.pointer, _id_putExtra$1 as jni$_.JMethodIDPtr, - _$string.pointer, b) - .object(const $Intent$NullableType()); + return _putExtra$1( + reference.pointer, + _id_putExtra$1 as jni$_.JMethodIDPtr, + _$string.pointer, + b, + ).object(const $Intent$NullableType()); } static final _id_putExtra$2 = _class.instanceMethodId( @@ -15167,28 +17151,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;C)Landroid/content/Intent;', ); - static final _putExtra$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _putExtra$2 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, char c)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$2( - jni$_.JString? string, - int c, - ) { + Intent? putExtra$2(jni$_.JString? string, int c) { final _$string = string?.reference ?? jni$_.jNullReference; - return _putExtra$2(reference.pointer, _id_putExtra$2 as jni$_.JMethodIDPtr, - _$string.pointer, c) - .object(const $Intent$NullableType()); + return _putExtra$2( + reference.pointer, + _id_putExtra$2 as jni$_.JMethodIDPtr, + _$string.pointer, + c, + ).object(const $Intent$NullableType()); } static final _id_putExtra$3 = _class.instanceMethodId( @@ -15196,28 +17187,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;S)Landroid/content/Intent;', ); - static final _putExtra$3 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _putExtra$3 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, short s)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$3( - jni$_.JString? string, - int s, - ) { + Intent? putExtra$3(jni$_.JString? string, int s) { final _$string = string?.reference ?? jni$_.jNullReference; - return _putExtra$3(reference.pointer, _id_putExtra$3 as jni$_.JMethodIDPtr, - _$string.pointer, s) - .object(const $Intent$NullableType()); + return _putExtra$3( + reference.pointer, + _id_putExtra$3 as jni$_.JMethodIDPtr, + _$string.pointer, + s, + ).object(const $Intent$NullableType()); } static final _id_putExtra$4 = _class.instanceMethodId( @@ -15225,28 +17223,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;I)Landroid/content/Intent;', ); - static final _putExtra$4 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _putExtra$4 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, int i)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$4( - jni$_.JString? string, - int i, - ) { + Intent? putExtra$4(jni$_.JString? string, int i) { final _$string = string?.reference ?? jni$_.jNullReference; - return _putExtra$4(reference.pointer, _id_putExtra$4 as jni$_.JMethodIDPtr, - _$string.pointer, i) - .object(const $Intent$NullableType()); + return _putExtra$4( + reference.pointer, + _id_putExtra$4 as jni$_.JMethodIDPtr, + _$string.pointer, + i, + ).object(const $Intent$NullableType()); } static final _id_putExtra$5 = _class.instanceMethodId( @@ -15254,28 +17259,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;J)Landroid/content/Intent;', ); - static final _putExtra$5 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _putExtra$5 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int64)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, long j)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$5( - jni$_.JString? string, - int j, - ) { + Intent? putExtra$5(jni$_.JString? string, int j) { final _$string = string?.reference ?? jni$_.jNullReference; - return _putExtra$5(reference.pointer, _id_putExtra$5 as jni$_.JMethodIDPtr, - _$string.pointer, j) - .object(const $Intent$NullableType()); + return _putExtra$5( + reference.pointer, + _id_putExtra$5 as jni$_.JMethodIDPtr, + _$string.pointer, + j, + ).object(const $Intent$NullableType()); } static final _id_putExtra$6 = _class.instanceMethodId( @@ -15283,30 +17295,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;F)Landroid/content/Intent;', ); - static final _putExtra$6 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$6 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Double - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Double)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + double, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, float f)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$6( - jni$_.JString? string, - double f, - ) { + Intent? putExtra$6(jni$_.JString? string, double f) { final _$string = string?.reference ?? jni$_.jNullReference; - return _putExtra$6(reference.pointer, _id_putExtra$6 as jni$_.JMethodIDPtr, - _$string.pointer, f) - .object(const $Intent$NullableType()); + return _putExtra$6( + reference.pointer, + _id_putExtra$6 as jni$_.JMethodIDPtr, + _$string.pointer, + f, + ).object(const $Intent$NullableType()); } static final _id_putExtra$7 = _class.instanceMethodId( @@ -15314,30 +17331,35 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;D)Landroid/content/Intent;', ); - static final _putExtra$7 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$7 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Double - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, double)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Double)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + double, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, double d)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$7( - jni$_.JString? string, - double d, - ) { + Intent? putExtra$7(jni$_.JString? string, double d) { final _$string = string?.reference ?? jni$_.jNullReference; - return _putExtra$7(reference.pointer, _id_putExtra$7 as jni$_.JMethodIDPtr, - _$string.pointer, d) - .object(const $Intent$NullableType()); + return _putExtra$7( + reference.pointer, + _id_putExtra$7 as jni$_.JMethodIDPtr, + _$string.pointer, + d, + ).object(const $Intent$NullableType()); } static final _id_putExtra$8 = _class.instanceMethodId( @@ -15345,34 +17367,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _putExtra$8 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$8 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$8( - jni$_.JString? string, - jni$_.JString? string1, - ) { + Intent? putExtra$8(jni$_.JString? string, jni$_.JString? string1) { final _$string = string?.reference ?? jni$_.jNullReference; final _$string1 = string1?.reference ?? jni$_.jNullReference; - return _putExtra$8(reference.pointer, _id_putExtra$8 as jni$_.JMethodIDPtr, - _$string.pointer, _$string1.pointer) - .object(const $Intent$NullableType()); + return _putExtra$8( + reference.pointer, + _id_putExtra$8 as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$9 = _class.instanceMethodId( @@ -15380,34 +17406,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _putExtra$9 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$9 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$9( - jni$_.JString? string, - jni$_.JObject? charSequence, - ) { + Intent? putExtra$9(jni$_.JString? string, jni$_.JObject? charSequence) { final _$string = string?.reference ?? jni$_.jNullReference; final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; - return _putExtra$9(reference.pointer, _id_putExtra$9 as jni$_.JMethodIDPtr, - _$string.pointer, _$charSequence.pointer) - .object(const $Intent$NullableType()); + return _putExtra$9( + reference.pointer, + _id_putExtra$9 as jni$_.JMethodIDPtr, + _$string.pointer, + _$charSequence.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$10 = _class.instanceMethodId( @@ -15415,37 +17445,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Landroid/os/Parcelable;)Landroid/content/Intent;', ); - static final _putExtra$10 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$10 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Parcelable parcelable)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$10( - jni$_.JString? string, - jni$_.JObject? parcelable, - ) { + Intent? putExtra$10(jni$_.JString? string, jni$_.JObject? parcelable) { final _$string = string?.reference ?? jni$_.jNullReference; final _$parcelable = parcelable?.reference ?? jni$_.jNullReference; return _putExtra$10( - reference.pointer, - _id_putExtra$10 as jni$_.JMethodIDPtr, - _$string.pointer, - _$parcelable.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$10 as jni$_.JMethodIDPtr, + _$string.pointer, + _$parcelable.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$11 = _class.instanceMethodId( @@ -15453,22 +17484,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[Landroid/os/Parcelable;)Landroid/content/Intent;', ); - static final _putExtra$11 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$11 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Parcelable[] parcelables)` /// The returned object must be released after use, by calling the [release] method. @@ -15479,11 +17514,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$parcelables = parcelables?.reference ?? jni$_.jNullReference; return _putExtra$11( - reference.pointer, - _id_putExtra$11 as jni$_.JMethodIDPtr, - _$string.pointer, - _$parcelables.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$11 as jni$_.JMethodIDPtr, + _$string.pointer, + _$parcelables.pointer, + ).object(const $Intent$NullableType()); } static final _id_putParcelableArrayListExtra = _class.instanceMethodId( @@ -15493,21 +17528,24 @@ class Intent extends jni$_.JObject { static final _putParcelableArrayListExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putParcelableArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. @@ -15518,11 +17556,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$arrayList = arrayList?.reference ?? jni$_.jNullReference; return _putParcelableArrayListExtra( - reference.pointer, - _id_putParcelableArrayListExtra as jni$_.JMethodIDPtr, - _$string.pointer, - _$arrayList.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putParcelableArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + _$arrayList.pointer, + ).object(const $Intent$NullableType()); } static final _id_putIntegerArrayListExtra = _class.instanceMethodId( @@ -15530,22 +17568,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;', ); - static final _putIntegerArrayListExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putIntegerArrayListExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putIntegerArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. @@ -15556,11 +17598,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$arrayList = arrayList?.reference ?? jni$_.jNullReference; return _putIntegerArrayListExtra( - reference.pointer, - _id_putIntegerArrayListExtra as jni$_.JMethodIDPtr, - _$string.pointer, - _$arrayList.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putIntegerArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + _$arrayList.pointer, + ).object(const $Intent$NullableType()); } static final _id_putStringArrayListExtra = _class.instanceMethodId( @@ -15568,22 +17610,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/util/ArrayList;)Landroid/content/Intent;', ); - static final _putStringArrayListExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putStringArrayListExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putStringArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. @@ -15594,11 +17640,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$arrayList = arrayList?.reference ?? jni$_.jNullReference; return _putStringArrayListExtra( - reference.pointer, - _id_putStringArrayListExtra as jni$_.JMethodIDPtr, - _$string.pointer, - _$arrayList.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putStringArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + _$arrayList.pointer, + ).object(const $Intent$NullableType()); } static final _id_putCharSequenceArrayListExtra = _class.instanceMethodId( @@ -15608,21 +17654,24 @@ class Intent extends jni$_.JObject { static final _putCharSequenceArrayListExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putCharSequenceArrayListExtra(java.lang.String string, java.util.ArrayList arrayList)` /// The returned object must be released after use, by calling the [release] method. @@ -15633,11 +17682,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$arrayList = arrayList?.reference ?? jni$_.jNullReference; return _putCharSequenceArrayListExtra( - reference.pointer, - _id_putCharSequenceArrayListExtra as jni$_.JMethodIDPtr, - _$string.pointer, - _$arrayList.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putCharSequenceArrayListExtra as jni$_.JMethodIDPtr, + _$string.pointer, + _$arrayList.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$12 = _class.instanceMethodId( @@ -15645,37 +17694,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;', ); - static final _putExtra$12 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$12 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.io.Serializable serializable)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$12( - jni$_.JString? string, - jni$_.JObject? serializable, - ) { + Intent? putExtra$12(jni$_.JString? string, jni$_.JObject? serializable) { final _$string = string?.reference ?? jni$_.jNullReference; final _$serializable = serializable?.reference ?? jni$_.jNullReference; return _putExtra$12( - reference.pointer, - _id_putExtra$12 as jni$_.JMethodIDPtr, - _$string.pointer, - _$serializable.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$12 as jni$_.JMethodIDPtr, + _$string.pointer, + _$serializable.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$13 = _class.instanceMethodId( @@ -15683,37 +17733,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[Z)Landroid/content/Intent;', ); - static final _putExtra$13 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$13 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, boolean[] zs)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$13( - jni$_.JString? string, - jni$_.JBooleanArray? zs, - ) { + Intent? putExtra$13(jni$_.JString? string, jni$_.JBooleanArray? zs) { final _$string = string?.reference ?? jni$_.jNullReference; final _$zs = zs?.reference ?? jni$_.jNullReference; return _putExtra$13( - reference.pointer, - _id_putExtra$13 as jni$_.JMethodIDPtr, - _$string.pointer, - _$zs.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$13 as jni$_.JMethodIDPtr, + _$string.pointer, + _$zs.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$14 = _class.instanceMethodId( @@ -15721,37 +17772,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[B)Landroid/content/Intent;', ); - static final _putExtra$14 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$14 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, byte[] bs)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$14( - jni$_.JString? string, - jni$_.JByteArray? bs, - ) { + Intent? putExtra$14(jni$_.JString? string, jni$_.JByteArray? bs) { final _$string = string?.reference ?? jni$_.jNullReference; final _$bs = bs?.reference ?? jni$_.jNullReference; return _putExtra$14( - reference.pointer, - _id_putExtra$14 as jni$_.JMethodIDPtr, - _$string.pointer, - _$bs.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$14 as jni$_.JMethodIDPtr, + _$string.pointer, + _$bs.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$15 = _class.instanceMethodId( @@ -15759,37 +17811,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[S)Landroid/content/Intent;', ); - static final _putExtra$15 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$15 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, short[] ss)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$15( - jni$_.JString? string, - jni$_.JShortArray? ss, - ) { + Intent? putExtra$15(jni$_.JString? string, jni$_.JShortArray? ss) { final _$string = string?.reference ?? jni$_.jNullReference; final _$ss = ss?.reference ?? jni$_.jNullReference; return _putExtra$15( - reference.pointer, - _id_putExtra$15 as jni$_.JMethodIDPtr, - _$string.pointer, - _$ss.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$15 as jni$_.JMethodIDPtr, + _$string.pointer, + _$ss.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$16 = _class.instanceMethodId( @@ -15797,37 +17850,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[C)Landroid/content/Intent;', ); - static final _putExtra$16 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$16 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, char[] cs)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$16( - jni$_.JString? string, - jni$_.JCharArray? cs, - ) { + Intent? putExtra$16(jni$_.JString? string, jni$_.JCharArray? cs) { final _$string = string?.reference ?? jni$_.jNullReference; final _$cs = cs?.reference ?? jni$_.jNullReference; return _putExtra$16( - reference.pointer, - _id_putExtra$16 as jni$_.JMethodIDPtr, - _$string.pointer, - _$cs.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$16 as jni$_.JMethodIDPtr, + _$string.pointer, + _$cs.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$17 = _class.instanceMethodId( @@ -15835,37 +17889,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[I)Landroid/content/Intent;', ); - static final _putExtra$17 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$17 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, int[] is)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$17( - jni$_.JString? string, - jni$_.JIntArray? is$, - ) { + Intent? putExtra$17(jni$_.JString? string, jni$_.JIntArray? is$) { final _$string = string?.reference ?? jni$_.jNullReference; final _$is$ = is$?.reference ?? jni$_.jNullReference; return _putExtra$17( - reference.pointer, - _id_putExtra$17 as jni$_.JMethodIDPtr, - _$string.pointer, - _$is$.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$17 as jni$_.JMethodIDPtr, + _$string.pointer, + _$is$.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$18 = _class.instanceMethodId( @@ -15873,37 +17928,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[J)Landroid/content/Intent;', ); - static final _putExtra$18 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$18 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, long[] js)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$18( - jni$_.JString? string, - jni$_.JLongArray? js, - ) { + Intent? putExtra$18(jni$_.JString? string, jni$_.JLongArray? js) { final _$string = string?.reference ?? jni$_.jNullReference; final _$js = js?.reference ?? jni$_.jNullReference; return _putExtra$18( - reference.pointer, - _id_putExtra$18 as jni$_.JMethodIDPtr, - _$string.pointer, - _$js.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$18 as jni$_.JMethodIDPtr, + _$string.pointer, + _$js.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$19 = _class.instanceMethodId( @@ -15911,37 +17967,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[F)Landroid/content/Intent;', ); - static final _putExtra$19 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$19 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, float[] fs)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$19( - jni$_.JString? string, - jni$_.JFloatArray? fs, - ) { + Intent? putExtra$19(jni$_.JString? string, jni$_.JFloatArray? fs) { final _$string = string?.reference ?? jni$_.jNullReference; final _$fs = fs?.reference ?? jni$_.jNullReference; return _putExtra$19( - reference.pointer, - _id_putExtra$19 as jni$_.JMethodIDPtr, - _$string.pointer, - _$fs.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$19 as jni$_.JMethodIDPtr, + _$string.pointer, + _$fs.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$20 = _class.instanceMethodId( @@ -15949,37 +18006,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[D)Landroid/content/Intent;', ); - static final _putExtra$20 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$20 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, double[] ds)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$20( - jni$_.JString? string, - jni$_.JDoubleArray? ds, - ) { + Intent? putExtra$20(jni$_.JString? string, jni$_.JDoubleArray? ds) { final _$string = string?.reference ?? jni$_.jNullReference; final _$ds = ds?.reference ?? jni$_.jNullReference; return _putExtra$20( - reference.pointer, - _id_putExtra$20 as jni$_.JMethodIDPtr, - _$string.pointer, - _$ds.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$20 as jni$_.JMethodIDPtr, + _$string.pointer, + _$ds.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$21 = _class.instanceMethodId( @@ -15987,22 +18045,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[Ljava/lang/String;)Landroid/content/Intent;', ); - static final _putExtra$21 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$21 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.String[] strings)` /// The returned object must be released after use, by calling the [release] method. @@ -16013,11 +18075,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$strings = strings?.reference ?? jni$_.jNullReference; return _putExtra$21( - reference.pointer, - _id_putExtra$21 as jni$_.JMethodIDPtr, - _$string.pointer, - _$strings.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$21 as jni$_.JMethodIDPtr, + _$string.pointer, + _$strings.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$22 = _class.instanceMethodId( @@ -16025,22 +18087,26 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;[Ljava/lang/CharSequence;)Landroid/content/Intent;', ); - static final _putExtra$22 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$22 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, java.lang.CharSequence[] charSequences)` /// The returned object must be released after use, by calling the [release] method. @@ -16051,11 +18117,11 @@ class Intent extends jni$_.JObject { final _$string = string?.reference ?? jni$_.jNullReference; final _$charSequences = charSequences?.reference ?? jni$_.jNullReference; return _putExtra$22( - reference.pointer, - _id_putExtra$22 as jni$_.JMethodIDPtr, - _$string.pointer, - _$charSequences.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$22 as jni$_.JMethodIDPtr, + _$string.pointer, + _$charSequences.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtra$23 = _class.instanceMethodId( @@ -16063,37 +18129,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _putExtra$23 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _putExtra$23 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtra(java.lang.String string, android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtra$23( - jni$_.JString? string, - jni$_.JObject? bundle, - ) { + Intent? putExtra$23(jni$_.JString? string, jni$_.JObject? bundle) { final _$string = string?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _putExtra$23( - reference.pointer, - _id_putExtra$23 as jni$_.JMethodIDPtr, - _$string.pointer, - _$bundle.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_putExtra$23 as jni$_.JMethodIDPtr, + _$string.pointer, + _$bundle.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtras = _class.instanceMethodId( @@ -16101,26 +18168,33 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Intent;)Landroid/content/Intent;', ); - static final _putExtras = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _putExtras = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtras(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtras( - Intent? intent, - ) { + Intent? putExtras(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _putExtras(reference.pointer, _id_putExtras as jni$_.JMethodIDPtr, - _$intent.pointer) - .object(const $Intent$NullableType()); + return _putExtras( + reference.pointer, + _id_putExtras as jni$_.JMethodIDPtr, + _$intent.pointer, + ).object(const $Intent$NullableType()); } static final _id_putExtras$1 = _class.instanceMethodId( @@ -16128,26 +18202,33 @@ class Intent extends jni$_.JObject { r'(Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _putExtras$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _putExtras$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent putExtras(android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent? putExtras$1( - jni$_.JObject? bundle, - ) { + Intent? putExtras$1(jni$_.JObject? bundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; - return _putExtras$1(reference.pointer, - _id_putExtras$1 as jni$_.JMethodIDPtr, _$bundle.pointer) - .object(const $Intent$NullableType()); + return _putExtras$1( + reference.pointer, + _id_putExtras$1 as jni$_.JMethodIDPtr, + _$bundle.pointer, + ).object(const $Intent$NullableType()); } static final _id_replaceExtras = _class.instanceMethodId( @@ -16155,26 +18236,33 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Intent;)Landroid/content/Intent;', ); - static final _replaceExtras = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _replaceExtras = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent replaceExtras(android.content.Intent intent)` /// The returned object must be released after use, by calling the [release] method. - Intent? replaceExtras( - Intent? intent, - ) { + Intent? replaceExtras(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _replaceExtras(reference.pointer, - _id_replaceExtras as jni$_.JMethodIDPtr, _$intent.pointer) - .object(const $Intent$NullableType()); + return _replaceExtras( + reference.pointer, + _id_replaceExtras as jni$_.JMethodIDPtr, + _$intent.pointer, + ).object(const $Intent$NullableType()); } static final _id_replaceExtras$1 = _class.instanceMethodId( @@ -16182,26 +18270,33 @@ class Intent extends jni$_.JObject { r'(Landroid/os/Bundle;)Landroid/content/Intent;', ); - static final _replaceExtras$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _replaceExtras$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent replaceExtras(android.os.Bundle bundle)` /// The returned object must be released after use, by calling the [release] method. - Intent? replaceExtras$1( - jni$_.JObject? bundle, - ) { + Intent? replaceExtras$1(jni$_.JObject? bundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; - return _replaceExtras$1(reference.pointer, - _id_replaceExtras$1 as jni$_.JMethodIDPtr, _$bundle.pointer) - .object(const $Intent$NullableType()); + return _replaceExtras$1( + reference.pointer, + _id_replaceExtras$1 as jni$_.JMethodIDPtr, + _$bundle.pointer, + ).object(const $Intent$NullableType()); } static final _id_removeExtra = _class.instanceMethodId( @@ -16209,25 +18304,32 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)V', ); - static final _removeExtra = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _removeExtra = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void removeExtra(java.lang.String string)` - void removeExtra( - jni$_.JString? string, - ) { + void removeExtra(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - _removeExtra(reference.pointer, _id_removeExtra as jni$_.JMethodIDPtr, - _$string.pointer) - .check(); + _removeExtra( + reference.pointer, + _id_removeExtra as jni$_.JMethodIDPtr, + _$string.pointer, + ).check(); } static final _id_setFlags = _class.instanceMethodId( @@ -16235,23 +18337,32 @@ class Intent extends jni$_.JObject { r'(I)Landroid/content/Intent;', ); - static final _setFlags = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setFlags = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public android.content.Intent setFlags(int i)` /// The returned object must be released after use, by calling the [release] method. - Intent? setFlags( - int i, - ) { - return _setFlags(reference.pointer, _id_setFlags as jni$_.JMethodIDPtr, i) - .object(const $Intent$NullableType()); + Intent? setFlags(int i) { + return _setFlags( + reference.pointer, + _id_setFlags as jni$_.JMethodIDPtr, + i, + ).object(const $Intent$NullableType()); } static final _id_addFlags = _class.instanceMethodId( @@ -16259,23 +18370,32 @@ class Intent extends jni$_.JObject { r'(I)Landroid/content/Intent;', ); - static final _addFlags = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _addFlags = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public android.content.Intent addFlags(int i)` /// The returned object must be released after use, by calling the [release] method. - Intent? addFlags( - int i, - ) { - return _addFlags(reference.pointer, _id_addFlags as jni$_.JMethodIDPtr, i) - .object(const $Intent$NullableType()); + Intent? addFlags(int i) { + return _addFlags( + reference.pointer, + _id_addFlags as jni$_.JMethodIDPtr, + i, + ).object(const $Intent$NullableType()); } static final _id_removeFlags = _class.instanceMethodId( @@ -16283,22 +18403,31 @@ class Intent extends jni$_.JObject { r'(I)V', ); - static final _removeFlags = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _removeFlags = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void removeFlags(int i)` - void removeFlags( - int i, - ) { - _removeFlags(reference.pointer, _id_removeFlags as jni$_.JMethodIDPtr, i) - .check(); + void removeFlags(int i) { + _removeFlags( + reference.pointer, + _id_removeFlags as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_setPackage = _class.instanceMethodId( @@ -16306,26 +18435,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setPackage = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setPackage = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setPackage(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent? setPackage( - jni$_.JString? string, - ) { + Intent? setPackage(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _setPackage(reference.pointer, _id_setPackage as jni$_.JMethodIDPtr, - _$string.pointer) - .object(const $Intent$NullableType()); + return _setPackage( + reference.pointer, + _id_setPackage as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_setComponent = _class.instanceMethodId( @@ -16333,26 +18469,33 @@ class Intent extends jni$_.JObject { r'(Landroid/content/ComponentName;)Landroid/content/Intent;', ); - static final _setComponent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setComponent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setComponent(android.content.ComponentName componentName)` /// The returned object must be released after use, by calling the [release] method. - Intent? setComponent( - jni$_.JObject? componentName, - ) { + Intent? setComponent(jni$_.JObject? componentName) { final _$componentName = componentName?.reference ?? jni$_.jNullReference; - return _setComponent(reference.pointer, - _id_setComponent as jni$_.JMethodIDPtr, _$componentName.pointer) - .object(const $Intent$NullableType()); + return _setComponent( + reference.pointer, + _id_setComponent as jni$_.JMethodIDPtr, + _$componentName.pointer, + ).object(const $Intent$NullableType()); } static final _id_setClassName = _class.instanceMethodId( @@ -16360,37 +18503,38 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Context;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setClassName = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setClassName = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setClassName(android.content.Context context, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - Intent? setClassName( - Context? context, - jni$_.JString? string, - ) { + Intent? setClassName(Context? context, jni$_.JString? string) { final _$context = context?.reference ?? jni$_.jNullReference; final _$string = string?.reference ?? jni$_.jNullReference; return _setClassName( - reference.pointer, - _id_setClassName as jni$_.JMethodIDPtr, - _$context.pointer, - _$string.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_setClassName as jni$_.JMethodIDPtr, + _$context.pointer, + _$string.pointer, + ).object(const $Intent$NullableType()); } static final _id_setClassName$1 = _class.instanceMethodId( @@ -16398,37 +18542,38 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;', ); - static final _setClassName$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setClassName$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setClassName(java.lang.String string, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. - Intent? setClassName$1( - jni$_.JString? string, - jni$_.JString? string1, - ) { + Intent? setClassName$1(jni$_.JString? string, jni$_.JString? string1) { final _$string = string?.reference ?? jni$_.jNullReference; final _$string1 = string1?.reference ?? jni$_.jNullReference; return _setClassName$1( - reference.pointer, - _id_setClassName$1 as jni$_.JMethodIDPtr, - _$string.pointer, - _$string1.pointer) - .object(const $Intent$NullableType()); + reference.pointer, + _id_setClassName$1 as jni$_.JMethodIDPtr, + _$string.pointer, + _$string1.pointer, + ).object(const $Intent$NullableType()); } static final _id_setClass = _class.instanceMethodId( @@ -16436,34 +18581,38 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Context;Ljava/lang/Class;)Landroid/content/Intent;', ); - static final _setClass = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setClass = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.content.Intent setClass(android.content.Context context, java.lang.Class class)` /// The returned object must be released after use, by calling the [release] method. - Intent? setClass( - Context? context, - jni$_.JObject? class$, - ) { + Intent? setClass(Context? context, jni$_.JObject? class$) { final _$context = context?.reference ?? jni$_.jNullReference; final _$class$ = class$?.reference ?? jni$_.jNullReference; - return _setClass(reference.pointer, _id_setClass as jni$_.JMethodIDPtr, - _$context.pointer, _$class$.pointer) - .object(const $Intent$NullableType()); + return _setClass( + reference.pointer, + _id_setClass as jni$_.JMethodIDPtr, + _$context.pointer, + _$class$.pointer, + ).object(const $Intent$NullableType()); } static final _id_setSourceBounds = _class.instanceMethodId( @@ -16471,25 +18620,32 @@ class Intent extends jni$_.JObject { r'(Landroid/graphics/Rect;)V', ); - static final _setSourceBounds = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setSourceBounds = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setSourceBounds(android.graphics.Rect rect)` - void setSourceBounds( - jni$_.JObject? rect, - ) { + void setSourceBounds(jni$_.JObject? rect) { final _$rect = rect?.reference ?? jni$_.jNullReference; - _setSourceBounds(reference.pointer, - _id_setSourceBounds as jni$_.JMethodIDPtr, _$rect.pointer) - .check(); + _setSourceBounds( + reference.pointer, + _id_setSourceBounds as jni$_.JMethodIDPtr, + _$rect.pointer, + ).check(); } static final _id_fillIn = _class.instanceMethodId( @@ -16497,27 +18653,34 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Intent;I)I', ); - static final _fillIn = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _fillIn = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public int fillIn(android.content.Intent intent, int i)` - int fillIn( - Intent? intent, - int i, - ) { + int fillIn(Intent? intent, int i) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _fillIn(reference.pointer, _id_fillIn as jni$_.JMethodIDPtr, - _$intent.pointer, i) - .integer; + return _fillIn( + reference.pointer, + _id_fillIn as jni$_.JMethodIDPtr, + _$intent.pointer, + i, + ).integer; } static final _id_filterEquals = _class.instanceMethodId( @@ -16525,25 +18688,32 @@ class Intent extends jni$_.JObject { r'(Landroid/content/Intent;)Z', ); - static final _filterEquals = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _filterEquals = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean filterEquals(android.content.Intent intent)` - bool filterEquals( - Intent? intent, - ) { + bool filterEquals(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _filterEquals(reference.pointer, - _id_filterEquals as jni$_.JMethodIDPtr, _$intent.pointer) - .boolean; + return _filterEquals( + reference.pointer, + _id_filterEquals as jni$_.JMethodIDPtr, + _$intent.pointer, + ).boolean; } static final _id_filterHashCode = _class.instanceMethodId( @@ -16551,23 +18721,28 @@ class Intent extends jni$_.JObject { r'()I', ); - static final _filterHashCode = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _filterHashCode = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int filterHashCode()` int filterHashCode() { return _filterHashCode( - reference.pointer, _id_filterHashCode as jni$_.JMethodIDPtr) - .integer; + reference.pointer, + _id_filterHashCode as jni$_.JMethodIDPtr, + ).integer; } static final _id_toString$1 = _class.instanceMethodId( @@ -16575,23 +18750,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _toString$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? toString$1() { - return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + return _toString$1( + reference.pointer, + _id_toString$1 as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_toURI = _class.instanceMethodId( @@ -16599,23 +18780,29 @@ class Intent extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _toURI = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _toURI = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String toURI()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? toURI() { - return _toURI(reference.pointer, _id_toURI as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + return _toURI( + reference.pointer, + _id_toURI as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_toUri = _class.instanceMethodId( @@ -16623,23 +18810,32 @@ class Intent extends jni$_.JObject { r'(I)Ljava/lang/String;', ); - static final _toUri = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _toUri = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public java.lang.String toUri(int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JString? toUri( - int i, - ) { - return _toUri(reference.pointer, _id_toUri as jni$_.JMethodIDPtr, i) - .object(const jni$_.JStringNullableType()); + jni$_.JString? toUri(int i) { + return _toUri( + reference.pointer, + _id_toUri as jni$_.JMethodIDPtr, + i, + ).object(const jni$_.JStringNullableType()); } static final _id_describeContents = _class.instanceMethodId( @@ -16647,23 +18843,28 @@ class Intent extends jni$_.JObject { r'()I', ); - static final _describeContents = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _describeContents = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int describeContents()` int describeContents() { return _describeContents( - reference.pointer, _id_describeContents as jni$_.JMethodIDPtr) - .integer; + reference.pointer, + _id_describeContents as jni$_.JMethodIDPtr, + ).integer; } static final _id_writeToParcel = _class.instanceMethodId( @@ -16671,27 +18872,34 @@ class Intent extends jni$_.JObject { r'(Landroid/os/Parcel;I)V', ); - static final _writeToParcel = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _writeToParcel = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public void writeToParcel(android.os.Parcel parcel, int i)` - void writeToParcel( - jni$_.JObject? parcel, - int i, - ) { + void writeToParcel(jni$_.JObject? parcel, int i) { final _$parcel = parcel?.reference ?? jni$_.jNullReference; - _writeToParcel(reference.pointer, _id_writeToParcel as jni$_.JMethodIDPtr, - _$parcel.pointer, i) - .check(); + _writeToParcel( + reference.pointer, + _id_writeToParcel as jni$_.JMethodIDPtr, + _$parcel.pointer, + i, + ).check(); } static final _id_readFromParcel = _class.instanceMethodId( @@ -16699,25 +18907,32 @@ class Intent extends jni$_.JObject { r'(Landroid/os/Parcel;)V', ); - static final _readFromParcel = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _readFromParcel = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void readFromParcel(android.os.Parcel parcel)` - void readFromParcel( - jni$_.JObject? parcel, - ) { + void readFromParcel(jni$_.JObject? parcel) { final _$parcel = parcel?.reference ?? jni$_.jNullReference; - _readFromParcel(reference.pointer, _id_readFromParcel as jni$_.JMethodIDPtr, - _$parcel.pointer) - .check(); + _readFromParcel( + reference.pointer, + _id_readFromParcel as jni$_.JMethodIDPtr, + _$parcel.pointer, + ).check(); } static final _id_parseIntent = _class.staticMethodId( @@ -16725,24 +18940,31 @@ class Intent extends jni$_.JObject { r'(Landroid/content/res/Resources;Lorg/xmlpull/v1/XmlPullParser;Landroid/util/AttributeSet;)Landroid/content/Intent;', ); - static final _parseIntent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _parseIntent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `static public android.content.Intent parseIntent(android.content.res.Resources resources, org.xmlpull.v1.XmlPullParser xmlPullParser, android.util.AttributeSet attributeSet)` /// The returned object must be released after use, by calling the [release] method. @@ -16755,12 +18977,12 @@ class Intent extends jni$_.JObject { final _$xmlPullParser = xmlPullParser?.reference ?? jni$_.jNullReference; final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; return _parseIntent( - _class.reference.pointer, - _id_parseIntent as jni$_.JMethodIDPtr, - _$resources.pointer, - _$xmlPullParser.pointer, - _$attributeSet.pointer) - .object(const $Intent$NullableType()); + _class.reference.pointer, + _id_parseIntent as jni$_.JMethodIDPtr, + _$resources.pointer, + _$xmlPullParser.pointer, + _$attributeSet.pointer, + ).object(const $Intent$NullableType()); } static final _id_normalizeMimeType = _class.staticMethodId( @@ -16768,26 +18990,33 @@ class Intent extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/lang/String;', ); - static final _normalizeMimeType = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _normalizeMimeType = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public java.lang.String normalizeMimeType(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static jni$_.JString? normalizeMimeType( - jni$_.JString? string, - ) { + static jni$_.JString? normalizeMimeType(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _normalizeMimeType(_class.reference.pointer, - _id_normalizeMimeType as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JStringNullableType()); + return _normalizeMimeType( + _class.reference.pointer, + _id_normalizeMimeType as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JStringNullableType()); } } @@ -16801,11 +19030,8 @@ final class $Intent$NullableType extends jni$_.JObjType { @jni$_.internal @core$_.override - Intent? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : Intent.fromReference( - reference, - ); + Intent? fromReference(jni$_.JReference reference) => + reference.isNull ? null : Intent.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -16838,9 +19064,8 @@ final class $Intent$Type extends jni$_.JObjType { @jni$_.internal @core$_.override - Intent fromReference(jni$_.JReference reference) => Intent.fromReference( - reference, - ); + Intent fromReference(jni$_.JReference reference) => + Intent.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -16869,10 +19094,9 @@ class Activity extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - Activity.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + Activity.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName(r'android/app/Activity'); @@ -16903,28 +19127,30 @@ class Activity extends jni$_.JObject { /// from: `static public final int RESULT_OK` static const RESULT_OK = -1; - static final _id_new$ = _class.constructorId( - r'()V', - ); + static final _id_new$ = _class.constructorId(r'()V'); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void ()` /// The returned object must be released after use, by calling the [release] method. factory Activity() { return Activity.fromReference( - _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr) - .reference); + _new$(_class.reference.pointer, _id_new$ as jni$_.JMethodIDPtr).reference, + ); } static final _id_getIntent = _class.instanceMethodId( @@ -16932,23 +19158,29 @@ class Activity extends jni$_.JObject { r'()Landroid/content/Intent;', ); - static final _getIntent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getIntent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.Intent getIntent()` /// The returned object must be released after use, by calling the [release] method. Intent? getIntent() { - return _getIntent(reference.pointer, _id_getIntent as jni$_.JMethodIDPtr) - .object(const $Intent$NullableType()); + return _getIntent( + reference.pointer, + _id_getIntent as jni$_.JMethodIDPtr, + ).object(const $Intent$NullableType()); } static final _id_setIntent = _class.instanceMethodId( @@ -16956,25 +19188,32 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;)V', ); - static final _setIntent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setIntent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setIntent(android.content.Intent intent)` - void setIntent( - Intent? intent, - ) { + void setIntent(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _setIntent(reference.pointer, _id_setIntent as jni$_.JMethodIDPtr, - _$intent.pointer) - .check(); + _setIntent( + reference.pointer, + _id_setIntent as jni$_.JMethodIDPtr, + _$intent.pointer, + ).check(); } static final _id_setLocusContext = _class.instanceMethodId( @@ -16982,36 +19221,37 @@ class Activity extends jni$_.JObject { r'(Landroid/content/LocusId;Landroid/os/Bundle;)V', ); - static final _setLocusContext = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setLocusContext = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void setLocusContext(android.content.LocusId locusId, android.os.Bundle bundle)` - void setLocusContext( - jni$_.JObject? locusId, - jni$_.JObject? bundle, - ) { + void setLocusContext(jni$_.JObject? locusId, jni$_.JObject? bundle) { final _$locusId = locusId?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _setLocusContext( - reference.pointer, - _id_setLocusContext as jni$_.JMethodIDPtr, - _$locusId.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_setLocusContext as jni$_.JMethodIDPtr, + _$locusId.pointer, + _$bundle.pointer, + ).check(); } static final _id_getApplication = _class.instanceMethodId( @@ -17019,47 +19259,55 @@ class Activity extends jni$_.JObject { r'()Landroid/app/Application;', ); - static final _getApplication = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getApplication = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final android.app.Application getApplication()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getApplication() { return _getApplication( - reference.pointer, _id_getApplication as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getApplication as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } - static final _id_isChild = _class.instanceMethodId( - r'isChild', - r'()Z', - ); + static final _id_isChild = _class.instanceMethodId(r'isChild', r'()Z'); - static final _isChild = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isChild = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final boolean isChild()` bool isChild() { - return _isChild(reference.pointer, _id_isChild as jni$_.JMethodIDPtr) - .boolean; + return _isChild( + reference.pointer, + _id_isChild as jni$_.JMethodIDPtr, + ).boolean; } static final _id_getParent = _class.instanceMethodId( @@ -17067,23 +19315,29 @@ class Activity extends jni$_.JObject { r'()Landroid/app/Activity;', ); - static final _getParent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getParent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final android.app.Activity getParent()` /// The returned object must be released after use, by calling the [release] method. Activity? getParent() { - return _getParent(reference.pointer, _id_getParent as jni$_.JMethodIDPtr) - .object(const $Activity$NullableType()); + return _getParent( + reference.pointer, + _id_getParent as jni$_.JMethodIDPtr, + ).object(const $Activity$NullableType()); } static final _id_getWindowManager = _class.instanceMethodId( @@ -17091,24 +19345,29 @@ class Activity extends jni$_.JObject { r'()Landroid/view/WindowManager;', ); - static final _getWindowManager = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getWindowManager = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.view.WindowManager getWindowManager()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getWindowManager() { return _getWindowManager( - reference.pointer, _id_getWindowManager as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getWindowManager as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getWindow = _class.instanceMethodId( @@ -17116,23 +19375,29 @@ class Activity extends jni$_.JObject { r'()Landroid/view/Window;', ); - static final _getWindow = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getWindow = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.view.Window getWindow()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getWindow() { - return _getWindow(reference.pointer, _id_getWindow as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getWindow( + reference.pointer, + _id_getWindow as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getLoaderManager = _class.instanceMethodId( @@ -17140,24 +19405,29 @@ class Activity extends jni$_.JObject { r'()Landroid/app/LoaderManager;', ); - static final _getLoaderManager = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getLoaderManager = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.app.LoaderManager getLoaderManager()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getLoaderManager() { return _getLoaderManager( - reference.pointer, _id_getLoaderManager as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getLoaderManager as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getCurrentFocus = _class.instanceMethodId( @@ -17165,24 +19435,29 @@ class Activity extends jni$_.JObject { r'()Landroid/view/View;', ); - static final _getCurrentFocus = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getCurrentFocus = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.view.View getCurrentFocus()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getCurrentFocus() { return _getCurrentFocus( - reference.pointer, _id_getCurrentFocus as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getCurrentFocus as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_registerActivityLifecycleCallbacks = _class.instanceMethodId( @@ -17192,15 +19467,21 @@ class Activity extends jni$_.JObject { static final _registerActivityLifecycleCallbacks = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void registerActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks activityLifecycleCallbacks)` void registerActivityLifecycleCallbacks( @@ -17209,29 +19490,35 @@ class Activity extends jni$_.JObject { final _$activityLifecycleCallbacks = activityLifecycleCallbacks?.reference ?? jni$_.jNullReference; _registerActivityLifecycleCallbacks( - reference.pointer, - _id_registerActivityLifecycleCallbacks as jni$_.JMethodIDPtr, - _$activityLifecycleCallbacks.pointer) - .check(); + reference.pointer, + _id_registerActivityLifecycleCallbacks as jni$_.JMethodIDPtr, + _$activityLifecycleCallbacks.pointer, + ).check(); } - static final _id_unregisterActivityLifecycleCallbacks = - _class.instanceMethodId( - r'unregisterActivityLifecycleCallbacks', - r'(Landroid/app/Application$ActivityLifecycleCallbacks;)V', - ); + static final _id_unregisterActivityLifecycleCallbacks = _class + .instanceMethodId( + r'unregisterActivityLifecycleCallbacks', + r'(Landroid/app/Application$ActivityLifecycleCallbacks;)V', + ); static final _unregisterActivityLifecycleCallbacks = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void unregisterActivityLifecycleCallbacks(android.app.Application$ActivityLifecycleCallbacks activityLifecycleCallbacks)` void unregisterActivityLifecycleCallbacks( @@ -17240,10 +19527,10 @@ class Activity extends jni$_.JObject { final _$activityLifecycleCallbacks = activityLifecycleCallbacks?.reference ?? jni$_.jNullReference; _unregisterActivityLifecycleCallbacks( - reference.pointer, - _id_unregisterActivityLifecycleCallbacks as jni$_.JMethodIDPtr, - _$activityLifecycleCallbacks.pointer) - .check(); + reference.pointer, + _id_unregisterActivityLifecycleCallbacks as jni$_.JMethodIDPtr, + _$activityLifecycleCallbacks.pointer, + ).check(); } static final _id_registerComponentCallbacks = _class.instanceMethodId( @@ -17253,27 +19540,31 @@ class Activity extends jni$_.JObject { static final _registerComponentCallbacks = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void registerComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` - void registerComponentCallbacks( - jni$_.JObject? componentCallbacks, - ) { + void registerComponentCallbacks(jni$_.JObject? componentCallbacks) { final _$componentCallbacks = componentCallbacks?.reference ?? jni$_.jNullReference; _registerComponentCallbacks( - reference.pointer, - _id_registerComponentCallbacks as jni$_.JMethodIDPtr, - _$componentCallbacks.pointer) - .check(); + reference.pointer, + _id_registerComponentCallbacks as jni$_.JMethodIDPtr, + _$componentCallbacks.pointer, + ).check(); } static final _id_unregisterComponentCallbacks = _class.instanceMethodId( @@ -17283,27 +19574,31 @@ class Activity extends jni$_.JObject { static final _unregisterComponentCallbacks = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void unregisterComponentCallbacks(android.content.ComponentCallbacks componentCallbacks)` - void unregisterComponentCallbacks( - jni$_.JObject? componentCallbacks, - ) { + void unregisterComponentCallbacks(jni$_.JObject? componentCallbacks) { final _$componentCallbacks = componentCallbacks?.reference ?? jni$_.jNullReference; _unregisterComponentCallbacks( - reference.pointer, - _id_unregisterComponentCallbacks as jni$_.JMethodIDPtr, - _$componentCallbacks.pointer) - .check(); + reference.pointer, + _id_unregisterComponentCallbacks as jni$_.JMethodIDPtr, + _$componentCallbacks.pointer, + ).check(); } static final _id_getSplashScreen = _class.instanceMethodId( @@ -17311,24 +19606,29 @@ class Activity extends jni$_.JObject { r'()Landroid/window/SplashScreen;', ); - static final _getSplashScreen = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getSplashScreen = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final android.window.SplashScreen getSplashScreen()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getSplashScreen() { return _getSplashScreen( - reference.pointer, _id_getSplashScreen as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getSplashScreen as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_onCreate = _class.instanceMethodId( @@ -17336,34 +19636,38 @@ class Activity extends jni$_.JObject { r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onCreate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onCreate = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void onCreate(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` - void onCreate( - jni$_.JObject? bundle, - jni$_.JObject? persistableBundle, - ) { + void onCreate(jni$_.JObject? bundle, jni$_.JObject? persistableBundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; final _$persistableBundle = persistableBundle?.reference ?? jni$_.jNullReference; - _onCreate(reference.pointer, _id_onCreate as jni$_.JMethodIDPtr, - _$bundle.pointer, _$persistableBundle.pointer) - .check(); + _onCreate( + reference.pointer, + _id_onCreate as jni$_.JMethodIDPtr, + _$bundle.pointer, + _$persistableBundle.pointer, + ).check(); } static final _id_onRestoreInstanceState = _class.instanceMethodId( @@ -17371,22 +19675,26 @@ class Activity extends jni$_.JObject { r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onRestoreInstanceState = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onRestoreInstanceState = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void onRestoreInstanceState(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` void onRestoreInstanceState( @@ -17397,11 +19705,11 @@ class Activity extends jni$_.JObject { final _$persistableBundle = persistableBundle?.reference ?? jni$_.jNullReference; _onRestoreInstanceState( - reference.pointer, - _id_onRestoreInstanceState as jni$_.JMethodIDPtr, - _$bundle.pointer, - _$persistableBundle.pointer) - .check(); + reference.pointer, + _id_onRestoreInstanceState as jni$_.JMethodIDPtr, + _$bundle.pointer, + _$persistableBundle.pointer, + ).check(); } static final _id_onPostCreate = _class.instanceMethodId( @@ -17409,34 +19717,38 @@ class Activity extends jni$_.JObject { r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onPostCreate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onPostCreate = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void onPostCreate(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` - void onPostCreate( - jni$_.JObject? bundle, - jni$_.JObject? persistableBundle, - ) { + void onPostCreate(jni$_.JObject? bundle, jni$_.JObject? persistableBundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; final _$persistableBundle = persistableBundle?.reference ?? jni$_.jNullReference; - _onPostCreate(reference.pointer, _id_onPostCreate as jni$_.JMethodIDPtr, - _$bundle.pointer, _$persistableBundle.pointer) - .check(); + _onPostCreate( + reference.pointer, + _id_onPostCreate as jni$_.JMethodIDPtr, + _$bundle.pointer, + _$persistableBundle.pointer, + ).check(); } static final _id_onStateNotSaved = _class.instanceMethodId( @@ -17444,23 +19756,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onStateNotSaved = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onStateNotSaved = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onStateNotSaved()` void onStateNotSaved() { _onStateNotSaved( - reference.pointer, _id_onStateNotSaved as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_onStateNotSaved as jni$_.JMethodIDPtr, + ).check(); } static final _id_onTopResumedActivityChanged = _class.instanceMethodId( @@ -17470,21 +19787,29 @@ class Activity extends jni$_.JObject { static final _onTopResumedActivityChanged = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void onTopResumedActivityChanged(boolean z)` - void onTopResumedActivityChanged( - bool z, - ) { - _onTopResumedActivityChanged(reference.pointer, - _id_onTopResumedActivityChanged as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void onTopResumedActivityChanged(bool z) { + _onTopResumedActivityChanged( + reference.pointer, + _id_onTopResumedActivityChanged as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_isVoiceInteraction = _class.instanceMethodId( @@ -17492,23 +19817,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isVoiceInteraction = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isVoiceInteraction = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isVoiceInteraction()` bool isVoiceInteraction() { return _isVoiceInteraction( - reference.pointer, _id_isVoiceInteraction as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isVoiceInteraction as jni$_.JMethodIDPtr, + ).boolean; } static final _id_isVoiceInteractionRoot = _class.instanceMethodId( @@ -17516,23 +19846,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isVoiceInteractionRoot = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isVoiceInteractionRoot = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isVoiceInteractionRoot()` bool isVoiceInteractionRoot() { return _isVoiceInteractionRoot( - reference.pointer, _id_isVoiceInteractionRoot as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isVoiceInteractionRoot as jni$_.JMethodIDPtr, + ).boolean; } static final _id_getVoiceInteractor = _class.instanceMethodId( @@ -17540,24 +19875,29 @@ class Activity extends jni$_.JObject { r'()Landroid/app/VoiceInteractor;', ); - static final _getVoiceInteractor = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getVoiceInteractor = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.app.VoiceInteractor getVoiceInteractor()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getVoiceInteractor() { return _getVoiceInteractor( - reference.pointer, _id_getVoiceInteractor as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getVoiceInteractor as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_isLocalVoiceInteractionSupported = _class.instanceMethodId( @@ -17567,22 +19907,26 @@ class Activity extends jni$_.JObject { static final _isLocalVoiceInteractionSupported = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isLocalVoiceInteractionSupported()` bool isLocalVoiceInteractionSupported() { - return _isLocalVoiceInteractionSupported(reference.pointer, - _id_isLocalVoiceInteractionSupported as jni$_.JMethodIDPtr) - .boolean; + return _isLocalVoiceInteractionSupported( + reference.pointer, + _id_isLocalVoiceInteractionSupported as jni$_.JMethodIDPtr, + ).boolean; } static final _id_startLocalVoiceInteraction = _class.instanceMethodId( @@ -17592,26 +19936,30 @@ class Activity extends jni$_.JObject { static final _startLocalVoiceInteraction = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void startLocalVoiceInteraction(android.os.Bundle bundle)` - void startLocalVoiceInteraction( - jni$_.JObject? bundle, - ) { + void startLocalVoiceInteraction(jni$_.JObject? bundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startLocalVoiceInteraction( - reference.pointer, - _id_startLocalVoiceInteraction as jni$_.JMethodIDPtr, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startLocalVoiceInteraction as jni$_.JMethodIDPtr, + _$bundle.pointer, + ).check(); } static final _id_onLocalVoiceInteractionStarted = _class.instanceMethodId( @@ -17621,22 +19969,26 @@ class Activity extends jni$_.JObject { static final _onLocalVoiceInteractionStarted = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onLocalVoiceInteractionStarted()` void onLocalVoiceInteractionStarted() { - _onLocalVoiceInteractionStarted(reference.pointer, - _id_onLocalVoiceInteractionStarted as jni$_.JMethodIDPtr) - .check(); + _onLocalVoiceInteractionStarted( + reference.pointer, + _id_onLocalVoiceInteractionStarted as jni$_.JMethodIDPtr, + ).check(); } static final _id_onLocalVoiceInteractionStopped = _class.instanceMethodId( @@ -17646,22 +19998,26 @@ class Activity extends jni$_.JObject { static final _onLocalVoiceInteractionStopped = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onLocalVoiceInteractionStopped()` void onLocalVoiceInteractionStopped() { - _onLocalVoiceInteractionStopped(reference.pointer, - _id_onLocalVoiceInteractionStopped as jni$_.JMethodIDPtr) - .check(); + _onLocalVoiceInteractionStopped( + reference.pointer, + _id_onLocalVoiceInteractionStopped as jni$_.JMethodIDPtr, + ).check(); } static final _id_stopLocalVoiceInteraction = _class.instanceMethodId( @@ -17669,23 +20025,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _stopLocalVoiceInteraction = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _stopLocalVoiceInteraction = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void stopLocalVoiceInteraction()` void stopLocalVoiceInteraction() { - _stopLocalVoiceInteraction(reference.pointer, - _id_stopLocalVoiceInteraction as jni$_.JMethodIDPtr) - .check(); + _stopLocalVoiceInteraction( + reference.pointer, + _id_stopLocalVoiceInteraction as jni$_.JMethodIDPtr, + ).check(); } static final _id_onSaveInstanceState = _class.instanceMethodId( @@ -17693,22 +20054,26 @@ class Activity extends jni$_.JObject { r'(Landroid/os/Bundle;Landroid/os/PersistableBundle;)V', ); - static final _onSaveInstanceState = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onSaveInstanceState = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void onSaveInstanceState(android.os.Bundle bundle, android.os.PersistableBundle persistableBundle)` void onSaveInstanceState( @@ -17719,11 +20084,11 @@ class Activity extends jni$_.JObject { final _$persistableBundle = persistableBundle?.reference ?? jni$_.jNullReference; _onSaveInstanceState( - reference.pointer, - _id_onSaveInstanceState as jni$_.JMethodIDPtr, - _$bundle.pointer, - _$persistableBundle.pointer) - .check(); + reference.pointer, + _id_onSaveInstanceState as jni$_.JMethodIDPtr, + _$bundle.pointer, + _$persistableBundle.pointer, + ).check(); } static final _id_onCreateThumbnail = _class.instanceMethodId( @@ -17731,36 +20096,37 @@ class Activity extends jni$_.JObject { r'(Landroid/graphics/Bitmap;Landroid/graphics/Canvas;)Z', ); - static final _onCreateThumbnail = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onCreateThumbnail = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public boolean onCreateThumbnail(android.graphics.Bitmap bitmap, android.graphics.Canvas canvas)` - bool onCreateThumbnail( - jni$_.JObject? bitmap, - jni$_.JObject? canvas, - ) { + bool onCreateThumbnail(jni$_.JObject? bitmap, jni$_.JObject? canvas) { final _$bitmap = bitmap?.reference ?? jni$_.jNullReference; final _$canvas = canvas?.reference ?? jni$_.jNullReference; return _onCreateThumbnail( - reference.pointer, - _id_onCreateThumbnail as jni$_.JMethodIDPtr, - _$bitmap.pointer, - _$canvas.pointer) - .boolean; + reference.pointer, + _id_onCreateThumbnail as jni$_.JMethodIDPtr, + _$bitmap.pointer, + _$canvas.pointer, + ).boolean; } static final _id_onCreateDescription = _class.instanceMethodId( @@ -17768,24 +20134,29 @@ class Activity extends jni$_.JObject { r'()Ljava/lang/CharSequence;', ); - static final _onCreateDescription = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onCreateDescription = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.CharSequence onCreateDescription()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? onCreateDescription() { return _onCreateDescription( - reference.pointer, _id_onCreateDescription as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_onCreateDescription as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_onProvideAssistData = _class.instanceMethodId( @@ -17793,25 +20164,32 @@ class Activity extends jni$_.JObject { r'(Landroid/os/Bundle;)V', ); - static final _onProvideAssistData = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onProvideAssistData = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onProvideAssistData(android.os.Bundle bundle)` - void onProvideAssistData( - jni$_.JObject? bundle, - ) { + void onProvideAssistData(jni$_.JObject? bundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; - _onProvideAssistData(reference.pointer, - _id_onProvideAssistData as jni$_.JMethodIDPtr, _$bundle.pointer) - .check(); + _onProvideAssistData( + reference.pointer, + _id_onProvideAssistData as jni$_.JMethodIDPtr, + _$bundle.pointer, + ).check(); } static final _id_onProvideAssistContent = _class.instanceMethodId( @@ -17819,27 +20197,32 @@ class Activity extends jni$_.JObject { r'(Landroid/app/assist/AssistContent;)V', ); - static final _onProvideAssistContent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onProvideAssistContent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onProvideAssistContent(android.app.assist.AssistContent assistContent)` - void onProvideAssistContent( - jni$_.JObject? assistContent, - ) { + void onProvideAssistContent(jni$_.JObject? assistContent) { final _$assistContent = assistContent?.reference ?? jni$_.jNullReference; _onProvideAssistContent( - reference.pointer, - _id_onProvideAssistContent as jni$_.JMethodIDPtr, - _$assistContent.pointer) - .check(); + reference.pointer, + _id_onProvideAssistContent as jni$_.JMethodIDPtr, + _$assistContent.pointer, + ).check(); } static final _id_onGetDirectActions = _class.instanceMethodId( @@ -17847,22 +20230,26 @@ class Activity extends jni$_.JObject { r'(Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V', ); - static final _onGetDirectActions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onGetDirectActions = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void onGetDirectActions(android.os.CancellationSignal cancellationSignal, java.util.function.Consumer consumer)` void onGetDirectActions( @@ -17873,11 +20260,11 @@ class Activity extends jni$_.JObject { cancellationSignal?.reference ?? jni$_.jNullReference; final _$consumer = consumer?.reference ?? jni$_.jNullReference; _onGetDirectActions( - reference.pointer, - _id_onGetDirectActions as jni$_.JMethodIDPtr, - _$cancellationSignal.pointer, - _$consumer.pointer) - .check(); + reference.pointer, + _id_onGetDirectActions as jni$_.JMethodIDPtr, + _$cancellationSignal.pointer, + _$consumer.pointer, + ).check(); } static final _id_onPerformDirectAction = _class.instanceMethodId( @@ -17885,26 +20272,33 @@ class Activity extends jni$_.JObject { r'(Ljava/lang/String;Landroid/os/Bundle;Landroid/os/CancellationSignal;Ljava/util/function/Consumer;)V', ); - static final _onPerformDirectAction = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onPerformDirectAction = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void onPerformDirectAction(java.lang.String string, android.os.Bundle bundle, android.os.CancellationSignal cancellationSignal, java.util.function.Consumer consumer)` void onPerformDirectAction( @@ -17919,13 +20313,13 @@ class Activity extends jni$_.JObject { cancellationSignal?.reference ?? jni$_.jNullReference; final _$consumer = consumer?.reference ?? jni$_.jNullReference; _onPerformDirectAction( - reference.pointer, - _id_onPerformDirectAction as jni$_.JMethodIDPtr, - _$string.pointer, - _$bundle.pointer, - _$cancellationSignal.pointer, - _$consumer.pointer) - .check(); + reference.pointer, + _id_onPerformDirectAction as jni$_.JMethodIDPtr, + _$string.pointer, + _$bundle.pointer, + _$cancellationSignal.pointer, + _$consumer.pointer, + ).check(); } static final _id_requestShowKeyboardShortcuts = _class.instanceMethodId( @@ -17935,22 +20329,26 @@ class Activity extends jni$_.JObject { static final _requestShowKeyboardShortcuts = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final void requestShowKeyboardShortcuts()` void requestShowKeyboardShortcuts() { - _requestShowKeyboardShortcuts(reference.pointer, - _id_requestShowKeyboardShortcuts as jni$_.JMethodIDPtr) - .check(); + _requestShowKeyboardShortcuts( + reference.pointer, + _id_requestShowKeyboardShortcuts as jni$_.JMethodIDPtr, + ).check(); } static final _id_dismissKeyboardShortcutsHelper = _class.instanceMethodId( @@ -17960,22 +20358,26 @@ class Activity extends jni$_.JObject { static final _dismissKeyboardShortcutsHelper = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final void dismissKeyboardShortcutsHelper()` void dismissKeyboardShortcutsHelper() { - _dismissKeyboardShortcutsHelper(reference.pointer, - _id_dismissKeyboardShortcutsHelper as jni$_.JMethodIDPtr) - .check(); + _dismissKeyboardShortcutsHelper( + reference.pointer, + _id_dismissKeyboardShortcutsHelper as jni$_.JMethodIDPtr, + ).check(); } static final _id_onProvideKeyboardShortcuts = _class.instanceMethodId( @@ -17985,23 +20387,29 @@ class Activity extends jni$_.JObject { static final _onProvideKeyboardShortcuts = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + int, + ) + >(); /// from: `public void onProvideKeyboardShortcuts(java.util.List list, android.view.Menu menu, int i)` void onProvideKeyboardShortcuts( @@ -18012,12 +20420,12 @@ class Activity extends jni$_.JObject { final _$list = list?.reference ?? jni$_.jNullReference; final _$menu = menu?.reference ?? jni$_.jNullReference; _onProvideKeyboardShortcuts( - reference.pointer, - _id_onProvideKeyboardShortcuts as jni$_.JMethodIDPtr, - _$list.pointer, - _$menu.pointer, - i) - .check(); + reference.pointer, + _id_onProvideKeyboardShortcuts as jni$_.JMethodIDPtr, + _$list.pointer, + _$menu.pointer, + i, + ).check(); } static final _id_showAssist = _class.instanceMethodId( @@ -18025,25 +20433,32 @@ class Activity extends jni$_.JObject { r'(Landroid/os/Bundle;)Z', ); - static final _showAssist = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _showAssist = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean showAssist(android.os.Bundle bundle)` - bool showAssist( - jni$_.JObject? bundle, - ) { + bool showAssist(jni$_.JObject? bundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; - return _showAssist(reference.pointer, _id_showAssist as jni$_.JMethodIDPtr, - _$bundle.pointer) - .boolean; + return _showAssist( + reference.pointer, + _id_showAssist as jni$_.JMethodIDPtr, + _$bundle.pointer, + ).boolean; } static final _id_reportFullyDrawn = _class.instanceMethodId( @@ -18051,23 +20466,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _reportFullyDrawn = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _reportFullyDrawn = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void reportFullyDrawn()` void reportFullyDrawn() { _reportFullyDrawn( - reference.pointer, _id_reportFullyDrawn as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_reportFullyDrawn as jni$_.JMethodIDPtr, + ).check(); } static final _id_onMultiWindowModeChanged = _class.instanceMethodId( @@ -18075,30 +20495,34 @@ class Activity extends jni$_.JObject { r'(ZLandroid/content/res/Configuration;)V', ); - static final _onMultiWindowModeChanged = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onMultiWindowModeChanged = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public void onMultiWindowModeChanged(boolean z, android.content.res.Configuration configuration)` - void onMultiWindowModeChanged( - bool z, - jni$_.JObject? configuration, - ) { + void onMultiWindowModeChanged(bool z, jni$_.JObject? configuration) { final _$configuration = configuration?.reference ?? jni$_.jNullReference; _onMultiWindowModeChanged( - reference.pointer, - _id_onMultiWindowModeChanged as jni$_.JMethodIDPtr, - z ? 1 : 0, - _$configuration.pointer) - .check(); + reference.pointer, + _id_onMultiWindowModeChanged as jni$_.JMethodIDPtr, + z ? 1 : 0, + _$configuration.pointer, + ).check(); } static final _id_onMultiWindowModeChanged$1 = _class.instanceMethodId( @@ -18108,21 +20532,29 @@ class Activity extends jni$_.JObject { static final _onMultiWindowModeChanged$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void onMultiWindowModeChanged(boolean z)` - void onMultiWindowModeChanged$1( - bool z, - ) { - _onMultiWindowModeChanged$1(reference.pointer, - _id_onMultiWindowModeChanged$1 as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void onMultiWindowModeChanged$1(bool z) { + _onMultiWindowModeChanged$1( + reference.pointer, + _id_onMultiWindowModeChanged$1 as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_isInMultiWindowMode = _class.instanceMethodId( @@ -18130,23 +20562,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isInMultiWindowMode = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isInMultiWindowMode = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isInMultiWindowMode()` bool isInMultiWindowMode() { return _isInMultiWindowMode( - reference.pointer, _id_isInMultiWindowMode as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isInMultiWindowMode as jni$_.JMethodIDPtr, + ).boolean; } static final _id_onPictureInPictureModeChanged = _class.instanceMethodId( @@ -18156,29 +20593,32 @@ class Activity extends jni$_.JObject { static final _onPictureInPictureModeChanged = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - (jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public void onPictureInPictureModeChanged(boolean z, android.content.res.Configuration configuration)` - void onPictureInPictureModeChanged( - bool z, - jni$_.JObject? configuration, - ) { + void onPictureInPictureModeChanged(bool z, jni$_.JObject? configuration) { final _$configuration = configuration?.reference ?? jni$_.jNullReference; _onPictureInPictureModeChanged( - reference.pointer, - _id_onPictureInPictureModeChanged as jni$_.JMethodIDPtr, - z ? 1 : 0, - _$configuration.pointer) - .check(); + reference.pointer, + _id_onPictureInPictureModeChanged as jni$_.JMethodIDPtr, + z ? 1 : 0, + _$configuration.pointer, + ).check(); } static final _id_onPictureInPictureUiStateChanged = _class.instanceMethodId( @@ -18188,15 +20628,21 @@ class Activity extends jni$_.JObject { static final _onPictureInPictureUiStateChanged = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onPictureInPictureUiStateChanged(android.app.PictureInPictureUiState pictureInPictureUiState)` void onPictureInPictureUiStateChanged( @@ -18205,10 +20651,10 @@ class Activity extends jni$_.JObject { final _$pictureInPictureUiState = pictureInPictureUiState?.reference ?? jni$_.jNullReference; _onPictureInPictureUiStateChanged( - reference.pointer, - _id_onPictureInPictureUiStateChanged as jni$_.JMethodIDPtr, - _$pictureInPictureUiState.pointer) - .check(); + reference.pointer, + _id_onPictureInPictureUiStateChanged as jni$_.JMethodIDPtr, + _$pictureInPictureUiState.pointer, + ).check(); } static final _id_onPictureInPictureModeChanged$1 = _class.instanceMethodId( @@ -18218,23 +20664,29 @@ class Activity extends jni$_.JObject { static final _onPictureInPictureModeChanged$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void onPictureInPictureModeChanged(boolean z)` - void onPictureInPictureModeChanged$1( - bool z, - ) { + void onPictureInPictureModeChanged$1(bool z) { _onPictureInPictureModeChanged$1( - reference.pointer, - _id_onPictureInPictureModeChanged$1 as jni$_.JMethodIDPtr, - z ? 1 : 0) - .check(); + reference.pointer, + _id_onPictureInPictureModeChanged$1 as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_isInPictureInPictureMode = _class.instanceMethodId( @@ -18242,23 +20694,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isInPictureInPictureMode = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isInPictureInPictureMode = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isInPictureInPictureMode()` bool isInPictureInPictureMode() { - return _isInPictureInPictureMode(reference.pointer, - _id_isInPictureInPictureMode as jni$_.JMethodIDPtr) - .boolean; + return _isInPictureInPictureMode( + reference.pointer, + _id_isInPictureInPictureMode as jni$_.JMethodIDPtr, + ).boolean; } static final _id_enterPictureInPictureMode = _class.instanceMethodId( @@ -18266,23 +20723,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _enterPictureInPictureMode = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _enterPictureInPictureMode = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void enterPictureInPictureMode()` void enterPictureInPictureMode() { - _enterPictureInPictureMode(reference.pointer, - _id_enterPictureInPictureMode as jni$_.JMethodIDPtr) - .check(); + _enterPictureInPictureMode( + reference.pointer, + _id_enterPictureInPictureMode as jni$_.JMethodIDPtr, + ).check(); } static final _id_enterPictureInPictureMode$1 = _class.instanceMethodId( @@ -18292,27 +20754,31 @@ class Activity extends jni$_.JObject { static final _enterPictureInPictureMode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean enterPictureInPictureMode(android.app.PictureInPictureParams pictureInPictureParams)` - bool enterPictureInPictureMode$1( - jni$_.JObject? pictureInPictureParams, - ) { + bool enterPictureInPictureMode$1(jni$_.JObject? pictureInPictureParams) { final _$pictureInPictureParams = pictureInPictureParams?.reference ?? jni$_.jNullReference; return _enterPictureInPictureMode$1( - reference.pointer, - _id_enterPictureInPictureMode$1 as jni$_.JMethodIDPtr, - _$pictureInPictureParams.pointer) - .boolean; + reference.pointer, + _id_enterPictureInPictureMode$1 as jni$_.JMethodIDPtr, + _$pictureInPictureParams.pointer, + ).boolean; } static final _id_setPictureInPictureParams = _class.instanceMethodId( @@ -18320,28 +20786,33 @@ class Activity extends jni$_.JObject { r'(Landroid/app/PictureInPictureParams;)V', ); - static final _setPictureInPictureParams = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setPictureInPictureParams = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setPictureInPictureParams(android.app.PictureInPictureParams pictureInPictureParams)` - void setPictureInPictureParams( - jni$_.JObject? pictureInPictureParams, - ) { + void setPictureInPictureParams(jni$_.JObject? pictureInPictureParams) { final _$pictureInPictureParams = pictureInPictureParams?.reference ?? jni$_.jNullReference; _setPictureInPictureParams( - reference.pointer, - _id_setPictureInPictureParams as jni$_.JMethodIDPtr, - _$pictureInPictureParams.pointer) - .check(); + reference.pointer, + _id_setPictureInPictureParams as jni$_.JMethodIDPtr, + _$pictureInPictureParams.pointer, + ).check(); } static final _id_getMaxNumPictureInPictureActions = _class.instanceMethodId( @@ -18351,22 +20822,26 @@ class Activity extends jni$_.JObject { static final _getMaxNumPictureInPictureActions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int getMaxNumPictureInPictureActions()` int getMaxNumPictureInPictureActions() { - return _getMaxNumPictureInPictureActions(reference.pointer, - _id_getMaxNumPictureInPictureActions as jni$_.JMethodIDPtr) - .integer; + return _getMaxNumPictureInPictureActions( + reference.pointer, + _id_getMaxNumPictureInPictureActions as jni$_.JMethodIDPtr, + ).integer; } static final _id_onPictureInPictureRequested = _class.instanceMethodId( @@ -18376,22 +20851,26 @@ class Activity extends jni$_.JObject { static final _onPictureInPictureRequested = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean onPictureInPictureRequested()` bool onPictureInPictureRequested() { - return _onPictureInPictureRequested(reference.pointer, - _id_onPictureInPictureRequested as jni$_.JMethodIDPtr) - .boolean; + return _onPictureInPictureRequested( + reference.pointer, + _id_onPictureInPictureRequested as jni$_.JMethodIDPtr, + ).boolean; } static final _id_setShouldDockBigOverlays = _class.instanceMethodId( @@ -18399,23 +20878,31 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _setShouldDockBigOverlays = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setShouldDockBigOverlays = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setShouldDockBigOverlays(boolean z)` - void setShouldDockBigOverlays( - bool z, - ) { - _setShouldDockBigOverlays(reference.pointer, - _id_setShouldDockBigOverlays as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void setShouldDockBigOverlays(bool z) { + _setShouldDockBigOverlays( + reference.pointer, + _id_setShouldDockBigOverlays as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_shouldDockBigOverlays = _class.instanceMethodId( @@ -18423,23 +20910,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _shouldDockBigOverlays = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _shouldDockBigOverlays = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean shouldDockBigOverlays()` bool shouldDockBigOverlays() { return _shouldDockBigOverlays( - reference.pointer, _id_shouldDockBigOverlays as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_shouldDockBigOverlays as jni$_.JMethodIDPtr, + ).boolean; } static final _id_onConfigurationChanged = _class.instanceMethodId( @@ -18447,27 +20939,32 @@ class Activity extends jni$_.JObject { r'(Landroid/content/res/Configuration;)V', ); - static final _onConfigurationChanged = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onConfigurationChanged = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onConfigurationChanged(android.content.res.Configuration configuration)` - void onConfigurationChanged( - jni$_.JObject? configuration, - ) { + void onConfigurationChanged(jni$_.JObject? configuration) { final _$configuration = configuration?.reference ?? jni$_.jNullReference; _onConfigurationChanged( - reference.pointer, - _id_onConfigurationChanged as jni$_.JMethodIDPtr, - _$configuration.pointer) - .check(); + reference.pointer, + _id_onConfigurationChanged as jni$_.JMethodIDPtr, + _$configuration.pointer, + ).check(); } static final _id_getChangingConfigurations = _class.instanceMethodId( @@ -18475,23 +20972,28 @@ class Activity extends jni$_.JObject { r'()I', ); - static final _getChangingConfigurations = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getChangingConfigurations = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int getChangingConfigurations()` int getChangingConfigurations() { - return _getChangingConfigurations(reference.pointer, - _id_getChangingConfigurations as jni$_.JMethodIDPtr) - .integer; + return _getChangingConfigurations( + reference.pointer, + _id_getChangingConfigurations as jni$_.JMethodIDPtr, + ).integer; } static final _id_getLastNonConfigurationInstance = _class.instanceMethodId( @@ -18501,23 +21003,27 @@ class Activity extends jni$_.JObject { static final _getLastNonConfigurationInstance = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.Object getLastNonConfigurationInstance()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getLastNonConfigurationInstance() { - return _getLastNonConfigurationInstance(reference.pointer, - _id_getLastNonConfigurationInstance as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getLastNonConfigurationInstance( + reference.pointer, + _id_getLastNonConfigurationInstance as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_onRetainNonConfigurationInstance = _class.instanceMethodId( @@ -18527,23 +21033,27 @@ class Activity extends jni$_.JObject { static final _onRetainNonConfigurationInstance = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.Object onRetainNonConfigurationInstance()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? onRetainNonConfigurationInstance() { - return _onRetainNonConfigurationInstance(reference.pointer, - _id_onRetainNonConfigurationInstance as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _onRetainNonConfigurationInstance( + reference.pointer, + _id_onRetainNonConfigurationInstance as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_onLowMemory = _class.instanceMethodId( @@ -18551,22 +21061,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onLowMemory = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onLowMemory = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onLowMemory()` void onLowMemory() { - _onLowMemory(reference.pointer, _id_onLowMemory as jni$_.JMethodIDPtr) - .check(); + _onLowMemory( + reference.pointer, + _id_onLowMemory as jni$_.JMethodIDPtr, + ).check(); } static final _id_onTrimMemory = _class.instanceMethodId( @@ -18574,22 +21090,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _onTrimMemory = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onTrimMemory = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void onTrimMemory(int i)` - void onTrimMemory( - int i, - ) { - _onTrimMemory(reference.pointer, _id_onTrimMemory as jni$_.JMethodIDPtr, i) - .check(); + void onTrimMemory(int i) { + _onTrimMemory( + reference.pointer, + _id_onTrimMemory as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_getFragmentManager = _class.instanceMethodId( @@ -18597,24 +21122,29 @@ class Activity extends jni$_.JObject { r'()Landroid/app/FragmentManager;', ); - static final _getFragmentManager = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getFragmentManager = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.app.FragmentManager getFragmentManager()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getFragmentManager() { return _getFragmentManager( - reference.pointer, _id_getFragmentManager as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getFragmentManager as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_onAttachFragment = _class.instanceMethodId( @@ -18622,25 +21152,32 @@ class Activity extends jni$_.JObject { r'(Landroid/app/Fragment;)V', ); - static final _onAttachFragment = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onAttachFragment = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onAttachFragment(android.app.Fragment fragment)` - void onAttachFragment( - jni$_.JObject? fragment, - ) { + void onAttachFragment(jni$_.JObject? fragment) { final _$fragment = fragment?.reference ?? jni$_.jNullReference; - _onAttachFragment(reference.pointer, - _id_onAttachFragment as jni$_.JMethodIDPtr, _$fragment.pointer) - .check(); + _onAttachFragment( + reference.pointer, + _id_onAttachFragment as jni$_.JMethodIDPtr, + _$fragment.pointer, + ).check(); } static final _id_managedQuery = _class.instanceMethodId( @@ -18648,28 +21185,35 @@ class Activity extends jni$_.JObject { r'(Landroid/net/Uri;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;', ); - static final _managedQuery = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _managedQuery = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public final android.database.Cursor managedQuery(android.net.Uri uri, java.lang.String[] strings, java.lang.String string, java.lang.String[] strings1, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. @@ -18686,14 +21230,14 @@ class Activity extends jni$_.JObject { final _$strings1 = strings1?.reference ?? jni$_.jNullReference; final _$string1 = string1?.reference ?? jni$_.jNullReference; return _managedQuery( - reference.pointer, - _id_managedQuery as jni$_.JMethodIDPtr, - _$uri.pointer, - _$strings.pointer, - _$string.pointer, - _$strings1.pointer, - _$string1.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_managedQuery as jni$_.JMethodIDPtr, + _$uri.pointer, + _$strings.pointer, + _$string.pointer, + _$strings1.pointer, + _$string1.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_startManagingCursor = _class.instanceMethodId( @@ -18701,25 +21245,32 @@ class Activity extends jni$_.JObject { r'(Landroid/database/Cursor;)V', ); - static final _startManagingCursor = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startManagingCursor = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void startManagingCursor(android.database.Cursor cursor)` - void startManagingCursor( - jni$_.JObject? cursor, - ) { + void startManagingCursor(jni$_.JObject? cursor) { final _$cursor = cursor?.reference ?? jni$_.jNullReference; - _startManagingCursor(reference.pointer, - _id_startManagingCursor as jni$_.JMethodIDPtr, _$cursor.pointer) - .check(); + _startManagingCursor( + reference.pointer, + _id_startManagingCursor as jni$_.JMethodIDPtr, + _$cursor.pointer, + ).check(); } static final _id_stopManagingCursor = _class.instanceMethodId( @@ -18727,25 +21278,32 @@ class Activity extends jni$_.JObject { r'(Landroid/database/Cursor;)V', ); - static final _stopManagingCursor = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _stopManagingCursor = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void stopManagingCursor(android.database.Cursor cursor)` - void stopManagingCursor( - jni$_.JObject? cursor, - ) { + void stopManagingCursor(jni$_.JObject? cursor) { final _$cursor = cursor?.reference ?? jni$_.jNullReference; - _stopManagingCursor(reference.pointer, - _id_stopManagingCursor as jni$_.JMethodIDPtr, _$cursor.pointer) - .check(); + _stopManagingCursor( + reference.pointer, + _id_stopManagingCursor as jni$_.JMethodIDPtr, + _$cursor.pointer, + ).check(); } static final _id_findViewById = _class.instanceMethodId( @@ -18753,15 +21311,23 @@ class Activity extends jni$_.JObject { r'(I)Landroid/view/View;', ); - static final _findViewById = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _findViewById = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public T findViewById(int i)` /// The returned object must be released after use, by calling the [release] method. @@ -18770,8 +21336,10 @@ class Activity extends jni$_.JObject { required jni$_.JObjType<$T> T, }) { return _findViewById( - reference.pointer, _id_findViewById as jni$_.JMethodIDPtr, i) - .object<$T?>(T.nullableType); + reference.pointer, + _id_findViewById as jni$_.JMethodIDPtr, + i, + ).object<$T?>(T.nullableType); } static final _id_requireViewById = _class.instanceMethodId( @@ -18779,15 +21347,23 @@ class Activity extends jni$_.JObject { r'(I)Landroid/view/View;', ); - static final _requireViewById = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _requireViewById = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final T requireViewById(int i)` /// The returned object must be released after use, by calling the [release] method. @@ -18796,8 +21372,10 @@ class Activity extends jni$_.JObject { required jni$_.JObjType<$T> T, }) { return _requireViewById( - reference.pointer, _id_requireViewById as jni$_.JMethodIDPtr, i) - .object<$T?>(T.nullableType); + reference.pointer, + _id_requireViewById as jni$_.JMethodIDPtr, + i, + ).object<$T?>(T.nullableType); } static final _id_getActionBar = _class.instanceMethodId( @@ -18805,24 +21383,29 @@ class Activity extends jni$_.JObject { r'()Landroid/app/ActionBar;', ); - static final _getActionBar = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getActionBar = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.app.ActionBar getActionBar()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getActionBar() { return _getActionBar( - reference.pointer, _id_getActionBar as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getActionBar as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_setActionBar = _class.instanceMethodId( @@ -18830,25 +21413,32 @@ class Activity extends jni$_.JObject { r'(Landroid/widget/Toolbar;)V', ); - static final _setActionBar = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setActionBar = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setActionBar(android.widget.Toolbar toolbar)` - void setActionBar( - jni$_.JObject? toolbar, - ) { + void setActionBar(jni$_.JObject? toolbar) { final _$toolbar = toolbar?.reference ?? jni$_.jNullReference; - _setActionBar(reference.pointer, _id_setActionBar as jni$_.JMethodIDPtr, - _$toolbar.pointer) - .check(); + _setActionBar( + reference.pointer, + _id_setActionBar as jni$_.JMethodIDPtr, + _$toolbar.pointer, + ).check(); } static final _id_setContentView = _class.instanceMethodId( @@ -18856,23 +21446,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _setContentView = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setContentView = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setContentView(int i)` - void setContentView( - int i, - ) { + void setContentView(int i) { _setContentView( - reference.pointer, _id_setContentView as jni$_.JMethodIDPtr, i) - .check(); + reference.pointer, + _id_setContentView as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_setContentView$1 = _class.instanceMethodId( @@ -18880,25 +21478,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/View;)V', ); - static final _setContentView$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setContentView$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setContentView(android.view.View view)` - void setContentView$1( - jni$_.JObject? view, - ) { + void setContentView$1(jni$_.JObject? view) { final _$view = view?.reference ?? jni$_.jNullReference; - _setContentView$1(reference.pointer, - _id_setContentView$1 as jni$_.JMethodIDPtr, _$view.pointer) - .check(); + _setContentView$1( + reference.pointer, + _id_setContentView$1 as jni$_.JMethodIDPtr, + _$view.pointer, + ).check(); } static final _id_setContentView$2 = _class.instanceMethodId( @@ -18906,36 +21511,37 @@ class Activity extends jni$_.JObject { r'(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V', ); - static final _setContentView$2 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setContentView$2 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void setContentView(android.view.View view, android.view.ViewGroup$LayoutParams layoutParams)` - void setContentView$2( - jni$_.JObject? view, - jni$_.JObject? layoutParams, - ) { + void setContentView$2(jni$_.JObject? view, jni$_.JObject? layoutParams) { final _$view = view?.reference ?? jni$_.jNullReference; final _$layoutParams = layoutParams?.reference ?? jni$_.jNullReference; _setContentView$2( - reference.pointer, - _id_setContentView$2 as jni$_.JMethodIDPtr, - _$view.pointer, - _$layoutParams.pointer) - .check(); + reference.pointer, + _id_setContentView$2 as jni$_.JMethodIDPtr, + _$view.pointer, + _$layoutParams.pointer, + ).check(); } static final _id_addContentView = _class.instanceMethodId( @@ -18943,33 +21549,37 @@ class Activity extends jni$_.JObject { r'(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V', ); - static final _addContentView = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _addContentView = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void addContentView(android.view.View view, android.view.ViewGroup$LayoutParams layoutParams)` - void addContentView( - jni$_.JObject? view, - jni$_.JObject? layoutParams, - ) { + void addContentView(jni$_.JObject? view, jni$_.JObject? layoutParams) { final _$view = view?.reference ?? jni$_.jNullReference; final _$layoutParams = layoutParams?.reference ?? jni$_.jNullReference; - _addContentView(reference.pointer, _id_addContentView as jni$_.JMethodIDPtr, - _$view.pointer, _$layoutParams.pointer) - .check(); + _addContentView( + reference.pointer, + _id_addContentView as jni$_.JMethodIDPtr, + _$view.pointer, + _$layoutParams.pointer, + ).check(); } static final _id_getContentTransitionManager = _class.instanceMethodId( @@ -18979,23 +21589,27 @@ class Activity extends jni$_.JObject { static final _getContentTransitionManager = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.transition.TransitionManager getContentTransitionManager()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getContentTransitionManager() { - return _getContentTransitionManager(reference.pointer, - _id_getContentTransitionManager as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getContentTransitionManager( + reference.pointer, + _id_getContentTransitionManager as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_setContentTransitionManager = _class.instanceMethodId( @@ -19005,27 +21619,31 @@ class Activity extends jni$_.JObject { static final _setContentTransitionManager = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setContentTransitionManager(android.transition.TransitionManager transitionManager)` - void setContentTransitionManager( - jni$_.JObject? transitionManager, - ) { + void setContentTransitionManager(jni$_.JObject? transitionManager) { final _$transitionManager = transitionManager?.reference ?? jni$_.jNullReference; _setContentTransitionManager( - reference.pointer, - _id_setContentTransitionManager as jni$_.JMethodIDPtr, - _$transitionManager.pointer) - .check(); + reference.pointer, + _id_setContentTransitionManager as jni$_.JMethodIDPtr, + _$transitionManager.pointer, + ).check(); } static final _id_getContentScene = _class.instanceMethodId( @@ -19033,24 +21651,29 @@ class Activity extends jni$_.JObject { r'()Landroid/transition/Scene;', ); - static final _getContentScene = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getContentScene = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.transition.Scene getContentScene()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getContentScene() { return _getContentScene( - reference.pointer, _id_getContentScene as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getContentScene as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_setFinishOnTouchOutside = _class.instanceMethodId( @@ -19058,23 +21681,31 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _setFinishOnTouchOutside = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setFinishOnTouchOutside = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setFinishOnTouchOutside(boolean z)` - void setFinishOnTouchOutside( - bool z, - ) { - _setFinishOnTouchOutside(reference.pointer, - _id_setFinishOnTouchOutside as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void setFinishOnTouchOutside(bool z) { + _setFinishOnTouchOutside( + reference.pointer, + _id_setFinishOnTouchOutside as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_setDefaultKeyMode = _class.instanceMethodId( @@ -19082,23 +21713,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _setDefaultKeyMode = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setDefaultKeyMode = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void setDefaultKeyMode(int i)` - void setDefaultKeyMode( - int i, - ) { + void setDefaultKeyMode(int i) { _setDefaultKeyMode( - reference.pointer, _id_setDefaultKeyMode as jni$_.JMethodIDPtr, i) - .check(); + reference.pointer, + _id_setDefaultKeyMode as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_onKeyDown = _class.instanceMethodId( @@ -19106,27 +21745,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyDown = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onKeyDown = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public boolean onKeyDown(int i, android.view.KeyEvent keyEvent)` - bool onKeyDown( - int i, - jni$_.JObject? keyEvent, - ) { + bool onKeyDown(int i, jni$_.JObject? keyEvent) { final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; - return _onKeyDown(reference.pointer, _id_onKeyDown as jni$_.JMethodIDPtr, i, - _$keyEvent.pointer) - .boolean; + return _onKeyDown( + reference.pointer, + _id_onKeyDown as jni$_.JMethodIDPtr, + i, + _$keyEvent.pointer, + ).boolean; } static final _id_onKeyLongPress = _class.instanceMethodId( @@ -19134,27 +21780,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyLongPress = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onKeyLongPress = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public boolean onKeyLongPress(int i, android.view.KeyEvent keyEvent)` - bool onKeyLongPress( - int i, - jni$_.JObject? keyEvent, - ) { + bool onKeyLongPress(int i, jni$_.JObject? keyEvent) { final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; - return _onKeyLongPress(reference.pointer, - _id_onKeyLongPress as jni$_.JMethodIDPtr, i, _$keyEvent.pointer) - .boolean; + return _onKeyLongPress( + reference.pointer, + _id_onKeyLongPress as jni$_.JMethodIDPtr, + i, + _$keyEvent.pointer, + ).boolean; } static final _id_onKeyUp = _class.instanceMethodId( @@ -19162,27 +21815,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyUp = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onKeyUp = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public boolean onKeyUp(int i, android.view.KeyEvent keyEvent)` - bool onKeyUp( - int i, - jni$_.JObject? keyEvent, - ) { + bool onKeyUp(int i, jni$_.JObject? keyEvent) { final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; - return _onKeyUp(reference.pointer, _id_onKeyUp as jni$_.JMethodIDPtr, i, - _$keyEvent.pointer) - .boolean; + return _onKeyUp( + reference.pointer, + _id_onKeyUp as jni$_.JMethodIDPtr, + i, + _$keyEvent.pointer, + ).boolean; } static final _id_onKeyMultiple = _class.instanceMethodId( @@ -19190,31 +21850,38 @@ class Activity extends jni$_.JObject { r'(IILandroid/view/KeyEvent;)Z', ); - static final _onKeyMultiple = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onKeyMultiple = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, int, jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Int32, jni$_.Int32, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + int, + jni$_.Pointer, + ) + >(); /// from: `public boolean onKeyMultiple(int i, int i1, android.view.KeyEvent keyEvent)` - bool onKeyMultiple( - int i, - int i1, - jni$_.JObject? keyEvent, - ) { + bool onKeyMultiple(int i, int i1, jni$_.JObject? keyEvent) { final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; - return _onKeyMultiple(reference.pointer, - _id_onKeyMultiple as jni$_.JMethodIDPtr, i, i1, _$keyEvent.pointer) - .boolean; + return _onKeyMultiple( + reference.pointer, + _id_onKeyMultiple as jni$_.JMethodIDPtr, + i, + i1, + _$keyEvent.pointer, + ).boolean; } static final _id_onBackPressed = _class.instanceMethodId( @@ -19222,22 +21889,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onBackPressed = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onBackPressed = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onBackPressed()` void onBackPressed() { - _onBackPressed(reference.pointer, _id_onBackPressed as jni$_.JMethodIDPtr) - .check(); + _onBackPressed( + reference.pointer, + _id_onBackPressed as jni$_.JMethodIDPtr, + ).check(); } static final _id_onKeyShortcut = _class.instanceMethodId( @@ -19245,27 +21918,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/KeyEvent;)Z', ); - static final _onKeyShortcut = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onKeyShortcut = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public boolean onKeyShortcut(int i, android.view.KeyEvent keyEvent)` - bool onKeyShortcut( - int i, - jni$_.JObject? keyEvent, - ) { + bool onKeyShortcut(int i, jni$_.JObject? keyEvent) { final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; - return _onKeyShortcut(reference.pointer, - _id_onKeyShortcut as jni$_.JMethodIDPtr, i, _$keyEvent.pointer) - .boolean; + return _onKeyShortcut( + reference.pointer, + _id_onKeyShortcut as jni$_.JMethodIDPtr, + i, + _$keyEvent.pointer, + ).boolean; } static final _id_onTouchEvent = _class.instanceMethodId( @@ -19273,25 +21953,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _onTouchEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onTouchEvent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onTouchEvent(android.view.MotionEvent motionEvent)` - bool onTouchEvent( - jni$_.JObject? motionEvent, - ) { + bool onTouchEvent(jni$_.JObject? motionEvent) { final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; - return _onTouchEvent(reference.pointer, - _id_onTouchEvent as jni$_.JMethodIDPtr, _$motionEvent.pointer) - .boolean; + return _onTouchEvent( + reference.pointer, + _id_onTouchEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer, + ).boolean; } static final _id_onTrackballEvent = _class.instanceMethodId( @@ -19299,25 +21986,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _onTrackballEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onTrackballEvent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onTrackballEvent(android.view.MotionEvent motionEvent)` - bool onTrackballEvent( - jni$_.JObject? motionEvent, - ) { + bool onTrackballEvent(jni$_.JObject? motionEvent) { final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; - return _onTrackballEvent(reference.pointer, - _id_onTrackballEvent as jni$_.JMethodIDPtr, _$motionEvent.pointer) - .boolean; + return _onTrackballEvent( + reference.pointer, + _id_onTrackballEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer, + ).boolean; } static final _id_onGenericMotionEvent = _class.instanceMethodId( @@ -19325,27 +22019,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _onGenericMotionEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onGenericMotionEvent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onGenericMotionEvent(android.view.MotionEvent motionEvent)` - bool onGenericMotionEvent( - jni$_.JObject? motionEvent, - ) { + bool onGenericMotionEvent(jni$_.JObject? motionEvent) { final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; return _onGenericMotionEvent( - reference.pointer, - _id_onGenericMotionEvent as jni$_.JMethodIDPtr, - _$motionEvent.pointer) - .boolean; + reference.pointer, + _id_onGenericMotionEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer, + ).boolean; } static final _id_onUserInteraction = _class.instanceMethodId( @@ -19353,23 +22052,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onUserInteraction = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onUserInteraction = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onUserInteraction()` void onUserInteraction() { _onUserInteraction( - reference.pointer, _id_onUserInteraction as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_onUserInteraction as jni$_.JMethodIDPtr, + ).check(); } static final _id_onWindowAttributesChanged = _class.instanceMethodId( @@ -19377,27 +22081,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/WindowManager$LayoutParams;)V', ); - static final _onWindowAttributesChanged = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onWindowAttributesChanged = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onWindowAttributesChanged(android.view.WindowManager$LayoutParams layoutParams)` - void onWindowAttributesChanged( - jni$_.JObject? layoutParams, - ) { + void onWindowAttributesChanged(jni$_.JObject? layoutParams) { final _$layoutParams = layoutParams?.reference ?? jni$_.jNullReference; _onWindowAttributesChanged( - reference.pointer, - _id_onWindowAttributesChanged as jni$_.JMethodIDPtr, - _$layoutParams.pointer) - .check(); + reference.pointer, + _id_onWindowAttributesChanged as jni$_.JMethodIDPtr, + _$layoutParams.pointer, + ).check(); } static final _id_onContentChanged = _class.instanceMethodId( @@ -19405,23 +22114,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onContentChanged = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onContentChanged = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onContentChanged()` void onContentChanged() { _onContentChanged( - reference.pointer, _id_onContentChanged as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_onContentChanged as jni$_.JMethodIDPtr, + ).check(); } static final _id_onWindowFocusChanged = _class.instanceMethodId( @@ -19429,23 +22143,31 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _onWindowFocusChanged = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onWindowFocusChanged = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void onWindowFocusChanged(boolean z)` - void onWindowFocusChanged( - bool z, - ) { - _onWindowFocusChanged(reference.pointer, - _id_onWindowFocusChanged as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void onWindowFocusChanged(bool z) { + _onWindowFocusChanged( + reference.pointer, + _id_onWindowFocusChanged as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_onAttachedToWindow = _class.instanceMethodId( @@ -19453,23 +22175,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onAttachedToWindow = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onAttachedToWindow = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onAttachedToWindow()` void onAttachedToWindow() { _onAttachedToWindow( - reference.pointer, _id_onAttachedToWindow as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_onAttachedToWindow as jni$_.JMethodIDPtr, + ).check(); } static final _id_onDetachedFromWindow = _class.instanceMethodId( @@ -19477,23 +22204,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onDetachedFromWindow = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onDetachedFromWindow = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onDetachedFromWindow()` void onDetachedFromWindow() { _onDetachedFromWindow( - reference.pointer, _id_onDetachedFromWindow as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_onDetachedFromWindow as jni$_.JMethodIDPtr, + ).check(); } static final _id_hasWindowFocus = _class.instanceMethodId( @@ -19501,23 +22233,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _hasWindowFocus = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _hasWindowFocus = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean hasWindowFocus()` bool hasWindowFocus() { return _hasWindowFocus( - reference.pointer, _id_hasWindowFocus as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_hasWindowFocus as jni$_.JMethodIDPtr, + ).boolean; } static final _id_dispatchKeyEvent = _class.instanceMethodId( @@ -19525,25 +22262,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/KeyEvent;)Z', ); - static final _dispatchKeyEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _dispatchKeyEvent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean dispatchKeyEvent(android.view.KeyEvent keyEvent)` - bool dispatchKeyEvent( - jni$_.JObject? keyEvent, - ) { + bool dispatchKeyEvent(jni$_.JObject? keyEvent) { final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; - return _dispatchKeyEvent(reference.pointer, - _id_dispatchKeyEvent as jni$_.JMethodIDPtr, _$keyEvent.pointer) - .boolean; + return _dispatchKeyEvent( + reference.pointer, + _id_dispatchKeyEvent as jni$_.JMethodIDPtr, + _$keyEvent.pointer, + ).boolean; } static final _id_dispatchKeyShortcutEvent = _class.instanceMethodId( @@ -19551,27 +22295,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/KeyEvent;)Z', ); - static final _dispatchKeyShortcutEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _dispatchKeyShortcutEvent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean dispatchKeyShortcutEvent(android.view.KeyEvent keyEvent)` - bool dispatchKeyShortcutEvent( - jni$_.JObject? keyEvent, - ) { + bool dispatchKeyShortcutEvent(jni$_.JObject? keyEvent) { final _$keyEvent = keyEvent?.reference ?? jni$_.jNullReference; return _dispatchKeyShortcutEvent( - reference.pointer, - _id_dispatchKeyShortcutEvent as jni$_.JMethodIDPtr, - _$keyEvent.pointer) - .boolean; + reference.pointer, + _id_dispatchKeyShortcutEvent as jni$_.JMethodIDPtr, + _$keyEvent.pointer, + ).boolean; } static final _id_dispatchTouchEvent = _class.instanceMethodId( @@ -19579,25 +22328,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _dispatchTouchEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _dispatchTouchEvent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean dispatchTouchEvent(android.view.MotionEvent motionEvent)` - bool dispatchTouchEvent( - jni$_.JObject? motionEvent, - ) { + bool dispatchTouchEvent(jni$_.JObject? motionEvent) { final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; - return _dispatchTouchEvent(reference.pointer, - _id_dispatchTouchEvent as jni$_.JMethodIDPtr, _$motionEvent.pointer) - .boolean; + return _dispatchTouchEvent( + reference.pointer, + _id_dispatchTouchEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer, + ).boolean; } static final _id_dispatchTrackballEvent = _class.instanceMethodId( @@ -19605,27 +22361,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/MotionEvent;)Z', ); - static final _dispatchTrackballEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _dispatchTrackballEvent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean dispatchTrackballEvent(android.view.MotionEvent motionEvent)` - bool dispatchTrackballEvent( - jni$_.JObject? motionEvent, - ) { + bool dispatchTrackballEvent(jni$_.JObject? motionEvent) { final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; return _dispatchTrackballEvent( - reference.pointer, - _id_dispatchTrackballEvent as jni$_.JMethodIDPtr, - _$motionEvent.pointer) - .boolean; + reference.pointer, + _id_dispatchTrackballEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer, + ).boolean; } static final _id_dispatchGenericMotionEvent = _class.instanceMethodId( @@ -19635,26 +22396,30 @@ class Activity extends jni$_.JObject { static final _dispatchGenericMotionEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean dispatchGenericMotionEvent(android.view.MotionEvent motionEvent)` - bool dispatchGenericMotionEvent( - jni$_.JObject? motionEvent, - ) { + bool dispatchGenericMotionEvent(jni$_.JObject? motionEvent) { final _$motionEvent = motionEvent?.reference ?? jni$_.jNullReference; return _dispatchGenericMotionEvent( - reference.pointer, - _id_dispatchGenericMotionEvent as jni$_.JMethodIDPtr, - _$motionEvent.pointer) - .boolean; + reference.pointer, + _id_dispatchGenericMotionEvent as jni$_.JMethodIDPtr, + _$motionEvent.pointer, + ).boolean; } static final _id_dispatchPopulateAccessibilityEvent = _class.instanceMethodId( @@ -19664,27 +22429,31 @@ class Activity extends jni$_.JObject { static final _dispatchPopulateAccessibilityEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent accessibilityEvent)` - bool dispatchPopulateAccessibilityEvent( - jni$_.JObject? accessibilityEvent, - ) { + bool dispatchPopulateAccessibilityEvent(jni$_.JObject? accessibilityEvent) { final _$accessibilityEvent = accessibilityEvent?.reference ?? jni$_.jNullReference; return _dispatchPopulateAccessibilityEvent( - reference.pointer, - _id_dispatchPopulateAccessibilityEvent as jni$_.JMethodIDPtr, - _$accessibilityEvent.pointer) - .boolean; + reference.pointer, + _id_dispatchPopulateAccessibilityEvent as jni$_.JMethodIDPtr, + _$accessibilityEvent.pointer, + ).boolean; } static final _id_onCreatePanelView = _class.instanceMethodId( @@ -19692,24 +22461,32 @@ class Activity extends jni$_.JObject { r'(I)Landroid/view/View;', ); - static final _onCreatePanelView = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onCreatePanelView = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public android.view.View onCreatePanelView(int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? onCreatePanelView( - int i, - ) { + jni$_.JObject? onCreatePanelView(int i) { return _onCreatePanelView( - reference.pointer, _id_onCreatePanelView as jni$_.JMethodIDPtr, i) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_onCreatePanelView as jni$_.JMethodIDPtr, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_onCreatePanelMenu = _class.instanceMethodId( @@ -19717,27 +22494,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/Menu;)Z', ); - static final _onCreatePanelMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onCreatePanelMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public boolean onCreatePanelMenu(int i, android.view.Menu menu)` - bool onCreatePanelMenu( - int i, - jni$_.JObject? menu, - ) { + bool onCreatePanelMenu(int i, jni$_.JObject? menu) { final _$menu = menu?.reference ?? jni$_.jNullReference; - return _onCreatePanelMenu(reference.pointer, - _id_onCreatePanelMenu as jni$_.JMethodIDPtr, i, _$menu.pointer) - .boolean; + return _onCreatePanelMenu( + reference.pointer, + _id_onCreatePanelMenu as jni$_.JMethodIDPtr, + i, + _$menu.pointer, + ).boolean; } static final _id_onPreparePanel = _class.instanceMethodId( @@ -19745,40 +22529,43 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/View;Landroid/view/Menu;)Z', ); - static final _onPreparePanel = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onPreparePanel = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, int, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public boolean onPreparePanel(int i, android.view.View view, android.view.Menu menu)` - bool onPreparePanel( - int i, - jni$_.JObject? view, - jni$_.JObject? menu, - ) { + bool onPreparePanel(int i, jni$_.JObject? view, jni$_.JObject? menu) { final _$view = view?.reference ?? jni$_.jNullReference; final _$menu = menu?.reference ?? jni$_.jNullReference; return _onPreparePanel( - reference.pointer, - _id_onPreparePanel as jni$_.JMethodIDPtr, - i, - _$view.pointer, - _$menu.pointer) - .boolean; + reference.pointer, + _id_onPreparePanel as jni$_.JMethodIDPtr, + i, + _$view.pointer, + _$menu.pointer, + ).boolean; } static final _id_onMenuOpened = _class.instanceMethodId( @@ -19786,27 +22573,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/Menu;)Z', ); - static final _onMenuOpened = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onMenuOpened = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public boolean onMenuOpened(int i, android.view.Menu menu)` - bool onMenuOpened( - int i, - jni$_.JObject? menu, - ) { + bool onMenuOpened(int i, jni$_.JObject? menu) { final _$menu = menu?.reference ?? jni$_.jNullReference; - return _onMenuOpened(reference.pointer, - _id_onMenuOpened as jni$_.JMethodIDPtr, i, _$menu.pointer) - .boolean; + return _onMenuOpened( + reference.pointer, + _id_onMenuOpened as jni$_.JMethodIDPtr, + i, + _$menu.pointer, + ).boolean; } static final _id_onMenuItemSelected = _class.instanceMethodId( @@ -19814,27 +22608,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/MenuItem;)Z', ); - static final _onMenuItemSelected = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onMenuItemSelected = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public boolean onMenuItemSelected(int i, android.view.MenuItem menuItem)` - bool onMenuItemSelected( - int i, - jni$_.JObject? menuItem, - ) { + bool onMenuItemSelected(int i, jni$_.JObject? menuItem) { final _$menuItem = menuItem?.reference ?? jni$_.jNullReference; - return _onMenuItemSelected(reference.pointer, - _id_onMenuItemSelected as jni$_.JMethodIDPtr, i, _$menuItem.pointer) - .boolean; + return _onMenuItemSelected( + reference.pointer, + _id_onMenuItemSelected as jni$_.JMethodIDPtr, + i, + _$menuItem.pointer, + ).boolean; } static final _id_onPanelClosed = _class.instanceMethodId( @@ -19842,27 +22643,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/view/Menu;)V', ); - static final _onPanelClosed = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onPanelClosed = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public void onPanelClosed(int i, android.view.Menu menu)` - void onPanelClosed( - int i, - jni$_.JObject? menu, - ) { + void onPanelClosed(int i, jni$_.JObject? menu) { final _$menu = menu?.reference ?? jni$_.jNullReference; - _onPanelClosed(reference.pointer, _id_onPanelClosed as jni$_.JMethodIDPtr, - i, _$menu.pointer) - .check(); + _onPanelClosed( + reference.pointer, + _id_onPanelClosed as jni$_.JMethodIDPtr, + i, + _$menu.pointer, + ).check(); } static final _id_invalidateOptionsMenu = _class.instanceMethodId( @@ -19870,23 +22678,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _invalidateOptionsMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _invalidateOptionsMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void invalidateOptionsMenu()` void invalidateOptionsMenu() { _invalidateOptionsMenu( - reference.pointer, _id_invalidateOptionsMenu as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_invalidateOptionsMenu as jni$_.JMethodIDPtr, + ).check(); } static final _id_onCreateOptionsMenu = _class.instanceMethodId( @@ -19894,25 +22707,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/Menu;)Z', ); - static final _onCreateOptionsMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onCreateOptionsMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onCreateOptionsMenu(android.view.Menu menu)` - bool onCreateOptionsMenu( - jni$_.JObject? menu, - ) { + bool onCreateOptionsMenu(jni$_.JObject? menu) { final _$menu = menu?.reference ?? jni$_.jNullReference; - return _onCreateOptionsMenu(reference.pointer, - _id_onCreateOptionsMenu as jni$_.JMethodIDPtr, _$menu.pointer) - .boolean; + return _onCreateOptionsMenu( + reference.pointer, + _id_onCreateOptionsMenu as jni$_.JMethodIDPtr, + _$menu.pointer, + ).boolean; } static final _id_onPrepareOptionsMenu = _class.instanceMethodId( @@ -19920,25 +22740,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/Menu;)Z', ); - static final _onPrepareOptionsMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onPrepareOptionsMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onPrepareOptionsMenu(android.view.Menu menu)` - bool onPrepareOptionsMenu( - jni$_.JObject? menu, - ) { + bool onPrepareOptionsMenu(jni$_.JObject? menu) { final _$menu = menu?.reference ?? jni$_.jNullReference; - return _onPrepareOptionsMenu(reference.pointer, - _id_onPrepareOptionsMenu as jni$_.JMethodIDPtr, _$menu.pointer) - .boolean; + return _onPrepareOptionsMenu( + reference.pointer, + _id_onPrepareOptionsMenu as jni$_.JMethodIDPtr, + _$menu.pointer, + ).boolean; } static final _id_onOptionsItemSelected = _class.instanceMethodId( @@ -19946,25 +22773,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/MenuItem;)Z', ); - static final _onOptionsItemSelected = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onOptionsItemSelected = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onOptionsItemSelected(android.view.MenuItem menuItem)` - bool onOptionsItemSelected( - jni$_.JObject? menuItem, - ) { + bool onOptionsItemSelected(jni$_.JObject? menuItem) { final _$menuItem = menuItem?.reference ?? jni$_.jNullReference; - return _onOptionsItemSelected(reference.pointer, - _id_onOptionsItemSelected as jni$_.JMethodIDPtr, _$menuItem.pointer) - .boolean; + return _onOptionsItemSelected( + reference.pointer, + _id_onOptionsItemSelected as jni$_.JMethodIDPtr, + _$menuItem.pointer, + ).boolean; } static final _id_onNavigateUp = _class.instanceMethodId( @@ -19972,23 +22806,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _onNavigateUp = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onNavigateUp = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean onNavigateUp()` bool onNavigateUp() { return _onNavigateUp( - reference.pointer, _id_onNavigateUp as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_onNavigateUp as jni$_.JMethodIDPtr, + ).boolean; } static final _id_onNavigateUpFromChild = _class.instanceMethodId( @@ -19996,25 +22835,32 @@ class Activity extends jni$_.JObject { r'(Landroid/app/Activity;)Z', ); - static final _onNavigateUpFromChild = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onNavigateUpFromChild = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onNavigateUpFromChild(android.app.Activity activity)` - bool onNavigateUpFromChild( - Activity? activity, - ) { + bool onNavigateUpFromChild(Activity? activity) { final _$activity = activity?.reference ?? jni$_.jNullReference; - return _onNavigateUpFromChild(reference.pointer, - _id_onNavigateUpFromChild as jni$_.JMethodIDPtr, _$activity.pointer) - .boolean; + return _onNavigateUpFromChild( + reference.pointer, + _id_onNavigateUpFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + ).boolean; } static final _id_onCreateNavigateUpTaskStack = _class.instanceMethodId( @@ -20024,27 +22870,31 @@ class Activity extends jni$_.JObject { static final _onCreateNavigateUpTaskStack = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onCreateNavigateUpTaskStack(android.app.TaskStackBuilder taskStackBuilder)` - void onCreateNavigateUpTaskStack( - jni$_.JObject? taskStackBuilder, - ) { + void onCreateNavigateUpTaskStack(jni$_.JObject? taskStackBuilder) { final _$taskStackBuilder = taskStackBuilder?.reference ?? jni$_.jNullReference; _onCreateNavigateUpTaskStack( - reference.pointer, - _id_onCreateNavigateUpTaskStack as jni$_.JMethodIDPtr, - _$taskStackBuilder.pointer) - .check(); + reference.pointer, + _id_onCreateNavigateUpTaskStack as jni$_.JMethodIDPtr, + _$taskStackBuilder.pointer, + ).check(); } static final _id_onPrepareNavigateUpTaskStack = _class.instanceMethodId( @@ -20054,27 +22904,31 @@ class Activity extends jni$_.JObject { static final _onPrepareNavigateUpTaskStack = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onPrepareNavigateUpTaskStack(android.app.TaskStackBuilder taskStackBuilder)` - void onPrepareNavigateUpTaskStack( - jni$_.JObject? taskStackBuilder, - ) { + void onPrepareNavigateUpTaskStack(jni$_.JObject? taskStackBuilder) { final _$taskStackBuilder = taskStackBuilder?.reference ?? jni$_.jNullReference; _onPrepareNavigateUpTaskStack( - reference.pointer, - _id_onPrepareNavigateUpTaskStack as jni$_.JMethodIDPtr, - _$taskStackBuilder.pointer) - .check(); + reference.pointer, + _id_onPrepareNavigateUpTaskStack as jni$_.JMethodIDPtr, + _$taskStackBuilder.pointer, + ).check(); } static final _id_onOptionsMenuClosed = _class.instanceMethodId( @@ -20082,25 +22936,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/Menu;)V', ); - static final _onOptionsMenuClosed = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onOptionsMenuClosed = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onOptionsMenuClosed(android.view.Menu menu)` - void onOptionsMenuClosed( - jni$_.JObject? menu, - ) { + void onOptionsMenuClosed(jni$_.JObject? menu) { final _$menu = menu?.reference ?? jni$_.jNullReference; - _onOptionsMenuClosed(reference.pointer, - _id_onOptionsMenuClosed as jni$_.JMethodIDPtr, _$menu.pointer) - .check(); + _onOptionsMenuClosed( + reference.pointer, + _id_onOptionsMenuClosed as jni$_.JMethodIDPtr, + _$menu.pointer, + ).check(); } static final _id_openOptionsMenu = _class.instanceMethodId( @@ -20108,23 +22969,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _openOptionsMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _openOptionsMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void openOptionsMenu()` void openOptionsMenu() { _openOptionsMenu( - reference.pointer, _id_openOptionsMenu as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_openOptionsMenu as jni$_.JMethodIDPtr, + ).check(); } static final _id_closeOptionsMenu = _class.instanceMethodId( @@ -20132,23 +22998,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _closeOptionsMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _closeOptionsMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void closeOptionsMenu()` void closeOptionsMenu() { _closeOptionsMenu( - reference.pointer, _id_closeOptionsMenu as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_closeOptionsMenu as jni$_.JMethodIDPtr, + ).check(); } static final _id_onCreateContextMenu = _class.instanceMethodId( @@ -20156,24 +23027,31 @@ class Activity extends jni$_.JObject { r'(Landroid/view/ContextMenu;Landroid/view/View;Landroid/view/ContextMenu$ContextMenuInfo;)V', ); - static final _onCreateContextMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onCreateContextMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void onCreateContextMenu(android.view.ContextMenu contextMenu, android.view.View view, android.view.ContextMenu$ContextMenuInfo contextMenuInfo)` void onCreateContextMenu( @@ -20186,12 +23064,12 @@ class Activity extends jni$_.JObject { final _$contextMenuInfo = contextMenuInfo?.reference ?? jni$_.jNullReference; _onCreateContextMenu( - reference.pointer, - _id_onCreateContextMenu as jni$_.JMethodIDPtr, - _$contextMenu.pointer, - _$view.pointer, - _$contextMenuInfo.pointer) - .check(); + reference.pointer, + _id_onCreateContextMenu as jni$_.JMethodIDPtr, + _$contextMenu.pointer, + _$view.pointer, + _$contextMenuInfo.pointer, + ).check(); } static final _id_registerForContextMenu = _class.instanceMethodId( @@ -20199,25 +23077,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/View;)V', ); - static final _registerForContextMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _registerForContextMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void registerForContextMenu(android.view.View view)` - void registerForContextMenu( - jni$_.JObject? view, - ) { + void registerForContextMenu(jni$_.JObject? view) { final _$view = view?.reference ?? jni$_.jNullReference; - _registerForContextMenu(reference.pointer, - _id_registerForContextMenu as jni$_.JMethodIDPtr, _$view.pointer) - .check(); + _registerForContextMenu( + reference.pointer, + _id_registerForContextMenu as jni$_.JMethodIDPtr, + _$view.pointer, + ).check(); } static final _id_unregisterForContextMenu = _class.instanceMethodId( @@ -20225,25 +23110,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/View;)V', ); - static final _unregisterForContextMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _unregisterForContextMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void unregisterForContextMenu(android.view.View view)` - void unregisterForContextMenu( - jni$_.JObject? view, - ) { + void unregisterForContextMenu(jni$_.JObject? view) { final _$view = view?.reference ?? jni$_.jNullReference; - _unregisterForContextMenu(reference.pointer, - _id_unregisterForContextMenu as jni$_.JMethodIDPtr, _$view.pointer) - .check(); + _unregisterForContextMenu( + reference.pointer, + _id_unregisterForContextMenu as jni$_.JMethodIDPtr, + _$view.pointer, + ).check(); } static final _id_openContextMenu = _class.instanceMethodId( @@ -20251,25 +23143,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/View;)V', ); - static final _openContextMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _openContextMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void openContextMenu(android.view.View view)` - void openContextMenu( - jni$_.JObject? view, - ) { + void openContextMenu(jni$_.JObject? view) { final _$view = view?.reference ?? jni$_.jNullReference; - _openContextMenu(reference.pointer, - _id_openContextMenu as jni$_.JMethodIDPtr, _$view.pointer) - .check(); + _openContextMenu( + reference.pointer, + _id_openContextMenu as jni$_.JMethodIDPtr, + _$view.pointer, + ).check(); } static final _id_closeContextMenu = _class.instanceMethodId( @@ -20277,23 +23176,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _closeContextMenu = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _closeContextMenu = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void closeContextMenu()` void closeContextMenu() { _closeContextMenu( - reference.pointer, _id_closeContextMenu as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_closeContextMenu as jni$_.JMethodIDPtr, + ).check(); } static final _id_onContextItemSelected = _class.instanceMethodId( @@ -20301,25 +23205,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/MenuItem;)Z', ); - static final _onContextItemSelected = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onContextItemSelected = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onContextItemSelected(android.view.MenuItem menuItem)` - bool onContextItemSelected( - jni$_.JObject? menuItem, - ) { + bool onContextItemSelected(jni$_.JObject? menuItem) { final _$menuItem = menuItem?.reference ?? jni$_.jNullReference; - return _onContextItemSelected(reference.pointer, - _id_onContextItemSelected as jni$_.JMethodIDPtr, _$menuItem.pointer) - .boolean; + return _onContextItemSelected( + reference.pointer, + _id_onContextItemSelected as jni$_.JMethodIDPtr, + _$menuItem.pointer, + ).boolean; } static final _id_onContextMenuClosed = _class.instanceMethodId( @@ -20327,48 +23238,61 @@ class Activity extends jni$_.JObject { r'(Landroid/view/Menu;)V', ); - static final _onContextMenuClosed = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onContextMenuClosed = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onContextMenuClosed(android.view.Menu menu)` - void onContextMenuClosed( - jni$_.JObject? menu, - ) { + void onContextMenuClosed(jni$_.JObject? menu) { final _$menu = menu?.reference ?? jni$_.jNullReference; - _onContextMenuClosed(reference.pointer, - _id_onContextMenuClosed as jni$_.JMethodIDPtr, _$menu.pointer) - .check(); + _onContextMenuClosed( + reference.pointer, + _id_onContextMenuClosed as jni$_.JMethodIDPtr, + _$menu.pointer, + ).check(); } - static final _id_showDialog = _class.instanceMethodId( - r'showDialog', - r'(I)V', - ); + static final _id_showDialog = _class.instanceMethodId(r'showDialog', r'(I)V'); - static final _showDialog = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _showDialog = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void showDialog(int i)` - void showDialog( - int i, - ) { - _showDialog(reference.pointer, _id_showDialog as jni$_.JMethodIDPtr, i) - .check(); + void showDialog(int i) { + _showDialog( + reference.pointer, + _id_showDialog as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_showDialog$1 = _class.instanceMethodId( @@ -20376,27 +23300,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/os/Bundle;)Z', ); - static final _showDialog$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _showDialog$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public final boolean showDialog(int i, android.os.Bundle bundle)` - bool showDialog$1( - int i, - jni$_.JObject? bundle, - ) { + bool showDialog$1(int i, jni$_.JObject? bundle) { final _$bundle = bundle?.reference ?? jni$_.jNullReference; - return _showDialog$1(reference.pointer, - _id_showDialog$1 as jni$_.JMethodIDPtr, i, _$bundle.pointer) - .boolean; + return _showDialog$1( + reference.pointer, + _id_showDialog$1 as jni$_.JMethodIDPtr, + i, + _$bundle.pointer, + ).boolean; } static final _id_dismissDialog = _class.instanceMethodId( @@ -20404,23 +23335,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _dismissDialog = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _dismissDialog = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void dismissDialog(int i)` - void dismissDialog( - int i, - ) { + void dismissDialog(int i) { _dismissDialog( - reference.pointer, _id_dismissDialog as jni$_.JMethodIDPtr, i) - .check(); + reference.pointer, + _id_dismissDialog as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_removeDialog = _class.instanceMethodId( @@ -20428,22 +23367,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _removeDialog = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _removeDialog = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void removeDialog(int i)` - void removeDialog( - int i, - ) { - _removeDialog(reference.pointer, _id_removeDialog as jni$_.JMethodIDPtr, i) - .check(); + void removeDialog(int i) { + _removeDialog( + reference.pointer, + _id_removeDialog as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_onSearchRequested = _class.instanceMethodId( @@ -20451,25 +23399,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/SearchEvent;)Z', ); - static final _onSearchRequested = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onSearchRequested = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean onSearchRequested(android.view.SearchEvent searchEvent)` - bool onSearchRequested( - jni$_.JObject? searchEvent, - ) { + bool onSearchRequested(jni$_.JObject? searchEvent) { final _$searchEvent = searchEvent?.reference ?? jni$_.jNullReference; - return _onSearchRequested(reference.pointer, - _id_onSearchRequested as jni$_.JMethodIDPtr, _$searchEvent.pointer) - .boolean; + return _onSearchRequested( + reference.pointer, + _id_onSearchRequested as jni$_.JMethodIDPtr, + _$searchEvent.pointer, + ).boolean; } static final _id_onSearchRequested$1 = _class.instanceMethodId( @@ -20477,23 +23432,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _onSearchRequested$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onSearchRequested$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean onSearchRequested()` bool onSearchRequested$1() { return _onSearchRequested$1( - reference.pointer, _id_onSearchRequested$1 as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_onSearchRequested$1 as jni$_.JMethodIDPtr, + ).boolean; } static final _id_getSearchEvent = _class.instanceMethodId( @@ -20501,24 +23461,29 @@ class Activity extends jni$_.JObject { r'()Landroid/view/SearchEvent;', ); - static final _getSearchEvent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getSearchEvent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final android.view.SearchEvent getSearchEvent()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getSearchEvent() { return _getSearchEvent( - reference.pointer, _id_getSearchEvent as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getSearchEvent as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_startSearch = _class.instanceMethodId( @@ -20526,26 +23491,33 @@ class Activity extends jni$_.JObject { r'(Ljava/lang/String;ZLandroid/os/Bundle;Z)V', ); - static final _startSearch = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startSearch = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, jni$_.Pointer, - int)>(); + int, + ) + >(); /// from: `public void startSearch(java.lang.String string, boolean z, android.os.Bundle bundle, boolean z1)` void startSearch( @@ -20556,9 +23528,14 @@ class Activity extends jni$_.JObject { ) { final _$string = string?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; - _startSearch(reference.pointer, _id_startSearch as jni$_.JMethodIDPtr, - _$string.pointer, z ? 1 : 0, _$bundle.pointer, z1 ? 1 : 0) - .check(); + _startSearch( + reference.pointer, + _id_startSearch as jni$_.JMethodIDPtr, + _$string.pointer, + z ? 1 : 0, + _$bundle.pointer, + z1 ? 1 : 0, + ).check(); } static final _id_triggerSearch = _class.instanceMethodId( @@ -20566,33 +23543,37 @@ class Activity extends jni$_.JObject { r'(Ljava/lang/String;Landroid/os/Bundle;)V', ); - static final _triggerSearch = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _triggerSearch = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void triggerSearch(java.lang.String string, android.os.Bundle bundle)` - void triggerSearch( - jni$_.JString? string, - jni$_.JObject? bundle, - ) { + void triggerSearch(jni$_.JString? string, jni$_.JObject? bundle) { final _$string = string?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; - _triggerSearch(reference.pointer, _id_triggerSearch as jni$_.JMethodIDPtr, - _$string.pointer, _$bundle.pointer) - .check(); + _triggerSearch( + reference.pointer, + _id_triggerSearch as jni$_.JMethodIDPtr, + _$string.pointer, + _$bundle.pointer, + ).check(); } static final _id_takeKeyEvents = _class.instanceMethodId( @@ -20600,23 +23581,31 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _takeKeyEvents = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _takeKeyEvents = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void takeKeyEvents(boolean z)` - void takeKeyEvents( - bool z, - ) { - _takeKeyEvents(reference.pointer, _id_takeKeyEvents as jni$_.JMethodIDPtr, - z ? 1 : 0) - .check(); + void takeKeyEvents(bool z) { + _takeKeyEvents( + reference.pointer, + _id_takeKeyEvents as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_requestWindowFeature = _class.instanceMethodId( @@ -20624,24 +23613,31 @@ class Activity extends jni$_.JObject { r'(I)Z', ); - static final _requestWindowFeature = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _requestWindowFeature = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final boolean requestWindowFeature(int i)` - bool requestWindowFeature( - int i, - ) { - return _requestWindowFeature(reference.pointer, - _id_requestWindowFeature as jni$_.JMethodIDPtr, i) - .boolean; + bool requestWindowFeature(int i) { + return _requestWindowFeature( + reference.pointer, + _id_requestWindowFeature as jni$_.JMethodIDPtr, + i, + ).boolean; } static final _id_setFeatureDrawableResource = _class.instanceMethodId( @@ -20651,24 +23647,31 @@ class Activity extends jni$_.JObject { static final _setFeatureDrawableResource = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + int, + ) + >(); /// from: `public final void setFeatureDrawableResource(int i, int i1)` - void setFeatureDrawableResource( - int i, - int i1, - ) { - _setFeatureDrawableResource(reference.pointer, - _id_setFeatureDrawableResource as jni$_.JMethodIDPtr, i, i1) - .check(); + void setFeatureDrawableResource(int i, int i1) { + _setFeatureDrawableResource( + reference.pointer, + _id_setFeatureDrawableResource as jni$_.JMethodIDPtr, + i, + i1, + ).check(); } static final _id_setFeatureDrawableUri = _class.instanceMethodId( @@ -20676,27 +23679,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/net/Uri;)V', ); - static final _setFeatureDrawableUri = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _setFeatureDrawableUri = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public final void setFeatureDrawableUri(int i, android.net.Uri uri)` - void setFeatureDrawableUri( - int i, - jni$_.JObject? uri, - ) { + void setFeatureDrawableUri(int i, jni$_.JObject? uri) { final _$uri = uri?.reference ?? jni$_.jNullReference; - _setFeatureDrawableUri(reference.pointer, - _id_setFeatureDrawableUri as jni$_.JMethodIDPtr, i, _$uri.pointer) - .check(); + _setFeatureDrawableUri( + reference.pointer, + _id_setFeatureDrawableUri as jni$_.JMethodIDPtr, + i, + _$uri.pointer, + ).check(); } static final _id_setFeatureDrawable = _class.instanceMethodId( @@ -20704,27 +23714,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/graphics/drawable/Drawable;)V', ); - static final _setFeatureDrawable = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _setFeatureDrawable = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public final void setFeatureDrawable(int i, android.graphics.drawable.Drawable drawable)` - void setFeatureDrawable( - int i, - jni$_.JObject? drawable, - ) { + void setFeatureDrawable(int i, jni$_.JObject? drawable) { final _$drawable = drawable?.reference ?? jni$_.jNullReference; - _setFeatureDrawable(reference.pointer, - _id_setFeatureDrawable as jni$_.JMethodIDPtr, i, _$drawable.pointer) - .check(); + _setFeatureDrawable( + reference.pointer, + _id_setFeatureDrawable as jni$_.JMethodIDPtr, + i, + _$drawable.pointer, + ).check(); } static final _id_setFeatureDrawableAlpha = _class.instanceMethodId( @@ -20732,25 +23749,33 @@ class Activity extends jni$_.JObject { r'(II)V', ); - static final _setFeatureDrawableAlpha = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); + static final _setFeatureDrawableAlpha = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + int, + ) + >(); /// from: `public final void setFeatureDrawableAlpha(int i, int i1)` - void setFeatureDrawableAlpha( - int i, - int i1, - ) { - _setFeatureDrawableAlpha(reference.pointer, - _id_setFeatureDrawableAlpha as jni$_.JMethodIDPtr, i, i1) - .check(); + void setFeatureDrawableAlpha(int i, int i1) { + _setFeatureDrawableAlpha( + reference.pointer, + _id_setFeatureDrawableAlpha as jni$_.JMethodIDPtr, + i, + i1, + ).check(); } static final _id_getLayoutInflater = _class.instanceMethodId( @@ -20758,24 +23783,29 @@ class Activity extends jni$_.JObject { r'()Landroid/view/LayoutInflater;', ); - static final _getLayoutInflater = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getLayoutInflater = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.view.LayoutInflater getLayoutInflater()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getLayoutInflater() { return _getLayoutInflater( - reference.pointer, _id_getLayoutInflater as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getLayoutInflater as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getMenuInflater = _class.instanceMethodId( @@ -20783,45 +23813,53 @@ class Activity extends jni$_.JObject { r'()Landroid/view/MenuInflater;', ); - static final _getMenuInflater = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getMenuInflater = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.view.MenuInflater getMenuInflater()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getMenuInflater() { return _getMenuInflater( - reference.pointer, _id_getMenuInflater as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getMenuInflater as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } - static final _id_setTheme = _class.instanceMethodId( - r'setTheme', - r'(I)V', - ); + static final _id_setTheme = _class.instanceMethodId(r'setTheme', r'(I)V'); - static final _setTheme = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setTheme = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setTheme(int i)` - void setTheme( - int i, - ) { + void setTheme(int i) { _setTheme(reference.pointer, _id_setTheme as jni$_.JMethodIDPtr, i).check(); } @@ -20830,27 +23868,34 @@ class Activity extends jni$_.JObject { r'([Ljava/lang/String;I)V', ); - static final _requestPermissions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _requestPermissions = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public final void requestPermissions(java.lang.String[] strings, int i)` - void requestPermissions( - jni$_.JArray? strings, - int i, - ) { + void requestPermissions(jni$_.JArray? strings, int i) { final _$strings = strings?.reference ?? jni$_.jNullReference; - _requestPermissions(reference.pointer, - _id_requestPermissions as jni$_.JMethodIDPtr, _$strings.pointer, i) - .check(); + _requestPermissions( + reference.pointer, + _id_requestPermissions as jni$_.JMethodIDPtr, + _$strings.pointer, + i, + ).check(); } static final _id_onRequestPermissionsResult = _class.instanceMethodId( @@ -20860,23 +23905,29 @@ class Activity extends jni$_.JObject { static final _onRequestPermissionsResult = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Int32, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - int, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Int32, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public void onRequestPermissionsResult(int i, java.lang.String[] strings, int[] is)` void onRequestPermissionsResult( @@ -20887,42 +23938,46 @@ class Activity extends jni$_.JObject { final _$strings = strings?.reference ?? jni$_.jNullReference; final _$is$ = is$?.reference ?? jni$_.jNullReference; _onRequestPermissionsResult( - reference.pointer, - _id_onRequestPermissionsResult as jni$_.JMethodIDPtr, - i, - _$strings.pointer, - _$is$.pointer) - .check(); - } - - static final _id_shouldShowRequestPermissionRationale = - _class.instanceMethodId( - r'shouldShowRequestPermissionRationale', - r'(Ljava/lang/String;)Z', - ); + reference.pointer, + _id_onRequestPermissionsResult as jni$_.JMethodIDPtr, + i, + _$strings.pointer, + _$is$.pointer, + ).check(); + } + + static final _id_shouldShowRequestPermissionRationale = _class + .instanceMethodId( + r'shouldShowRequestPermissionRationale', + r'(Ljava/lang/String;)Z', + ); static final _shouldShowRequestPermissionRationale = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean shouldShowRequestPermissionRationale(java.lang.String string)` - bool shouldShowRequestPermissionRationale( - jni$_.JString? string, - ) { + bool shouldShowRequestPermissionRationale(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; return _shouldShowRequestPermissionRationale( - reference.pointer, - _id_shouldShowRequestPermissionRationale as jni$_.JMethodIDPtr, - _$string.pointer) - .boolean; + reference.pointer, + _id_shouldShowRequestPermissionRationale as jni$_.JMethodIDPtr, + _$string.pointer, + ).boolean; } static final _id_startActivityForResult = _class.instanceMethodId( @@ -20930,30 +23985,34 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;I)V', ); - static final _startActivityForResult = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _startActivityForResult = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public void startActivityForResult(android.content.Intent intent, int i)` - void startActivityForResult( - Intent? intent, - int i, - ) { + void startActivityForResult(Intent? intent, int i) { final _$intent = intent?.reference ?? jni$_.jNullReference; _startActivityForResult( - reference.pointer, - _id_startActivityForResult as jni$_.JMethodIDPtr, - _$intent.pointer, - i) - .check(); + reference.pointer, + _id_startActivityForResult as jni$_.JMethodIDPtr, + _$intent.pointer, + i, + ).check(); } static final _id_startActivityForResult$1 = _class.instanceMethodId( @@ -20961,40 +24020,43 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;ILandroid/os/Bundle;)V', ); - static final _startActivityForResult$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivityForResult$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void startActivityForResult(android.content.Intent intent, int i, android.os.Bundle bundle)` - void startActivityForResult$1( - Intent? intent, - int i, - jni$_.JObject? bundle, - ) { + void startActivityForResult$1(Intent? intent, int i, jni$_.JObject? bundle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivityForResult$1( - reference.pointer, - _id_startActivityForResult$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - i, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startActivityForResult$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + i, + _$bundle.pointer, + ).check(); } static final _id_isActivityTransitionRunning = _class.instanceMethodId( @@ -21004,22 +24066,26 @@ class Activity extends jni$_.JObject { static final _isActivityTransitionRunning = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isActivityTransitionRunning()` bool isActivityTransitionRunning() { - return _isActivityTransitionRunning(reference.pointer, - _id_isActivityTransitionRunning as jni$_.JMethodIDPtr) - .boolean; + return _isActivityTransitionRunning( + reference.pointer, + _id_isActivityTransitionRunning as jni$_.JMethodIDPtr, + ).boolean; } static final _id_startIntentSenderForResult = _class.instanceMethodId( @@ -21029,29 +24095,35 @@ class Activity extends jni$_.JObject { static final _startIntentSenderForResult = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - jni$_.Pointer, - int, - int, - int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + jni$_.Pointer, + int, + int, + int, + ) + >(); /// from: `public void startIntentSenderForResult(android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3)` void startIntentSenderForResult( @@ -21065,15 +24137,15 @@ class Activity extends jni$_.JObject { final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; final _$intent = intent?.reference ?? jni$_.jNullReference; _startIntentSenderForResult( - reference.pointer, - _id_startIntentSenderForResult as jni$_.JMethodIDPtr, - _$intentSender.pointer, - i, - _$intent.pointer, - i1, - i2, - i3) - .check(); + reference.pointer, + _id_startIntentSenderForResult as jni$_.JMethodIDPtr, + _$intentSender.pointer, + i, + _$intent.pointer, + i1, + i2, + i3, + ).check(); } static final _id_startIntentSenderForResult$1 = _class.instanceMethodId( @@ -21083,31 +24155,37 @@ class Activity extends jni$_.JObject { static final _startIntentSenderForResult$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - int, - jni$_.Pointer, - int, - int, - int, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + jni$_.Pointer, + int, + int, + int, + jni$_.Pointer, + ) + >(); /// from: `public void startIntentSenderForResult(android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3, android.os.Bundle bundle)` void startIntentSenderForResult$1( @@ -21123,16 +24201,16 @@ class Activity extends jni$_.JObject { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startIntentSenderForResult$1( - reference.pointer, - _id_startIntentSenderForResult$1 as jni$_.JMethodIDPtr, - _$intentSender.pointer, - i, - _$intent.pointer, - i1, - i2, - i3, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startIntentSenderForResult$1 as jni$_.JMethodIDPtr, + _$intentSender.pointer, + i, + _$intent.pointer, + i1, + i2, + i3, + _$bundle.pointer, + ).check(); } static final _id_startActivity = _class.instanceMethodId( @@ -21140,25 +24218,32 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;)V', ); - static final _startActivity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startActivity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void startActivity(android.content.Intent intent)` - void startActivity( - Intent? intent, - ) { + void startActivity(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _startActivity(reference.pointer, _id_startActivity as jni$_.JMethodIDPtr, - _$intent.pointer) - .check(); + _startActivity( + reference.pointer, + _id_startActivity as jni$_.JMethodIDPtr, + _$intent.pointer, + ).check(); } static final _id_startActivity$1 = _class.instanceMethodId( @@ -21166,36 +24251,37 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivity$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivity$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void startActivity(android.content.Intent intent, android.os.Bundle bundle)` - void startActivity$1( - Intent? intent, - jni$_.JObject? bundle, - ) { + void startActivity$1(Intent? intent, jni$_.JObject? bundle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivity$1( - reference.pointer, - _id_startActivity$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startActivity$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$bundle.pointer, + ).check(); } static final _id_startActivities = _class.instanceMethodId( @@ -21203,25 +24289,32 @@ class Activity extends jni$_.JObject { r'([Landroid/content/Intent;)V', ); - static final _startActivities = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startActivities = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void startActivities(android.content.Intent[] intents)` - void startActivities( - jni$_.JArray? intents, - ) { + void startActivities(jni$_.JArray? intents) { final _$intents = intents?.reference ?? jni$_.jNullReference; - _startActivities(reference.pointer, - _id_startActivities as jni$_.JMethodIDPtr, _$intents.pointer) - .check(); + _startActivities( + reference.pointer, + _id_startActivities as jni$_.JMethodIDPtr, + _$intents.pointer, + ).check(); } static final _id_startActivities$1 = _class.instanceMethodId( @@ -21229,22 +24322,26 @@ class Activity extends jni$_.JObject { r'([Landroid/content/Intent;Landroid/os/Bundle;)V', ); - static final _startActivities$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivities$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void startActivities(android.content.Intent[] intents, android.os.Bundle bundle)` void startActivities$1( @@ -21254,11 +24351,11 @@ class Activity extends jni$_.JObject { final _$intents = intents?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivities$1( - reference.pointer, - _id_startActivities$1 as jni$_.JMethodIDPtr, - _$intents.pointer, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startActivities$1 as jni$_.JMethodIDPtr, + _$intents.pointer, + _$bundle.pointer, + ).check(); } static final _id_startIntentSender = _class.instanceMethodId( @@ -21266,28 +24363,35 @@ class Activity extends jni$_.JObject { r'(Landroid/content/IntentSender;Landroid/content/Intent;III)V', ); - static final _startIntentSender = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startIntentSender = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, int, int, - int)>(); + int, + ) + >(); /// from: `public void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2)` void startIntentSender( @@ -21300,14 +24404,14 @@ class Activity extends jni$_.JObject { final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; final _$intent = intent?.reference ?? jni$_.jNullReference; _startIntentSender( - reference.pointer, - _id_startIntentSender as jni$_.JMethodIDPtr, - _$intentSender.pointer, - _$intent.pointer, - i, - i1, - i2) - .check(); + reference.pointer, + _id_startIntentSender as jni$_.JMethodIDPtr, + _$intentSender.pointer, + _$intent.pointer, + i, + i1, + i2, + ).check(); } static final _id_startIntentSender$1 = _class.instanceMethodId( @@ -21315,22 +24419,27 @@ class Activity extends jni$_.JObject { r'(Landroid/content/IntentSender;Landroid/content/Intent;IIILandroid/os/Bundle;)V', ); - static final _startIntentSender$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startIntentSender$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -21338,7 +24447,9 @@ class Activity extends jni$_.JObject { int, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void startIntentSender(android.content.IntentSender intentSender, android.content.Intent intent, int i, int i1, int i2, android.os.Bundle bundle)` void startIntentSender$1( @@ -21353,15 +24464,15 @@ class Activity extends jni$_.JObject { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startIntentSender$1( - reference.pointer, - _id_startIntentSender$1 as jni$_.JMethodIDPtr, - _$intentSender.pointer, - _$intent.pointer, - i, - i1, - i2, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startIntentSender$1 as jni$_.JMethodIDPtr, + _$intentSender.pointer, + _$intent.pointer, + i, + i1, + i2, + _$bundle.pointer, + ).check(); } static final _id_startActivityIfNeeded = _class.instanceMethodId( @@ -21369,30 +24480,34 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;I)Z', ); - static final _startActivityIfNeeded = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _startActivityIfNeeded = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public boolean startActivityIfNeeded(android.content.Intent intent, int i)` - bool startActivityIfNeeded( - Intent? intent, - int i, - ) { + bool startActivityIfNeeded(Intent? intent, int i) { final _$intent = intent?.reference ?? jni$_.jNullReference; return _startActivityIfNeeded( - reference.pointer, - _id_startActivityIfNeeded as jni$_.JMethodIDPtr, - _$intent.pointer, - i) - .boolean; + reference.pointer, + _id_startActivityIfNeeded as jni$_.JMethodIDPtr, + _$intent.pointer, + i, + ).boolean; } static final _id_startActivityIfNeeded$1 = _class.instanceMethodId( @@ -21400,40 +24515,43 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;ILandroid/os/Bundle;)Z', ); - static final _startActivityIfNeeded$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivityIfNeeded$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public boolean startActivityIfNeeded(android.content.Intent intent, int i, android.os.Bundle bundle)` - bool startActivityIfNeeded$1( - Intent? intent, - int i, - jni$_.JObject? bundle, - ) { + bool startActivityIfNeeded$1(Intent? intent, int i, jni$_.JObject? bundle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _startActivityIfNeeded$1( - reference.pointer, - _id_startActivityIfNeeded$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - i, - _$bundle.pointer) - .boolean; + reference.pointer, + _id_startActivityIfNeeded$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + i, + _$bundle.pointer, + ).boolean; } static final _id_startNextMatchingActivity = _class.instanceMethodId( @@ -21441,27 +24559,32 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;)Z', ); - static final _startNextMatchingActivity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startNextMatchingActivity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean startNextMatchingActivity(android.content.Intent intent)` - bool startNextMatchingActivity( - Intent? intent, - ) { + bool startNextMatchingActivity(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; return _startNextMatchingActivity( - reference.pointer, - _id_startNextMatchingActivity as jni$_.JMethodIDPtr, - _$intent.pointer) - .boolean; + reference.pointer, + _id_startNextMatchingActivity as jni$_.JMethodIDPtr, + _$intent.pointer, + ).boolean; } static final _id_startNextMatchingActivity$1 = _class.instanceMethodId( @@ -21471,35 +24594,35 @@ class Activity extends jni$_.JObject { static final _startNextMatchingActivity$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + ) + >(); /// from: `public boolean startNextMatchingActivity(android.content.Intent intent, android.os.Bundle bundle)` - bool startNextMatchingActivity$1( - Intent? intent, - jni$_.JObject? bundle, - ) { + bool startNextMatchingActivity$1(Intent? intent, jni$_.JObject? bundle) { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; return _startNextMatchingActivity$1( - reference.pointer, - _id_startNextMatchingActivity$1 as jni$_.JMethodIDPtr, - _$intent.pointer, - _$bundle.pointer) - .boolean; + reference.pointer, + _id_startNextMatchingActivity$1 as jni$_.JMethodIDPtr, + _$intent.pointer, + _$bundle.pointer, + ).boolean; } static final _id_startActivityFromChild = _class.instanceMethodId( @@ -21507,40 +24630,43 @@ class Activity extends jni$_.JObject { r'(Landroid/app/Activity;Landroid/content/Intent;I)V', ); - static final _startActivityFromChild = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivityFromChild = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - int)>(); + int, + ) + >(); /// from: `public void startActivityFromChild(android.app.Activity activity, android.content.Intent intent, int i)` - void startActivityFromChild( - Activity? activity, - Intent? intent, - int i, - ) { + void startActivityFromChild(Activity? activity, Intent? intent, int i) { final _$activity = activity?.reference ?? jni$_.jNullReference; final _$intent = intent?.reference ?? jni$_.jNullReference; _startActivityFromChild( - reference.pointer, - _id_startActivityFromChild as jni$_.JMethodIDPtr, - _$activity.pointer, - _$intent.pointer, - i) - .check(); + reference.pointer, + _id_startActivityFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intent.pointer, + i, + ).check(); } static final _id_startActivityFromChild$1 = _class.instanceMethodId( @@ -21548,26 +24674,33 @@ class Activity extends jni$_.JObject { r'(Landroid/app/Activity;Landroid/content/Intent;ILandroid/os/Bundle;)V', ); - static final _startActivityFromChild$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivityFromChild$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void startActivityFromChild(android.app.Activity activity, android.content.Intent intent, int i, android.os.Bundle bundle)` void startActivityFromChild$1( @@ -21580,13 +24713,13 @@ class Activity extends jni$_.JObject { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivityFromChild$1( - reference.pointer, - _id_startActivityFromChild$1 as jni$_.JMethodIDPtr, - _$activity.pointer, - _$intent.pointer, - i, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startActivityFromChild$1 as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intent.pointer, + i, + _$bundle.pointer, + ).check(); } static final _id_startActivityFromFragment = _class.instanceMethodId( @@ -21594,24 +24727,31 @@ class Activity extends jni$_.JObject { r'(Landroid/app/Fragment;Landroid/content/Intent;I)V', ); - static final _startActivityFromFragment = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startActivityFromFragment = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - int)>(); + int, + ) + >(); /// from: `public void startActivityFromFragment(android.app.Fragment fragment, android.content.Intent intent, int i)` void startActivityFromFragment( @@ -21622,12 +24762,12 @@ class Activity extends jni$_.JObject { final _$fragment = fragment?.reference ?? jni$_.jNullReference; final _$intent = intent?.reference ?? jni$_.jNullReference; _startActivityFromFragment( - reference.pointer, - _id_startActivityFromFragment as jni$_.JMethodIDPtr, - _$fragment.pointer, - _$intent.pointer, - i) - .check(); + reference.pointer, + _id_startActivityFromFragment as jni$_.JMethodIDPtr, + _$fragment.pointer, + _$intent.pointer, + i, + ).check(); } static final _id_startActivityFromFragment$1 = _class.instanceMethodId( @@ -21637,25 +24777,31 @@ class Activity extends jni$_.JObject { static final _startActivityFromFragment$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - int, - jni$_.Pointer)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + int, + jni$_.Pointer, + ) + >(); /// from: `public void startActivityFromFragment(android.app.Fragment fragment, android.content.Intent intent, int i, android.os.Bundle bundle)` void startActivityFromFragment$1( @@ -21668,13 +24814,13 @@ class Activity extends jni$_.JObject { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startActivityFromFragment$1( - reference.pointer, - _id_startActivityFromFragment$1 as jni$_.JMethodIDPtr, - _$fragment.pointer, - _$intent.pointer, - i, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startActivityFromFragment$1 as jni$_.JMethodIDPtr, + _$fragment.pointer, + _$intent.pointer, + i, + _$bundle.pointer, + ).check(); } static final _id_startIntentSenderFromChild = _class.instanceMethodId( @@ -21684,31 +24830,37 @@ class Activity extends jni$_.JObject { static final _startIntentSenderFromChild = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - int, - jni$_.Pointer, - int, - int, - int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + int, + jni$_.Pointer, + int, + int, + int, + ) + >(); /// from: `public void startIntentSenderFromChild(android.app.Activity activity, android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3)` void startIntentSenderFromChild( @@ -21724,16 +24876,16 @@ class Activity extends jni$_.JObject { final _$intentSender = intentSender?.reference ?? jni$_.jNullReference; final _$intent = intent?.reference ?? jni$_.jNullReference; _startIntentSenderFromChild( - reference.pointer, - _id_startIntentSenderFromChild as jni$_.JMethodIDPtr, - _$activity.pointer, - _$intentSender.pointer, - i, - _$intent.pointer, - i1, - i2, - i3) - .check(); + reference.pointer, + _id_startIntentSenderFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intentSender.pointer, + i, + _$intent.pointer, + i1, + i2, + i3, + ).check(); } static final _id_startIntentSenderFromChild$1 = _class.instanceMethodId( @@ -21743,33 +24895,39 @@ class Activity extends jni$_.JObject { static final _startIntentSenderFromChild$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.Pointer, - jni$_.Pointer, - int, - jni$_.Pointer, - int, - int, - int, - jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + jni$_.Pointer, + int, + jni$_.Pointer, + int, + int, + int, + jni$_.Pointer, + ) + >(); /// from: `public void startIntentSenderFromChild(android.app.Activity activity, android.content.IntentSender intentSender, int i, android.content.Intent intent, int i1, int i2, int i3, android.os.Bundle bundle)` void startIntentSenderFromChild$1( @@ -21787,17 +24945,17 @@ class Activity extends jni$_.JObject { final _$intent = intent?.reference ?? jni$_.jNullReference; final _$bundle = bundle?.reference ?? jni$_.jNullReference; _startIntentSenderFromChild$1( - reference.pointer, - _id_startIntentSenderFromChild$1 as jni$_.JMethodIDPtr, - _$activity.pointer, - _$intentSender.pointer, - i, - _$intent.pointer, - i1, - i2, - i3, - _$bundle.pointer) - .check(); + reference.pointer, + _id_startIntentSenderFromChild$1 as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intentSender.pointer, + i, + _$intent.pointer, + i1, + i2, + i3, + _$bundle.pointer, + ).check(); } static final _id_overridePendingTransition = _class.instanceMethodId( @@ -21805,25 +24963,33 @@ class Activity extends jni$_.JObject { r'(II)V', ); - static final _overridePendingTransition = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); + static final _overridePendingTransition = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + int, + ) + >(); /// from: `public void overridePendingTransition(int i, int i1)` - void overridePendingTransition( - int i, - int i1, - ) { - _overridePendingTransition(reference.pointer, - _id_overridePendingTransition as jni$_.JMethodIDPtr, i, i1) - .check(); + void overridePendingTransition(int i, int i1) { + _overridePendingTransition( + reference.pointer, + _id_overridePendingTransition as jni$_.JMethodIDPtr, + i, + i1, + ).check(); } static final _id_overridePendingTransition$1 = _class.instanceMethodId( @@ -21833,52 +24999,62 @@ class Activity extends jni$_.JObject { static final _overridePendingTransition$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Int32, - jni$_.Int32, - jni$_.Int32 - )>)>>('globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Int32, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, int, int)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + int, + int, + ) + >(); /// from: `public void overridePendingTransition(int i, int i1, int i2)` - void overridePendingTransition$1( - int i, - int i1, - int i2, - ) { - _overridePendingTransition$1(reference.pointer, - _id_overridePendingTransition$1 as jni$_.JMethodIDPtr, i, i1, i2) - .check(); + void overridePendingTransition$1(int i, int i1, int i2) { + _overridePendingTransition$1( + reference.pointer, + _id_overridePendingTransition$1 as jni$_.JMethodIDPtr, + i, + i1, + i2, + ).check(); } - static final _id_setResult = _class.instanceMethodId( - r'setResult', - r'(I)V', - ); + static final _id_setResult = _class.instanceMethodId(r'setResult', r'(I)V'); - static final _setResult = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setResult = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void setResult(int i)` - void setResult( - int i, - ) { - _setResult(reference.pointer, _id_setResult as jni$_.JMethodIDPtr, i) - .check(); + void setResult(int i) { + _setResult( + reference.pointer, + _id_setResult as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_setResult$1 = _class.instanceMethodId( @@ -21886,27 +25062,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/content/Intent;)V', ); - static final _setResult$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _setResult$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public final void setResult(int i, android.content.Intent intent)` - void setResult$1( - int i, - Intent? intent, - ) { + void setResult$1(int i, Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _setResult$1(reference.pointer, _id_setResult$1 as jni$_.JMethodIDPtr, i, - _$intent.pointer) - .check(); + _setResult$1( + reference.pointer, + _id_setResult$1 as jni$_.JMethodIDPtr, + i, + _$intent.pointer, + ).check(); } static final _id_getReferrer = _class.instanceMethodId( @@ -21914,24 +25097,29 @@ class Activity extends jni$_.JObject { r'()Landroid/net/Uri;', ); - static final _getReferrer = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getReferrer = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.net.Uri getReferrer()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getReferrer() { return _getReferrer( - reference.pointer, _id_getReferrer as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getReferrer as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_onProvideReferrer = _class.instanceMethodId( @@ -21939,24 +25127,29 @@ class Activity extends jni$_.JObject { r'()Landroid/net/Uri;', ); - static final _onProvideReferrer = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onProvideReferrer = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.net.Uri onProvideReferrer()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? onProvideReferrer() { return _onProvideReferrer( - reference.pointer, _id_onProvideReferrer as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_onProvideReferrer as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getCallingPackage = _class.instanceMethodId( @@ -21964,24 +25157,29 @@ class Activity extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getCallingPackage = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getCallingPackage = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getCallingPackage()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getCallingPackage() { return _getCallingPackage( - reference.pointer, _id_getCallingPackage as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getCallingPackage as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getCallingActivity = _class.instanceMethodId( @@ -21989,48 +25187,58 @@ class Activity extends jni$_.JObject { r'()Landroid/content/ComponentName;', ); - static final _getCallingActivity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getCallingActivity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.ComponentName getCallingActivity()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getCallingActivity() { return _getCallingActivity( - reference.pointer, _id_getCallingActivity as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getCallingActivity as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } - static final _id_setVisible = _class.instanceMethodId( - r'setVisible', - r'(Z)V', - ); + static final _id_setVisible = _class.instanceMethodId(r'setVisible', r'(Z)V'); - static final _setVisible = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setVisible = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setVisible(boolean z)` - void setVisible( - bool z, - ) { + void setVisible(bool z) { _setVisible( - reference.pointer, _id_setVisible as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + reference.pointer, + _id_setVisible as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_isFinishing = _class.instanceMethodId( @@ -22038,23 +25246,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isFinishing = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isFinishing = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isFinishing()` bool isFinishing() { return _isFinishing( - reference.pointer, _id_isFinishing as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isFinishing as jni$_.JMethodIDPtr, + ).boolean; } static final _id_isDestroyed = _class.instanceMethodId( @@ -22062,23 +25275,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isDestroyed = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isDestroyed = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isDestroyed()` bool isDestroyed() { return _isDestroyed( - reference.pointer, _id_isDestroyed as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isDestroyed as jni$_.JMethodIDPtr, + ).boolean; } static final _id_isChangingConfigurations = _class.instanceMethodId( @@ -22086,63 +25304,70 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isChangingConfigurations = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isChangingConfigurations = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isChangingConfigurations()` bool isChangingConfigurations() { - return _isChangingConfigurations(reference.pointer, - _id_isChangingConfigurations as jni$_.JMethodIDPtr) - .boolean; + return _isChangingConfigurations( + reference.pointer, + _id_isChangingConfigurations as jni$_.JMethodIDPtr, + ).boolean; } - static final _id_recreate = _class.instanceMethodId( - r'recreate', - r'()V', - ); + static final _id_recreate = _class.instanceMethodId(r'recreate', r'()V'); - static final _recreate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _recreate = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void recreate()` void recreate() { _recreate(reference.pointer, _id_recreate as jni$_.JMethodIDPtr).check(); } - static final _id_finish = _class.instanceMethodId( - r'finish', - r'()V', - ); + static final _id_finish = _class.instanceMethodId(r'finish', r'()V'); - static final _finish = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _finish = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void finish()` void finish() { @@ -22154,22 +25379,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _finishAffinity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _finishAffinity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void finishAffinity()` void finishAffinity() { - _finishAffinity(reference.pointer, _id_finishAffinity as jni$_.JMethodIDPtr) - .check(); + _finishAffinity( + reference.pointer, + _id_finishAffinity as jni$_.JMethodIDPtr, + ).check(); } static final _id_finishFromChild = _class.instanceMethodId( @@ -22177,25 +25408,32 @@ class Activity extends jni$_.JObject { r'(Landroid/app/Activity;)V', ); - static final _finishFromChild = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _finishFromChild = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void finishFromChild(android.app.Activity activity)` - void finishFromChild( - Activity? activity, - ) { + void finishFromChild(Activity? activity) { final _$activity = activity?.reference ?? jni$_.jNullReference; - _finishFromChild(reference.pointer, - _id_finishFromChild as jni$_.JMethodIDPtr, _$activity.pointer) - .check(); + _finishFromChild( + reference.pointer, + _id_finishFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + ).check(); } static final _id_finishAfterTransition = _class.instanceMethodId( @@ -22203,23 +25441,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _finishAfterTransition = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _finishAfterTransition = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void finishAfterTransition()` void finishAfterTransition() { _finishAfterTransition( - reference.pointer, _id_finishAfterTransition as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_finishAfterTransition as jni$_.JMethodIDPtr, + ).check(); } static final _id_finishActivity = _class.instanceMethodId( @@ -22227,23 +25470,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _finishActivity = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _finishActivity = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void finishActivity(int i)` - void finishActivity( - int i, - ) { + void finishActivity(int i) { _finishActivity( - reference.pointer, _id_finishActivity as jni$_.JMethodIDPtr, i) - .check(); + reference.pointer, + _id_finishActivity as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_finishActivityFromChild = _class.instanceMethodId( @@ -22251,30 +25502,34 @@ class Activity extends jni$_.JObject { r'(Landroid/app/Activity;I)V', ); - static final _finishActivityFromChild = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _finishActivityFromChild = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public void finishActivityFromChild(android.app.Activity activity, int i)` - void finishActivityFromChild( - Activity? activity, - int i, - ) { + void finishActivityFromChild(Activity? activity, int i) { final _$activity = activity?.reference ?? jni$_.jNullReference; _finishActivityFromChild( - reference.pointer, - _id_finishActivityFromChild as jni$_.JMethodIDPtr, - _$activity.pointer, - i) - .check(); + reference.pointer, + _id_finishActivityFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + i, + ).check(); } static final _id_finishAndRemoveTask = _class.instanceMethodId( @@ -22282,23 +25537,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _finishAndRemoveTask = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _finishAndRemoveTask = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void finishAndRemoveTask()` void finishAndRemoveTask() { _finishAndRemoveTask( - reference.pointer, _id_finishAndRemoveTask as jni$_.JMethodIDPtr) - .check(); + reference.pointer, + _id_finishAndRemoveTask as jni$_.JMethodIDPtr, + ).check(); } static final _id_releaseInstance = _class.instanceMethodId( @@ -22306,23 +25566,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _releaseInstance = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _releaseInstance = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean releaseInstance()` bool releaseInstance() { return _releaseInstance( - reference.pointer, _id_releaseInstance as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_releaseInstance as jni$_.JMethodIDPtr, + ).boolean; } static final _id_onActivityReenter = _class.instanceMethodId( @@ -22330,27 +25595,34 @@ class Activity extends jni$_.JObject { r'(ILandroid/content/Intent;)V', ); - static final _onActivityReenter = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _onActivityReenter = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public void onActivityReenter(int i, android.content.Intent intent)` - void onActivityReenter( - int i, - Intent? intent, - ) { + void onActivityReenter(int i, Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - _onActivityReenter(reference.pointer, - _id_onActivityReenter as jni$_.JMethodIDPtr, i, _$intent.pointer) - .check(); + _onActivityReenter( + reference.pointer, + _id_onActivityReenter as jni$_.JMethodIDPtr, + i, + _$intent.pointer, + ).check(); } static final _id_createPendingResult = _class.instanceMethodId( @@ -22358,36 +25630,39 @@ class Activity extends jni$_.JObject { r'(ILandroid/content/Intent;I)Landroid/app/PendingIntent;', ); - static final _createPendingResult = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _createPendingResult = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Int32, jni$_.Pointer, jni$_.Int32) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.app.PendingIntent createPendingResult(int i, android.content.Intent intent, int i1)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? createPendingResult( - int i, - Intent? intent, - int i1, - ) { + jni$_.JObject? createPendingResult(int i, Intent? intent, int i1) { final _$intent = intent?.reference ?? jni$_.jNullReference; return _createPendingResult( - reference.pointer, - _id_createPendingResult as jni$_.JMethodIDPtr, - i, - _$intent.pointer, - i1) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_createPendingResult as jni$_.JMethodIDPtr, + i, + _$intent.pointer, + i1, + ).object(const jni$_.JObjectNullableType()); } static final _id_setRequestedOrientation = _class.instanceMethodId( @@ -22395,23 +25670,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _setRequestedOrientation = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setRequestedOrientation = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setRequestedOrientation(int i)` - void setRequestedOrientation( - int i, - ) { - _setRequestedOrientation(reference.pointer, - _id_setRequestedOrientation as jni$_.JMethodIDPtr, i) - .check(); + void setRequestedOrientation(int i) { + _setRequestedOrientation( + reference.pointer, + _id_setRequestedOrientation as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_getRequestedOrientation = _class.instanceMethodId( @@ -22419,69 +25702,80 @@ class Activity extends jni$_.JObject { r'()I', ); - static final _getRequestedOrientation = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getRequestedOrientation = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int getRequestedOrientation()` int getRequestedOrientation() { - return _getRequestedOrientation(reference.pointer, - _id_getRequestedOrientation as jni$_.JMethodIDPtr) - .integer; + return _getRequestedOrientation( + reference.pointer, + _id_getRequestedOrientation as jni$_.JMethodIDPtr, + ).integer; } - static final _id_getTaskId = _class.instanceMethodId( - r'getTaskId', - r'()I', - ); + static final _id_getTaskId = _class.instanceMethodId(r'getTaskId', r'()I'); - static final _getTaskId = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getTaskId = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int getTaskId()` int getTaskId() { - return _getTaskId(reference.pointer, _id_getTaskId as jni$_.JMethodIDPtr) - .integer; + return _getTaskId( + reference.pointer, + _id_getTaskId as jni$_.JMethodIDPtr, + ).integer; } - static final _id_isTaskRoot = _class.instanceMethodId( - r'isTaskRoot', - r'()Z', - ); + static final _id_isTaskRoot = _class.instanceMethodId(r'isTaskRoot', r'()Z'); - static final _isTaskRoot = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isTaskRoot = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isTaskRoot()` bool isTaskRoot() { - return _isTaskRoot(reference.pointer, _id_isTaskRoot as jni$_.JMethodIDPtr) - .boolean; + return _isTaskRoot( + reference.pointer, + _id_isTaskRoot as jni$_.JMethodIDPtr, + ).boolean; } static final _id_moveTaskToBack = _class.instanceMethodId( @@ -22489,24 +25783,31 @@ class Activity extends jni$_.JObject { r'(Z)Z', ); - static final _moveTaskToBack = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _moveTaskToBack = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public boolean moveTaskToBack(boolean z)` - bool moveTaskToBack( - bool z, - ) { - return _moveTaskToBack(reference.pointer, - _id_moveTaskToBack as jni$_.JMethodIDPtr, z ? 1 : 0) - .boolean; + bool moveTaskToBack(bool z) { + return _moveTaskToBack( + reference.pointer, + _id_moveTaskToBack as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).boolean; } static final _id_getLocalClassName = _class.instanceMethodId( @@ -22514,24 +25815,29 @@ class Activity extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getLocalClassName = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getLocalClassName = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String getLocalClassName()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? getLocalClassName() { return _getLocalClassName( - reference.pointer, _id_getLocalClassName as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + reference.pointer, + _id_getLocalClassName as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } static final _id_getComponentName = _class.instanceMethodId( @@ -22539,24 +25845,29 @@ class Activity extends jni$_.JObject { r'()Landroid/content/ComponentName;', ); - static final _getComponentName = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getComponentName = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.ComponentName getComponentName()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getComponentName() { return _getComponentName( - reference.pointer, _id_getComponentName as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getComponentName as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getPreferences = _class.instanceMethodId( @@ -22564,24 +25875,32 @@ class Activity extends jni$_.JObject { r'(I)Landroid/content/SharedPreferences;', ); - static final _getPreferences = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getPreferences = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public android.content.SharedPreferences getPreferences(int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getPreferences( - int i, - ) { + jni$_.JObject? getPreferences(int i) { return _getPreferences( - reference.pointer, _id_getPreferences as jni$_.JMethodIDPtr, i) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getPreferences as jni$_.JMethodIDPtr, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_isLaunchedFromBubble = _class.instanceMethodId( @@ -22589,23 +25908,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isLaunchedFromBubble = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isLaunchedFromBubble = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isLaunchedFromBubble()` bool isLaunchedFromBubble() { return _isLaunchedFromBubble( - reference.pointer, _id_isLaunchedFromBubble as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isLaunchedFromBubble as jni$_.JMethodIDPtr, + ).boolean; } static final _id_getSystemService = _class.instanceMethodId( @@ -22613,26 +25937,33 @@ class Activity extends jni$_.JObject { r'(Ljava/lang/String;)Ljava/lang/Object;', ); - static final _getSystemService = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getSystemService = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.lang.Object getSystemService(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? getSystemService( - jni$_.JString? string, - ) { + jni$_.JObject? getSystemService(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _getSystemService(reference.pointer, - _id_getSystemService as jni$_.JMethodIDPtr, _$string.pointer) - .object(const jni$_.JObjectNullableType()); + return _getSystemService( + reference.pointer, + _id_getSystemService as jni$_.JMethodIDPtr, + _$string.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_setTitle = _class.instanceMethodId( @@ -22640,48 +25971,61 @@ class Activity extends jni$_.JObject { r'(Ljava/lang/CharSequence;)V', ); - static final _setTitle = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setTitle = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setTitle(java.lang.CharSequence charSequence)` - void setTitle( - jni$_.JObject? charSequence, - ) { + void setTitle(jni$_.JObject? charSequence) { final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; - _setTitle(reference.pointer, _id_setTitle as jni$_.JMethodIDPtr, - _$charSequence.pointer) - .check(); + _setTitle( + reference.pointer, + _id_setTitle as jni$_.JMethodIDPtr, + _$charSequence.pointer, + ).check(); } - static final _id_setTitle$1 = _class.instanceMethodId( - r'setTitle', - r'(I)V', - ); + static final _id_setTitle$1 = _class.instanceMethodId(r'setTitle', r'(I)V'); - static final _setTitle$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setTitle$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setTitle(int i)` - void setTitle$1( - int i, - ) { - _setTitle$1(reference.pointer, _id_setTitle$1 as jni$_.JMethodIDPtr, i) - .check(); + void setTitle$1(int i) { + _setTitle$1( + reference.pointer, + _id_setTitle$1 as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_setTitleColor = _class.instanceMethodId( @@ -22689,23 +26033,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _setTitleColor = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setTitleColor = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setTitleColor(int i)` - void setTitleColor( - int i, - ) { + void setTitleColor(int i) { _setTitleColor( - reference.pointer, _id_setTitleColor as jni$_.JMethodIDPtr, i) - .check(); + reference.pointer, + _id_setTitleColor as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_getTitle = _class.instanceMethodId( @@ -22713,23 +26065,29 @@ class Activity extends jni$_.JObject { r'()Ljava/lang/CharSequence;', ); - static final _getTitle = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getTitle = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final java.lang.CharSequence getTitle()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getTitle() { - return _getTitle(reference.pointer, _id_getTitle as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getTitle( + reference.pointer, + _id_getTitle as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_getTitleColor = _class.instanceMethodId( @@ -22737,23 +26095,28 @@ class Activity extends jni$_.JObject { r'()I', ); - static final _getTitleColor = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getTitleColor = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final int getTitleColor()` int getTitleColor() { return _getTitleColor( - reference.pointer, _id_getTitleColor as jni$_.JMethodIDPtr) - .integer; + reference.pointer, + _id_getTitleColor as jni$_.JMethodIDPtr, + ).integer; } static final _id_setTaskDescription = _class.instanceMethodId( @@ -22761,28 +26124,33 @@ class Activity extends jni$_.JObject { r'(Landroid/app/ActivityManager$TaskDescription;)V', ); - static final _setTaskDescription = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setTaskDescription = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setTaskDescription(android.app.ActivityManager$TaskDescription taskDescription)` - void setTaskDescription( - jni$_.JObject? taskDescription, - ) { + void setTaskDescription(jni$_.JObject? taskDescription) { final _$taskDescription = taskDescription?.reference ?? jni$_.jNullReference; _setTaskDescription( - reference.pointer, - _id_setTaskDescription as jni$_.JMethodIDPtr, - _$taskDescription.pointer) - .check(); + reference.pointer, + _id_setTaskDescription as jni$_.JMethodIDPtr, + _$taskDescription.pointer, + ).check(); } static final _id_setProgressBarVisibility = _class.instanceMethodId( @@ -22790,50 +26158,61 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _setProgressBarVisibility = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setProgressBarVisibility = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void setProgressBarVisibility(boolean z)` - void setProgressBarVisibility( - bool z, - ) { - _setProgressBarVisibility(reference.pointer, - _id_setProgressBarVisibility as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void setProgressBarVisibility(bool z) { + _setProgressBarVisibility( + reference.pointer, + _id_setProgressBarVisibility as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } - static final _id_setProgressBarIndeterminateVisibility = - _class.instanceMethodId( - r'setProgressBarIndeterminateVisibility', - r'(Z)V', - ); + static final _id_setProgressBarIndeterminateVisibility = _class + .instanceMethodId(r'setProgressBarIndeterminateVisibility', r'(Z)V'); static final _setProgressBarIndeterminateVisibility = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void setProgressBarIndeterminateVisibility(boolean z)` - void setProgressBarIndeterminateVisibility( - bool z, - ) { + void setProgressBarIndeterminateVisibility(bool z) { _setProgressBarIndeterminateVisibility( - reference.pointer, - _id_setProgressBarIndeterminateVisibility as jni$_.JMethodIDPtr, - z ? 1 : 0) - .check(); + reference.pointer, + _id_setProgressBarIndeterminateVisibility as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_setProgressBarIndeterminate = _class.instanceMethodId( @@ -22843,21 +26222,29 @@ class Activity extends jni$_.JObject { static final _setProgressBarIndeterminate = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void setProgressBarIndeterminate(boolean z)` - void setProgressBarIndeterminate( - bool z, - ) { - _setProgressBarIndeterminate(reference.pointer, - _id_setProgressBarIndeterminate as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void setProgressBarIndeterminate(bool z) { + _setProgressBarIndeterminate( + reference.pointer, + _id_setProgressBarIndeterminate as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_setProgress = _class.instanceMethodId( @@ -22865,22 +26252,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _setProgress = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setProgress = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void setProgress(int i)` - void setProgress( - int i, - ) { - _setProgress(reference.pointer, _id_setProgress as jni$_.JMethodIDPtr, i) - .check(); + void setProgress(int i) { + _setProgress( + reference.pointer, + _id_setProgress as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_setSecondaryProgress = _class.instanceMethodId( @@ -22888,23 +26284,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _setSecondaryProgress = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setSecondaryProgress = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void setSecondaryProgress(int i)` - void setSecondaryProgress( - int i, - ) { - _setSecondaryProgress(reference.pointer, - _id_setSecondaryProgress as jni$_.JMethodIDPtr, i) - .check(); + void setSecondaryProgress(int i) { + _setSecondaryProgress( + reference.pointer, + _id_setSecondaryProgress as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_setVolumeControlStream = _class.instanceMethodId( @@ -22912,23 +26316,31 @@ class Activity extends jni$_.JObject { r'(I)V', ); - static final _setVolumeControlStream = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setVolumeControlStream = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public final void setVolumeControlStream(int i)` - void setVolumeControlStream( - int i, - ) { - _setVolumeControlStream(reference.pointer, - _id_setVolumeControlStream as jni$_.JMethodIDPtr, i) - .check(); + void setVolumeControlStream(int i) { + _setVolumeControlStream( + reference.pointer, + _id_setVolumeControlStream as jni$_.JMethodIDPtr, + i, + ).check(); } static final _id_getVolumeControlStream = _class.instanceMethodId( @@ -22936,23 +26348,28 @@ class Activity extends jni$_.JObject { r'()I', ); - static final _getVolumeControlStream = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getVolumeControlStream = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final int getVolumeControlStream()` int getVolumeControlStream() { return _getVolumeControlStream( - reference.pointer, _id_getVolumeControlStream as jni$_.JMethodIDPtr) - .integer; + reference.pointer, + _id_getVolumeControlStream as jni$_.JMethodIDPtr, + ).integer; } static final _id_setMediaController = _class.instanceMethodId( @@ -22960,28 +26377,33 @@ class Activity extends jni$_.JObject { r'(Landroid/media/session/MediaController;)V', ); - static final _setMediaController = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _setMediaController = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final void setMediaController(android.media.session.MediaController mediaController)` - void setMediaController( - jni$_.JObject? mediaController, - ) { + void setMediaController(jni$_.JObject? mediaController) { final _$mediaController = mediaController?.reference ?? jni$_.jNullReference; _setMediaController( - reference.pointer, - _id_setMediaController as jni$_.JMethodIDPtr, - _$mediaController.pointer) - .check(); + reference.pointer, + _id_setMediaController as jni$_.JMethodIDPtr, + _$mediaController.pointer, + ).check(); } static final _id_getMediaController = _class.instanceMethodId( @@ -22989,24 +26411,29 @@ class Activity extends jni$_.JObject { r'()Landroid/media/session/MediaController;', ); - static final _getMediaController = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getMediaController = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final android.media.session.MediaController getMediaController()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getMediaController() { return _getMediaController( - reference.pointer, _id_getMediaController as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_getMediaController as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } static final _id_runOnUiThread = _class.instanceMethodId( @@ -23014,25 +26441,32 @@ class Activity extends jni$_.JObject { r'(Ljava/lang/Runnable;)V', ); - static final _runOnUiThread = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _runOnUiThread = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final void runOnUiThread(java.lang.Runnable runnable)` - void runOnUiThread( - jni$_.JObject? runnable, - ) { + void runOnUiThread(jni$_.JObject? runnable) { final _$runnable = runnable?.reference ?? jni$_.jNullReference; - _runOnUiThread(reference.pointer, _id_runOnUiThread as jni$_.JMethodIDPtr, - _$runnable.pointer) - .check(); + _runOnUiThread( + reference.pointer, + _id_runOnUiThread as jni$_.JMethodIDPtr, + _$runnable.pointer, + ).check(); } static final _id_onCreateView = _class.instanceMethodId( @@ -23040,24 +26474,31 @@ class Activity extends jni$_.JObject { r'(Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;', ); - static final _onCreateView = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onCreateView = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.view.View onCreateView(java.lang.String string, android.content.Context context, android.util.AttributeSet attributeSet)` /// The returned object must be released after use, by calling the [release] method. @@ -23070,12 +26511,12 @@ class Activity extends jni$_.JObject { final _$context = context?.reference ?? jni$_.jNullReference; final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; return _onCreateView( - reference.pointer, - _id_onCreateView as jni$_.JMethodIDPtr, - _$string.pointer, - _$context.pointer, - _$attributeSet.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_onCreateView as jni$_.JMethodIDPtr, + _$string.pointer, + _$context.pointer, + _$attributeSet.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_onCreateView$1 = _class.instanceMethodId( @@ -23083,26 +26524,33 @@ class Activity extends jni$_.JObject { r'(Landroid/view/View;Ljava/lang/String;Landroid/content/Context;Landroid/util/AttributeSet;)Landroid/view/View;', ); - static final _onCreateView$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onCreateView$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public android.view.View onCreateView(android.view.View view, java.lang.String string, android.content.Context context, android.util.AttributeSet attributeSet)` /// The returned object must be released after use, by calling the [release] method. @@ -23117,13 +26565,13 @@ class Activity extends jni$_.JObject { final _$context = context?.reference ?? jni$_.jNullReference; final _$attributeSet = attributeSet?.reference ?? jni$_.jNullReference; return _onCreateView$1( - reference.pointer, - _id_onCreateView$1 as jni$_.JMethodIDPtr, - _$view.pointer, - _$string.pointer, - _$context.pointer, - _$attributeSet.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_onCreateView$1 as jni$_.JMethodIDPtr, + _$view.pointer, + _$string.pointer, + _$context.pointer, + _$attributeSet.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_dump = _class.instanceMethodId( @@ -23131,26 +26579,33 @@ class Activity extends jni$_.JObject { r'(Ljava/lang/String;Ljava/io/FileDescriptor;Ljava/io/PrintWriter;[Ljava/lang/String;)V', ); - static final _dump = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _dump = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void dump(java.lang.String string, java.io.FileDescriptor fileDescriptor, java.io.PrintWriter printWriter, java.lang.String[] strings)` void dump( @@ -23163,9 +26618,14 @@ class Activity extends jni$_.JObject { final _$fileDescriptor = fileDescriptor?.reference ?? jni$_.jNullReference; final _$printWriter = printWriter?.reference ?? jni$_.jNullReference; final _$strings = strings?.reference ?? jni$_.jNullReference; - _dump(reference.pointer, _id_dump as jni$_.JMethodIDPtr, _$string.pointer, - _$fileDescriptor.pointer, _$printWriter.pointer, _$strings.pointer) - .check(); + _dump( + reference.pointer, + _id_dump as jni$_.JMethodIDPtr, + _$string.pointer, + _$fileDescriptor.pointer, + _$printWriter.pointer, + _$strings.pointer, + ).check(); } static final _id_isImmersive = _class.instanceMethodId( @@ -23173,23 +26633,28 @@ class Activity extends jni$_.JObject { r'()Z', ); - static final _isImmersive = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _isImmersive = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public boolean isImmersive()` bool isImmersive() { return _isImmersive( - reference.pointer, _id_isImmersive as jni$_.JMethodIDPtr) - .boolean; + reference.pointer, + _id_isImmersive as jni$_.JMethodIDPtr, + ).boolean; } static final _id_setTranslucent = _class.instanceMethodId( @@ -23197,24 +26662,31 @@ class Activity extends jni$_.JObject { r'(Z)Z', ); - static final _setTranslucent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setTranslucent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public boolean setTranslucent(boolean z)` - bool setTranslucent( - bool z, - ) { - return _setTranslucent(reference.pointer, - _id_setTranslucent as jni$_.JMethodIDPtr, z ? 1 : 0) - .boolean; + bool setTranslucent(bool z) { + return _setTranslucent( + reference.pointer, + _id_setTranslucent as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).boolean; } static final _id_requestVisibleBehind = _class.instanceMethodId( @@ -23222,24 +26694,31 @@ class Activity extends jni$_.JObject { r'(Z)Z', ); - static final _requestVisibleBehind = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _requestVisibleBehind = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public boolean requestVisibleBehind(boolean z)` - bool requestVisibleBehind( - bool z, - ) { - return _requestVisibleBehind(reference.pointer, - _id_requestVisibleBehind as jni$_.JMethodIDPtr, z ? 1 : 0) - .boolean; + bool requestVisibleBehind(bool z) { + return _requestVisibleBehind( + reference.pointer, + _id_requestVisibleBehind as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).boolean; } static final _id_onVisibleBehindCanceled = _class.instanceMethodId( @@ -23247,23 +26726,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onVisibleBehindCanceled = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onVisibleBehindCanceled = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onVisibleBehindCanceled()` void onVisibleBehindCanceled() { - _onVisibleBehindCanceled(reference.pointer, - _id_onVisibleBehindCanceled as jni$_.JMethodIDPtr) - .check(); + _onVisibleBehindCanceled( + reference.pointer, + _id_onVisibleBehindCanceled as jni$_.JMethodIDPtr, + ).check(); } static final _id_onEnterAnimationComplete = _class.instanceMethodId( @@ -23271,23 +26755,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _onEnterAnimationComplete = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _onEnterAnimationComplete = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void onEnterAnimationComplete()` void onEnterAnimationComplete() { - _onEnterAnimationComplete(reference.pointer, - _id_onEnterAnimationComplete as jni$_.JMethodIDPtr) - .check(); + _onEnterAnimationComplete( + reference.pointer, + _id_onEnterAnimationComplete as jni$_.JMethodIDPtr, + ).check(); } static final _id_setImmersive = _class.instanceMethodId( @@ -23295,23 +26784,31 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _setImmersive = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setImmersive = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setImmersive(boolean z)` - void setImmersive( - bool z, - ) { - _setImmersive(reference.pointer, _id_setImmersive as jni$_.JMethodIDPtr, - z ? 1 : 0) - .check(); + void setImmersive(bool z) { + _setImmersive( + reference.pointer, + _id_setImmersive as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_setVrModeEnabled = _class.instanceMethodId( @@ -23319,30 +26816,34 @@ class Activity extends jni$_.JObject { r'(ZLandroid/content/ComponentName;)V', ); - static final _setVrModeEnabled = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int32, jni$_.Pointer)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _setVrModeEnabled = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32, jni$_.Pointer)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public void setVrModeEnabled(boolean z, android.content.ComponentName componentName)` - void setVrModeEnabled( - bool z, - jni$_.JObject? componentName, - ) { + void setVrModeEnabled(bool z, jni$_.JObject? componentName) { final _$componentName = componentName?.reference ?? jni$_.jNullReference; _setVrModeEnabled( - reference.pointer, - _id_setVrModeEnabled as jni$_.JMethodIDPtr, - z ? 1 : 0, - _$componentName.pointer) - .check(); + reference.pointer, + _id_setVrModeEnabled as jni$_.JMethodIDPtr, + z ? 1 : 0, + _$componentName.pointer, + ).check(); } static final _id_startActionMode = _class.instanceMethodId( @@ -23350,26 +26851,33 @@ class Activity extends jni$_.JObject { r'(Landroid/view/ActionMode$Callback;)Landroid/view/ActionMode;', ); - static final _startActionMode = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _startActionMode = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.view.ActionMode startActionMode(android.view.ActionMode$Callback callback)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? startActionMode( - jni$_.JObject? callback, - ) { + jni$_.JObject? startActionMode(jni$_.JObject? callback) { final _$callback = callback?.reference ?? jni$_.jNullReference; - return _startActionMode(reference.pointer, - _id_startActionMode as jni$_.JMethodIDPtr, _$callback.pointer) - .object(const jni$_.JObjectNullableType()); + return _startActionMode( + reference.pointer, + _id_startActionMode as jni$_.JMethodIDPtr, + _$callback.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_startActionMode$1 = _class.instanceMethodId( @@ -23377,28 +26885,35 @@ class Activity extends jni$_.JObject { r'(Landroid/view/ActionMode$Callback;I)Landroid/view/ActionMode;', ); - static final _startActionMode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int32)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _startActionMode$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.view.ActionMode startActionMode(android.view.ActionMode$Callback callback, int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? startActionMode$1( - jni$_.JObject? callback, - int i, - ) { + jni$_.JObject? startActionMode$1(jni$_.JObject? callback, int i) { final _$callback = callback?.reference ?? jni$_.jNullReference; - return _startActionMode$1(reference.pointer, - _id_startActionMode$1 as jni$_.JMethodIDPtr, _$callback.pointer, i) - .object(const jni$_.JObjectNullableType()); + return _startActionMode$1( + reference.pointer, + _id_startActionMode$1 as jni$_.JMethodIDPtr, + _$callback.pointer, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_onWindowStartingActionMode = _class.instanceMethodId( @@ -23408,27 +26923,31 @@ class Activity extends jni$_.JObject { static final _onWindowStartingActionMode = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode$Callback callback)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? onWindowStartingActionMode( - jni$_.JObject? callback, - ) { + jni$_.JObject? onWindowStartingActionMode(jni$_.JObject? callback) { final _$callback = callback?.reference ?? jni$_.jNullReference; return _onWindowStartingActionMode( - reference.pointer, - _id_onWindowStartingActionMode as jni$_.JMethodIDPtr, - _$callback.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_onWindowStartingActionMode as jni$_.JMethodIDPtr, + _$callback.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_onWindowStartingActionMode$1 = _class.instanceMethodId( @@ -23438,32 +26957,33 @@ class Activity extends jni$_.JObject { static final _onWindowStartingActionMode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Int32 - )>)>>('globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int32)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public android.view.ActionMode onWindowStartingActionMode(android.view.ActionMode$Callback callback, int i)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? onWindowStartingActionMode$1( - jni$_.JObject? callback, - int i, - ) { + jni$_.JObject? onWindowStartingActionMode$1(jni$_.JObject? callback, int i) { final _$callback = callback?.reference ?? jni$_.jNullReference; return _onWindowStartingActionMode$1( - reference.pointer, - _id_onWindowStartingActionMode$1 as jni$_.JMethodIDPtr, - _$callback.pointer, - i) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_onWindowStartingActionMode$1 as jni$_.JMethodIDPtr, + _$callback.pointer, + i, + ).object(const jni$_.JObjectNullableType()); } static final _id_onActionModeStarted = _class.instanceMethodId( @@ -23471,25 +26991,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/ActionMode;)V', ); - static final _onActionModeStarted = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onActionModeStarted = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onActionModeStarted(android.view.ActionMode actionMode)` - void onActionModeStarted( - jni$_.JObject? actionMode, - ) { + void onActionModeStarted(jni$_.JObject? actionMode) { final _$actionMode = actionMode?.reference ?? jni$_.jNullReference; - _onActionModeStarted(reference.pointer, - _id_onActionModeStarted as jni$_.JMethodIDPtr, _$actionMode.pointer) - .check(); + _onActionModeStarted( + reference.pointer, + _id_onActionModeStarted as jni$_.JMethodIDPtr, + _$actionMode.pointer, + ).check(); } static final _id_onActionModeFinished = _class.instanceMethodId( @@ -23497,27 +27024,32 @@ class Activity extends jni$_.JObject { r'(Landroid/view/ActionMode;)V', ); - static final _onActionModeFinished = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _onActionModeFinished = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void onActionModeFinished(android.view.ActionMode actionMode)` - void onActionModeFinished( - jni$_.JObject? actionMode, - ) { + void onActionModeFinished(jni$_.JObject? actionMode) { final _$actionMode = actionMode?.reference ?? jni$_.jNullReference; _onActionModeFinished( - reference.pointer, - _id_onActionModeFinished as jni$_.JMethodIDPtr, - _$actionMode.pointer) - .check(); + reference.pointer, + _id_onActionModeFinished as jni$_.JMethodIDPtr, + _$actionMode.pointer, + ).check(); } static final _id_shouldUpRecreateTask = _class.instanceMethodId( @@ -23525,25 +27057,32 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;)Z', ); - static final _shouldUpRecreateTask = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _shouldUpRecreateTask = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean shouldUpRecreateTask(android.content.Intent intent)` - bool shouldUpRecreateTask( - Intent? intent, - ) { + bool shouldUpRecreateTask(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _shouldUpRecreateTask(reference.pointer, - _id_shouldUpRecreateTask as jni$_.JMethodIDPtr, _$intent.pointer) - .boolean; + return _shouldUpRecreateTask( + reference.pointer, + _id_shouldUpRecreateTask as jni$_.JMethodIDPtr, + _$intent.pointer, + ).boolean; } static final _id_navigateUpTo = _class.instanceMethodId( @@ -23551,25 +27090,32 @@ class Activity extends jni$_.JObject { r'(Landroid/content/Intent;)Z', ); - static final _navigateUpTo = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _navigateUpTo = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean navigateUpTo(android.content.Intent intent)` - bool navigateUpTo( - Intent? intent, - ) { + bool navigateUpTo(Intent? intent) { final _$intent = intent?.reference ?? jni$_.jNullReference; - return _navigateUpTo(reference.pointer, - _id_navigateUpTo as jni$_.JMethodIDPtr, _$intent.pointer) - .boolean; + return _navigateUpTo( + reference.pointer, + _id_navigateUpTo as jni$_.JMethodIDPtr, + _$intent.pointer, + ).boolean; } static final _id_navigateUpToFromChild = _class.instanceMethodId( @@ -23577,36 +27123,37 @@ class Activity extends jni$_.JObject { r'(Landroid/app/Activity;Landroid/content/Intent;)Z', ); - static final _navigateUpToFromChild = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _navigateUpToFromChild = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public boolean navigateUpToFromChild(android.app.Activity activity, android.content.Intent intent)` - bool navigateUpToFromChild( - Activity? activity, - Intent? intent, - ) { + bool navigateUpToFromChild(Activity? activity, Intent? intent) { final _$activity = activity?.reference ?? jni$_.jNullReference; final _$intent = intent?.reference ?? jni$_.jNullReference; return _navigateUpToFromChild( - reference.pointer, - _id_navigateUpToFromChild as jni$_.JMethodIDPtr, - _$activity.pointer, - _$intent.pointer) - .boolean; + reference.pointer, + _id_navigateUpToFromChild as jni$_.JMethodIDPtr, + _$activity.pointer, + _$intent.pointer, + ).boolean; } static final _id_getParentActivityIntent = _class.instanceMethodId( @@ -23614,24 +27161,29 @@ class Activity extends jni$_.JObject { r'()Landroid/content/Intent;', ); - static final _getParentActivityIntent = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getParentActivityIntent = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.content.Intent getParentActivityIntent()` /// The returned object must be released after use, by calling the [release] method. Intent? getParentActivityIntent() { - return _getParentActivityIntent(reference.pointer, - _id_getParentActivityIntent as jni$_.JMethodIDPtr) - .object(const $Intent$NullableType()); + return _getParentActivityIntent( + reference.pointer, + _id_getParentActivityIntent as jni$_.JMethodIDPtr, + ).object(const $Intent$NullableType()); } static final _id_setEnterSharedElementCallback = _class.instanceMethodId( @@ -23641,27 +27193,31 @@ class Activity extends jni$_.JObject { static final _setEnterSharedElementCallback = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setEnterSharedElementCallback(android.app.SharedElementCallback sharedElementCallback)` - void setEnterSharedElementCallback( - jni$_.JObject? sharedElementCallback, - ) { + void setEnterSharedElementCallback(jni$_.JObject? sharedElementCallback) { final _$sharedElementCallback = sharedElementCallback?.reference ?? jni$_.jNullReference; _setEnterSharedElementCallback( - reference.pointer, - _id_setEnterSharedElementCallback as jni$_.JMethodIDPtr, - _$sharedElementCallback.pointer) - .check(); + reference.pointer, + _id_setEnterSharedElementCallback as jni$_.JMethodIDPtr, + _$sharedElementCallback.pointer, + ).check(); } static final _id_setExitSharedElementCallback = _class.instanceMethodId( @@ -23671,27 +27227,31 @@ class Activity extends jni$_.JObject { static final _setExitSharedElementCallback = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallVoidMethod') + jni$_.NativeFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallVoidMethod') .asFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public void setExitSharedElementCallback(android.app.SharedElementCallback sharedElementCallback)` - void setExitSharedElementCallback( - jni$_.JObject? sharedElementCallback, - ) { + void setExitSharedElementCallback(jni$_.JObject? sharedElementCallback) { final _$sharedElementCallback = sharedElementCallback?.reference ?? jni$_.jNullReference; _setExitSharedElementCallback( - reference.pointer, - _id_setExitSharedElementCallback as jni$_.JMethodIDPtr, - _$sharedElementCallback.pointer) - .check(); + reference.pointer, + _id_setExitSharedElementCallback as jni$_.JMethodIDPtr, + _$sharedElementCallback.pointer, + ).check(); } static final _id_postponeEnterTransition = _class.instanceMethodId( @@ -23699,23 +27259,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _postponeEnterTransition = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _postponeEnterTransition = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void postponeEnterTransition()` void postponeEnterTransition() { - _postponeEnterTransition(reference.pointer, - _id_postponeEnterTransition as jni$_.JMethodIDPtr) - .check(); + _postponeEnterTransition( + reference.pointer, + _id_postponeEnterTransition as jni$_.JMethodIDPtr, + ).check(); } static final _id_startPostponedEnterTransition = _class.instanceMethodId( @@ -23725,22 +27290,26 @@ class Activity extends jni$_.JObject { static final _startPostponedEnterTransition = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void startPostponedEnterTransition()` void startPostponedEnterTransition() { - _startPostponedEnterTransition(reference.pointer, - _id_startPostponedEnterTransition as jni$_.JMethodIDPtr) - .check(); + _startPostponedEnterTransition( + reference.pointer, + _id_startPostponedEnterTransition as jni$_.JMethodIDPtr, + ).check(); } static final _id_requestDragAndDropPermissions = _class.instanceMethodId( @@ -23750,27 +27319,31 @@ class Activity extends jni$_.JObject { static final _requestDragAndDropPermissions = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public android.view.DragAndDropPermissions requestDragAndDropPermissions(android.view.DragEvent dragEvent)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? requestDragAndDropPermissions( - jni$_.JObject? dragEvent, - ) { + jni$_.JObject? requestDragAndDropPermissions(jni$_.JObject? dragEvent) { final _$dragEvent = dragEvent?.reference ?? jni$_.jNullReference; return _requestDragAndDropPermissions( - reference.pointer, - _id_requestDragAndDropPermissions as jni$_.JMethodIDPtr, - _$dragEvent.pointer) - .object(const jni$_.JObjectNullableType()); + reference.pointer, + _id_requestDragAndDropPermissions as jni$_.JMethodIDPtr, + _$dragEvent.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_startLockTask = _class.instanceMethodId( @@ -23778,22 +27351,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _startLockTask = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _startLockTask = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void startLockTask()` void startLockTask() { - _startLockTask(reference.pointer, _id_startLockTask as jni$_.JMethodIDPtr) - .check(); + _startLockTask( + reference.pointer, + _id_startLockTask as jni$_.JMethodIDPtr, + ).check(); } static final _id_stopLockTask = _class.instanceMethodId( @@ -23801,22 +27380,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _stopLockTask = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _stopLockTask = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void stopLockTask()` void stopLockTask() { - _stopLockTask(reference.pointer, _id_stopLockTask as jni$_.JMethodIDPtr) - .check(); + _stopLockTask( + reference.pointer, + _id_stopLockTask as jni$_.JMethodIDPtr, + ).check(); } static final _id_showLockTaskEscapeMessage = _class.instanceMethodId( @@ -23824,23 +27409,28 @@ class Activity extends jni$_.JObject { r'()V', ); - static final _showLockTaskEscapeMessage = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _showLockTaskEscapeMessage = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public void showLockTaskEscapeMessage()` void showLockTaskEscapeMessage() { - _showLockTaskEscapeMessage(reference.pointer, - _id_showLockTaskEscapeMessage as jni$_.JMethodIDPtr) - .check(); + _showLockTaskEscapeMessage( + reference.pointer, + _id_showLockTaskEscapeMessage as jni$_.JMethodIDPtr, + ).check(); } static final _id_setRecentsScreenshotEnabled = _class.instanceMethodId( @@ -23850,21 +27440,29 @@ class Activity extends jni$_.JObject { static final _setRecentsScreenshotEnabled = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JThrowablePtr Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int32,)>)>>( - 'globalEnv_CallVoidMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setRecentsScreenshotEnabled(boolean z)` - void setRecentsScreenshotEnabled( - bool z, - ) { - _setRecentsScreenshotEnabled(reference.pointer, - _id_setRecentsScreenshotEnabled as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void setRecentsScreenshotEnabled(bool z) { + _setRecentsScreenshotEnabled( + reference.pointer, + _id_setRecentsScreenshotEnabled as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_setShowWhenLocked = _class.instanceMethodId( @@ -23872,23 +27470,31 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _setShowWhenLocked = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setShowWhenLocked = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setShowWhenLocked(boolean z)` - void setShowWhenLocked( - bool z, - ) { - _setShowWhenLocked(reference.pointer, - _id_setShowWhenLocked as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void setShowWhenLocked(bool z) { + _setShowWhenLocked( + reference.pointer, + _id_setShowWhenLocked as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_setInheritShowWhenLocked = _class.instanceMethodId( @@ -23896,23 +27502,31 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _setInheritShowWhenLocked = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setInheritShowWhenLocked = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setInheritShowWhenLocked(boolean z)` - void setInheritShowWhenLocked( - bool z, - ) { - _setInheritShowWhenLocked(reference.pointer, - _id_setInheritShowWhenLocked as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void setInheritShowWhenLocked(bool z) { + _setInheritShowWhenLocked( + reference.pointer, + _id_setInheritShowWhenLocked as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_setTurnScreenOn = _class.instanceMethodId( @@ -23920,23 +27534,31 @@ class Activity extends jni$_.JObject { r'(Z)V', ); - static final _setTurnScreenOn = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _setTurnScreenOn = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JThrowablePtr Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int32,)>)>>('globalEnv_CallVoidMethod') - .asFunction< - jni$_.JThrowablePtr Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int32,)>, + ) + > + >('globalEnv_CallVoidMethod') + .asFunction< + jni$_.JThrowablePtr Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public void setTurnScreenOn(boolean z)` - void setTurnScreenOn( - bool z, - ) { - _setTurnScreenOn(reference.pointer, - _id_setTurnScreenOn as jni$_.JMethodIDPtr, z ? 1 : 0) - .check(); + void setTurnScreenOn(bool z) { + _setTurnScreenOn( + reference.pointer, + _id_setTurnScreenOn as jni$_.JMethodIDPtr, + z ? 1 : 0, + ).check(); } static final _id_getOnBackInvokedDispatcher = _class.instanceMethodId( @@ -23946,23 +27568,27 @@ class Activity extends jni$_.JObject { static final _getOnBackInvokedDispatcher = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public android.window.OnBackInvokedDispatcher getOnBackInvokedDispatcher()` /// The returned object must be released after use, by calling the [release] method. jni$_.JObject? getOnBackInvokedDispatcher() { - return _getOnBackInvokedDispatcher(reference.pointer, - _id_getOnBackInvokedDispatcher as jni$_.JMethodIDPtr) - .object(const jni$_.JObjectNullableType()); + return _getOnBackInvokedDispatcher( + reference.pointer, + _id_getOnBackInvokedDispatcher as jni$_.JMethodIDPtr, + ).object(const jni$_.JObjectNullableType()); } } @@ -23976,11 +27602,8 @@ final class $Activity$NullableType extends jni$_.JObjType { @jni$_.internal @core$_.override - Activity? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : Activity.fromReference( - reference, - ); + Activity? fromReference(jni$_.JReference reference) => + reference.isNull ? null : Activity.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -24013,9 +27636,8 @@ final class $Activity$Type extends jni$_.JObjType { @jni$_.internal @core$_.override - Activity fromReference(jni$_.JReference reference) => Activity.fromReference( - reference, - ); + Activity fromReference(jni$_.JReference reference) => + Activity.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -24044,10 +27666,9 @@ class Instant extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - Instant.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + Instant.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName(r'java/time/Instant'); @@ -24064,19 +27685,13 @@ class Instant extends jni$_.JObject { static Instant? get EPOCH => _id_EPOCH.get(_class, const $Instant$NullableType()); - static final _id_MAX = _class.staticFieldId( - r'MAX', - r'Ljava/time/Instant;', - ); + static final _id_MAX = _class.staticFieldId(r'MAX', r'Ljava/time/Instant;'); /// from: `static public final java.time.Instant MAX` /// The returned object must be released after use, by calling the [release] method. static Instant? get MAX => _id_MAX.get(_class, const $Instant$NullableType()); - static final _id_MIN = _class.staticFieldId( - r'MIN', - r'Ljava/time/Instant;', - ); + static final _id_MIN = _class.staticFieldId(r'MIN', r'Ljava/time/Instant;'); /// from: `static public final java.time.Instant MIN` /// The returned object must be released after use, by calling the [release] method. @@ -24087,23 +27702,29 @@ class Instant extends jni$_.JObject { r'()Ljava/time/Instant;', ); - static final _now = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _now = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `static public java.time.Instant now()` /// The returned object must be released after use, by calling the [release] method. static Instant? now() { - return _now(_class.reference.pointer, _id_now as jni$_.JMethodIDPtr) - .object(const $Instant$NullableType()); + return _now( + _class.reference.pointer, + _id_now as jni$_.JMethodIDPtr, + ).object(const $Instant$NullableType()); } static final _id_now$1 = _class.staticMethodId( @@ -24111,26 +27732,33 @@ class Instant extends jni$_.JObject { r'(Ljava/time/Clock;)Ljava/time/Instant;', ); - static final _now$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _now$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public java.time.Instant now(java.time.Clock clock)` /// The returned object must be released after use, by calling the [release] method. - static Instant? now$1( - jni$_.JObject? clock, - ) { + static Instant? now$1(jni$_.JObject? clock) { final _$clock = clock?.reference ?? jni$_.jNullReference; - return _now$1(_class.reference.pointer, _id_now$1 as jni$_.JMethodIDPtr, - _$clock.pointer) - .object(const $Instant$NullableType()); + return _now$1( + _class.reference.pointer, + _id_now$1 as jni$_.JMethodIDPtr, + _$clock.pointer, + ).object(const $Instant$NullableType()); } static final _id_ofEpochSecond = _class.staticMethodId( @@ -24138,23 +27766,32 @@ class Instant extends jni$_.JObject { r'(J)Ljava/time/Instant;', ); - static final _ofEpochSecond = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int64,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + static final _ofEpochSecond = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `static public java.time.Instant ofEpochSecond(long j)` /// The returned object must be released after use, by calling the [release] method. - static Instant? ofEpochSecond( - int j, - ) { - return _ofEpochSecond(_class.reference.pointer, - _id_ofEpochSecond as jni$_.JMethodIDPtr, j) - .object(const $Instant$NullableType()); + static Instant? ofEpochSecond(int j) { + return _ofEpochSecond( + _class.reference.pointer, + _id_ofEpochSecond as jni$_.JMethodIDPtr, + j, + ).object(const $Instant$NullableType()); } static final _id_ofEpochSecond$1 = _class.staticMethodId( @@ -24162,26 +27799,34 @@ class Instant extends jni$_.JObject { r'(JJ)Ljava/time/Instant;', ); - static final _ofEpochSecond$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64, jni$_.Int64)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int, int)>(); + static final _ofEpochSecond$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64, jni$_.Int64)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + int, + ) + >(); /// from: `static public java.time.Instant ofEpochSecond(long j, long j1)` /// The returned object must be released after use, by calling the [release] method. - static Instant? ofEpochSecond$1( - int j, - int j1, - ) { - return _ofEpochSecond$1(_class.reference.pointer, - _id_ofEpochSecond$1 as jni$_.JMethodIDPtr, j, j1) - .object(const $Instant$NullableType()); + static Instant? ofEpochSecond$1(int j, int j1) { + return _ofEpochSecond$1( + _class.reference.pointer, + _id_ofEpochSecond$1 as jni$_.JMethodIDPtr, + j, + j1, + ).object(const $Instant$NullableType()); } static final _id_ofEpochMilli = _class.staticMethodId( @@ -24189,23 +27834,32 @@ class Instant extends jni$_.JObject { r'(J)Ljava/time/Instant;', ); - static final _ofEpochMilli = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.VarArgs<(jni$_.Int64,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + static final _ofEpochMilli = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `static public java.time.Instant ofEpochMilli(long j)` /// The returned object must be released after use, by calling the [release] method. - static Instant? ofEpochMilli( - int j, - ) { + static Instant? ofEpochMilli(int j) { return _ofEpochMilli( - _class.reference.pointer, _id_ofEpochMilli as jni$_.JMethodIDPtr, j) - .object(const $Instant$NullableType()); + _class.reference.pointer, + _id_ofEpochMilli as jni$_.JMethodIDPtr, + j, + ).object(const $Instant$NullableType()); } static final _id_from = _class.staticMethodId( @@ -24213,27 +27867,34 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalAccessor;)Ljava/time/Instant;', ); - static final _from = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _from = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public java.time.Instant from(java.time.temporal.TemporalAccessor temporalAccessor)` /// The returned object must be released after use, by calling the [release] method. - static Instant? from( - jni$_.JObject? temporalAccessor, - ) { + static Instant? from(jni$_.JObject? temporalAccessor) { final _$temporalAccessor = temporalAccessor?.reference ?? jni$_.jNullReference; - return _from(_class.reference.pointer, _id_from as jni$_.JMethodIDPtr, - _$temporalAccessor.pointer) - .object(const $Instant$NullableType()); + return _from( + _class.reference.pointer, + _id_from as jni$_.JMethodIDPtr, + _$temporalAccessor.pointer, + ).object(const $Instant$NullableType()); } static final _id_parse = _class.staticMethodId( @@ -24241,26 +27902,33 @@ class Instant extends jni$_.JObject { r'(Ljava/lang/CharSequence;)Ljava/time/Instant;', ); - static final _parse = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _parse = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public java.time.Instant parse(java.lang.CharSequence charSequence)` /// The returned object must be released after use, by calling the [release] method. - static Instant? parse( - jni$_.JObject? charSequence, - ) { + static Instant? parse(jni$_.JObject? charSequence) { final _$charSequence = charSequence?.reference ?? jni$_.jNullReference; - return _parse(_class.reference.pointer, _id_parse as jni$_.JMethodIDPtr, - _$charSequence.pointer) - .object(const $Instant$NullableType()); + return _parse( + _class.reference.pointer, + _id_parse as jni$_.JMethodIDPtr, + _$charSequence.pointer, + ).object(const $Instant$NullableType()); } static final _id_isSupported = _class.instanceMethodId( @@ -24268,25 +27936,32 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalField;)Z', ); - static final _isSupported = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _isSupported = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean isSupported(java.time.temporal.TemporalField temporalField)` - bool isSupported( - jni$_.JObject? temporalField, - ) { + bool isSupported(jni$_.JObject? temporalField) { final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; - return _isSupported(reference.pointer, - _id_isSupported as jni$_.JMethodIDPtr, _$temporalField.pointer) - .boolean; + return _isSupported( + reference.pointer, + _id_isSupported as jni$_.JMethodIDPtr, + _$temporalField.pointer, + ).boolean; } static final _id_isSupported$1 = _class.instanceMethodId( @@ -24294,25 +27969,32 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalUnit;)Z', ); - static final _isSupported$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _isSupported$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean isSupported(java.time.temporal.TemporalUnit temporalUnit)` - bool isSupported$1( - jni$_.JObject? temporalUnit, - ) { + bool isSupported$1(jni$_.JObject? temporalUnit) { final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; - return _isSupported$1(reference.pointer, - _id_isSupported$1 as jni$_.JMethodIDPtr, _$temporalUnit.pointer) - .boolean; + return _isSupported$1( + reference.pointer, + _id_isSupported$1 as jni$_.JMethodIDPtr, + _$temporalUnit.pointer, + ).boolean; } static final _id_range = _class.instanceMethodId( @@ -24320,26 +28002,33 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalField;)Ljava/time/temporal/ValueRange;', ); - static final _range = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _range = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.time.temporal.ValueRange range(java.time.temporal.TemporalField temporalField)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? range( - jni$_.JObject? temporalField, - ) { + jni$_.JObject? range(jni$_.JObject? temporalField) { final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; - return _range(reference.pointer, _id_range as jni$_.JMethodIDPtr, - _$temporalField.pointer) - .object(const jni$_.JObjectNullableType()); + return _range( + reference.pointer, + _id_range as jni$_.JMethodIDPtr, + _$temporalField.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_get = _class.instanceMethodId( @@ -24347,25 +28036,32 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalField;)I', ); - static final _get = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _get = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public int get(java.time.temporal.TemporalField temporalField)` - int get( - jni$_.JObject? temporalField, - ) { + int get(jni$_.JObject? temporalField) { final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; - return _get(reference.pointer, _id_get as jni$_.JMethodIDPtr, - _$temporalField.pointer) - .integer; + return _get( + reference.pointer, + _id_get as jni$_.JMethodIDPtr, + _$temporalField.pointer, + ).integer; } static final _id_getLong = _class.instanceMethodId( @@ -24373,25 +28069,32 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalField;)J', ); - static final _getLong = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallLongMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getLong = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallLongMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public long getLong(java.time.temporal.TemporalField temporalField)` - int getLong( - jni$_.JObject? temporalField, - ) { + int getLong(jni$_.JObject? temporalField) { final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; - return _getLong(reference.pointer, _id_getLong as jni$_.JMethodIDPtr, - _$temporalField.pointer) - .long; + return _getLong( + reference.pointer, + _id_getLong as jni$_.JMethodIDPtr, + _$temporalField.pointer, + ).long; } static final _id_getEpochSecond = _class.instanceMethodId( @@ -24399,46 +28102,54 @@ class Instant extends jni$_.JObject { r'()J', ); - static final _getEpochSecond = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getEpochSecond = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallLongMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallLongMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public long getEpochSecond()` int getEpochSecond() { return _getEpochSecond( - reference.pointer, _id_getEpochSecond as jni$_.JMethodIDPtr) - .long; + reference.pointer, + _id_getEpochSecond as jni$_.JMethodIDPtr, + ).long; } - static final _id_getNano = _class.instanceMethodId( - r'getNano', - r'()I', - ); + static final _id_getNano = _class.instanceMethodId(r'getNano', r'()I'); - static final _getNano = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getNano = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int getNano()` int getNano() { - return _getNano(reference.pointer, _id_getNano as jni$_.JMethodIDPtr) - .integer; + return _getNano( + reference.pointer, + _id_getNano as jni$_.JMethodIDPtr, + ).integer; } static final _id_with$ = _class.instanceMethodId( @@ -24446,27 +28157,34 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalAdjuster;)Ljava/time/Instant;', ); - static final _with$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _with$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.time.Instant with(java.time.temporal.TemporalAdjuster temporalAdjuster)` /// The returned object must be released after use, by calling the [release] method. - Instant? with$( - jni$_.JObject? temporalAdjuster, - ) { + Instant? with$(jni$_.JObject? temporalAdjuster) { final _$temporalAdjuster = temporalAdjuster?.reference ?? jni$_.jNullReference; - return _with$(reference.pointer, _id_with$ as jni$_.JMethodIDPtr, - _$temporalAdjuster.pointer) - .object(const $Instant$NullableType()); + return _with$( + reference.pointer, + _id_with$ as jni$_.JMethodIDPtr, + _$temporalAdjuster.pointer, + ).object(const $Instant$NullableType()); } static final _id_with$1 = _class.instanceMethodId( @@ -24474,28 +28192,35 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalField;J)Ljava/time/Instant;', ); - static final _with$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Pointer, jni$_.Int64)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer, int)>(); + static final _with$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer, jni$_.Int64)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + int, + ) + >(); /// from: `public java.time.Instant with(java.time.temporal.TemporalField temporalField, long j)` /// The returned object must be released after use, by calling the [release] method. - Instant? with$1( - jni$_.JObject? temporalField, - int j, - ) { + Instant? with$1(jni$_.JObject? temporalField, int j) { final _$temporalField = temporalField?.reference ?? jni$_.jNullReference; - return _with$1(reference.pointer, _id_with$1 as jni$_.JMethodIDPtr, - _$temporalField.pointer, j) - .object(const $Instant$NullableType()); + return _with$1( + reference.pointer, + _id_with$1 as jni$_.JMethodIDPtr, + _$temporalField.pointer, + j, + ).object(const $Instant$NullableType()); } static final _id_truncatedTo = _class.instanceMethodId( @@ -24503,26 +28228,33 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _truncatedTo = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _truncatedTo = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. - Instant? truncatedTo( - jni$_.JObject? temporalUnit, - ) { + Instant? truncatedTo(jni$_.JObject? temporalUnit) { final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; - return _truncatedTo(reference.pointer, - _id_truncatedTo as jni$_.JMethodIDPtr, _$temporalUnit.pointer) - .object(const $Instant$NullableType()); + return _truncatedTo( + reference.pointer, + _id_truncatedTo as jni$_.JMethodIDPtr, + _$temporalUnit.pointer, + ).object(const $Instant$NullableType()); } static final _id_plus = _class.instanceMethodId( @@ -24530,26 +28262,33 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;', ); - static final _plus = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _plus = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.time.Instant plus(java.time.temporal.TemporalAmount temporalAmount)` /// The returned object must be released after use, by calling the [release] method. - Instant? plus( - jni$_.JObject? temporalAmount, - ) { + Instant? plus(jni$_.JObject? temporalAmount) { final _$temporalAmount = temporalAmount?.reference ?? jni$_.jNullReference; - return _plus(reference.pointer, _id_plus as jni$_.JMethodIDPtr, - _$temporalAmount.pointer) - .object(const $Instant$NullableType()); + return _plus( + reference.pointer, + _id_plus as jni$_.JMethodIDPtr, + _$temporalAmount.pointer, + ).object(const $Instant$NullableType()); } static final _id_plus$1 = _class.instanceMethodId( @@ -24557,28 +28296,35 @@ class Instant extends jni$_.JObject { r'(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _plus$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int64, jni$_.Pointer)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _plus$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64, jni$_.Pointer)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public java.time.Instant plus(long j, java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. - Instant? plus$1( - int j, - jni$_.JObject? temporalUnit, - ) { + Instant? plus$1(int j, jni$_.JObject? temporalUnit) { final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; - return _plus$1(reference.pointer, _id_plus$1 as jni$_.JMethodIDPtr, j, - _$temporalUnit.pointer) - .object(const $Instant$NullableType()); + return _plus$1( + reference.pointer, + _id_plus$1 as jni$_.JMethodIDPtr, + j, + _$temporalUnit.pointer, + ).object(const $Instant$NullableType()); } static final _id_plusSeconds = _class.instanceMethodId( @@ -24586,24 +28332,32 @@ class Instant extends jni$_.JObject { r'(J)Ljava/time/Instant;', ); - static final _plusSeconds = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _plusSeconds = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public java.time.Instant plusSeconds(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant? plusSeconds( - int j, - ) { + Instant? plusSeconds(int j) { return _plusSeconds( - reference.pointer, _id_plusSeconds as jni$_.JMethodIDPtr, j) - .object(const $Instant$NullableType()); + reference.pointer, + _id_plusSeconds as jni$_.JMethodIDPtr, + j, + ).object(const $Instant$NullableType()); } static final _id_plusMillis = _class.instanceMethodId( @@ -24611,24 +28365,32 @@ class Instant extends jni$_.JObject { r'(J)Ljava/time/Instant;', ); - static final _plusMillis = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _plusMillis = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public java.time.Instant plusMillis(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant? plusMillis( - int j, - ) { + Instant? plusMillis(int j) { return _plusMillis( - reference.pointer, _id_plusMillis as jni$_.JMethodIDPtr, j) - .object(const $Instant$NullableType()); + reference.pointer, + _id_plusMillis as jni$_.JMethodIDPtr, + j, + ).object(const $Instant$NullableType()); } static final _id_plusNanos = _class.instanceMethodId( @@ -24636,23 +28398,32 @@ class Instant extends jni$_.JObject { r'(J)Ljava/time/Instant;', ); - static final _plusNanos = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _plusNanos = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public java.time.Instant plusNanos(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant? plusNanos( - int j, - ) { - return _plusNanos(reference.pointer, _id_plusNanos as jni$_.JMethodIDPtr, j) - .object(const $Instant$NullableType()); + Instant? plusNanos(int j) { + return _plusNanos( + reference.pointer, + _id_plusNanos as jni$_.JMethodIDPtr, + j, + ).object(const $Instant$NullableType()); } static final _id_minus = _class.instanceMethodId( @@ -24660,26 +28431,33 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalAmount;)Ljava/time/Instant;', ); - static final _minus = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _minus = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.time.Instant minus(java.time.temporal.TemporalAmount temporalAmount)` /// The returned object must be released after use, by calling the [release] method. - Instant? minus( - jni$_.JObject? temporalAmount, - ) { + Instant? minus(jni$_.JObject? temporalAmount) { final _$temporalAmount = temporalAmount?.reference ?? jni$_.jNullReference; - return _minus(reference.pointer, _id_minus as jni$_.JMethodIDPtr, - _$temporalAmount.pointer) - .object(const $Instant$NullableType()); + return _minus( + reference.pointer, + _id_minus as jni$_.JMethodIDPtr, + _$temporalAmount.pointer, + ).object(const $Instant$NullableType()); } static final _id_minus$1 = _class.instanceMethodId( @@ -24687,28 +28465,35 @@ class Instant extends jni$_.JObject { r'(JLjava/time/temporal/TemporalUnit;)Ljava/time/Instant;', ); - static final _minus$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_ - .VarArgs<(jni$_.Int64, jni$_.Pointer)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, int, jni$_.Pointer)>(); + static final _minus$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64, jni$_.Pointer)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + jni$_.Pointer, + ) + >(); /// from: `public java.time.Instant minus(long j, java.time.temporal.TemporalUnit temporalUnit)` /// The returned object must be released after use, by calling the [release] method. - Instant? minus$1( - int j, - jni$_.JObject? temporalUnit, - ) { + Instant? minus$1(int j, jni$_.JObject? temporalUnit) { final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; - return _minus$1(reference.pointer, _id_minus$1 as jni$_.JMethodIDPtr, j, - _$temporalUnit.pointer) - .object(const $Instant$NullableType()); + return _minus$1( + reference.pointer, + _id_minus$1 as jni$_.JMethodIDPtr, + j, + _$temporalUnit.pointer, + ).object(const $Instant$NullableType()); } static final _id_minusSeconds = _class.instanceMethodId( @@ -24716,24 +28501,32 @@ class Instant extends jni$_.JObject { r'(J)Ljava/time/Instant;', ); - static final _minusSeconds = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _minusSeconds = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public java.time.Instant minusSeconds(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant? minusSeconds( - int j, - ) { + Instant? minusSeconds(int j) { return _minusSeconds( - reference.pointer, _id_minusSeconds as jni$_.JMethodIDPtr, j) - .object(const $Instant$NullableType()); + reference.pointer, + _id_minusSeconds as jni$_.JMethodIDPtr, + j, + ).object(const $Instant$NullableType()); } static final _id_minusMillis = _class.instanceMethodId( @@ -24741,24 +28534,32 @@ class Instant extends jni$_.JObject { r'(J)Ljava/time/Instant;', ); - static final _minusMillis = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _minusMillis = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public java.time.Instant minusMillis(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant? minusMillis( - int j, - ) { + Instant? minusMillis(int j) { return _minusMillis( - reference.pointer, _id_minusMillis as jni$_.JMethodIDPtr, j) - .object(const $Instant$NullableType()); + reference.pointer, + _id_minusMillis as jni$_.JMethodIDPtr, + j, + ).object(const $Instant$NullableType()); } static final _id_minusNanos = _class.instanceMethodId( @@ -24766,24 +28567,32 @@ class Instant extends jni$_.JObject { r'(J)Ljava/time/Instant;', ); - static final _minusNanos = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _minusNanos = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Int64,)>)>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, jni$_.JMethodIDPtr, int)>(); + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Int64,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + int, + ) + >(); /// from: `public java.time.Instant minusNanos(long j)` /// The returned object must be released after use, by calling the [release] method. - Instant? minusNanos( - int j, - ) { + Instant? minusNanos(int j) { return _minusNanos( - reference.pointer, _id_minusNanos as jni$_.JMethodIDPtr, j) - .object(const $Instant$NullableType()); + reference.pointer, + _id_minusNanos as jni$_.JMethodIDPtr, + j, + ).object(const $Instant$NullableType()); } static final _id_query = _class.instanceMethodId( @@ -24791,16 +28600,23 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/TemporalQuery;)Ljava/lang/Object;', ); - static final _query = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _query = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public R query(java.time.temporal.TemporalQuery temporalQuery)` /// The returned object must be released after use, by calling the [release] method. @@ -24809,9 +28625,11 @@ class Instant extends jni$_.JObject { required jni$_.JObjType<$R> R, }) { final _$temporalQuery = temporalQuery?.reference ?? jni$_.jNullReference; - return _query(reference.pointer, _id_query as jni$_.JMethodIDPtr, - _$temporalQuery.pointer) - .object<$R?>(R.nullableType); + return _query( + reference.pointer, + _id_query as jni$_.JMethodIDPtr, + _$temporalQuery.pointer, + ).object<$R?>(R.nullableType); } static final _id_adjustInto = _class.instanceMethodId( @@ -24819,26 +28637,33 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/Temporal;)Ljava/time/temporal/Temporal;', ); - static final _adjustInto = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _adjustInto = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal temporal)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? adjustInto( - jni$_.JObject? temporal, - ) { + jni$_.JObject? adjustInto(jni$_.JObject? temporal) { final _$temporal = temporal?.reference ?? jni$_.jNullReference; - return _adjustInto(reference.pointer, _id_adjustInto as jni$_.JMethodIDPtr, - _$temporal.pointer) - .object(const jni$_.JObjectNullableType()); + return _adjustInto( + reference.pointer, + _id_adjustInto as jni$_.JMethodIDPtr, + _$temporal.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_until = _class.instanceMethodId( @@ -24846,33 +28671,37 @@ class Instant extends jni$_.JObject { r'(Ljava/time/temporal/Temporal;Ljava/time/temporal/TemporalUnit;)J', ); - static final _until = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _until = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_CallLongMethod') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_CallLongMethod') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public long until(java.time.temporal.Temporal temporal, java.time.temporal.TemporalUnit temporalUnit)` - int until( - jni$_.JObject? temporal, - jni$_.JObject? temporalUnit, - ) { + int until(jni$_.JObject? temporal, jni$_.JObject? temporalUnit) { final _$temporal = temporal?.reference ?? jni$_.jNullReference; final _$temporalUnit = temporalUnit?.reference ?? jni$_.jNullReference; - return _until(reference.pointer, _id_until as jni$_.JMethodIDPtr, - _$temporal.pointer, _$temporalUnit.pointer) - .long; + return _until( + reference.pointer, + _id_until as jni$_.JMethodIDPtr, + _$temporal.pointer, + _$temporalUnit.pointer, + ).long; } static final _id_atOffset = _class.instanceMethodId( @@ -24880,26 +28709,33 @@ class Instant extends jni$_.JObject { r'(Ljava/time/ZoneOffset;)Ljava/time/OffsetDateTime;', ); - static final _atOffset = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _atOffset = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.time.OffsetDateTime atOffset(java.time.ZoneOffset zoneOffset)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? atOffset( - jni$_.JObject? zoneOffset, - ) { + jni$_.JObject? atOffset(jni$_.JObject? zoneOffset) { final _$zoneOffset = zoneOffset?.reference ?? jni$_.jNullReference; - return _atOffset(reference.pointer, _id_atOffset as jni$_.JMethodIDPtr, - _$zoneOffset.pointer) - .object(const jni$_.JObjectNullableType()); + return _atOffset( + reference.pointer, + _id_atOffset as jni$_.JMethodIDPtr, + _$zoneOffset.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_atZone = _class.instanceMethodId( @@ -24907,26 +28743,33 @@ class Instant extends jni$_.JObject { r'(Ljava/time/ZoneId;)Ljava/time/ZonedDateTime;', ); - static final _atZone = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _atZone = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public java.time.ZonedDateTime atZone(java.time.ZoneId zoneId)` /// The returned object must be released after use, by calling the [release] method. - jni$_.JObject? atZone( - jni$_.JObject? zoneId, - ) { + jni$_.JObject? atZone(jni$_.JObject? zoneId) { final _$zoneId = zoneId?.reference ?? jni$_.jNullReference; - return _atZone(reference.pointer, _id_atZone as jni$_.JMethodIDPtr, - _$zoneId.pointer) - .object(const jni$_.JObjectNullableType()); + return _atZone( + reference.pointer, + _id_atZone as jni$_.JMethodIDPtr, + _$zoneId.pointer, + ).object(const jni$_.JObjectNullableType()); } static final _id_toEpochMilli = _class.instanceMethodId( @@ -24934,23 +28777,28 @@ class Instant extends jni$_.JObject { r'()J', ); - static final _toEpochMilli = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _toEpochMilli = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallLongMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallLongMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public long toEpochMilli()` int toEpochMilli() { return _toEpochMilli( - reference.pointer, _id_toEpochMilli as jni$_.JMethodIDPtr) - .long; + reference.pointer, + _id_toEpochMilli as jni$_.JMethodIDPtr, + ).long; } static final _id_compareTo = _class.instanceMethodId( @@ -24958,25 +28806,32 @@ class Instant extends jni$_.JObject { r'(Ljava/time/Instant;)I', ); - static final _compareTo = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _compareTo = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public int compareTo(java.time.Instant instant)` - int compareTo( - Instant? instant, - ) { + int compareTo(Instant? instant) { final _$instant = instant?.reference ?? jni$_.jNullReference; - return _compareTo(reference.pointer, _id_compareTo as jni$_.JMethodIDPtr, - _$instant.pointer) - .integer; + return _compareTo( + reference.pointer, + _id_compareTo as jni$_.JMethodIDPtr, + _$instant.pointer, + ).integer; } static final _id_isAfter = _class.instanceMethodId( @@ -24984,25 +28839,32 @@ class Instant extends jni$_.JObject { r'(Ljava/time/Instant;)Z', ); - static final _isAfter = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _isAfter = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean isAfter(java.time.Instant instant)` - bool isAfter( - Instant? instant, - ) { + bool isAfter(Instant? instant) { final _$instant = instant?.reference ?? jni$_.jNullReference; - return _isAfter(reference.pointer, _id_isAfter as jni$_.JMethodIDPtr, - _$instant.pointer) - .boolean; + return _isAfter( + reference.pointer, + _id_isAfter as jni$_.JMethodIDPtr, + _$instant.pointer, + ).boolean; } static final _id_isBefore = _class.instanceMethodId( @@ -25010,25 +28872,32 @@ class Instant extends jni$_.JObject { r'(Ljava/time/Instant;)Z', ); - static final _isBefore = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _isBefore = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean isBefore(java.time.Instant instant)` - bool isBefore( - Instant? instant, - ) { + bool isBefore(Instant? instant) { final _$instant = instant?.reference ?? jni$_.jNullReference; - return _isBefore(reference.pointer, _id_isBefore as jni$_.JMethodIDPtr, - _$instant.pointer) - .boolean; + return _isBefore( + reference.pointer, + _id_isBefore as jni$_.JMethodIDPtr, + _$instant.pointer, + ).boolean; } static final _id_equals = _class.instanceMethodId( @@ -25036,48 +28905,58 @@ class Instant extends jni$_.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _equals = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean equals(java.lang.Object object)` - bool equals( - jni$_.JObject? object, - ) { + bool equals(jni$_.JObject? object) { final _$object = object?.reference ?? jni$_.jNullReference; - return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, - _$object.pointer) - .boolean; + return _equals( + reference.pointer, + _id_equals as jni$_.JMethodIDPtr, + _$object.pointer, + ).boolean; } - static final _id_hashCode$1 = _class.instanceMethodId( - r'hashCode', - r'()I', - ); + static final _id_hashCode$1 = _class.instanceMethodId(r'hashCode', r'()I'); - static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _hashCode$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) - .integer; + return _hashCode$1( + reference.pointer, + _id_hashCode$1 as jni$_.JMethodIDPtr, + ).integer; } static final _id_toString$1 = _class.instanceMethodId( @@ -25085,23 +28964,29 @@ class Instant extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _toString$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _toString$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public java.lang.String toString()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString? toString$1() { - return _toString$1(reference.pointer, _id_toString$1 as jni$_.JMethodIDPtr) - .object(const jni$_.JStringNullableType()); + return _toString$1( + reference.pointer, + _id_toString$1 as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringNullableType()); } } @@ -25115,11 +29000,8 @@ final class $Instant$NullableType extends jni$_.JObjType { @jni$_.internal @core$_.override - Instant? fromReference(jni$_.JReference reference) => reference.isNull - ? null - : Instant.fromReference( - reference, - ); + Instant? fromReference(jni$_.JReference reference) => + reference.isNull ? null : Instant.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -25152,9 +29034,8 @@ final class $Instant$Type extends jni$_.JObjType { @jni$_.internal @core$_.override - Instant fromReference(jni$_.JReference reference) => Instant.fromReference( - reference, - ); + Instant fromReference(jni$_.JReference reference) => + Instant.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -25183,13 +29064,13 @@ class AggregateGroupByDurationRequest extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - AggregateGroupByDurationRequest.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + AggregateGroupByDurationRequest.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/request/AggregateGroupByDurationRequest'); + r'androidx/health/connect/client/request/AggregateGroupByDurationRequest', + ); /// The type which includes information such as the signature of this class. static const nullableType = $AggregateGroupByDurationRequest$NullableType(); @@ -25198,26 +29079,33 @@ class AggregateGroupByDurationRequest extends jni$_.JObject { r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Duration duration, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. @@ -25231,36 +29119,43 @@ class AggregateGroupByDurationRequest extends jni$_.JObject { final _$timeRangeFilter = timeRangeFilter.reference; final _$duration = duration.reference; final _$set1 = set1.reference; - return AggregateGroupByDurationRequest.fromReference(_new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$set.pointer, - _$timeRangeFilter.pointer, - _$duration.pointer, - _$set1.pointer) - .reference); + return AggregateGroupByDurationRequest.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$duration.pointer, + _$set1.pointer, + ).reference, + ); } static final _id_new$1 = _class.constructorId( r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Duration;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -25268,7 +29163,9 @@ class AggregateGroupByDurationRequest extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Duration duration, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. @@ -25287,16 +29184,18 @@ class AggregateGroupByDurationRequest extends jni$_.JObject { final _$set1 = set1?.reference ?? jni$_.jNullReference; final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return AggregateGroupByDurationRequest.fromReference(_new$1( - _class.reference.pointer, - _id_new$1 as jni$_.JMethodIDPtr, - _$set.pointer, - _$timeRangeFilter.pointer, - _$duration.pointer, - _$set1.pointer, - i, - _$defaultConstructorMarker.pointer) - .reference); + return AggregateGroupByDurationRequest.fromReference( + _new$1( + _class.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$duration.pointer, + _$set1.pointer, + i, + _$defaultConstructorMarker.pointer, + ).reference, + ); } } @@ -25315,9 +29214,7 @@ final class $AggregateGroupByDurationRequest$NullableType AggregateGroupByDurationRequest? fromReference(jni$_.JReference reference) => reference.isNull ? null - : AggregateGroupByDurationRequest.fromReference( - reference, - ); + : AggregateGroupByDurationRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -25354,9 +29251,7 @@ final class $AggregateGroupByDurationRequest$Type @jni$_.internal @core$_.override AggregateGroupByDurationRequest fromReference(jni$_.JReference reference) => - AggregateGroupByDurationRequest.fromReference( - reference, - ); + AggregateGroupByDurationRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -25387,13 +29282,13 @@ class AggregateGroupByPeriodRequest extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - AggregateGroupByPeriodRequest.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + AggregateGroupByPeriodRequest.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/request/AggregateGroupByPeriodRequest'); + r'androidx/health/connect/client/request/AggregateGroupByPeriodRequest', + ); /// The type which includes information such as the signature of this class. static const nullableType = $AggregateGroupByPeriodRequest$NullableType(); @@ -25402,26 +29297,33 @@ class AggregateGroupByPeriodRequest extends jni$_.JObject { r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Period period, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. @@ -25435,36 +29337,43 @@ class AggregateGroupByPeriodRequest extends jni$_.JObject { final _$timeRangeFilter = timeRangeFilter.reference; final _$period = period.reference; final _$set1 = set1.reference; - return AggregateGroupByPeriodRequest.fromReference(_new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$set.pointer, - _$timeRangeFilter.pointer, - _$period.pointer, - _$set1.pointer) - .reference); + return AggregateGroupByPeriodRequest.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$period.pointer, + _$set1.pointer, + ).reference, + ); } static final _id_new$1 = _class.constructorId( r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/time/Period;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -25472,7 +29381,9 @@ class AggregateGroupByPeriodRequest extends jni$_.JObject { jni$_.Pointer, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.time.Period period, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. @@ -25491,16 +29402,18 @@ class AggregateGroupByPeriodRequest extends jni$_.JObject { final _$set1 = set1?.reference ?? jni$_.jNullReference; final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return AggregateGroupByPeriodRequest.fromReference(_new$1( - _class.reference.pointer, - _id_new$1 as jni$_.JMethodIDPtr, - _$set.pointer, - _$timeRangeFilter.pointer, - _$period.pointer, - _$set1.pointer, - i, - _$defaultConstructorMarker.pointer) - .reference); + return AggregateGroupByPeriodRequest.fromReference( + _new$1( + _class.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$period.pointer, + _$set1.pointer, + i, + _$defaultConstructorMarker.pointer, + ).reference, + ); } } @@ -25519,9 +29432,7 @@ final class $AggregateGroupByPeriodRequest$NullableType AggregateGroupByPeriodRequest? fromReference(jni$_.JReference reference) => reference.isNull ? null - : AggregateGroupByPeriodRequest.fromReference( - reference, - ); + : AggregateGroupByPeriodRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -25557,9 +29468,7 @@ final class $AggregateGroupByPeriodRequest$Type @jni$_.internal @core$_.override AggregateGroupByPeriodRequest fromReference(jni$_.JReference reference) => - AggregateGroupByPeriodRequest.fromReference( - reference, - ); + AggregateGroupByPeriodRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -25590,13 +29499,13 @@ class AggregateRequest extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - AggregateRequest.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + AggregateRequest.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/request/AggregateRequest'); + r'androidx/health/connect/client/request/AggregateRequest', + ); /// The type which includes information such as the signature of this class. static const nullableType = $AggregateRequest$NullableType(); @@ -25605,24 +29514,31 @@ class AggregateRequest extends jni$_.JObject { r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. @@ -25634,41 +29550,50 @@ class AggregateRequest extends jni$_.JObject { final _$set = set.reference; final _$timeRangeFilter = timeRangeFilter.reference; final _$set1 = set1.reference; - return AggregateRequest.fromReference(_new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$set.pointer, - _$timeRangeFilter.pointer, - _$set1.pointer) - .reference); + return AggregateRequest.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$set1.pointer, + ).reference, + ); } static final _id_new$1 = _class.constructorId( r'(Ljava/util/Set;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (java.util.Set set, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. @@ -25685,15 +29610,17 @@ class AggregateRequest extends jni$_.JObject { final _$set1 = set1?.reference ?? jni$_.jNullReference; final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return AggregateRequest.fromReference(_new$1( - _class.reference.pointer, - _id_new$1 as jni$_.JMethodIDPtr, - _$set.pointer, - _$timeRangeFilter.pointer, - _$set1.pointer, - i, - _$defaultConstructorMarker.pointer) - .reference); + return AggregateRequest.fromReference( + _new$1( + _class.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$set.pointer, + _$timeRangeFilter.pointer, + _$set1.pointer, + i, + _$defaultConstructorMarker.pointer, + ).reference, + ); } } @@ -25710,11 +29637,7 @@ final class $AggregateRequest$NullableType @jni$_.internal @core$_.override AggregateRequest? fromReference(jni$_.JReference reference) => - reference.isNull - ? null - : AggregateRequest.fromReference( - reference, - ); + reference.isNull ? null : AggregateRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -25749,9 +29672,7 @@ final class $AggregateRequest$Type extends jni$_.JObjType { @jni$_.internal @core$_.override AggregateRequest fromReference(jni$_.JReference reference) => - AggregateRequest.fromReference( - reference, - ); + AggregateRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -25782,13 +29703,13 @@ class ChangesTokenRequest extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - ChangesTokenRequest.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + ChangesTokenRequest.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/request/ChangesTokenRequest'); + r'androidx/health/connect/client/request/ChangesTokenRequest', + ); /// The type which includes information such as the signature of this class. static const nullableType = $ChangesTokenRequest$NullableType(); @@ -25797,22 +29718,26 @@ class ChangesTokenRequest extends jni$_.JObject { r'(Ljava/util/Set;Ljava/util/Set;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + (jni$_.Pointer, jni$_.Pointer) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (java.util.Set set, java.util.Set set1)` /// The returned object must be released after use, by calling the [release] method. @@ -25822,35 +29747,47 @@ class ChangesTokenRequest extends jni$_.JObject { ) { final _$set = set.reference; final _$set1 = set1.reference; - return ChangesTokenRequest.fromReference(_new$(_class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, _$set.pointer, _$set1.pointer) - .reference); + return ChangesTokenRequest.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$set.pointer, + _$set1.pointer, + ).reference, + ); } static final _id_new$1 = _class.constructorId( r'(Ljava/util/Set;Ljava/util/Set;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (java.util.Set set, java.util.Set set1, int i, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. @@ -25864,14 +29801,16 @@ class ChangesTokenRequest extends jni$_.JObject { final _$set1 = set1?.reference ?? jni$_.jNullReference; final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return ChangesTokenRequest.fromReference(_new$1( - _class.reference.pointer, - _id_new$1 as jni$_.JMethodIDPtr, - _$set.pointer, - _$set1.pointer, - i, - _$defaultConstructorMarker.pointer) - .reference); + return ChangesTokenRequest.fromReference( + _new$1( + _class.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$set.pointer, + _$set1.pointer, + i, + _$defaultConstructorMarker.pointer, + ).reference, + ); } } @@ -25888,11 +29827,7 @@ final class $ChangesTokenRequest$NullableType @jni$_.internal @core$_.override ChangesTokenRequest? fromReference(jni$_.JReference reference) => - reference.isNull - ? null - : ChangesTokenRequest.fromReference( - reference, - ); + reference.isNull ? null : ChangesTokenRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -25928,9 +29863,7 @@ final class $ChangesTokenRequest$Type @jni$_.internal @core$_.override ChangesTokenRequest fromReference(jni$_.JReference reference) => - ChangesTokenRequest.fromReference( - reference, - ); + ChangesTokenRequest.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -25964,53 +29897,51 @@ class ReadRecordsRequest<$T extends jni$_.JObject> extends jni$_.JObject { final jni$_.JObjType<$T> T; @jni$_.internal - ReadRecordsRequest.fromReference( - this.T, - jni$_.JReference reference, - ) : $type = type<$T>(T), - super.fromReference(reference); + ReadRecordsRequest.fromReference(this.T, jni$_.JReference reference) + : $type = type<$T>(T), + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/request/ReadRecordsRequest'); + r'androidx/health/connect/client/request/ReadRecordsRequest', + ); /// The type which includes information such as the signature of this class. static $ReadRecordsRequest$NullableType<$T> - nullableType<$T extends jni$_.JObject>( - jni$_.JObjType<$T> T, - ) { - return $ReadRecordsRequest$NullableType<$T>( - T, - ); + nullableType<$T extends jni$_.JObject>(jni$_.JObjType<$T> T) { + return $ReadRecordsRequest$NullableType<$T>(T); } static $ReadRecordsRequest$Type<$T> type<$T extends jni$_.JObject>( jni$_.JObjType<$T> T, ) { - return $ReadRecordsRequest$Type<$T>( - T, - ); + return $ReadRecordsRequest$Type<$T>(T); } static final _id_new$ = _class.constructorId( r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -26018,7 +29949,9 @@ class ReadRecordsRequest<$T extends jni$_.JObject> extends jni$_.JObject { jni$_.Pointer, int, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set, boolean z, int i, java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. @@ -26036,41 +29969,47 @@ class ReadRecordsRequest<$T extends jni$_.JObject> extends jni$_.JObject { final _$set = set.reference; final _$string = string?.reference ?? jni$_.jNullReference; return ReadRecordsRequest<$T>.fromReference( - T, - _new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$kClass.pointer, - _$timeRangeFilter.pointer, - _$set.pointer, - z ? 1 : 0, - i, - _$string.pointer) - .reference); + T, + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$timeRangeFilter.pointer, + _$set.pointer, + z ? 1 : 0, + i, + _$string.pointer, + ).reference, + ); } static final _id_new$1 = _class.constructorId( r'(Lkotlin/reflect/KClass;Landroidx/health/connect/client/time/TimeRangeFilter;Ljava/util/Set;ZILjava/lang/String;ILkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Int32, - jni$_.Int32, - jni$_.Pointer, - jni$_.Int32, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Int32, + jni$_.Int32, + jni$_.Pointer, + jni$_.Int32, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, @@ -26080,7 +30019,9 @@ class ReadRecordsRequest<$T extends jni$_.JObject> extends jni$_.JObject { int, jni$_.Pointer, int, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (kotlin.reflect.KClass kClass, androidx.health.connect.client.time.TimeRangeFilter timeRangeFilter, java.util.Set set, boolean z, int i, java.lang.String string, int i1, kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. @@ -26103,19 +30044,20 @@ class ReadRecordsRequest<$T extends jni$_.JObject> extends jni$_.JObject { final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; return ReadRecordsRequest<$T>.fromReference( - T, - _new$1( - _class.reference.pointer, - _id_new$1 as jni$_.JMethodIDPtr, - _$kClass.pointer, - _$timeRangeFilter.pointer, - _$set.pointer, - z ? 1 : 0, - i, - _$string.pointer, - i1, - _$defaultConstructorMarker.pointer) - .reference); + T, + _new$1( + _class.reference.pointer, + _id_new$1 as jni$_.JMethodIDPtr, + _$kClass.pointer, + _$timeRangeFilter.pointer, + _$set.pointer, + z ? 1 : 0, + i, + _$string.pointer, + i1, + _$defaultConstructorMarker.pointer, + ).reference, + ); } static final _id_equals = _class.instanceMethodId( @@ -26123,48 +30065,58 @@ class ReadRecordsRequest<$T extends jni$_.JObject> extends jni$_.JObject { r'(Ljava/lang/Object;)Z', ); - static final _equals = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _equals = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public boolean equals(java.lang.Object object)` - bool equals( - jni$_.JObject? object, - ) { + bool equals(jni$_.JObject? object) { final _$object = object?.reference ?? jni$_.jNullReference; - return _equals(reference.pointer, _id_equals as jni$_.JMethodIDPtr, - _$object.pointer) - .boolean; + return _equals( + reference.pointer, + _id_equals as jni$_.JMethodIDPtr, + _$object.pointer, + ).boolean; } - static final _id_hashCode$1 = _class.instanceMethodId( - r'hashCode', - r'()I', - ); + static final _id_hashCode$1 = _class.instanceMethodId(r'hashCode', r'()I'); - static final _hashCode$1 = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _hashCode$1 = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallIntMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallIntMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public int hashCode()` int hashCode$1() { - return _hashCode$1(reference.pointer, _id_hashCode$1 as jni$_.JMethodIDPtr) - .integer; + return _hashCode$1( + reference.pointer, + _id_hashCode$1 as jni$_.JMethodIDPtr, + ).integer; } } @@ -26174,9 +30126,7 @@ final class $ReadRecordsRequest$NullableType<$T extends jni$_.JObject> final jni$_.JObjType<$T> T; @jni$_.internal - const $ReadRecordsRequest$NullableType( - this.T, - ); + const $ReadRecordsRequest$NullableType(this.T); @jni$_.internal @core$_.override @@ -26188,10 +30138,7 @@ final class $ReadRecordsRequest$NullableType<$T extends jni$_.JObject> ReadRecordsRequest<$T>? fromReference(jni$_.JReference reference) => reference.isNull ? null - : ReadRecordsRequest<$T>.fromReference( - T, - reference, - ); + : ReadRecordsRequest<$T>.fromReference(T, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -26221,9 +30168,7 @@ final class $ReadRecordsRequest$Type<$T extends jni$_.JObject> final jni$_.JObjType<$T> T; @jni$_.internal - const $ReadRecordsRequest$Type( - this.T, - ); + const $ReadRecordsRequest$Type(this.T); @jni$_.internal @core$_.override @@ -26233,10 +30178,7 @@ final class $ReadRecordsRequest$Type<$T extends jni$_.JObject> @jni$_.internal @core$_.override ReadRecordsRequest<$T> fromReference(jni$_.JReference reference) => - ReadRecordsRequest<$T>.fromReference( - T, - reference, - ); + ReadRecordsRequest<$T>.fromReference(T, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -26268,13 +30210,13 @@ class AggregationResult extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - AggregationResult.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + AggregationResult.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/aggregate/AggregationResult'); + r'androidx/health/connect/client/aggregate/AggregationResult', + ); /// The type which includes information such as the signature of this class. static const nullableType = $AggregationResult$NullableType(); @@ -26283,24 +30225,31 @@ class AggregationResult extends jni$_.JObject { r'(Ljava/util/Map;Ljava/util/Map;Ljava/util/Set;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (java.util.Map map, java.util.Map map1, java.util.Set set)` /// The returned object must be released after use, by calling the [release] method. @@ -26312,13 +30261,15 @@ class AggregationResult extends jni$_.JObject { final _$map = map.reference; final _$map1 = map1.reference; final _$set = set.reference; - return AggregationResult.fromReference(_new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$map.pointer, - _$map1.pointer, - _$set.pointer) - .reference); + return AggregationResult.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$map.pointer, + _$map1.pointer, + _$set.pointer, + ).reference, + ); } static final _id_getDataOrigins = _class.instanceMethodId( @@ -26326,25 +30277,31 @@ class AggregationResult extends jni$_.JObject { r'()Ljava/util/Set;', ); - static final _getDataOrigins = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getDataOrigins = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final java.util.Set getDataOrigins()` /// The returned object must be released after use, by calling the [release] method. jni$_.JSet getDataOrigins() { return _getDataOrigins( - reference.pointer, _id_getDataOrigins as jni$_.JMethodIDPtr) - .object>( - const jni$_.JSetType(jni$_.JObjectType())); + reference.pointer, + _id_getDataOrigins as jni$_.JMethodIDPtr, + ).object>( + const jni$_.JSetType(jni$_.JObjectType()), + ); } static final _id_hasMetric = _class.instanceMethodId( @@ -26352,25 +30309,32 @@ class AggregationResult extends jni$_.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z', ); - static final _hasMetric = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _hasMetric = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final boolean hasMetric(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` - bool hasMetric( - AggregateMetric aggregateMetric, - ) { + bool hasMetric(AggregateMetric aggregateMetric) { final _$aggregateMetric = aggregateMetric.reference; - return _hasMetric(reference.pointer, _id_hasMetric as jni$_.JMethodIDPtr, - _$aggregateMetric.pointer) - .boolean; + return _hasMetric( + reference.pointer, + _id_hasMetric as jni$_.JMethodIDPtr, + _$aggregateMetric.pointer, + ).boolean; } static final _id_contains = _class.instanceMethodId( @@ -26378,25 +30342,32 @@ class AggregationResult extends jni$_.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Z', ); - static final _contains = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallBooleanMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _contains = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallBooleanMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final boolean contains(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` - bool contains( - AggregateMetric aggregateMetric, - ) { + bool contains(AggregateMetric aggregateMetric) { final _$aggregateMetric = aggregateMetric.reference; - return _contains(reference.pointer, _id_contains as jni$_.JMethodIDPtr, - _$aggregateMetric.pointer) - .boolean; + return _contains( + reference.pointer, + _id_contains as jni$_.JMethodIDPtr, + _$aggregateMetric.pointer, + ).boolean; } static final _id_getMetric = _class.instanceMethodId( @@ -26404,16 +30375,23 @@ class AggregationResult extends jni$_.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Ljava/lang/Object;', ); - static final _getMetric = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _getMetric = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final T getMetric(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` /// The returned object must be released after use, by calling the [release] method. @@ -26421,13 +30399,18 @@ class AggregationResult extends jni$_.JObject { AggregateMetric<$T> aggregateMetric, { jni$_.JObjType<$T>? T, }) { - T ??= jni$_.lowestCommonSuperType([ - (aggregateMetric.$type as $AggregateMetric$Type).T, - ]) as jni$_.JObjType<$T>; + T ??= + jni$_.lowestCommonSuperType([ + (aggregateMetric.$type as $AggregateMetric$Type) + .T, + ]) + as jni$_.JObjType<$T>; final _$aggregateMetric = aggregateMetric.reference; - return _getMetric(reference.pointer, _id_getMetric as jni$_.JMethodIDPtr, - _$aggregateMetric.pointer) - .object<$T?>(T.nullableType); + return _getMetric( + reference.pointer, + _id_getMetric as jni$_.JMethodIDPtr, + _$aggregateMetric.pointer, + ).object<$T?>(T.nullableType); } static final _id_get = _class.instanceMethodId( @@ -26435,16 +30418,23 @@ class AggregationResult extends jni$_.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric;)Ljava/lang/Object;', ); - static final _get = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _get = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `public final T get(androidx.health.connect.client.aggregate.AggregateMetric aggregateMetric)` /// The returned object must be released after use, by calling the [release] method. @@ -26452,13 +30442,18 @@ class AggregationResult extends jni$_.JObject { AggregateMetric<$T> aggregateMetric, { jni$_.JObjType<$T>? T, }) { - T ??= jni$_.lowestCommonSuperType([ - (aggregateMetric.$type as $AggregateMetric$Type).T, - ]) as jni$_.JObjType<$T>; + T ??= + jni$_.lowestCommonSuperType([ + (aggregateMetric.$type as $AggregateMetric$Type) + .T, + ]) + as jni$_.JObjType<$T>; final _$aggregateMetric = aggregateMetric.reference; - return _get(reference.pointer, _id_get as jni$_.JMethodIDPtr, - _$aggregateMetric.pointer) - .object<$T?>(T.nullableType); + return _get( + reference.pointer, + _id_get as jni$_.JMethodIDPtr, + _$aggregateMetric.pointer, + ).object<$T?>(T.nullableType); } } @@ -26475,11 +30470,7 @@ final class $AggregationResult$NullableType @jni$_.internal @core$_.override AggregationResult? fromReference(jni$_.JReference reference) => - reference.isNull - ? null - : AggregationResult.fromReference( - reference, - ); + reference.isNull ? null : AggregationResult.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -26514,9 +30505,7 @@ final class $AggregationResult$Type extends jni$_.JObjType { @jni$_.internal @core$_.override AggregationResult fromReference(jni$_.JReference reference) => - AggregationResult.fromReference( - reference, - ); + AggregationResult.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -26547,13 +30536,13 @@ class AggregateMetric$AggregationType extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - AggregateMetric$AggregationType.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + AggregateMetric$AggregationType.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/aggregate/AggregateMetric$AggregationType'); + r'androidx/health/connect/client/aggregate/AggregateMetric$AggregationType', + ); /// The type which includes information such as the signature of this class. static const nullableType = $AggregateMetric$AggregationType$NullableType(); @@ -26623,24 +30612,29 @@ class AggregateMetric$AggregationType extends jni$_.JObject { r'()Ljava/lang/String;', ); - static final _getAggregationTypeString = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _getAggregationTypeString = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `public final java.lang.String getAggregationTypeString()` /// The returned object must be released after use, by calling the [release] method. jni$_.JString getAggregationTypeString() { - return _getAggregationTypeString(reference.pointer, - _id_getAggregationTypeString as jni$_.JMethodIDPtr) - .object(const jni$_.JStringType()); + return _getAggregationTypeString( + reference.pointer, + _id_getAggregationTypeString as jni$_.JMethodIDPtr, + ).object(const jni$_.JStringType()); } static final _id_values = _class.staticMethodId( @@ -26648,25 +30642,33 @@ class AggregateMetric$AggregationType extends jni$_.JObject { r'()[Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - static final _values = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _values = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, - )>>('globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - )>(); + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + ) + >(); /// from: `static public androidx.health.connect.client.aggregate.AggregateMetric$AggregationType[] values()` /// The returned object must be released after use, by calling the [release] method. static jni$_.JArray? values() { - return _values(_class.reference.pointer, _id_values as jni$_.JMethodIDPtr) - .object?>( - const jni$_.JArrayNullableType( - $AggregateMetric$AggregationType$NullableType())); + return _values( + _class.reference.pointer, + _id_values as jni$_.JMethodIDPtr, + ).object?>( + const jni$_.JArrayNullableType( + $AggregateMetric$AggregationType$NullableType(), + ), + ); } static final _id_valueOf = _class.staticMethodId( @@ -26674,27 +30676,35 @@ class AggregateMetric$AggregationType extends jni$_.JObject { r'(Ljava/lang/String;)Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;', ); - static final _valueOf = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_CallStaticObjectMethod') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _valueOf = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_CallStaticObjectMethod') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `static public androidx.health.connect.client.aggregate.AggregateMetric$AggregationType valueOf(java.lang.String string)` /// The returned object must be released after use, by calling the [release] method. - static AggregateMetric$AggregationType? valueOf( - jni$_.JString? string, - ) { + static AggregateMetric$AggregationType? valueOf(jni$_.JString? string) { final _$string = string?.reference ?? jni$_.jNullReference; - return _valueOf(_class.reference.pointer, _id_valueOf as jni$_.JMethodIDPtr, - _$string.pointer) - .object( - const $AggregateMetric$AggregationType$NullableType()); + return _valueOf( + _class.reference.pointer, + _id_valueOf as jni$_.JMethodIDPtr, + _$string.pointer, + ).object( + const $AggregateMetric$AggregationType$NullableType(), + ); } } @@ -26713,9 +30723,7 @@ final class $AggregateMetric$AggregationType$NullableType AggregateMetric$AggregationType? fromReference(jni$_.JReference reference) => reference.isNull ? null - : AggregateMetric$AggregationType.fromReference( - reference, - ); + : AggregateMetric$AggregationType.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -26752,9 +30760,7 @@ final class $AggregateMetric$AggregationType$Type @jni$_.internal @core$_.override AggregateMetric$AggregationType fromReference(jni$_.JReference reference) => - AggregateMetric$AggregationType.fromReference( - reference, - ); + AggregateMetric$AggregationType.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -26785,13 +30791,13 @@ class AggregateMetric$Companion extends jni$_.JObject { final jni$_.JObjType $type; @jni$_.internal - AggregateMetric$Companion.fromReference( - jni$_.JReference reference, - ) : $type = type, - super.fromReference(reference); + AggregateMetric$Companion.fromReference(jni$_.JReference reference) + : $type = type, + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/aggregate/AggregateMetric$Companion'); + r'androidx/health/connect/client/aggregate/AggregateMetric$Companion', + ); /// The type which includes information such as the signature of this class. static const nullableType = $AggregateMetric$Companion$NullableType(); @@ -26800,29 +30806,36 @@ class AggregateMetric$Companion extends jni$_.JObject { r'(Lkotlin/jvm/internal/DefaultConstructorMarker;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< - jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs<(jni$_.Pointer,)>)>>( - 'globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function(jni$_.Pointer, - jni$_.JMethodIDPtr, jni$_.Pointer)>(); + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs<(jni$_.Pointer,)>, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.Pointer, + ) + >(); /// from: `synthetic public void (kotlin.jvm.internal.DefaultConstructorMarker defaultConstructorMarker)` /// The returned object must be released after use, by calling the [release] method. - factory AggregateMetric$Companion( - jni$_.JObject? defaultConstructorMarker, - ) { + factory AggregateMetric$Companion(jni$_.JObject? defaultConstructorMarker) { final _$defaultConstructorMarker = defaultConstructorMarker?.reference ?? jni$_.jNullReference; - return AggregateMetric$Companion.fromReference(_new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$defaultConstructorMarker.pointer) - .reference); + return AggregateMetric$Companion.fromReference( + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$defaultConstructorMarker.pointer, + ).reference, + ); } } @@ -26841,9 +30854,7 @@ final class $AggregateMetric$Companion$NullableType AggregateMetric$Companion? fromReference(jni$_.JReference reference) => reference.isNull ? null - : AggregateMetric$Companion.fromReference( - reference, - ); + : AggregateMetric$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -26879,9 +30890,7 @@ final class $AggregateMetric$Companion$Type @jni$_.internal @core$_.override AggregateMetric$Companion fromReference(jni$_.JReference reference) => - AggregateMetric$Companion.fromReference( - reference, - ); + AggregateMetric$Companion.fromReference(reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -26919,29 +30928,22 @@ class AggregateMetric$Converter$FromDouble<$R extends jni$_.JObject> AggregateMetric$Converter$FromDouble.fromReference( this.R, jni$_.JReference reference, - ) : $type = type<$R>(R), - super.fromReference(reference); + ) : $type = type<$R>(R), + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble'); + r'androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromDouble', + ); /// The type which includes information such as the signature of this class. static $AggregateMetric$Converter$FromDouble$NullableType<$R> - nullableType<$R extends jni$_.JObject>( - jni$_.JObjType<$R> R, - ) { - return $AggregateMetric$Converter$FromDouble$NullableType<$R>( - R, - ); + nullableType<$R extends jni$_.JObject>(jni$_.JObjType<$R> R) { + return $AggregateMetric$Converter$FromDouble$NullableType<$R>(R); } static $AggregateMetric$Converter$FromDouble$Type<$R> - type<$R extends jni$_.JObject>( - jni$_.JObjType<$R> R, - ) { - return $AggregateMetric$Converter$FromDouble$Type<$R>( - R, - ); + type<$R extends jni$_.JObject>(jni$_.JObjType<$R> R) { + return $AggregateMetric$Converter$FromDouble$Type<$R>(R); } /// Maps a specific port to the implemented interface. @@ -26954,19 +30956,16 @@ class AggregateMetric$Converter$FromDouble<$R extends jni$_.JObject> ) { return _$invokeMethod( port, - jni$_.MethodInvocation.fromAddresses( - 0, - descriptor.address, - args.address, - ), + jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address), ); } static final jni$_.Pointer< - jni$_.NativeFunction< - jni$_.JObjectPtr Function( - jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> - _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); + jni$_.NativeFunction< + jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr) + > + > + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); static jni$_.Pointer _$invokeMethod( int $p, @@ -27019,7 +31018,8 @@ class AggregateMetric$Converter$FromDouble<$R extends jni$_.JObject> } abstract base mixin class $AggregateMetric$Converter$FromDouble< - $R extends jni$_.JObject> { + $R extends jni$_.JObject +> { factory $AggregateMetric$Converter$FromDouble({ required jni$_.JObjType<$R> R, }) = _$AggregateMetric$Converter$FromDouble<$R>; @@ -27029,24 +31029,21 @@ abstract base mixin class $AggregateMetric$Converter$FromDouble< final class _$AggregateMetric$Converter$FromDouble<$R extends jni$_.JObject> with $AggregateMetric$Converter$FromDouble<$R> { - _$AggregateMetric$Converter$FromDouble({ - required this.R, - }); + _$AggregateMetric$Converter$FromDouble({required this.R}); @core$_.override final jni$_.JObjType<$R> R; } final class $AggregateMetric$Converter$FromDouble$NullableType< - $R extends jni$_.JObject> + $R extends jni$_.JObject +> extends jni$_.JObjType?> { @jni$_.internal final jni$_.JObjType<$R> R; @jni$_.internal - const $AggregateMetric$Converter$FromDouble$NullableType( - this.R, - ); + const $AggregateMetric$Converter$FromDouble$NullableType(this.R); @jni$_.internal @core$_.override @@ -27056,13 +31053,14 @@ final class $AggregateMetric$Converter$FromDouble$NullableType< @jni$_.internal @core$_.override AggregateMetric$Converter$FromDouble<$R>? fromReference( - jni$_.JReference reference) => + jni$_.JReference reference, + ) => reference.isNull ? null : AggregateMetric$Converter$FromDouble<$R>.fromReference( - R, - reference, - ); + R, + reference, + ); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -27095,9 +31093,7 @@ final class $AggregateMetric$Converter$FromDouble$Type<$R extends jni$_.JObject> final jni$_.JObjType<$R> R; @jni$_.internal - const $AggregateMetric$Converter$FromDouble$Type( - this.R, - ); + const $AggregateMetric$Converter$FromDouble$Type(this.R); @jni$_.internal @core$_.override @@ -27107,11 +31103,8 @@ final class $AggregateMetric$Converter$FromDouble$Type<$R extends jni$_.JObject> @jni$_.internal @core$_.override AggregateMetric$Converter$FromDouble<$R> fromReference( - jni$_.JReference reference) => - AggregateMetric$Converter$FromDouble<$R>.fromReference( - R, - reference, - ); + jni$_.JReference reference, + ) => AggregateMetric$Converter$FromDouble<$R>.fromReference(R, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -27152,29 +31145,22 @@ class AggregateMetric$Converter$FromLong<$R extends jni$_.JObject> AggregateMetric$Converter$FromLong.fromReference( this.R, jni$_.JReference reference, - ) : $type = type<$R>(R), - super.fromReference(reference); + ) : $type = type<$R>(R), + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong'); + r'androidx/health/connect/client/aggregate/AggregateMetric$Converter$FromLong', + ); /// The type which includes information such as the signature of this class. static $AggregateMetric$Converter$FromLong$NullableType<$R> - nullableType<$R extends jni$_.JObject>( - jni$_.JObjType<$R> R, - ) { - return $AggregateMetric$Converter$FromLong$NullableType<$R>( - R, - ); + nullableType<$R extends jni$_.JObject>(jni$_.JObjType<$R> R) { + return $AggregateMetric$Converter$FromLong$NullableType<$R>(R); } static $AggregateMetric$Converter$FromLong$Type<$R> - type<$R extends jni$_.JObject>( - jni$_.JObjType<$R> R, - ) { - return $AggregateMetric$Converter$FromLong$Type<$R>( - R, - ); + type<$R extends jni$_.JObject>(jni$_.JObjType<$R> R) { + return $AggregateMetric$Converter$FromLong$Type<$R>(R); } /// Maps a specific port to the implemented interface. @@ -27187,19 +31173,16 @@ class AggregateMetric$Converter$FromLong<$R extends jni$_.JObject> ) { return _$invokeMethod( port, - jni$_.MethodInvocation.fromAddresses( - 0, - descriptor.address, - args.address, - ), + jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address), ); } static final jni$_.Pointer< - jni$_.NativeFunction< - jni$_.JObjectPtr Function( - jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> - _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); + jni$_.NativeFunction< + jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr) + > + > + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); static jni$_.Pointer _$invokeMethod( int $p, @@ -27252,34 +31235,31 @@ class AggregateMetric$Converter$FromLong<$R extends jni$_.JObject> } abstract base mixin class $AggregateMetric$Converter$FromLong< - $R extends jni$_.JObject> { - factory $AggregateMetric$Converter$FromLong({ - required jni$_.JObjType<$R> R, - }) = _$AggregateMetric$Converter$FromLong<$R>; + $R extends jni$_.JObject +> { + factory $AggregateMetric$Converter$FromLong({required jni$_.JObjType<$R> R}) = + _$AggregateMetric$Converter$FromLong<$R>; jni$_.JObjType<$R> get R; } final class _$AggregateMetric$Converter$FromLong<$R extends jni$_.JObject> with $AggregateMetric$Converter$FromLong<$R> { - _$AggregateMetric$Converter$FromLong({ - required this.R, - }); + _$AggregateMetric$Converter$FromLong({required this.R}); @core$_.override final jni$_.JObjType<$R> R; } final class $AggregateMetric$Converter$FromLong$NullableType< - $R extends jni$_.JObject> + $R extends jni$_.JObject +> extends jni$_.JObjType?> { @jni$_.internal final jni$_.JObjType<$R> R; @jni$_.internal - const $AggregateMetric$Converter$FromLong$NullableType( - this.R, - ); + const $AggregateMetric$Converter$FromLong$NullableType(this.R); @jni$_.internal @core$_.override @@ -27289,13 +31269,11 @@ final class $AggregateMetric$Converter$FromLong$NullableType< @jni$_.internal @core$_.override AggregateMetric$Converter$FromLong<$R>? fromReference( - jni$_.JReference reference) => + jni$_.JReference reference, + ) => reference.isNull ? null - : AggregateMetric$Converter$FromLong<$R>.fromReference( - R, - reference, - ); + : AggregateMetric$Converter$FromLong<$R>.fromReference(R, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -27328,9 +31306,7 @@ final class $AggregateMetric$Converter$FromLong$Type<$R extends jni$_.JObject> final jni$_.JObjType<$R> R; @jni$_.internal - const $AggregateMetric$Converter$FromLong$Type( - this.R, - ); + const $AggregateMetric$Converter$FromLong$Type(this.R); @jni$_.internal @core$_.override @@ -27340,11 +31316,8 @@ final class $AggregateMetric$Converter$FromLong$Type<$R extends jni$_.JObject> @jni$_.internal @core$_.override AggregateMetric$Converter$FromLong<$R> fromReference( - jni$_.JReference reference) => - AggregateMetric$Converter$FromLong<$R>.fromReference( - R, - reference, - ); + jni$_.JReference reference, + ) => AggregateMetric$Converter$FromLong<$R>.fromReference(R, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -27371,8 +31344,11 @@ final class $AggregateMetric$Converter$FromLong$Type<$R extends jni$_.JObject> } /// from: `androidx.health.connect.client.aggregate.AggregateMetric$Converter` -class AggregateMetric$Converter<$T extends jni$_.JObject, - $R extends jni$_.JObject> extends jni$_.JObject { +class AggregateMetric$Converter< + $T extends jni$_.JObject, + $R extends jni$_.JObject +> + extends jni$_.JObject { @jni$_.internal @core$_.override final jni$_.JObjType> $type; @@ -27388,33 +31364,26 @@ class AggregateMetric$Converter<$T extends jni$_.JObject, this.T, this.R, jni$_.JReference reference, - ) : $type = type<$T, $R>(T, R), - super.fromReference(reference); + ) : $type = type<$T, $R>(T, R), + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/aggregate/AggregateMetric$Converter'); + r'androidx/health/connect/client/aggregate/AggregateMetric$Converter', + ); /// The type which includes information such as the signature of this class. - static $AggregateMetric$Converter$NullableType<$T, $R> - nullableType<$T extends jni$_.JObject, $R extends jni$_.JObject>( - jni$_.JObjType<$T> T, - jni$_.JObjType<$R> R, - ) { - return $AggregateMetric$Converter$NullableType<$T, $R>( - T, - R, - ); + static $AggregateMetric$Converter$NullableType<$T, $R> nullableType< + $T extends jni$_.JObject, + $R extends jni$_.JObject + >(jni$_.JObjType<$T> T, jni$_.JObjType<$R> R) { + return $AggregateMetric$Converter$NullableType<$T, $R>(T, R); } - static $AggregateMetric$Converter$Type<$T, $R> - type<$T extends jni$_.JObject, $R extends jni$_.JObject>( - jni$_.JObjType<$T> T, - jni$_.JObjType<$R> R, - ) { - return $AggregateMetric$Converter$Type<$T, $R>( - T, - R, - ); + static $AggregateMetric$Converter$Type<$T, $R> type< + $T extends jni$_.JObject, + $R extends jni$_.JObject + >(jni$_.JObjType<$T> T, jni$_.JObjType<$R> R) { + return $AggregateMetric$Converter$Type<$T, $R>(T, R); } /// Maps a specific port to the implemented interface. @@ -27426,19 +31395,16 @@ class AggregateMetric$Converter<$T extends jni$_.JObject, ) { return _$invokeMethod( port, - jni$_.MethodInvocation.fromAddresses( - 0, - descriptor.address, - args.address, - ), + jni$_.MethodInvocation.fromAddresses(0, descriptor.address, args.address), ); } static final jni$_.Pointer< - jni$_.NativeFunction< - jni$_.JObjectPtr Function( - jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr)>> - _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); + jni$_.NativeFunction< + jni$_.JObjectPtr Function(jni$_.Int64, jni$_.JObjectPtr, jni$_.JObjectPtr) + > + > + _$invokePointer = jni$_.Pointer.fromFunction(_$invoke); static jni$_.Pointer _$invokeMethod( int $p, @@ -27491,8 +31457,10 @@ class AggregateMetric$Converter<$T extends jni$_.JObject, } } -abstract base mixin class $AggregateMetric$Converter<$T extends jni$_.JObject, - $R extends jni$_.JObject> { +abstract base mixin class $AggregateMetric$Converter< + $T extends jni$_.JObject, + $R extends jni$_.JObject +> { factory $AggregateMetric$Converter({ required jni$_.JObjType<$T> T, required jni$_.JObjType<$R> R, @@ -27502,12 +31470,12 @@ abstract base mixin class $AggregateMetric$Converter<$T extends jni$_.JObject, jni$_.JObjType<$R> get R; } -final class _$AggregateMetric$Converter<$T extends jni$_.JObject, - $R extends jni$_.JObject> with $AggregateMetric$Converter<$T, $R> { - _$AggregateMetric$Converter({ - required this.T, - required this.R, - }); +final class _$AggregateMetric$Converter< + $T extends jni$_.JObject, + $R extends jni$_.JObject +> + with $AggregateMetric$Converter<$T, $R> { + _$AggregateMetric$Converter({required this.T, required this.R}); @core$_.override final jni$_.JObjType<$T> T; @@ -27516,8 +31484,10 @@ final class _$AggregateMetric$Converter<$T extends jni$_.JObject, final jni$_.JObjType<$R> R; } -final class $AggregateMetric$Converter$NullableType<$T extends jni$_.JObject, - $R extends jni$_.JObject> +final class $AggregateMetric$Converter$NullableType< + $T extends jni$_.JObject, + $R extends jni$_.JObject +> extends jni$_.JObjType?> { @jni$_.internal final jni$_.JObjType<$T> T; @@ -27526,10 +31496,7 @@ final class $AggregateMetric$Converter$NullableType<$T extends jni$_.JObject, final jni$_.JObjType<$R> R; @jni$_.internal - const $AggregateMetric$Converter$NullableType( - this.T, - this.R, - ); + const $AggregateMetric$Converter$NullableType(this.T, this.R); @jni$_.internal @core$_.override @@ -27539,14 +31506,11 @@ final class $AggregateMetric$Converter$NullableType<$T extends jni$_.JObject, @jni$_.internal @core$_.override AggregateMetric$Converter<$T, $R>? fromReference( - jni$_.JReference reference) => + jni$_.JReference reference, + ) => reference.isNull ? null - : AggregateMetric$Converter<$T, $R>.fromReference( - T, - R, - reference, - ); + : AggregateMetric$Converter<$T, $R>.fromReference(T, R, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -27573,8 +31537,10 @@ final class $AggregateMetric$Converter$NullableType<$T extends jni$_.JObject, } } -final class $AggregateMetric$Converter$Type<$T extends jni$_.JObject, - $R extends jni$_.JObject> +final class $AggregateMetric$Converter$Type< + $T extends jni$_.JObject, + $R extends jni$_.JObject +> extends jni$_.JObjType> { @jni$_.internal final jni$_.JObjType<$T> T; @@ -27583,10 +31549,7 @@ final class $AggregateMetric$Converter$Type<$T extends jni$_.JObject, final jni$_.JObjType<$R> R; @jni$_.internal - const $AggregateMetric$Converter$Type( - this.T, - this.R, - ); + const $AggregateMetric$Converter$Type(this.T, this.R); @jni$_.internal @core$_.override @@ -27596,11 +31559,7 @@ final class $AggregateMetric$Converter$Type<$T extends jni$_.JObject, @jni$_.internal @core$_.override AggregateMetric$Converter<$T, $R> fromReference(jni$_.JReference reference) => - AggregateMetric$Converter<$T, $R>.fromReference( - T, - R, - reference, - ); + AggregateMetric$Converter<$T, $R>.fromReference(T, R, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectNullableType(); @@ -27636,31 +31595,24 @@ class AggregateMetric<$T extends jni$_.JObject> extends jni$_.JObject { final jni$_.JObjType<$T> T; @jni$_.internal - AggregateMetric.fromReference( - this.T, - jni$_.JReference reference, - ) : $type = type<$T>(T), - super.fromReference(reference); + AggregateMetric.fromReference(this.T, jni$_.JReference reference) + : $type = type<$T>(T), + super.fromReference(reference); static final _class = jni$_.JClass.forName( - r'androidx/health/connect/client/aggregate/AggregateMetric'); + r'androidx/health/connect/client/aggregate/AggregateMetric', + ); /// The type which includes information such as the signature of this class. static $AggregateMetric$NullableType<$T> - nullableType<$T extends jni$_.JObject>( - jni$_.JObjType<$T> T, - ) { - return $AggregateMetric$NullableType<$T>( - T, - ); + nullableType<$T extends jni$_.JObject>(jni$_.JObjType<$T> T) { + return $AggregateMetric$NullableType<$T>(T); } static $AggregateMetric$Type<$T> type<$T extends jni$_.JObject>( jni$_.JObjType<$T> T, ) { - return $AggregateMetric$Type<$T>( - T, - ); + return $AggregateMetric$Type<$T>(T); } static final _id_Companion = _class.staticFieldId( @@ -27677,26 +31629,33 @@ class AggregateMetric<$T extends jni$_.JObject> extends jni$_.JObject { r'(Landroidx/health/connect/client/aggregate/AggregateMetric$Converter;Ljava/lang/String;Landroidx/health/connect/client/aggregate/AggregateMetric$AggregationType;Ljava/lang/String;)V', ); - static final _new$ = jni$_.ProtectedJniExtensions.lookup< - jni$_.NativeFunction< + static final _new$ = + jni$_.ProtectedJniExtensions.lookup< + jni$_.NativeFunction< jni$_.JniResult Function( - jni$_.Pointer, - jni$_.JMethodIDPtr, - jni$_.VarArgs< - ( - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer, - jni$_.Pointer - )>)>>('globalEnv_NewObject') - .asFunction< - jni$_.JniResult Function( + jni$_.Pointer, + jni$_.JMethodIDPtr, + jni$_.VarArgs< + ( + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + jni$_.Pointer, + ) + >, + ) + > + >('globalEnv_NewObject') + .asFunction< + jni$_.JniResult Function( jni$_.Pointer, jni$_.JMethodIDPtr, jni$_.Pointer, jni$_.Pointer, jni$_.Pointer, - jni$_.Pointer)>(); + jni$_.Pointer, + ) + >(); /// from: `public void (androidx.health.connect.client.aggregate.AggregateMetric$Converter converter, java.lang.String string, androidx.health.connect.client.aggregate.AggregateMetric$AggregationType aggregationType, java.lang.String string1)` /// The returned object must be released after use, by calling the [release] method. @@ -27707,25 +31666,31 @@ class AggregateMetric<$T extends jni$_.JObject> extends jni$_.JObject { jni$_.JString? string1, { jni$_.JObjType<$T>? T, }) { - T ??= jni$_.lowestCommonSuperType([ - (converter.$type as $AggregateMetric$Converter$Type) - .R, - ]) as jni$_.JObjType<$T>; + T ??= + jni$_.lowestCommonSuperType([ + (converter.$type + as $AggregateMetric$Converter$Type< + core$_.dynamic, + core$_.dynamic + >) + .R, + ]) + as jni$_.JObjType<$T>; final _$converter = converter.reference; final _$string = string.reference; final _$aggregationType = aggregationType.reference; final _$string1 = string1?.reference ?? jni$_.jNullReference; return AggregateMetric<$T>.fromReference( - T, - _new$( - _class.reference.pointer, - _id_new$ as jni$_.JMethodIDPtr, - _$converter.pointer, - _$string.pointer, - _$aggregationType.pointer, - _$string1.pointer) - .reference); + T, + _new$( + _class.reference.pointer, + _id_new$ as jni$_.JMethodIDPtr, + _$converter.pointer, + _$string.pointer, + _$aggregationType.pointer, + _$string1.pointer, + ).reference, + ); } } @@ -27735,9 +31700,7 @@ final class $AggregateMetric$NullableType<$T extends jni$_.JObject> final jni$_.JObjType<$T> T; @jni$_.internal - const $AggregateMetric$NullableType( - this.T, - ); + const $AggregateMetric$NullableType(this.T); @jni$_.internal @core$_.override @@ -27747,12 +31710,7 @@ final class $AggregateMetric$NullableType<$T extends jni$_.JObject> @jni$_.internal @core$_.override AggregateMetric<$T>? fromReference(jni$_.JReference reference) => - reference.isNull - ? null - : AggregateMetric<$T>.fromReference( - T, - reference, - ); + reference.isNull ? null : AggregateMetric<$T>.fromReference(T, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); @@ -27782,9 +31740,7 @@ final class $AggregateMetric$Type<$T extends jni$_.JObject> final jni$_.JObjType<$T> T; @jni$_.internal - const $AggregateMetric$Type( - this.T, - ); + const $AggregateMetric$Type(this.T); @jni$_.internal @core$_.override @@ -27794,10 +31750,7 @@ final class $AggregateMetric$Type<$T extends jni$_.JObject> @jni$_.internal @core$_.override AggregateMetric<$T> fromReference(jni$_.JReference reference) => - AggregateMetric<$T>.fromReference( - T, - reference, - ); + AggregateMetric<$T>.fromReference(T, reference); @jni$_.internal @core$_.override jni$_.JObjType get superType => const jni$_.JObjectType(); diff --git a/experimental/pedometer/lib/pedometer_bindings_generated.dart b/pedometer/lib/pedometer_bindings_generated.dart similarity index 50% rename from experimental/pedometer/lib/pedometer_bindings_generated.dart rename to pedometer/lib/pedometer_bindings_generated.dart index 57a39a942..c93f0b23b 100644 --- a/experimental/pedometer/lib/pedometer_bindings_generated.dart +++ b/pedometer/lib/pedometer_bindings_generated.dart @@ -9,17 +9,16 @@ import 'package:ffi/ffi.dart' as pkg_ffi; class PedometerBindings { /// Holds the symbol lookup function. final ffi.Pointer Function(String symbolName) - _lookup; + _lookup; /// The symbols are looked up in [dynamicLibrary]. PedometerBindings(ffi.DynamicLibrary dynamicLibrary) - : _lookup = dynamicLibrary.lookup; + : _lookup = dynamicLibrary.lookup; /// The symbols are looked up with [lookup]. PedometerBindings.fromLookup( - ffi.Pointer Function(String symbolName) - lookup) - : _lookup = lookup; + ffi.Pointer Function(String symbolName) lookup, + ) : _lookup = lookup; ffi.Pointer _registerName1(String name) { final cstr = name.toNativeUtf8(); @@ -28,20 +27,16 @@ class PedometerBindings { return sel; } - ffi.Pointer _sel_registerName( - ffi.Pointer str, - ) { - return __sel_registerName( - str, - ); + ffi.Pointer _sel_registerName(ffi.Pointer str) { + return __sel_registerName(str); } late final __sel_registerNamePtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('sel_registerName'); - late final __sel_registerName = __sel_registerNamePtr - .asFunction Function(ffi.Pointer)>(); + ffi.NativeFunction Function(ffi.Pointer)> + >('sel_registerName'); + late final __sel_registerName = + __sel_registerNamePtr + .asFunction Function(ffi.Pointer)>(); ffi.Pointer _getClass1(String name) { final cstr = name.toNativeUtf8(); @@ -53,70 +48,64 @@ class PedometerBindings { return clazz; } - ffi.Pointer _objc_getClass( - ffi.Pointer str, - ) { - return __objc_getClass( - str, - ); + ffi.Pointer _objc_getClass(ffi.Pointer str) { + return __objc_getClass(str); } late final __objc_getClassPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('objc_getClass'); - late final __objc_getClass = __objc_getClassPtr - .asFunction Function(ffi.Pointer)>(); + ffi.NativeFunction Function(ffi.Pointer)> + >('objc_getClass'); + late final __objc_getClass = + __objc_getClassPtr + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >(); - ffi.Pointer _objc_retain( - ffi.Pointer value, - ) { - return __objc_retain( - value, - ); + ffi.Pointer _objc_retain(ffi.Pointer value) { + return __objc_retain(value); } late final __objc_retainPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('objc_retain'); - late final __objc_retain = __objc_retainPtr - .asFunction Function(ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >('objc_retain'); + late final __objc_retain = + __objc_retainPtr + .asFunction< + ffi.Pointer Function(ffi.Pointer) + >(); - void _objc_release( - ffi.Pointer value, - ) { - return __objc_release( - value, - ); + void _objc_release(ffi.Pointer value) { + return __objc_release(value); } late final __objc_releasePtr = _lookup)>>( - 'objc_release'); + 'objc_release', + ); late final __objc_release = __objc_releasePtr.asFunction)>(); - late final _objc_releaseFinalizer2 = - ffi.NativeFinalizer(__objc_releasePtr.cast()); + late final _objc_releaseFinalizer2 = ffi.NativeFinalizer( + __objc_releasePtr.cast(), + ); late final _class_NSObject1 = _getClass1("NSObject"); late final _sel_load1 = _registerName1("load"); - void _objc_msgSend_1( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_1( - obj, - sel, - ); + void _objc_msgSend_1(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_1(obj, sel); } late final __objc_msgSend_1Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1 = __objc_msgSend_1Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_1 = + __objc_msgSend_1Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_initialize1 = _registerName1("initialize"); late final _sel_init1 = _registerName1("init"); @@ -124,18 +113,19 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_2( - obj, - sel, - ); + return __objc_msgSend_2(obj, sel); } late final __objc_msgSend_2Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_2 = __objc_msgSend_2Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_2 = + __objc_msgSend_2Ptr + .asFunction< + instancetype Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_new1 = _registerName1("new"); late final _sel_allocWithZone_1 = _registerName1("allocWithZone:"); @@ -144,20 +134,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<_NSZone> zone, ) { - return __objc_msgSend_3( - obj, - sel, - zone, - ); + return __objc_msgSend_3(obj, sel, zone); } late final __objc_msgSend_3Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>>('objc_msgSend'); - late final __objc_msgSend_3 = __objc_msgSend_3Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_3 = + __objc_msgSend_3Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); late final _sel_alloc1 = _registerName1("alloc"); late final _sel_dealloc1 = _registerName1("dealloc"); @@ -165,49 +162,65 @@ class PedometerBindings { late final _sel_copy1 = _registerName1("copy"); late final _sel_mutableCopy1 = _registerName1("mutableCopy"); late final _sel_copyWithZone_1 = _registerName1("copyWithZone:"); - late final _sel_mutableCopyWithZone_1 = - _registerName1("mutableCopyWithZone:"); - late final _sel_instancesRespondToSelector_1 = - _registerName1("instancesRespondToSelector:"); + late final _sel_mutableCopyWithZone_1 = _registerName1( + "mutableCopyWithZone:", + ); + late final _sel_instancesRespondToSelector_1 = _registerName1( + "instancesRespondToSelector:", + ); bool _objc_msgSend_4( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aSelector, ) { - return __objc_msgSend_4( - obj, - sel, - aSelector, - ); + return __objc_msgSend_4(obj, sel, aSelector); } late final __objc_msgSend_4Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_4 = __objc_msgSend_4Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_4 = + __objc_msgSend_4Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); bool _objc_msgSend_0( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer clazz, ) { - return __objc_msgSend_0( - obj, - sel, - clazz, - ); + return __objc_msgSend_0(obj, sel, clazz); } late final __objc_msgSend_0Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_0 = __objc_msgSend_0Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_0 = + __objc_msgSend_0Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isKindOfClass_1 = _registerName1("isKindOfClass:"); late final _class_Protocol1 = _getClass1("Protocol"); @@ -217,20 +230,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer protocol, ) { - return __objc_msgSend_5( - obj, - sel, - protocol, - ); + return __objc_msgSend_5(obj, sel, protocol); } late final __objc_msgSend_5Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_5 = __objc_msgSend_5Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_5 = + __objc_msgSend_5Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_methodForSelector_1 = _registerName1("methodForSelector:"); ffi.Pointer> _objc_msgSend_6( @@ -238,177 +258,216 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer aSelector, ) { - return __objc_msgSend_6( - obj, - sel, - aSelector, - ); + return __objc_msgSend_6(obj, sel, aSelector); } late final __objc_msgSend_6Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer> Function( + ffi.NativeFunction< + ffi.Pointer> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_6 = + __objc_msgSend_6Ptr + .asFunction< + ffi.Pointer> Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_6 = __objc_msgSend_6Ptr.asFunction< - ffi.Pointer> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_instanceMethodForSelector_1 = - _registerName1("instanceMethodForSelector:"); - late final _sel_doesNotRecognizeSelector_1 = - _registerName1("doesNotRecognizeSelector:"); + ffi.Pointer, + ) + >(); + + late final _sel_instanceMethodForSelector_1 = _registerName1( + "instanceMethodForSelector:", + ); + late final _sel_doesNotRecognizeSelector_1 = _registerName1( + "doesNotRecognizeSelector:", + ); void _objc_msgSend_7( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aSelector, ) { - return __objc_msgSend_7( - obj, - sel, - aSelector, - ); + return __objc_msgSend_7(obj, sel, aSelector); } late final __objc_msgSend_7Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_7 = __objc_msgSend_7Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_forwardingTargetForSelector_1 = - _registerName1("forwardingTargetForSelector:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_7 = + __objc_msgSend_7Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_forwardingTargetForSelector_1 = _registerName1( + "forwardingTargetForSelector:", + ); ffi.Pointer _objc_msgSend_8( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aSelector, ) { - return __objc_msgSend_8( - obj, - sel, - aSelector, - ); + return __objc_msgSend_8(obj, sel, aSelector); } late final __objc_msgSend_8Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_8 = __objc_msgSend_8Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_8 = + __objc_msgSend_8Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSInvocation1 = _getClass1("NSInvocation"); late final _class_NSMethodSignature1 = _getClass1("NSMethodSignature"); - late final _sel_signatureWithObjCTypes_1 = - _registerName1("signatureWithObjCTypes:"); + late final _sel_signatureWithObjCTypes_1 = _registerName1( + "signatureWithObjCTypes:", + ); ffi.Pointer _objc_msgSend_9( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer types, ) { - return __objc_msgSend_9( - obj, - sel, - types, - ); + return __objc_msgSend_9(obj, sel, types); } late final __objc_msgSend_9Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_9 = __objc_msgSend_9Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_9 = + __objc_msgSend_9Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_numberOfArguments1 = _registerName1("numberOfArguments"); - int _objc_msgSend_10( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_10( - obj, - sel, - ); + int _objc_msgSend_10(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_10(obj, sel); } late final __objc_msgSend_10Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_10 = __objc_msgSend_10Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_10 = + __objc_msgSend_10Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_getArgumentTypeAtIndex_1 = - _registerName1("getArgumentTypeAtIndex:"); + late final _sel_getArgumentTypeAtIndex_1 = _registerName1( + "getArgumentTypeAtIndex:", + ); ffi.Pointer _objc_msgSend_11( ffi.Pointer obj, ffi.Pointer sel, int idx, ) { - return __objc_msgSend_11( - obj, - sel, - idx, - ); + return __objc_msgSend_11(obj, sel, idx); } late final __objc_msgSend_11Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_11 = __objc_msgSend_11Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_11 = + __objc_msgSend_11Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_frameLength1 = _registerName1("frameLength"); late final _sel_isOneway1 = _registerName1("isOneway"); - bool _objc_msgSend_12( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_12( - obj, - sel, - ); + bool _objc_msgSend_12(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_12(obj, sel); } late final __objc_msgSend_12Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_12 = __objc_msgSend_12Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_12 = + __objc_msgSend_12Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_methodReturnType1 = _registerName1("methodReturnType"); ffi.Pointer _objc_msgSend_13( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_13( - obj, - sel, - ); + return __objc_msgSend_13(obj, sel); } late final __objc_msgSend_13Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_13 = __objc_msgSend_13Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_13 = + __objc_msgSend_13Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_methodReturnLength1 = _registerName1("methodReturnLength"); late final _sel_cancelPreviousPerformRequestsWithTarget_selector_object_1 = _registerName1( - "cancelPreviousPerformRequestsWithTarget:selector:object:"); + "cancelPreviousPerformRequestsWithTarget:selector:object:", + ); void _objc_msgSend_14( ffi.Pointer obj, ffi.Pointer sel, @@ -416,55 +475,65 @@ class PedometerBindings { ffi.Pointer aSelector, ffi.Pointer anArgument, ) { - return __objc_msgSend_14( - obj, - sel, - aTarget, - aSelector, - anArgument, - ); + return __objc_msgSend_14(obj, sel, aTarget, aSelector, anArgument); } late final __objc_msgSend_14Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_14 = + __objc_msgSend_14Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_14 = __objc_msgSend_14Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_cancelPreviousPerformRequestsWithTarget_1 = - _registerName1("cancelPreviousPerformRequestsWithTarget:"); + late final _sel_cancelPreviousPerformRequestsWithTarget_1 = _registerName1( + "cancelPreviousPerformRequestsWithTarget:", + ); void _objc_msgSend_15( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aTarget, ) { - return __objc_msgSend_15( - obj, - sel, - aTarget, - ); + return __objc_msgSend_15(obj, sel, aTarget); } late final __objc_msgSend_15Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_15 = __objc_msgSend_15Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_accessInstanceVariablesDirectly1 = - _registerName1("accessInstanceVariablesDirectly"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_15 = + __objc_msgSend_15Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_accessInstanceVariablesDirectly1 = _registerName1( + "accessInstanceVariablesDirectly", + ); late final _sel_useStoredAccessor1 = _registerName1("useStoredAccessor"); late final _class_NSSet1 = _getClass1("NSSet"); late final _sel_count1 = _registerName1("count"); @@ -474,20 +543,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer object, ) { - return __objc_msgSend_16( - obj, - sel, - object, - ); + return __objc_msgSend_16(obj, sel, object); } late final __objc_msgSend_16Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_16 = __objc_msgSend_16Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_16 = + __objc_msgSend_16Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSEnumerator1 = _getClass1("NSEnumerator"); late final _sel_nextObject1 = _registerName1("nextObject"); @@ -495,19 +571,25 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_17( - obj, - sel, - ); + return __objc_msgSend_17(obj, sel); } late final __objc_msgSend_17Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_17 = __objc_msgSend_17Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_17 = + __objc_msgSend_17Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_allObjects1 = _registerName1("allObjects"); late final _class_NSString1 = _getClass1("NSString"); @@ -518,44 +600,57 @@ class PedometerBindings { ffi.Pointer sel, int index, ) { - return __objc_msgSend_18( - obj, - sel, - index, - ); + return __objc_msgSend_18(obj, sel, index); } late final __objc_msgSend_18Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_18 = __objc_msgSend_18Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.UnsignedShort Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_18 = + __objc_msgSend_18Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _class_NSCoder1 = _getClass1("NSCoder"); - late final _sel_encodeValueOfObjCType_at_1 = - _registerName1("encodeValueOfObjCType:at:"); + late final _sel_encodeValueOfObjCType_at_1 = _registerName1( + "encodeValueOfObjCType:at:", + ); void _objc_msgSend_19( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer type, ffi.Pointer addr, ) { - return __objc_msgSend_19( - obj, - sel, - type, - addr, - ); + return __objc_msgSend_19(obj, sel, type, addr); } late final __objc_msgSend_19Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_19 = __objc_msgSend_19Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_19 = + __objc_msgSend_19Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSData1 = _getClass1("NSData"); late final _sel_bytes1 = _registerName1("bytes"); @@ -563,38 +658,50 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_20( - obj, - sel, - ); + return __objc_msgSend_20(obj, sel); } late final __objc_msgSend_20Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_20 = __objc_msgSend_20Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_20 = + __objc_msgSend_20Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_description1 = _registerName1("description"); ffi.Pointer _objc_msgSend_21( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_21( - obj, - sel, - ); + return __objc_msgSend_21(obj, sel); } late final __objc_msgSend_21Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_21 = __objc_msgSend_21Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_21 = + __objc_msgSend_21Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getBytes_length_1 = _registerName1("getBytes:length:"); void _objc_msgSend_22( @@ -603,21 +710,29 @@ class PedometerBindings { ffi.Pointer buffer, int length, ) { - return __objc_msgSend_22( - obj, - sel, - buffer, - length, - ); + return __objc_msgSend_22(obj, sel, buffer, length); } late final __objc_msgSend_22Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_22 = __objc_msgSend_22Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_22 = + __objc_msgSend_22Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_getBytes_range_1 = _registerName1("getBytes:range:"); void _objc_msgSend_23( @@ -626,21 +741,29 @@ class PedometerBindings { ffi.Pointer buffer, _NSRange range, ) { - return __objc_msgSend_23( - obj, - sel, - buffer, - range, - ); + return __objc_msgSend_23(obj, sel, buffer, range); } late final __objc_msgSend_23Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_23 = __objc_msgSend_23Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_23 = + __objc_msgSend_23Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_isEqualToData_1 = _registerName1("isEqualToData:"); bool _objc_msgSend_24( @@ -648,20 +771,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer other, ) { - return __objc_msgSend_24( - obj, - sel, - other, - ); + return __objc_msgSend_24(obj, sel, other); } late final __objc_msgSend_24Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_24 = __objc_msgSend_24Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_24 = + __objc_msgSend_24Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_subdataWithRange_1 = _registerName1("subdataWithRange:"); ffi.Pointer _objc_msgSend_25( @@ -669,48 +799,65 @@ class PedometerBindings { ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_25( - obj, - sel, - range, - ); + return __objc_msgSend_25(obj, sel, range); } late final __objc_msgSend_25Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_25 = __objc_msgSend_25Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_25 = + __objc_msgSend_25Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_writeToFile_atomically_1 = - _registerName1("writeToFile:atomically:"); + late final _sel_writeToFile_atomically_1 = _registerName1( + "writeToFile:atomically:", + ); bool _objc_msgSend_26( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, bool useAuxiliaryFile, ) { - return __objc_msgSend_26( - obj, - sel, - path, - useAuxiliaryFile, - ); + return __objc_msgSend_26(obj, sel, path, useAuxiliaryFile); } late final __objc_msgSend_26Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_26 = __objc_msgSend_26Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_26 = + __objc_msgSend_26Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _class_NSURL1 = _getClass1("NSURL"); - late final _sel_initWithScheme_host_path_1 = - _registerName1("initWithScheme:host:path:"); + late final _sel_initWithScheme_host_path_1 = _registerName1( + "initWithScheme:host:path:", + ); instancetype _objc_msgSend_27( ffi.Pointer obj, ffi.Pointer sel, @@ -718,30 +865,31 @@ class PedometerBindings { ffi.Pointer host, ffi.Pointer path, ) { - return __objc_msgSend_27( - obj, - sel, - scheme, - host, - path, - ); + return __objc_msgSend_27(obj, sel, scheme, host, path); } late final __objc_msgSend_27Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_27 = + __objc_msgSend_27Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_27 = __objc_msgSend_27Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_initFileURLWithPath_isDirectory_relativeToURL_1 = _registerName1("initFileURLWithPath:isDirectory:relativeToURL:"); @@ -752,102 +900,131 @@ class PedometerBindings { bool isDir, ffi.Pointer baseURL, ) { - return __objc_msgSend_28( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_28(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_28Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_28 = + __objc_msgSend_28Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_28 = __objc_msgSend_28Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); - late final _sel_initFileURLWithPath_relativeToURL_1 = - _registerName1("initFileURLWithPath:relativeToURL:"); + late final _sel_initFileURLWithPath_relativeToURL_1 = _registerName1( + "initFileURLWithPath:relativeToURL:", + ); instancetype _objc_msgSend_29( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer baseURL, ) { - return __objc_msgSend_29( - obj, - sel, - path, - baseURL, - ); + return __objc_msgSend_29(obj, sel, path, baseURL); } late final __objc_msgSend_29Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_29 = + __objc_msgSend_29Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_29 = __objc_msgSend_29Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_initFileURLWithPath_isDirectory_1 = - _registerName1("initFileURLWithPath:isDirectory:"); + late final _sel_initFileURLWithPath_isDirectory_1 = _registerName1( + "initFileURLWithPath:isDirectory:", + ); instancetype _objc_msgSend_30( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, bool isDir, ) { - return __objc_msgSend_30( - obj, - sel, - path, - isDir, - ); + return __objc_msgSend_30(obj, sel, path, isDir); } late final __objc_msgSend_30Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_30 = __objc_msgSend_30Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initFileURLWithPath_1 = - _registerName1("initFileURLWithPath:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_30 = + __objc_msgSend_30Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initFileURLWithPath_1 = _registerName1( + "initFileURLWithPath:", + ); instancetype _objc_msgSend_31( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ) { - return __objc_msgSend_31( - obj, - sel, - path, - ); + return __objc_msgSend_31(obj, sel, path); } late final __objc_msgSend_31Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_31 = __objc_msgSend_31Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = - _registerName1("fileURLWithPath:isDirectory:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_31 = + __objc_msgSend_31Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileURLWithPath_isDirectory_relativeToURL_1 = _registerName1( + "fileURLWithPath:isDirectory:relativeToURL:", + ); ffi.Pointer _objc_msgSend_32( ffi.Pointer obj, ffi.Pointer sel, @@ -855,87 +1032,97 @@ class PedometerBindings { bool isDir, ffi.Pointer baseURL, ) { - return __objc_msgSend_32( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_32(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_32Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_32 = + __objc_msgSend_32Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_32 = __objc_msgSend_32Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); - late final _sel_fileURLWithPath_relativeToURL_1 = - _registerName1("fileURLWithPath:relativeToURL:"); + late final _sel_fileURLWithPath_relativeToURL_1 = _registerName1( + "fileURLWithPath:relativeToURL:", + ); ffi.Pointer _objc_msgSend_33( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer baseURL, ) { - return __objc_msgSend_33( - obj, - sel, - path, - baseURL, - ); + return __objc_msgSend_33(obj, sel, path, baseURL); } late final __objc_msgSend_33Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_33 = + __objc_msgSend_33Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_33 = __objc_msgSend_33Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_fileURLWithPath_isDirectory_1 = - _registerName1("fileURLWithPath:isDirectory:"); + late final _sel_fileURLWithPath_isDirectory_1 = _registerName1( + "fileURLWithPath:isDirectory:", + ); ffi.Pointer _objc_msgSend_34( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, bool isDir, ) { - return __objc_msgSend_34( - obj, - sel, - path, - isDir, - ); + return __objc_msgSend_34(obj, sel, path, isDir); } late final __objc_msgSend_34Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_34 = + __objc_msgSend_34Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_34 = __objc_msgSend_34Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); + bool, + ) + >(); late final _sel_fileURLWithPath_1 = _registerName1("fileURLWithPath:"); ffi.Pointer _objc_msgSend_35( @@ -943,24 +1130,32 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer path, ) { - return __objc_msgSend_35( - obj, - sel, - path, - ); + return __objc_msgSend_35(obj, sel, path); } late final __objc_msgSend_35Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_35 = __objc_msgSend_35Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_35 = + __objc_msgSend_35Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = _registerName1( - "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); + "initFileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); instancetype _objc_msgSend_36( ffi.Pointer obj, ffi.Pointer sel, @@ -968,30 +1163,36 @@ class PedometerBindings { bool isDir, ffi.Pointer baseURL, ) { - return __objc_msgSend_36( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_36(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_36Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_36 = + __objc_msgSend_36Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_36 = __objc_msgSend_36Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); late final _sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1 = _registerName1( - "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:"); + "fileURLWithFileSystemRepresentation:isDirectory:relativeToURL:", + ); ffi.Pointer _objc_msgSend_37( ffi.Pointer obj, ffi.Pointer sel, @@ -999,30 +1200,31 @@ class PedometerBindings { bool isDir, ffi.Pointer baseURL, ) { - return __objc_msgSend_37( - obj, - sel, - path, - isDir, - baseURL, - ); + return __objc_msgSend_37(obj, sel, path, isDir, baseURL); } late final __objc_msgSend_37Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_37 = + __objc_msgSend_37Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_37 = __objc_msgSend_37Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); late final _sel_initWithString_1 = _registerName1("initWithString:"); instancetype _objc_msgSend_38( @@ -1030,133 +1232,166 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer URLString, ) { - return __objc_msgSend_38( - obj, - sel, - URLString, - ); + return __objc_msgSend_38(obj, sel, URLString); } late final __objc_msgSend_38Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_38 = __objc_msgSend_38Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithString_relativeToURL_1 = - _registerName1("initWithString:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_38 = + __objc_msgSend_38Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithString_relativeToURL_1 = _registerName1( + "initWithString:relativeToURL:", + ); instancetype _objc_msgSend_39( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer URLString, ffi.Pointer baseURL, ) { - return __objc_msgSend_39( - obj, - sel, - URLString, - baseURL, - ); + return __objc_msgSend_39(obj, sel, URLString, baseURL); } late final __objc_msgSend_39Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_39 = + __objc_msgSend_39Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_39 = __objc_msgSend_39Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_URLWithString_1 = _registerName1("URLWithString:"); - late final _sel_URLWithString_relativeToURL_1 = - _registerName1("URLWithString:relativeToURL:"); - late final _sel_initWithString_encodingInvalidCharacters_1 = - _registerName1("initWithString:encodingInvalidCharacters:"); + late final _sel_URLWithString_relativeToURL_1 = _registerName1( + "URLWithString:relativeToURL:", + ); + late final _sel_initWithString_encodingInvalidCharacters_1 = _registerName1( + "initWithString:encodingInvalidCharacters:", + ); instancetype _objc_msgSend_40( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer URLString, bool encodingInvalidCharacters, ) { - return __objc_msgSend_40( - obj, - sel, - URLString, - encodingInvalidCharacters, - ); + return __objc_msgSend_40(obj, sel, URLString, encodingInvalidCharacters); } late final __objc_msgSend_40Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_40 = __objc_msgSend_40Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_URLWithString_encodingInvalidCharacters_1 = - _registerName1("URLWithString:encodingInvalidCharacters:"); - late final _sel_initWithDataRepresentation_relativeToURL_1 = - _registerName1("initWithDataRepresentation:relativeToURL:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_40 = + __objc_msgSend_40Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_URLWithString_encodingInvalidCharacters_1 = _registerName1( + "URLWithString:encodingInvalidCharacters:", + ); + late final _sel_initWithDataRepresentation_relativeToURL_1 = _registerName1( + "initWithDataRepresentation:relativeToURL:", + ); instancetype _objc_msgSend_41( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer data, ffi.Pointer baseURL, ) { - return __objc_msgSend_41( - obj, - sel, - data, - baseURL, - ); + return __objc_msgSend_41(obj, sel, data, baseURL); } late final __objc_msgSend_41Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_41 = + __objc_msgSend_41Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_41 = __objc_msgSend_41Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_URLWithDataRepresentation_relativeToURL_1 = - _registerName1("URLWithDataRepresentation:relativeToURL:"); + late final _sel_URLWithDataRepresentation_relativeToURL_1 = _registerName1( + "URLWithDataRepresentation:relativeToURL:", + ); ffi.Pointer _objc_msgSend_42( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer data, ffi.Pointer baseURL, ) { - return __objc_msgSend_42( - obj, - sel, - data, - baseURL, - ); + return __objc_msgSend_42(obj, sel, data, baseURL); } late final __objc_msgSend_42Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_42 = + __objc_msgSend_42Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_42 = __objc_msgSend_42Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1 = _registerName1("initAbsoluteURLWithDataRepresentation:relativeToURL:"); @@ -1167,38 +1402,50 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_43( - obj, - sel, - ); + return __objc_msgSend_43(obj, sel); } late final __objc_msgSend_43Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_43 = __objc_msgSend_43Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_43 = + __objc_msgSend_43Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_absoluteString1 = _registerName1("absoluteString"); ffi.Pointer _objc_msgSend_44( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_44( - obj, - sel, - ); + return __objc_msgSend_44(obj, sel); } late final __objc_msgSend_44Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_44 = __objc_msgSend_44Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_44 = + __objc_msgSend_44Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_relativeString1 = _registerName1("relativeString"); late final _sel_baseURL1 = _registerName1("baseURL"); @@ -1206,19 +1453,25 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_45( - obj, - sel, - ); + return __objc_msgSend_45(obj, sel); } late final __objc_msgSend_45Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_45 = __objc_msgSend_45Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_45 = + __objc_msgSend_45Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_absoluteURL1 = _registerName1("absoluteURL"); late final _sel_scheme1 = _registerName1("scheme"); @@ -1228,29 +1481,38 @@ class PedometerBindings { late final _class_NSValue1 = _getClass1("NSValue"); late final _sel_getValue_size_1 = _registerName1("getValue:size:"); late final _sel_objCType1 = _registerName1("objCType"); - late final _sel_initWithBytes_objCType_1 = - _registerName1("initWithBytes:objCType:"); + late final _sel_initWithBytes_objCType_1 = _registerName1( + "initWithBytes:objCType:", + ); instancetype _objc_msgSend_46( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ffi.Pointer type, ) { - return __objc_msgSend_46( - obj, - sel, - value, - type, - ); + return __objc_msgSend_46(obj, sel, value, type); } late final __objc_msgSend_46Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_46 = __objc_msgSend_46Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_46 = + __objc_msgSend_46Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithCoder_1 = _registerName1("initWithCoder:"); instancetype _objc_msgSend_47( @@ -1258,96 +1520,122 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer coder, ) { - return __objc_msgSend_47( - obj, - sel, - coder, - ); + return __objc_msgSend_47(obj, sel, coder); } late final __objc_msgSend_47Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_47 = __objc_msgSend_47Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_valueWithBytes_objCType_1 = - _registerName1("valueWithBytes:objCType:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_47 = + __objc_msgSend_47Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_valueWithBytes_objCType_1 = _registerName1( + "valueWithBytes:objCType:", + ); ffi.Pointer _objc_msgSend_48( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ffi.Pointer type, ) { - return __objc_msgSend_48( - obj, - sel, - value, - type, - ); + return __objc_msgSend_48(obj, sel, value, type); } late final __objc_msgSend_48Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_48 = + __objc_msgSend_48Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_48 = __objc_msgSend_48Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_value_withObjCType_1 = _registerName1("value:withObjCType:"); - late final _sel_valueWithNonretainedObject_1 = - _registerName1("valueWithNonretainedObject:"); + late final _sel_valueWithNonretainedObject_1 = _registerName1( + "valueWithNonretainedObject:", + ); ffi.Pointer _objc_msgSend_49( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer anObject, ) { - return __objc_msgSend_49( - obj, - sel, - anObject, - ); + return __objc_msgSend_49(obj, sel, anObject); } late final __objc_msgSend_49Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_49 = __objc_msgSend_49Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_nonretainedObjectValue1 = - _registerName1("nonretainedObjectValue"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_49 = + __objc_msgSend_49Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_nonretainedObjectValue1 = _registerName1( + "nonretainedObjectValue", + ); late final _sel_valueWithPointer_1 = _registerName1("valueWithPointer:"); ffi.Pointer _objc_msgSend_50( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer pointer, ) { - return __objc_msgSend_50( - obj, - sel, - pointer, - ); + return __objc_msgSend_50(obj, sel, pointer); } late final __objc_msgSend_50Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_50 = __objc_msgSend_50Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_50 = + __objc_msgSend_50Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pointerValue1 = _registerName1("pointerValue"); late final _sel_isEqualToValue_1 = _registerName1("isEqualToValue:"); @@ -1356,20 +1644,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_51( - obj, - sel, - value, - ); + return __objc_msgSend_51(obj, sel, value); } late final __objc_msgSend_51Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_51 = __objc_msgSend_51Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_51 = + __objc_msgSend_51Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getValue_1 = _registerName1("getValue:"); void _objc_msgSend_52( @@ -1377,20 +1672,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_52( - obj, - sel, - value, - ); + return __objc_msgSend_52(obj, sel, value); } late final __objc_msgSend_52Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_52 = __objc_msgSend_52Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_52 = + __objc_msgSend_52Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_valueWithRange_1 = _registerName1("valueWithRange:"); ffi.Pointer _objc_msgSend_53( @@ -1398,104 +1700,136 @@ class PedometerBindings { ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_53( - obj, - sel, - range, - ); + return __objc_msgSend_53(obj, sel, range); } late final __objc_msgSend_53Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_53 = __objc_msgSend_53Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_53 = + __objc_msgSend_53Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_rangeValue1 = _registerName1("rangeValue"); - late final _objc_msgSend_useVariants1 = ffi.Abi.current() == ffi.Abi.iosX64 || + late final _objc_msgSend_useVariants1 = + ffi.Abi.current() == ffi.Abi.iosX64 || ffi.Abi.current() == ffi.Abi.macosX64; _NSRange _objc_msgSend_54( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_54( - obj, - sel, - ); + return __objc_msgSend_54(obj, sel); } late final __objc_msgSend_54Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_54 = __objc_msgSend_54Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_54 = + __objc_msgSend_54Ptr + .asFunction< + _NSRange Function(ffi.Pointer, ffi.Pointer) + >(); void _objc_msgSend_54_stret( ffi.Pointer<_NSRange> stret, ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_54_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_54_stret(stret, obj, sel); } late final __objc_msgSend_54_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_54_stret = __objc_msgSend_54_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_keyPathsForValuesAffectingValueForKey_1 = - _registerName1("keyPathsForValuesAffectingValueForKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_54_stret = + __objc_msgSend_54_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_keyPathsForValuesAffectingValueForKey_1 = _registerName1( + "keyPathsForValuesAffectingValueForKey:", + ); ffi.Pointer _objc_msgSend_55( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_55( - obj, - sel, - key, - ); + return __objc_msgSend_55(obj, sel, key); } late final __objc_msgSend_55Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_55 = __objc_msgSend_55Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_automaticallyNotifiesObserversForKey_1 = - _registerName1("automaticallyNotifiesObserversForKey:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_55 = + __objc_msgSend_55Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_automaticallyNotifiesObserversForKey_1 = _registerName1( + "automaticallyNotifiesObserversForKey:", + ); bool _objc_msgSend_56( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_56( - obj, - sel, - key, - ); + return __objc_msgSend_56(obj, sel, key); } late final __objc_msgSend_56Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_56 = __objc_msgSend_56Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_56 = + __objc_msgSend_56Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSArray1 = _getClass1("NSArray"); late final _sel_objectAtIndex_1 = _registerName1("objectAtIndex:"); @@ -1504,185 +1838,244 @@ class PedometerBindings { ffi.Pointer sel, int index, ) { - return __objc_msgSend_57( - obj, - sel, - index, - ); + return __objc_msgSend_57(obj, sel, index); } late final __objc_msgSend_57Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_57 = __objc_msgSend_57Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_57 = + __objc_msgSend_57Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithObjects_count_1 = - _registerName1("initWithObjects:count:"); + late final _sel_initWithObjects_count_1 = _registerName1( + "initWithObjects:count:", + ); instancetype _objc_msgSend_58( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer> objects, int cnt, ) { - return __objc_msgSend_58( - obj, - sel, - objects, - cnt, - ); + return __objc_msgSend_58(obj, sel, objects, cnt); } late final __objc_msgSend_58Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_58 = + __objc_msgSend_58Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_58 = __objc_msgSend_58Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, int)>(); + int, + ) + >(); - late final _sel_arrayByAddingObject_1 = - _registerName1("arrayByAddingObject:"); + late final _sel_arrayByAddingObject_1 = _registerName1( + "arrayByAddingObject:", + ); ffi.Pointer _objc_msgSend_59( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer anObject, ) { - return __objc_msgSend_59( - obj, - sel, - anObject, - ); + return __objc_msgSend_59(obj, sel, anObject); } late final __objc_msgSend_59Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_59 = __objc_msgSend_59Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_arrayByAddingObjectsFromArray_1 = - _registerName1("arrayByAddingObjectsFromArray:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_59 = + __objc_msgSend_59Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayByAddingObjectsFromArray_1 = _registerName1( + "arrayByAddingObjectsFromArray:", + ); ffi.Pointer _objc_msgSend_60( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherArray, ) { - return __objc_msgSend_60( - obj, - sel, - otherArray, - ); + return __objc_msgSend_60(obj, sel, otherArray); } late final __objc_msgSend_60Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_60 = __objc_msgSend_60Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_componentsJoinedByString_1 = - _registerName1("componentsJoinedByString:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_60 = + __objc_msgSend_60Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_componentsJoinedByString_1 = _registerName1( + "componentsJoinedByString:", + ); ffi.Pointer _objc_msgSend_61( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer separator, ) { - return __objc_msgSend_61( - obj, - sel, - separator, - ); + return __objc_msgSend_61(obj, sel, separator); } late final __objc_msgSend_61Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_61 = __objc_msgSend_61Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_61 = + __objc_msgSend_61Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_containsObject_1 = _registerName1("containsObject:"); - late final _sel_descriptionWithLocale_1 = - _registerName1("descriptionWithLocale:"); + late final _sel_descriptionWithLocale_1 = _registerName1( + "descriptionWithLocale:", + ); ffi.Pointer _objc_msgSend_62( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer locale, ) { - return __objc_msgSend_62( - obj, - sel, - locale, - ); + return __objc_msgSend_62(obj, sel, locale); } late final __objc_msgSend_62Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_62 = __objc_msgSend_62Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_descriptionWithLocale_indent_1 = - _registerName1("descriptionWithLocale:indent:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_62 = + __objc_msgSend_62Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_descriptionWithLocale_indent_1 = _registerName1( + "descriptionWithLocale:indent:", + ); ffi.Pointer _objc_msgSend_63( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer locale, int level, ) { - return __objc_msgSend_63( - obj, - sel, - locale, - level, - ); + return __objc_msgSend_63(obj, sel, locale, level); } late final __objc_msgSend_63Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_63 = + __objc_msgSend_63Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_63 = __objc_msgSend_63Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_firstObjectCommonWithArray_1 = - _registerName1("firstObjectCommonWithArray:"); + late final _sel_firstObjectCommonWithArray_1 = _registerName1( + "firstObjectCommonWithArray:", + ); ffi.Pointer _objc_msgSend_64( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherArray, ) { - return __objc_msgSend_64( - obj, - sel, - otherArray, - ); + return __objc_msgSend_64(obj, sel, otherArray); } late final __objc_msgSend_64Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_64 = __objc_msgSend_64Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_64 = + __objc_msgSend_64Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getObjects_range_1 = _registerName1("getObjects:range:"); void _objc_msgSend_65( @@ -1691,21 +2084,29 @@ class PedometerBindings { ffi.Pointer> objects, _NSRange range, ) { - return __objc_msgSend_65( - obj, - sel, - objects, - range, - ); + return __objc_msgSend_65(obj, sel, objects, range); } late final __objc_msgSend_65Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_65 = __objc_msgSend_65Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_65 = + __objc_msgSend_65Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + _NSRange, + ) + >(); late final _sel_indexOfObject_1 = _registerName1("indexOfObject:"); int _objc_msgSend_66( @@ -1713,72 +2114,94 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer anObject, ) { - return __objc_msgSend_66( - obj, - sel, - anObject, - ); + return __objc_msgSend_66(obj, sel, anObject); } late final __objc_msgSend_66Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_66 = __objc_msgSend_66Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_indexOfObject_inRange_1 = - _registerName1("indexOfObject:inRange:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_66 = + __objc_msgSend_66Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_indexOfObject_inRange_1 = _registerName1( + "indexOfObject:inRange:", + ); int _objc_msgSend_67( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer anObject, _NSRange range, ) { - return __objc_msgSend_67( - obj, - sel, - anObject, - range, - ); + return __objc_msgSend_67(obj, sel, anObject, range); } late final __objc_msgSend_67Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_67 = + __objc_msgSend_67Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_67 = __objc_msgSend_67Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_indexOfObjectIdenticalTo_1 = - _registerName1("indexOfObjectIdenticalTo:"); - late final _sel_indexOfObjectIdenticalTo_inRange_1 = - _registerName1("indexOfObjectIdenticalTo:inRange:"); + _NSRange, + ) + >(); + + late final _sel_indexOfObjectIdenticalTo_1 = _registerName1( + "indexOfObjectIdenticalTo:", + ); + late final _sel_indexOfObjectIdenticalTo_inRange_1 = _registerName1( + "indexOfObjectIdenticalTo:inRange:", + ); late final _sel_isEqualToArray_1 = _registerName1("isEqualToArray:"); bool _objc_msgSend_68( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherArray, ) { - return __objc_msgSend_68( - obj, - sel, - otherArray, - ); + return __objc_msgSend_68(obj, sel, otherArray); } late final __objc_msgSend_68Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_68 = __objc_msgSend_68Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_68 = + __objc_msgSend_68Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_firstObject1 = _registerName1("firstObject"); late final _sel_lastObject1 = _registerName1("lastObject"); @@ -1787,128 +2210,178 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_69( - obj, - sel, - ); + return __objc_msgSend_69(obj, sel); } late final __objc_msgSend_69Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_69 = __objc_msgSend_69Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_69 = + __objc_msgSend_69Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_reverseObjectEnumerator1 = - _registerName1("reverseObjectEnumerator"); + late final _sel_reverseObjectEnumerator1 = _registerName1( + "reverseObjectEnumerator", + ); late final _sel_sortedArrayHint1 = _registerName1("sortedArrayHint"); - late final _sel_sortedArrayUsingFunction_context_1 = - _registerName1("sortedArrayUsingFunction:context:"); + late final _sel_sortedArrayUsingFunction_context_1 = _registerName1( + "sortedArrayUsingFunction:context:", + ); ffi.Pointer _objc_msgSend_70( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > + comparator, ffi.Pointer context, ) { - return __objc_msgSend_70( - obj, - sel, - comparator, - context, - ); + return __objc_msgSend_70(obj, sel, comparator, context); } late final __objc_msgSend_70Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_70 = + __objc_msgSend_70Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_70 = __objc_msgSend_70Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + >(); - late final _sel_sortedArrayUsingFunction_context_hint_1 = - _registerName1("sortedArrayUsingFunction:context:hint:"); + late final _sel_sortedArrayUsingFunction_context_hint_1 = _registerName1( + "sortedArrayUsingFunction:context:hint:", + ); ffi.Pointer _objc_msgSend_71( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > + comparator, ffi.Pointer context, ffi.Pointer hint, ) { - return __objc_msgSend_71( - obj, - sel, - comparator, - context, - hint, - ); + return __objc_msgSend_71(obj, sel, comparator, context, hint); } late final __objc_msgSend_71Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_71 = + __objc_msgSend_71Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_71 = __objc_msgSend_71Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_sortedArrayUsingSelector_1 = - _registerName1("sortedArrayUsingSelector:"); + late final _sel_sortedArrayUsingSelector_1 = _registerName1( + "sortedArrayUsingSelector:", + ); ffi.Pointer _objc_msgSend_72( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer comparator, ) { - return __objc_msgSend_72( - obj, - sel, - comparator, - ); + return __objc_msgSend_72(obj, sel, comparator); } late final __objc_msgSend_72Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_72 = __objc_msgSend_72Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_72 = + __objc_msgSend_72Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_subarrayWithRange_1 = _registerName1("subarrayWithRange:"); ffi.Pointer _objc_msgSend_73( @@ -1916,24 +2389,32 @@ class PedometerBindings { ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_73( - obj, - sel, - range, - ); + return __objc_msgSend_73(obj, sel, range); } late final __objc_msgSend_73Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_73 = __objc_msgSend_73Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_73 = + __objc_msgSend_73Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _class_NSError1 = _getClass1("NSError"); - late final _sel_initWithDomain_code_userInfo_1 = - _registerName1("initWithDomain:code:userInfo:"); + late final _sel_initWithDomain_code_userInfo_1 = _registerName1( + "initWithDomain:code:userInfo:", + ); instancetype _objc_msgSend_74( ffi.Pointer obj, ffi.Pointer sel, @@ -1941,74 +2422,88 @@ class PedometerBindings { int code, ffi.Pointer dict, ) { - return __objc_msgSend_74( - obj, - sel, - domain, - code, - dict, - ); + return __objc_msgSend_74(obj, sel, domain, code, dict); } late final __objc_msgSend_74Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_74 = + __objc_msgSend_74Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_74 = __objc_msgSend_74Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_errorWithDomain_code_userInfo_1 = - _registerName1("errorWithDomain:code:userInfo:"); + late final _sel_errorWithDomain_code_userInfo_1 = _registerName1( + "errorWithDomain:code:userInfo:", + ); late final _sel_domain1 = _registerName1("domain"); late final _sel_code1 = _registerName1("code"); - int _objc_msgSend_75( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_75( - obj, - sel, - ); + int _objc_msgSend_75(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_75(obj, sel); } late final __objc_msgSend_75Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_75 = __objc_msgSend_75Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_75 = + __objc_msgSend_75Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_userInfo1 = _registerName1("userInfo"); - late final _sel_localizedDescription1 = - _registerName1("localizedDescription"); - late final _sel_localizedFailureReason1 = - _registerName1("localizedFailureReason"); - late final _sel_localizedRecoverySuggestion1 = - _registerName1("localizedRecoverySuggestion"); - late final _sel_localizedRecoveryOptions1 = - _registerName1("localizedRecoveryOptions"); + late final _sel_localizedDescription1 = _registerName1( + "localizedDescription", + ); + late final _sel_localizedFailureReason1 = _registerName1( + "localizedFailureReason", + ); + late final _sel_localizedRecoverySuggestion1 = _registerName1( + "localizedRecoverySuggestion", + ); + late final _sel_localizedRecoveryOptions1 = _registerName1( + "localizedRecoveryOptions", + ); ffi.Pointer _objc_msgSend_76( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_76( - obj, - sel, - ); + return __objc_msgSend_76(obj, sel); } late final __objc_msgSend_76Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_76 = __objc_msgSend_76Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_76 = + __objc_msgSend_76Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_recoveryAttempter1 = _registerName1("recoveryAttempter"); late final _sel_helpAnchor1 = _registerName1("helpAnchor"); @@ -2017,23 +2512,30 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_77( - obj, - sel, - ); + return __objc_msgSend_77(obj, sel); } late final __objc_msgSend_77Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_77 = __objc_msgSend_77Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_77 = + __objc_msgSend_77Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer<_ObjCBlockDesc> _newBlockDesc1() { - final d = - pkg_ffi.calloc.allocate<_ObjCBlockDesc>(ffi.sizeOf<_ObjCBlockDesc>()); + final d = pkg_ffi.calloc.allocate<_ObjCBlockDesc>( + ffi.sizeOf<_ObjCBlockDesc>(), + ); d.ref.reserved = 0; d.ref.size = ffi.sizeOf<_ObjCBlock>(); d.ref.copy_helper = ffi.nullptr; @@ -2043,10 +2545,13 @@ class PedometerBindings { } late final _objc_block_desc1 = _newBlockDesc1(); - late final _objc_concrete_global_block1 = - _lookup('_NSConcreteGlobalBlock'); + late final _objc_concrete_global_block1 = _lookup( + '_NSConcreteGlobalBlock', + ); ffi.Pointer<_ObjCBlock> _newBlock1( - ffi.Pointer invoke, ffi.Pointer target) { + ffi.Pointer invoke, + ffi.Pointer target, + ) { final b = pkg_ffi.calloc.allocate<_ObjCBlock>(ffi.sizeOf<_ObjCBlock>()); b.ref.isa = _objc_concrete_global_block1; b.ref.flags = 0; @@ -2059,66 +2564,67 @@ class PedometerBindings { return copy; } - ffi.Pointer _Block_copy( - ffi.Pointer value, - ) { - return __Block_copy( - value, - ); + ffi.Pointer _Block_copy(ffi.Pointer value) { + return __Block_copy(value); } late final __Block_copyPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>('_Block_copy'); - late final __Block_copy = __Block_copyPtr - .asFunction Function(ffi.Pointer)>(); + ffi.NativeFunction Function(ffi.Pointer)> + >('_Block_copy'); + late final __Block_copy = + __Block_copyPtr + .asFunction Function(ffi.Pointer)>(); - void _Block_release( - ffi.Pointer value, - ) { - return __Block_release( - value, - ); + void _Block_release(ffi.Pointer value) { + return __Block_release(value); } late final __Block_releasePtr = _lookup)>>( - '_Block_release'); + '_Block_release', + ); late final __Block_release = __Block_releasePtr.asFunction)>(); - late final _objc_releaseFinalizer11 = - ffi.NativeFinalizer(__Block_releasePtr.cast()); - late final _sel_setUserInfoValueProviderForDomain_provider_1 = - _registerName1("setUserInfoValueProviderForDomain:provider:"); + late final _objc_releaseFinalizer11 = ffi.NativeFinalizer( + __Block_releasePtr.cast(), + ); + late final _sel_setUserInfoValueProviderForDomain_provider_1 = _registerName1( + "setUserInfoValueProviderForDomain:provider:", + ); void _objc_msgSend_78( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer errorDomain, ffi.Pointer<_ObjCBlock> provider, ) { - return __objc_msgSend_78( - obj, - sel, - errorDomain, - provider, - ); + return __objc_msgSend_78(obj, sel, errorDomain, provider); } late final __objc_msgSend_78Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_78 = + __objc_msgSend_78Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_78 = __objc_msgSend_78Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_userInfoValueProviderForDomain_1 = - _registerName1("userInfoValueProviderForDomain:"); + late final _sel_userInfoValueProviderForDomain_1 = _registerName1( + "userInfoValueProviderForDomain:", + ); ffi.Pointer<_ObjCBlock> _objc_msgSend_79( ffi.Pointer obj, ffi.Pointer sel, @@ -2126,30 +2632,31 @@ class PedometerBindings { ffi.Pointer userInfoKey, ffi.Pointer errorDomain, ) { - return __objc_msgSend_79( - obj, - sel, - err, - userInfoKey, - errorDomain, - ); + return __objc_msgSend_79(obj, sel, err, userInfoKey, errorDomain); } late final __objc_msgSend_79Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_79 = + __objc_msgSend_79Ptr + .asFunction< + ffi.Pointer<_ObjCBlock> Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_79 = __objc_msgSend_79Ptr.asFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_setKeys_triggerChangeNotificationsForDependentKey_1 = _registerName1("setKeys:triggerChangeNotificationsForDependentKey:"); @@ -2159,29 +2666,36 @@ class PedometerBindings { ffi.Pointer keys, ffi.Pointer dependentKey, ) { - return __objc_msgSend_80( - obj, - sel, - keys, - dependentKey, - ); + return __objc_msgSend_80(obj, sel, keys, dependentKey); } late final __objc_msgSend_80Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_80 = + __objc_msgSend_80Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_80 = __objc_msgSend_80Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_classFallbacksForKeyedArchiver1 = - _registerName1("classFallbacksForKeyedArchiver"); - late final _sel_classForKeyedUnarchiver1 = - _registerName1("classForKeyedUnarchiver"); + late final _sel_classFallbacksForKeyedArchiver1 = _registerName1( + "classFallbacksForKeyedArchiver", + ); + late final _sel_classForKeyedUnarchiver1 = _registerName1( + "classForKeyedUnarchiver", + ); late final _sel_writeToURL_error_1 = _registerName1("writeToURL:error:"); bool _objc_msgSend_81( ffi.Pointer obj, @@ -2189,98 +2703,129 @@ class PedometerBindings { ffi.Pointer url, ffi.Pointer> error, ) { - return __objc_msgSend_81( - obj, - sel, - url, - error, - ); + return __objc_msgSend_81(obj, sel, url, error); } late final __objc_msgSend_81Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_81 = + __objc_msgSend_81Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_81 = __objc_msgSend_81Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_makeObjectsPerformSelector_1 = - _registerName1("makeObjectsPerformSelector:"); - late final _sel_makeObjectsPerformSelector_withObject_1 = - _registerName1("makeObjectsPerformSelector:withObject:"); + ffi.Pointer>, + ) + >(); + + late final _sel_makeObjectsPerformSelector_1 = _registerName1( + "makeObjectsPerformSelector:", + ); + late final _sel_makeObjectsPerformSelector_withObject_1 = _registerName1( + "makeObjectsPerformSelector:withObject:", + ); void _objc_msgSend_82( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aSelector, ffi.Pointer argument, ) { - return __objc_msgSend_82( - obj, - sel, - aSelector, - argument, - ); + return __objc_msgSend_82(obj, sel, aSelector, argument); } late final __objc_msgSend_82Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_82 = __objc_msgSend_82Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_82 = + __objc_msgSend_82Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSIndexSet1 = _getClass1("NSIndexSet"); late final _sel_indexSet1 = _registerName1("indexSet"); late final _sel_indexSetWithIndex_1 = _registerName1("indexSetWithIndex:"); - late final _sel_indexSetWithIndexesInRange_1 = - _registerName1("indexSetWithIndexesInRange:"); + late final _sel_indexSetWithIndexesInRange_1 = _registerName1( + "indexSetWithIndexesInRange:", + ); instancetype _objc_msgSend_83( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_83( - obj, - sel, - range, - ); + return __objc_msgSend_83(obj, sel, range); } late final __objc_msgSend_83Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_83 = __objc_msgSend_83Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_83 = + __objc_msgSend_83Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_initWithIndexesInRange_1 = - _registerName1("initWithIndexesInRange:"); + late final _sel_initWithIndexesInRange_1 = _registerName1( + "initWithIndexesInRange:", + ); late final _sel_initWithIndexSet_1 = _registerName1("initWithIndexSet:"); instancetype _objc_msgSend_84( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer indexSet, ) { - return __objc_msgSend_84( - obj, - sel, - indexSet, - ); + return __objc_msgSend_84(obj, sel, indexSet); } late final __objc_msgSend_84Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_84 = __objc_msgSend_84Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_84 = + __objc_msgSend_84Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithIndex_1 = _registerName1("initWithIndex:"); late final _sel_isEqualToIndexSet_1 = _registerName1("isEqualToIndexSet:"); @@ -2289,51 +2834,66 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer indexSet, ) { - return __objc_msgSend_85( - obj, - sel, - indexSet, - ); + return __objc_msgSend_85(obj, sel, indexSet); } late final __objc_msgSend_85Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_85 = __objc_msgSend_85Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_85 = + __objc_msgSend_85Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_firstIndex1 = _registerName1("firstIndex"); late final _sel_lastIndex1 = _registerName1("lastIndex"); - late final _sel_indexGreaterThanIndex_1 = - _registerName1("indexGreaterThanIndex:"); + late final _sel_indexGreaterThanIndex_1 = _registerName1( + "indexGreaterThanIndex:", + ); int _objc_msgSend_86( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_86( - obj, - sel, - value, - ); + return __objc_msgSend_86(obj, sel, value); } late final __objc_msgSend_86Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_86 = __objc_msgSend_86Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_86 = + __objc_msgSend_86Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_indexLessThanIndex_1 = _registerName1("indexLessThanIndex:"); - late final _sel_indexGreaterThanOrEqualToIndex_1 = - _registerName1("indexGreaterThanOrEqualToIndex:"); - late final _sel_indexLessThanOrEqualToIndex_1 = - _registerName1("indexLessThanOrEqualToIndex:"); - late final _sel_getIndexes_maxCount_inIndexRange_1 = - _registerName1("getIndexes:maxCount:inIndexRange:"); + late final _sel_indexGreaterThanOrEqualToIndex_1 = _registerName1( + "indexGreaterThanOrEqualToIndex:", + ); + late final _sel_indexLessThanOrEqualToIndex_1 = _registerName1( + "indexLessThanOrEqualToIndex:", + ); + late final _sel_getIndexes_maxCount_inIndexRange_1 = _registerName1( + "getIndexes:maxCount:inIndexRange:", + ); int _objc_msgSend_87( ffi.Pointer obj, ffi.Pointer sel, @@ -2341,47 +2901,61 @@ class PedometerBindings { int bufferSize, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_87( - obj, - sel, - indexBuffer, - bufferSize, - range, - ); + return __objc_msgSend_87(obj, sel, indexBuffer, bufferSize, range); } late final __objc_msgSend_87Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_87 = + __objc_msgSend_87Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_87 = __objc_msgSend_87Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); - - late final _sel_countOfIndexesInRange_1 = - _registerName1("countOfIndexesInRange:"); + int, + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_countOfIndexesInRange_1 = _registerName1( + "countOfIndexesInRange:", + ); int _objc_msgSend_88( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_88( - obj, - sel, - range, - ); + return __objc_msgSend_88(obj, sel, range); } late final __objc_msgSend_88Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_88 = __objc_msgSend_88Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_88 = + __objc_msgSend_88Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_containsIndex_1 = _registerName1("containsIndex:"); bool _objc_msgSend_89( @@ -2389,92 +2963,120 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_89( - obj, - sel, - value, - ); + return __objc_msgSend_89(obj, sel, value); } late final __objc_msgSend_89Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_89 = __objc_msgSend_89Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_89 = + __objc_msgSend_89Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_containsIndexesInRange_1 = - _registerName1("containsIndexesInRange:"); + late final _sel_containsIndexesInRange_1 = _registerName1( + "containsIndexesInRange:", + ); bool _objc_msgSend_90( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_90( - obj, - sel, - range, - ); + return __objc_msgSend_90(obj, sel, range); } late final __objc_msgSend_90Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_90 = __objc_msgSend_90Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Bool Function(ffi.Pointer, ffi.Pointer, _NSRange) + > + >('objc_msgSend'); + late final __objc_msgSend_90 = + __objc_msgSend_90Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_containsIndexes_1 = _registerName1("containsIndexes:"); - late final _sel_intersectsIndexesInRange_1 = - _registerName1("intersectsIndexesInRange:"); - late final _sel_enumerateIndexesUsingBlock_1 = - _registerName1("enumerateIndexesUsingBlock:"); + late final _sel_intersectsIndexesInRange_1 = _registerName1( + "intersectsIndexesInRange:", + ); + late final _sel_enumerateIndexesUsingBlock_1 = _registerName1( + "enumerateIndexesUsingBlock:", + ); void _objc_msgSend_91( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_91( - obj, - sel, - block, - ); + return __objc_msgSend_91(obj, sel, block); } late final __objc_msgSend_91Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_91 = __objc_msgSend_91Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateIndexesWithOptions_usingBlock_1 = - _registerName1("enumerateIndexesWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_91 = + __objc_msgSend_91Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_enumerateIndexesWithOptions_usingBlock_1 = _registerName1( + "enumerateIndexesWithOptions:usingBlock:", + ); void _objc_msgSend_92( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_92( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_92(obj, sel, opts, block); } late final __objc_msgSend_92Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_92 = __objc_msgSend_92Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateIndexesInRange_options_usingBlock_1 = - _registerName1("enumerateIndexesInRange:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_92 = + __objc_msgSend_92Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_enumerateIndexesInRange_options_usingBlock_1 = _registerName1( + "enumerateIndexesInRange:options:usingBlock:", + ); void _objc_msgSend_93( ffi.Pointer obj, ffi.Pointer sel, @@ -2482,22 +3084,31 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_93( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_93(obj, sel, range, opts, block); } late final __objc_msgSend_93Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_93 = __objc_msgSend_93Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_93 = + __objc_msgSend_93Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexPassingTest_1 = _registerName1("indexPassingTest:"); int _objc_msgSend_94( @@ -2505,50 +3116,64 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_94( - obj, - sel, - predicate, - ); + return __objc_msgSend_94(obj, sel, predicate); } late final __objc_msgSend_94Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_94 = __objc_msgSend_94Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexWithOptions_passingTest_1 = - _registerName1("indexWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_94 = + __objc_msgSend_94Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_indexWithOptions_passingTest_1 = _registerName1( + "indexWithOptions:passingTest:", + ); int _objc_msgSend_95( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_95( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_95(obj, sel, opts, predicate); } late final __objc_msgSend_95Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_95 = + __objc_msgSend_95Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_95 = __objc_msgSend_95Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_indexInRange_options_passingTest_1 = - _registerName1("indexInRange:options:passingTest:"); + late final _sel_indexInRange_options_passingTest_1 = _registerName1( + "indexInRange:options:passingTest:", + ); int _objc_msgSend_96( ffi.Pointer obj, ffi.Pointer sel, @@ -2556,26 +3181,31 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_96( - obj, - sel, - range, - opts, - predicate, - ); + return __objc_msgSend_96(obj, sel, range, opts, predicate); } late final __objc_msgSend_96Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_96 = + __objc_msgSend_96Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_96 = __objc_msgSend_96Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, _NSRange, int, - ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexesPassingTest_1 = _registerName1("indexesPassingTest:"); ffi.Pointer _objc_msgSend_97( @@ -2583,50 +3213,64 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_97( - obj, - sel, - predicate, - ); + return __objc_msgSend_97(obj, sel, predicate); } late final __objc_msgSend_97Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_97 = __objc_msgSend_97Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesWithOptions_passingTest_1 = - _registerName1("indexesWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_97 = + __objc_msgSend_97Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_indexesWithOptions_passingTest_1 = _registerName1( + "indexesWithOptions:passingTest:", + ); ffi.Pointer _objc_msgSend_98( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_98( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_98(obj, sel, opts, predicate); } late final __objc_msgSend_98Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_98 = + __objc_msgSend_98Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_98 = __objc_msgSend_98Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_indexesInRange_options_passingTest_1 = - _registerName1("indexesInRange:options:passingTest:"); + late final _sel_indexesInRange_options_passingTest_1 = _registerName1( + "indexesInRange:options:passingTest:", + ); ffi.Pointer _objc_msgSend_99( ffi.Pointer obj, ffi.Pointer sel, @@ -2634,75 +3278,98 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_99( - obj, - sel, - range, - opts, - predicate, - ); + return __objc_msgSend_99(obj, sel, range, opts, predicate); } late final __objc_msgSend_99Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_99 = + __objc_msgSend_99Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_99 = __objc_msgSend_99Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesUsingBlock_1 = - _registerName1("enumerateRangesUsingBlock:"); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_enumerateRangesUsingBlock_1 = _registerName1( + "enumerateRangesUsingBlock:", + ); void _objc_msgSend_100( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_100( - obj, - sel, - block, - ); + return __objc_msgSend_100(obj, sel, block); } late final __objc_msgSend_100Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_100 = __objc_msgSend_100Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesWithOptions_usingBlock_1 = - _registerName1("enumerateRangesWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_100 = + __objc_msgSend_100Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_enumerateRangesWithOptions_usingBlock_1 = _registerName1( + "enumerateRangesWithOptions:usingBlock:", + ); void _objc_msgSend_101( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_101( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_101(obj, sel, opts, block); } late final __objc_msgSend_101Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_101 = __objc_msgSend_101Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateRangesInRange_options_usingBlock_1 = - _registerName1("enumerateRangesInRange:options:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_101 = + __objc_msgSend_101Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_enumerateRangesInRange_options_usingBlock_1 = _registerName1( + "enumerateRangesInRange:options:usingBlock:", + ); void _objc_msgSend_102( ffi.Pointer obj, ffi.Pointer sel, @@ -2710,22 +3377,31 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_102( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_102(obj, sel, range, opts, block); } late final __objc_msgSend_102Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_102 = __objc_msgSend_102Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_102 = + __objc_msgSend_102Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_objectsAtIndexes_1 = _registerName1("objectsAtIndexes:"); ffi.Pointer _objc_msgSend_103( @@ -2733,68 +3409,93 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer indexes, ) { - return __objc_msgSend_103( - obj, - sel, - indexes, - ); + return __objc_msgSend_103(obj, sel, indexes); } late final __objc_msgSend_103Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_103 = __objc_msgSend_103Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_objectAtIndexedSubscript_1 = - _registerName1("objectAtIndexedSubscript:"); - late final _sel_enumerateObjectsUsingBlock_1 = - _registerName1("enumerateObjectsUsingBlock:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_103 = + __objc_msgSend_103Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectAtIndexedSubscript_1 = _registerName1( + "objectAtIndexedSubscript:", + ); + late final _sel_enumerateObjectsUsingBlock_1 = _registerName1( + "enumerateObjectsUsingBlock:", + ); void _objc_msgSend_104( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_104( - obj, - sel, - block, - ); + return __objc_msgSend_104(obj, sel, block); } late final __objc_msgSend_104Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_104 = __objc_msgSend_104Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateObjectsWithOptions_usingBlock_1 = - _registerName1("enumerateObjectsWithOptions:usingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_104 = + __objc_msgSend_104Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_enumerateObjectsWithOptions_usingBlock_1 = _registerName1( + "enumerateObjectsWithOptions:usingBlock:", + ); void _objc_msgSend_105( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_105( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_105(obj, sel, opts, block); } late final __objc_msgSend_105Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_105 = __objc_msgSend_105Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_105 = + __objc_msgSend_105Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateObjectsAtIndexes_options_usingBlock_1 = _registerName1("enumerateObjectsAtIndexes:options:usingBlock:"); @@ -2805,78 +3506,98 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_106( - obj, - sel, - s, - opts, - block, - ); + return __objc_msgSend_106(obj, sel, s, opts, block); } late final __objc_msgSend_106Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_106 = + __objc_msgSend_106Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_106 = __objc_msgSend_106Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_indexOfObjectPassingTest_1 = - _registerName1("indexOfObjectPassingTest:"); + late final _sel_indexOfObjectPassingTest_1 = _registerName1( + "indexOfObjectPassingTest:", + ); int _objc_msgSend_107( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_107( - obj, - sel, - predicate, - ); + return __objc_msgSend_107(obj, sel, predicate); } late final __objc_msgSend_107Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_107 = __objc_msgSend_107Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexOfObjectWithOptions_passingTest_1 = - _registerName1("indexOfObjectWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_107 = + __objc_msgSend_107Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_indexOfObjectWithOptions_passingTest_1 = _registerName1( + "indexOfObjectWithOptions:passingTest:", + ); int _objc_msgSend_108( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_108( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_108(obj, sel, opts, predicate); } late final __objc_msgSend_108Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_108 = + __objc_msgSend_108Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_108 = __objc_msgSend_108Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = - _registerName1("indexOfObjectAtIndexes:options:passingTest:"); + late final _sel_indexOfObjectAtIndexes_options_passingTest_1 = _registerName1( + "indexOfObjectAtIndexes:options:passingTest:", + ); int _objc_msgSend_109( ffi.Pointer obj, ffi.Pointer sel, @@ -2884,75 +3605,94 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_109( - obj, - sel, - s, - opts, - predicate, - ); + return __objc_msgSend_109(obj, sel, s, opts, predicate); } late final __objc_msgSend_109Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_109 = + __objc_msgSend_109Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_109 = __objc_msgSend_109Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_indexesOfObjectsPassingTest_1 = - _registerName1("indexesOfObjectsPassingTest:"); + late final _sel_indexesOfObjectsPassingTest_1 = _registerName1( + "indexesOfObjectsPassingTest:", + ); ffi.Pointer _objc_msgSend_110( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_110( - obj, - sel, - predicate, - ); + return __objc_msgSend_110(obj, sel, predicate); } late final __objc_msgSend_110Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_110 = __objc_msgSend_110Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_indexesOfObjectsWithOptions_passingTest_1 = - _registerName1("indexesOfObjectsWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_110 = + __objc_msgSend_110Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_indexesOfObjectsWithOptions_passingTest_1 = _registerName1( + "indexesOfObjectsWithOptions:passingTest:", + ); ffi.Pointer _objc_msgSend_111( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_111( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_111(obj, sel, opts, predicate); } late final __objc_msgSend_111Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_111 = + __objc_msgSend_111Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_111 = __objc_msgSend_111Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexesOfObjectsAtIndexes_options_passingTest_1 = _registerName1("indexesOfObjectsAtIndexes:options:passingTest:"); @@ -2963,79 +3703,94 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_112( - obj, - sel, - s, - opts, - predicate, - ); + return __objc_msgSend_112(obj, sel, s, opts, predicate); } late final __objc_msgSend_112Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_112 = + __objc_msgSend_112Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_112 = __objc_msgSend_112Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_sortedArrayUsingComparator_1 = - _registerName1("sortedArrayUsingComparator:"); + late final _sel_sortedArrayUsingComparator_1 = _registerName1( + "sortedArrayUsingComparator:", + ); ffi.Pointer _objc_msgSend_113( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> cmptr, ) { - return __objc_msgSend_113( - obj, - sel, - cmptr, - ); + return __objc_msgSend_113(obj, sel, cmptr); } late final __objc_msgSend_113Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_113 = __objc_msgSend_113Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sortedArrayWithOptions_usingComparator_1 = - _registerName1("sortedArrayWithOptions:usingComparator:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_113 = + __objc_msgSend_113Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_sortedArrayWithOptions_usingComparator_1 = _registerName1( + "sortedArrayWithOptions:usingComparator:", + ); ffi.Pointer _objc_msgSend_114( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> cmptr, ) { - return __objc_msgSend_114( - obj, - sel, - opts, - cmptr, - ); + return __objc_msgSend_114(obj, sel, opts, cmptr); } late final __objc_msgSend_114Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_114 = + __objc_msgSend_114Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_114 = __objc_msgSend_114Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_indexOfObject_inSortedRange_options_usingComparator_1 = _registerName1("indexOfObject:inSortedRange:options:usingComparator:"); @@ -3047,28 +3802,33 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> cmp, ) { - return __objc_msgSend_115( - obj, - sel, - obj1, - r, - opts, - cmp, - ); + return __objc_msgSend_115(obj, sel, obj1, r, opts, cmp); } late final __objc_msgSend_115Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_115 = + __objc_msgSend_115Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_115 = __objc_msgSend_115Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_array1 = _registerName1("array"); late final _sel_arrayWithObject_1 = _registerName1("arrayWithObject:"); @@ -3077,23 +3837,31 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer anObject, ) { - return __objc_msgSend_116( - obj, - sel, - anObject, - ); + return __objc_msgSend_116(obj, sel, anObject); } late final __objc_msgSend_116Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_116 = __objc_msgSend_116Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_arrayWithObjects_count_1 = - _registerName1("arrayWithObjects:count:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_116 = + __objc_msgSend_116Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayWithObjects_count_1 = _registerName1( + "arrayWithObjects:count:", + ); late final _sel_arrayWithObjects_1 = _registerName1("arrayWithObjects:"); late final _sel_arrayWithArray_1 = _registerName1("arrayWithArray:"); instancetype _objc_msgSend_117( @@ -3101,79 +3869,99 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer array, ) { - return __objc_msgSend_117( - obj, - sel, - array, - ); + return __objc_msgSend_117(obj, sel, array); } late final __objc_msgSend_117Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_117 = __objc_msgSend_117Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_117 = + __objc_msgSend_117Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithObjects_1 = _registerName1("initWithObjects:"); late final _sel_initWithArray_1 = _registerName1("initWithArray:"); - late final _sel_initWithArray_copyItems_1 = - _registerName1("initWithArray:copyItems:"); + late final _sel_initWithArray_copyItems_1 = _registerName1( + "initWithArray:copyItems:", + ); instancetype _objc_msgSend_118( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer array, bool flag, ) { - return __objc_msgSend_118( - obj, - sel, - array, - flag, - ); + return __objc_msgSend_118(obj, sel, array, flag); } late final __objc_msgSend_118Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_118 = __objc_msgSend_118Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithContentsOfURL_error_1 = - _registerName1("initWithContentsOfURL:error:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_118 = + __objc_msgSend_118Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithContentsOfURL_error_1 = _registerName1( + "initWithContentsOfURL:error:", + ); ffi.Pointer _objc_msgSend_119( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ffi.Pointer> error, ) { - return __objc_msgSend_119( - obj, - sel, - url, - error, - ); + return __objc_msgSend_119(obj, sel, url, error); } late final __objc_msgSend_119Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_119 = + __objc_msgSend_119Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_119 = __objc_msgSend_119Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_arrayWithContentsOfURL_error_1 = - _registerName1("arrayWithContentsOfURL:error:"); + late final _sel_arrayWithContentsOfURL_error_1 = _registerName1( + "arrayWithContentsOfURL:error:", + ); late final _sel_differenceFromArray_withOptions_usingEquivalenceTest_1 = _registerName1("differenceFromArray:withOptions:usingEquivalenceTest:"); ffi.Pointer _objc_msgSend_120( @@ -3183,81 +3971,97 @@ class PedometerBindings { int options, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_120( - obj, - sel, - other, - options, - block, - ); + return __objc_msgSend_120(obj, sel, other, options, block); } late final __objc_msgSend_120Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_120 = + __objc_msgSend_120Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_120 = __objc_msgSend_120Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_differenceFromArray_withOptions_1 = - _registerName1("differenceFromArray:withOptions:"); + late final _sel_differenceFromArray_withOptions_1 = _registerName1( + "differenceFromArray:withOptions:", + ); ffi.Pointer _objc_msgSend_121( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer other, int options, ) { - return __objc_msgSend_121( - obj, - sel, - other, - options, - ); + return __objc_msgSend_121(obj, sel, other, options); } late final __objc_msgSend_121Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_121 = + __objc_msgSend_121Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_121 = __objc_msgSend_121Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_differenceFromArray_1 = - _registerName1("differenceFromArray:"); - late final _sel_arrayByApplyingDifference_1 = - _registerName1("arrayByApplyingDifference:"); + late final _sel_differenceFromArray_1 = _registerName1( + "differenceFromArray:", + ); + late final _sel_arrayByApplyingDifference_1 = _registerName1( + "arrayByApplyingDifference:", + ); ffi.Pointer _objc_msgSend_122( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer difference, ) { - return __objc_msgSend_122( - obj, - sel, - difference, - ); + return __objc_msgSend_122(obj, sel, difference); } late final __objc_msgSend_122Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_122 = __objc_msgSend_122Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_122 = + __objc_msgSend_122Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getObjects_1 = _registerName1("getObjects:"); void _objc_msgSend_123( @@ -3265,95 +4069,130 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer> objects, ) { - return __objc_msgSend_123( - obj, - sel, - objects, - ); + return __objc_msgSend_123(obj, sel, objects); } late final __objc_msgSend_123Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_123 = __objc_msgSend_123Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_arrayWithContentsOfFile_1 = - _registerName1("arrayWithContentsOfFile:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_123 = + __objc_msgSend_123Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_arrayWithContentsOfFile_1 = _registerName1( + "arrayWithContentsOfFile:", + ); ffi.Pointer _objc_msgSend_124( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ) { - return __objc_msgSend_124( - obj, - sel, - path, - ); + return __objc_msgSend_124(obj, sel, path); } late final __objc_msgSend_124Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_124 = __objc_msgSend_124Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_arrayWithContentsOfURL_1 = - _registerName1("arrayWithContentsOfURL:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_124 = + __objc_msgSend_124Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_arrayWithContentsOfURL_1 = _registerName1( + "arrayWithContentsOfURL:", + ); ffi.Pointer _objc_msgSend_125( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_125( - obj, - sel, - url, - ); + return __objc_msgSend_125(obj, sel, url); } late final __objc_msgSend_125Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_125 = __objc_msgSend_125Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithContentsOfFile_1 = - _registerName1("initWithContentsOfFile:"); - late final _sel_initWithContentsOfURL_1 = - _registerName1("initWithContentsOfURL:"); - late final _sel_writeToURL_atomically_1 = - _registerName1("writeToURL:atomically:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_125 = + __objc_msgSend_125Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithContentsOfFile_1 = _registerName1( + "initWithContentsOfFile:", + ); + late final _sel_initWithContentsOfURL_1 = _registerName1( + "initWithContentsOfURL:", + ); + late final _sel_writeToURL_atomically_1 = _registerName1( + "writeToURL:atomically:", + ); bool _objc_msgSend_126( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, bool atomically, ) { - return __objc_msgSend_126( - obj, - sel, - url, - atomically, - ); + return __objc_msgSend_126(obj, sel, url, atomically); } late final __objc_msgSend_126Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_126 = __objc_msgSend_126Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_pathsMatchingExtensions_1 = - _registerName1("pathsMatchingExtensions:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_126 = + __objc_msgSend_126Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_pathsMatchingExtensions_1 = _registerName1( + "pathsMatchingExtensions:", + ); late final _sel_valueForKey_1 = _registerName1("valueForKey:"); late final _sel_setValue_forKey_1 = _registerName1("setValue:forKey:"); void _objc_msgSend_127( @@ -3362,28 +4201,34 @@ class PedometerBindings { ffi.Pointer value, ffi.Pointer key, ) { - return __objc_msgSend_127( - obj, - sel, - value, - key, - ); + return __objc_msgSend_127(obj, sel, value, key); } late final __objc_msgSend_127Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_127 = + __objc_msgSend_127Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_127 = __objc_msgSend_127Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1 = _registerName1( - "addObserver:toObjectsAtIndexes:forKeyPath:options:context:"); + "addObserver:toObjectsAtIndexes:forKeyPath:options:context:", + ); void _objc_msgSend_128( ffi.Pointer obj, ffi.Pointer sel, @@ -3405,24 +4250,31 @@ class PedometerBindings { } late final __objc_msgSend_128Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_128 = + __objc_msgSend_128Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_128 = __objc_msgSend_128Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1 = _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:context:"); @@ -3434,33 +4286,33 @@ class PedometerBindings { ffi.Pointer keyPath, ffi.Pointer context, ) { - return __objc_msgSend_129( - obj, - sel, - observer, - indexes, - keyPath, - context, - ); + return __objc_msgSend_129(obj, sel, observer, indexes, keyPath, context); } late final __objc_msgSend_129Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_129 = + __objc_msgSend_129Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_129 = __objc_msgSend_129Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1 = _registerName1("removeObserver:fromObjectsAtIndexes:forKeyPath:"); @@ -3471,33 +4323,35 @@ class PedometerBindings { ffi.Pointer indexes, ffi.Pointer keyPath, ) { - return __objc_msgSend_130( - obj, - sel, - observer, - indexes, - keyPath, - ); + return __objc_msgSend_130(obj, sel, observer, indexes, keyPath); } late final __objc_msgSend_130Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_130 = + __objc_msgSend_130Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_130 = __objc_msgSend_130Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_addObserver_forKeyPath_options_context_1 = - _registerName1("addObserver:forKeyPath:options:context:"); + late final _sel_addObserver_forKeyPath_options_context_1 = _registerName1( + "addObserver:forKeyPath:options:context:", + ); void _objc_msgSend_131( ffi.Pointer obj, ffi.Pointer sel, @@ -3506,36 +4360,37 @@ class PedometerBindings { int options, ffi.Pointer context, ) { - return __objc_msgSend_131( - obj, - sel, - observer, - keyPath, - options, - context, - ); + return __objc_msgSend_131(obj, sel, observer, keyPath, options, context); } late final __objc_msgSend_131Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_131 = + __objc_msgSend_131Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_131 = __objc_msgSend_131Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_removeObserver_forKeyPath_context_1 = - _registerName1("removeObserver:forKeyPath:context:"); + late final _sel_removeObserver_forKeyPath_context_1 = _registerName1( + "removeObserver:forKeyPath:context:", + ); void _objc_msgSend_132( ffi.Pointer obj, ffi.Pointer sel, @@ -3543,164 +4398,194 @@ class PedometerBindings { ffi.Pointer keyPath, ffi.Pointer context, ) { - return __objc_msgSend_132( - obj, - sel, - observer, - keyPath, - context, - ); + return __objc_msgSend_132(obj, sel, observer, keyPath, context); } late final __objc_msgSend_132Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_132 = + __objc_msgSend_132Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_132 = __objc_msgSend_132Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_removeObserver_forKeyPath_1 = - _registerName1("removeObserver:forKeyPath:"); + late final _sel_removeObserver_forKeyPath_1 = _registerName1( + "removeObserver:forKeyPath:", + ); void _objc_msgSend_133( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer observer, ffi.Pointer keyPath, ) { - return __objc_msgSend_133( - obj, - sel, - observer, - keyPath, - ); + return __objc_msgSend_133(obj, sel, observer, keyPath); } late final __objc_msgSend_133Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_133 = + __objc_msgSend_133Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_133 = __objc_msgSend_133Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_sortedArrayUsingDescriptors_1 = - _registerName1("sortedArrayUsingDescriptors:"); + late final _sel_sortedArrayUsingDescriptors_1 = _registerName1( + "sortedArrayUsingDescriptors:", + ); late final _class_NSPredicate1 = _getClass1("NSPredicate"); - late final _sel_predicateWithFormat_argumentArray_1 = - _registerName1("predicateWithFormat:argumentArray:"); + late final _sel_predicateWithFormat_argumentArray_1 = _registerName1( + "predicateWithFormat:argumentArray:", + ); ffi.Pointer _objc_msgSend_134( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer predicateFormat, ffi.Pointer arguments, ) { - return __objc_msgSend_134( - obj, - sel, - predicateFormat, - arguments, - ); + return __objc_msgSend_134(obj, sel, predicateFormat, arguments); } late final __objc_msgSend_134Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_134 = + __objc_msgSend_134Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_134 = __objc_msgSend_134Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_predicateWithFormat_1 = - _registerName1("predicateWithFormat:"); + late final _sel_predicateWithFormat_1 = _registerName1( + "predicateWithFormat:", + ); ffi.Pointer _objc_msgSend_135( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer predicateFormat, ) { - return __objc_msgSend_135( - obj, - sel, - predicateFormat, - ); + return __objc_msgSend_135(obj, sel, predicateFormat); } late final __objc_msgSend_135Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_135 = __objc_msgSend_135Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_predicateWithFormat_arguments_1 = - _registerName1("predicateWithFormat:arguments:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_135 = + __objc_msgSend_135Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_predicateWithFormat_arguments_1 = _registerName1( + "predicateWithFormat:arguments:", + ); ffi.Pointer _objc_msgSend_136( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer predicateFormat, ffi.Pointer argList, ) { - return __objc_msgSend_136( - obj, - sel, - predicateFormat, - argList, - ); + return __objc_msgSend_136(obj, sel, predicateFormat, argList); } late final __objc_msgSend_136Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_136 = + __objc_msgSend_136Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_136 = __objc_msgSend_136Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_predicateFromMetadataQueryString_1 = - _registerName1("predicateFromMetadataQueryString:"); + late final _sel_predicateFromMetadataQueryString_1 = _registerName1( + "predicateFromMetadataQueryString:", + ); ffi.Pointer _objc_msgSend_137( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer queryString, ) { - return __objc_msgSend_137( - obj, - sel, - queryString, - ); + return __objc_msgSend_137(obj, sel, queryString); } late final __objc_msgSend_137Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_137 = __objc_msgSend_137Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_137 = + __objc_msgSend_137Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_predicateWithValue_1 = _registerName1("predicateWithValue:"); ffi.Pointer _objc_msgSend_138( @@ -3708,26 +4593,34 @@ class PedometerBindings { ffi.Pointer sel, bool value, ) { - return __objc_msgSend_138( - obj, - sel, - value, - ); + return __objc_msgSend_138(obj, sel, value); } late final __objc_msgSend_138Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_138 = __objc_msgSend_138Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_138 = + __objc_msgSend_138Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _class_NSDictionary1 = _getClass1("NSDictionary"); late final _sel_objectForKey_1 = _registerName1("objectForKey:"); late final _sel_keyEnumerator1 = _registerName1("keyEnumerator"); - late final _sel_initWithObjects_forKeys_count_1 = - _registerName1("initWithObjects:forKeys:count:"); + late final _sel_initWithObjects_forKeys_count_1 = _registerName1( + "initWithObjects:forKeys:count:", + ); instancetype _objc_msgSend_139( ffi.Pointer obj, ffi.Pointer sel, @@ -3735,92 +4628,107 @@ class PedometerBindings { ffi.Pointer> keys, int cnt, ) { - return __objc_msgSend_139( - obj, - sel, - objects, - keys, - cnt, - ); + return __objc_msgSend_139(obj, sel, objects, keys, cnt); } late final __objc_msgSend_139Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_139 = + __objc_msgSend_139Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_139 = __objc_msgSend_139Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int)>(); + int, + ) + >(); late final _sel_allKeys1 = _registerName1("allKeys"); late final _sel_allKeysForObject_1 = _registerName1("allKeysForObject:"); late final _sel_allValues1 = _registerName1("allValues"); - late final _sel_descriptionInStringsFileFormat1 = - _registerName1("descriptionInStringsFileFormat"); - late final _sel_isEqualToDictionary_1 = - _registerName1("isEqualToDictionary:"); + late final _sel_descriptionInStringsFileFormat1 = _registerName1( + "descriptionInStringsFileFormat", + ); + late final _sel_isEqualToDictionary_1 = _registerName1( + "isEqualToDictionary:", + ); bool _objc_msgSend_140( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherDictionary, ) { - return __objc_msgSend_140( - obj, - sel, - otherDictionary, - ); + return __objc_msgSend_140(obj, sel, otherDictionary); } late final __objc_msgSend_140Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_140 = __objc_msgSend_140Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_objectsForKeys_notFoundMarker_1 = - _registerName1("objectsForKeys:notFoundMarker:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_140 = + __objc_msgSend_140Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_objectsForKeys_notFoundMarker_1 = _registerName1( + "objectsForKeys:notFoundMarker:", + ); ffi.Pointer _objc_msgSend_141( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer keys, ffi.Pointer marker, ) { - return __objc_msgSend_141( - obj, - sel, - keys, - marker, - ); + return __objc_msgSend_141(obj, sel, keys, marker); } late final __objc_msgSend_141Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_141 = + __objc_msgSend_141Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_141 = __objc_msgSend_141Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_keysSortedByValueUsingSelector_1 = - _registerName1("keysSortedByValueUsingSelector:"); - late final _sel_getObjects_andKeys_count_1 = - _registerName1("getObjects:andKeys:count:"); + late final _sel_keysSortedByValueUsingSelector_1 = _registerName1( + "keysSortedByValueUsingSelector:", + ); + late final _sel_getObjects_andKeys_count_1 = _registerName1( + "getObjects:andKeys:count:", + ); void _objc_msgSend_142( ffi.Pointer obj, ffi.Pointer sel, @@ -3828,54 +4736,64 @@ class PedometerBindings { ffi.Pointer> keys, int count, ) { - return __objc_msgSend_142( - obj, - sel, - objects, - keys, - count, - ); + return __objc_msgSend_142(obj, sel, objects, keys, count); } late final __objc_msgSend_142Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_142 = + __objc_msgSend_142Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_142 = __objc_msgSend_142Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>, - int)>(); - - late final _sel_objectForKeyedSubscript_1 = - _registerName1("objectForKeyedSubscript:"); - late final _sel_enumerateKeysAndObjectsUsingBlock_1 = - _registerName1("enumerateKeysAndObjectsUsingBlock:"); + int, + ) + >(); + + late final _sel_objectForKeyedSubscript_1 = _registerName1( + "objectForKeyedSubscript:", + ); + late final _sel_enumerateKeysAndObjectsUsingBlock_1 = _registerName1( + "enumerateKeysAndObjectsUsingBlock:", + ); void _objc_msgSend_143( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_143( - obj, - sel, - block, - ); + return __objc_msgSend_143(obj, sel, block); } late final __objc_msgSend_143Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_143 = __objc_msgSend_143Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_143 = + __objc_msgSend_143Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateKeysAndObjectsWithOptions_usingBlock_1 = _registerName1("enumerateKeysAndObjectsWithOptions:usingBlock:"); @@ -3885,74 +4803,97 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_144( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_144(obj, sel, opts, block); } late final __objc_msgSend_144Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_144 = __objc_msgSend_144Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_keysSortedByValueUsingComparator_1 = - _registerName1("keysSortedByValueUsingComparator:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_144 = + __objc_msgSend_144Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_keysSortedByValueUsingComparator_1 = _registerName1( + "keysSortedByValueUsingComparator:", + ); late final _sel_keysSortedByValueWithOptions_usingComparator_1 = _registerName1("keysSortedByValueWithOptions:usingComparator:"); - late final _sel_keysOfEntriesPassingTest_1 = - _registerName1("keysOfEntriesPassingTest:"); + late final _sel_keysOfEntriesPassingTest_1 = _registerName1( + "keysOfEntriesPassingTest:", + ); ffi.Pointer _objc_msgSend_145( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_145( - obj, - sel, - predicate, - ); + return __objc_msgSend_145(obj, sel, predicate); } late final __objc_msgSend_145Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_145 = __objc_msgSend_145Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_keysOfEntriesWithOptions_passingTest_1 = - _registerName1("keysOfEntriesWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_145 = + __objc_msgSend_145Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_keysOfEntriesWithOptions_passingTest_1 = _registerName1( + "keysOfEntriesWithOptions:passingTest:", + ); ffi.Pointer _objc_msgSend_146( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_146( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_146(obj, sel, opts, predicate); } late final __objc_msgSend_146Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_146 = + __objc_msgSend_146Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_146 = __objc_msgSend_146Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_getObjects_andKeys_1 = _registerName1("getObjects:andKeys:"); void _objc_msgSend_147( @@ -3961,216 +4902,272 @@ class PedometerBindings { ffi.Pointer> objects, ffi.Pointer> keys, ) { - return __objc_msgSend_147( - obj, - sel, - objects, - keys, - ); + return __objc_msgSend_147(obj, sel, objects, keys); } late final __objc_msgSend_147Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_147 = + __objc_msgSend_147Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_147 = __objc_msgSend_147Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_dictionaryWithContentsOfFile_1 = - _registerName1("dictionaryWithContentsOfFile:"); + late final _sel_dictionaryWithContentsOfFile_1 = _registerName1( + "dictionaryWithContentsOfFile:", + ); ffi.Pointer _objc_msgSend_148( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ) { - return __objc_msgSend_148( - obj, - sel, - path, - ); + return __objc_msgSend_148(obj, sel, path); } late final __objc_msgSend_148Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_148 = __objc_msgSend_148Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithContentsOfURL_1 = - _registerName1("dictionaryWithContentsOfURL:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_148 = + __objc_msgSend_148Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithContentsOfURL_1 = _registerName1( + "dictionaryWithContentsOfURL:", + ); ffi.Pointer _objc_msgSend_149( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_149( - obj, - sel, - url, - ); + return __objc_msgSend_149(obj, sel, url); } late final __objc_msgSend_149Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_149 = __objc_msgSend_149Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_149 = + __objc_msgSend_149Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dictionary1 = _registerName1("dictionary"); - late final _sel_dictionaryWithObject_forKey_1 = - _registerName1("dictionaryWithObject:forKey:"); + late final _sel_dictionaryWithObject_forKey_1 = _registerName1( + "dictionaryWithObject:forKey:", + ); instancetype _objc_msgSend_150( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer object, ffi.Pointer key, ) { - return __objc_msgSend_150( - obj, - sel, - object, - key, - ); + return __objc_msgSend_150(obj, sel, object, key); } late final __objc_msgSend_150Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_150 = + __objc_msgSend_150Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_150 = __objc_msgSend_150Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_dictionaryWithObjects_forKeys_count_1 = - _registerName1("dictionaryWithObjects:forKeys:count:"); - late final _sel_dictionaryWithObjectsAndKeys_1 = - _registerName1("dictionaryWithObjectsAndKeys:"); - late final _sel_dictionaryWithDictionary_1 = - _registerName1("dictionaryWithDictionary:"); + late final _sel_dictionaryWithObjects_forKeys_count_1 = _registerName1( + "dictionaryWithObjects:forKeys:count:", + ); + late final _sel_dictionaryWithObjectsAndKeys_1 = _registerName1( + "dictionaryWithObjectsAndKeys:", + ); + late final _sel_dictionaryWithDictionary_1 = _registerName1( + "dictionaryWithDictionary:", + ); instancetype _objc_msgSend_151( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer dict, ) { - return __objc_msgSend_151( - obj, - sel, - dict, - ); + return __objc_msgSend_151(obj, sel, dict); } late final __objc_msgSend_151Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_151 = __objc_msgSend_151Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_dictionaryWithObjects_forKeys_1 = - _registerName1("dictionaryWithObjects:forKeys:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_151 = + __objc_msgSend_151Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithObjects_forKeys_1 = _registerName1( + "dictionaryWithObjects:forKeys:", + ); instancetype _objc_msgSend_152( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer objects, ffi.Pointer keys, ) { - return __objc_msgSend_152( - obj, - sel, - objects, - keys, - ); + return __objc_msgSend_152(obj, sel, objects, keys); } late final __objc_msgSend_152Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_152 = + __objc_msgSend_152Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_152 = __objc_msgSend_152Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_initWithObjectsAndKeys_1 = - _registerName1("initWithObjectsAndKeys:"); + late final _sel_initWithObjectsAndKeys_1 = _registerName1( + "initWithObjectsAndKeys:", + ); late final _sel_initWithDictionary_1 = _registerName1("initWithDictionary:"); - late final _sel_initWithDictionary_copyItems_1 = - _registerName1("initWithDictionary:copyItems:"); + late final _sel_initWithDictionary_copyItems_1 = _registerName1( + "initWithDictionary:copyItems:", + ); instancetype _objc_msgSend_153( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherDictionary, bool flag, ) { - return __objc_msgSend_153( - obj, - sel, - otherDictionary, - flag, - ); + return __objc_msgSend_153(obj, sel, otherDictionary, flag); } late final __objc_msgSend_153Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_153 = __objc_msgSend_153Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithObjects_forKeys_1 = - _registerName1("initWithObjects:forKeys:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_153 = + __objc_msgSend_153Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithObjects_forKeys_1 = _registerName1( + "initWithObjects:forKeys:", + ); ffi.Pointer _objc_msgSend_154( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ffi.Pointer> error, ) { - return __objc_msgSend_154( - obj, - sel, - url, - error, - ); + return __objc_msgSend_154(obj, sel, url, error); } late final __objc_msgSend_154Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_154 = + __objc_msgSend_154Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_154 = __objc_msgSend_154Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_dictionaryWithContentsOfURL_error_1 = - _registerName1("dictionaryWithContentsOfURL:error:"); - late final _sel_sharedKeySetForKeys_1 = - _registerName1("sharedKeySetForKeys:"); - late final _sel_countByEnumeratingWithState_objects_count_1 = - _registerName1("countByEnumeratingWithState:objects:count:"); + ffi.Pointer>, + ) + >(); + + late final _sel_dictionaryWithContentsOfURL_error_1 = _registerName1( + "dictionaryWithContentsOfURL:error:", + ); + late final _sel_sharedKeySetForKeys_1 = _registerName1( + "sharedKeySetForKeys:", + ); + late final _sel_countByEnumeratingWithState_objects_count_1 = _registerName1( + "countByEnumeratingWithState:objects:count:", + ); int _objc_msgSend_155( ffi.Pointer obj, ffi.Pointer sel, @@ -4178,177 +5175,215 @@ class PedometerBindings { ffi.Pointer> buffer, int len, ) { - return __objc_msgSend_155( - obj, - sel, - state, - buffer, - len, - ); + return __objc_msgSend_155(obj, sel, state, buffer, len); } late final __objc_msgSend_155Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_155 = + __objc_msgSend_155Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_155 = __objc_msgSend_155Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - int)>(); + int, + ) + >(); late final _sel_fileSize1 = _registerName1("fileSize"); - int _objc_msgSend_156( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_156( - obj, - sel, - ); + int _objc_msgSend_156(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_156(obj, sel); } late final __objc_msgSend_156Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLongLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_156 = __objc_msgSend_156Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedLongLong Function( + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_156 = + __objc_msgSend_156Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _class_NSDate1 = _getClass1("NSDate"); - late final _sel_timeIntervalSinceReferenceDate1 = - _registerName1("timeIntervalSinceReferenceDate"); + late final _sel_timeIntervalSinceReferenceDate1 = _registerName1( + "timeIntervalSinceReferenceDate", + ); double _objc_msgSend_157( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_157( - obj, - sel, - ); + return __objc_msgSend_157(obj, sel); } late final __objc_msgSend_157Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_157 = __objc_msgSend_157Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_157 = + __objc_msgSend_157Ptr + .asFunction< + double Function(ffi.Pointer, ffi.Pointer) + >(); double _objc_msgSend_157_fpret( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_157_fpret( - obj, - sel, - ); + return __objc_msgSend_157_fpret(obj, sel); } late final __objc_msgSend_157_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_157_fpret = __objc_msgSend_157_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_157_fpret = + __objc_msgSend_157_fpretPtr + .asFunction< + double Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_initWithTimeIntervalSinceReferenceDate_1 = - _registerName1("initWithTimeIntervalSinceReferenceDate:"); + late final _sel_initWithTimeIntervalSinceReferenceDate_1 = _registerName1( + "initWithTimeIntervalSinceReferenceDate:", + ); instancetype _objc_msgSend_158( ffi.Pointer obj, ffi.Pointer sel, double ti, ) { - return __objc_msgSend_158( - obj, - sel, - ti, - ); + return __objc_msgSend_158(obj, sel, ti); } late final __objc_msgSend_158Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_158 = __objc_msgSend_158Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, double)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_158 = + __objc_msgSend_158Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); - late final _sel_timeIntervalSinceDate_1 = - _registerName1("timeIntervalSinceDate:"); + late final _sel_timeIntervalSinceDate_1 = _registerName1( + "timeIntervalSinceDate:", + ); double _objc_msgSend_159( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer anotherDate, ) { - return __objc_msgSend_159( - obj, - sel, - anotherDate, - ); + return __objc_msgSend_159(obj, sel, anotherDate); } late final __objc_msgSend_159Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_159 = __objc_msgSend_159Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_159 = + __objc_msgSend_159Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_159_fpret( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer anotherDate, ) { - return __objc_msgSend_159_fpret( - obj, - sel, - anotherDate, - ); + return __objc_msgSend_159_fpret(obj, sel, anotherDate); } late final __objc_msgSend_159_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_159_fpret = __objc_msgSend_159_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_timeIntervalSinceNow1 = - _registerName1("timeIntervalSinceNow"); - late final _sel_timeIntervalSince19701 = - _registerName1("timeIntervalSince1970"); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_159_fpret = + __objc_msgSend_159_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_timeIntervalSinceNow1 = _registerName1( + "timeIntervalSinceNow", + ); + late final _sel_timeIntervalSince19701 = _registerName1( + "timeIntervalSince1970", + ); late final _sel_addTimeInterval_1 = _registerName1("addTimeInterval:"); - late final _sel_dateByAddingTimeInterval_1 = - _registerName1("dateByAddingTimeInterval:"); + late final _sel_dateByAddingTimeInterval_1 = _registerName1( + "dateByAddingTimeInterval:", + ); late final _sel_earlierDate_1 = _registerName1("earlierDate:"); ffi.Pointer _objc_msgSend_160( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer anotherDate, ) { - return __objc_msgSend_160( - obj, - sel, - anotherDate, - ); + return __objc_msgSend_160(obj, sel, anotherDate); } late final __objc_msgSend_160Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_160 = __objc_msgSend_160Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_160 = + __objc_msgSend_160Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_laterDate_1 = _registerName1("laterDate:"); late final _sel_compare_1 = _registerName1("compare:"); @@ -4357,20 +5392,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer other, ) { - return __objc_msgSend_161( - obj, - sel, - other, - ); + return __objc_msgSend_161(obj, sel, other); } late final __objc_msgSend_161Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_161 = __objc_msgSend_161Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_161 = + __objc_msgSend_161Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isEqualToDate_1 = _registerName1("isEqualToDate:"); bool _objc_msgSend_162( @@ -4378,127 +5420,164 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer otherDate, ) { - return __objc_msgSend_162( - obj, - sel, - otherDate, - ); + return __objc_msgSend_162(obj, sel, otherDate); } late final __objc_msgSend_162Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_162 = __objc_msgSend_162Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_162 = + __objc_msgSend_162Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_date1 = _registerName1("date"); - late final _sel_dateWithTimeIntervalSinceNow_1 = - _registerName1("dateWithTimeIntervalSinceNow:"); - late final _sel_dateWithTimeIntervalSinceReferenceDate_1 = - _registerName1("dateWithTimeIntervalSinceReferenceDate:"); - late final _sel_dateWithTimeIntervalSince1970_1 = - _registerName1("dateWithTimeIntervalSince1970:"); - late final _sel_dateWithTimeInterval_sinceDate_1 = - _registerName1("dateWithTimeInterval:sinceDate:"); + late final _sel_dateWithTimeIntervalSinceNow_1 = _registerName1( + "dateWithTimeIntervalSinceNow:", + ); + late final _sel_dateWithTimeIntervalSinceReferenceDate_1 = _registerName1( + "dateWithTimeIntervalSinceReferenceDate:", + ); + late final _sel_dateWithTimeIntervalSince1970_1 = _registerName1( + "dateWithTimeIntervalSince1970:", + ); + late final _sel_dateWithTimeInterval_sinceDate_1 = _registerName1( + "dateWithTimeInterval:sinceDate:", + ); instancetype _objc_msgSend_163( ffi.Pointer obj, ffi.Pointer sel, double secsToBeAdded, ffi.Pointer date, ) { - return __objc_msgSend_163( - obj, - sel, - secsToBeAdded, - date, - ); + return __objc_msgSend_163(obj, sel, secsToBeAdded, date); } late final __objc_msgSend_163Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_163 = __objc_msgSend_163Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - double, ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_163 = + __objc_msgSend_163Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); late final _sel_distantFuture1 = _registerName1("distantFuture"); ffi.Pointer _objc_msgSend_164( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_164( - obj, - sel, - ); + return __objc_msgSend_164(obj, sel); } late final __objc_msgSend_164Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_164 = __objc_msgSend_164Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_164 = + __objc_msgSend_164Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_distantPast1 = _registerName1("distantPast"); late final _sel_now1 = _registerName1("now"); - late final _sel_initWithTimeIntervalSinceNow_1 = - _registerName1("initWithTimeIntervalSinceNow:"); - late final _sel_initWithTimeIntervalSince1970_1 = - _registerName1("initWithTimeIntervalSince1970:"); - late final _sel_initWithTimeInterval_sinceDate_1 = - _registerName1("initWithTimeInterval:sinceDate:"); - late final _sel_fileModificationDate1 = - _registerName1("fileModificationDate"); + late final _sel_initWithTimeIntervalSinceNow_1 = _registerName1( + "initWithTimeIntervalSinceNow:", + ); + late final _sel_initWithTimeIntervalSince1970_1 = _registerName1( + "initWithTimeIntervalSince1970:", + ); + late final _sel_initWithTimeInterval_sinceDate_1 = _registerName1( + "initWithTimeInterval:sinceDate:", + ); + late final _sel_fileModificationDate1 = _registerName1( + "fileModificationDate", + ); ffi.Pointer _objc_msgSend_165( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_165( - obj, - sel, - ); + return __objc_msgSend_165(obj, sel); } late final __objc_msgSend_165Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_165 = __objc_msgSend_165Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_165 = + __objc_msgSend_165Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileType1 = _registerName1("fileType"); - late final _sel_filePosixPermissions1 = - _registerName1("filePosixPermissions"); - late final _sel_fileOwnerAccountName1 = - _registerName1("fileOwnerAccountName"); - late final _sel_fileGroupOwnerAccountName1 = - _registerName1("fileGroupOwnerAccountName"); + late final _sel_filePosixPermissions1 = _registerName1( + "filePosixPermissions", + ); + late final _sel_fileOwnerAccountName1 = _registerName1( + "fileOwnerAccountName", + ); + late final _sel_fileGroupOwnerAccountName1 = _registerName1( + "fileGroupOwnerAccountName", + ); late final _sel_fileSystemNumber1 = _registerName1("fileSystemNumber"); - late final _sel_fileSystemFileNumber1 = - _registerName1("fileSystemFileNumber"); + late final _sel_fileSystemFileNumber1 = _registerName1( + "fileSystemFileNumber", + ); late final _sel_fileExtensionHidden1 = _registerName1("fileExtensionHidden"); late final _sel_fileHFSCreatorCode1 = _registerName1("fileHFSCreatorCode"); - int _objc_msgSend_166( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_166( - obj, - sel, - ); + int _objc_msgSend_166(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_166(obj, sel); } late final __objc_msgSend_166Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedInt Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_166 = __objc_msgSend_166Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedInt Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_166 = + __objc_msgSend_166Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_fileHFSTypeCode1 = _registerName1("fileHFSTypeCode"); late final _sel_fileIsImmutable1 = _registerName1("fileIsImmutable"); @@ -4509,116 +5588,152 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_167( - obj, - sel, - ); + return __objc_msgSend_167(obj, sel); } late final __objc_msgSend_167Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_167 = __objc_msgSend_167Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_167 = + __objc_msgSend_167Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_fileGroupOwnerAccountID1 = - _registerName1("fileGroupOwnerAccountID"); + late final _sel_fileGroupOwnerAccountID1 = _registerName1( + "fileGroupOwnerAccountID", + ); late final _sel_predicateWithBlock_1 = _registerName1("predicateWithBlock:"); ffi.Pointer _objc_msgSend_168( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_168( - obj, - sel, - block, - ); + return __objc_msgSend_168(obj, sel, block); } late final __objc_msgSend_168Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_168 = __objc_msgSend_168Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_168 = + __objc_msgSend_168Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_predicateFormat1 = _registerName1("predicateFormat"); - late final _sel_predicateWithSubstitutionVariables_1 = - _registerName1("predicateWithSubstitutionVariables:"); + late final _sel_predicateWithSubstitutionVariables_1 = _registerName1( + "predicateWithSubstitutionVariables:", + ); late final _sel_evaluateWithObject_1 = _registerName1("evaluateWithObject:"); bool _objc_msgSend_169( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer object, ) { - return __objc_msgSend_169( - obj, - sel, - object, - ); + return __objc_msgSend_169(obj, sel, object); } late final __objc_msgSend_169Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_169 = __objc_msgSend_169Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_evaluateWithObject_substitutionVariables_1 = - _registerName1("evaluateWithObject:substitutionVariables:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_169 = + __objc_msgSend_169Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_evaluateWithObject_substitutionVariables_1 = _registerName1( + "evaluateWithObject:substitutionVariables:", + ); bool _objc_msgSend_170( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer object, ffi.Pointer bindings, ) { - return __objc_msgSend_170( - obj, - sel, - object, - bindings, - ); + return __objc_msgSend_170(obj, sel, object, bindings); } late final __objc_msgSend_170Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_170 = + __objc_msgSend_170Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_170 = __objc_msgSend_170Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_allowEvaluation1 = _registerName1("allowEvaluation"); - late final _sel_filteredArrayUsingPredicate_1 = - _registerName1("filteredArrayUsingPredicate:"); + late final _sel_filteredArrayUsingPredicate_1 = _registerName1( + "filteredArrayUsingPredicate:", + ); ffi.Pointer _objc_msgSend_171( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer predicate, ) { - return __objc_msgSend_171( - obj, - sel, - predicate, - ); + return __objc_msgSend_171(obj, sel, predicate); } late final __objc_msgSend_171Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_171 = __objc_msgSend_171Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_171 = + __objc_msgSend_171Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithChar_1 = _registerName1("initWithChar:"); ffi.Pointer _objc_msgSend_172( @@ -4626,42 +5741,57 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_172( - obj, - sel, - value, - ); + return __objc_msgSend_172(obj, sel, value); } late final __objc_msgSend_172Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Char)>>('objc_msgSend'); - late final __objc_msgSend_172 = __objc_msgSend_172Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Char, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_172 = + __objc_msgSend_172Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithUnsignedChar_1 = - _registerName1("initWithUnsignedChar:"); + late final _sel_initWithUnsignedChar_1 = _registerName1( + "initWithUnsignedChar:", + ); ffi.Pointer _objc_msgSend_173( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_173( - obj, - sel, - value, - ); + return __objc_msgSend_173(obj, sel, value); } late final __objc_msgSend_173Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedChar)>>('objc_msgSend'); - late final __objc_msgSend_173 = __objc_msgSend_173Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedChar, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_173 = + __objc_msgSend_173Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithShort_1 = _registerName1("initWithShort:"); ffi.Pointer _objc_msgSend_174( @@ -4669,42 +5799,57 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_174( - obj, - sel, - value, - ); + return __objc_msgSend_174(obj, sel, value); } late final __objc_msgSend_174Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Short)>>('objc_msgSend'); - late final __objc_msgSend_174 = __objc_msgSend_174Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Short, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_174 = + __objc_msgSend_174Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithUnsignedShort_1 = - _registerName1("initWithUnsignedShort:"); + late final _sel_initWithUnsignedShort_1 = _registerName1( + "initWithUnsignedShort:", + ); ffi.Pointer _objc_msgSend_175( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_175( - obj, - sel, - value, - ); + return __objc_msgSend_175(obj, sel, value); } late final __objc_msgSend_175Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedShort)>>('objc_msgSend'); - late final __objc_msgSend_175 = __objc_msgSend_175Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_175 = + __objc_msgSend_175Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithInt_1 = _registerName1("initWithInt:"); ffi.Pointer _objc_msgSend_176( @@ -4712,42 +5857,57 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_176( - obj, - sel, - value, - ); + return __objc_msgSend_176(obj, sel, value); } late final __objc_msgSend_176Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_176 = __objc_msgSend_176Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_176 = + __objc_msgSend_176Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithUnsignedInt_1 = - _registerName1("initWithUnsignedInt:"); + late final _sel_initWithUnsignedInt_1 = _registerName1( + "initWithUnsignedInt:", + ); ffi.Pointer _objc_msgSend_177( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_177( - obj, - sel, - value, - ); + return __objc_msgSend_177(obj, sel, value); } late final __objc_msgSend_177Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_177 = __objc_msgSend_177Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_177 = + __objc_msgSend_177Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithLong_1 = _registerName1("initWithLong:"); ffi.Pointer _objc_msgSend_178( @@ -4755,42 +5915,57 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_178( - obj, - sel, - value, - ); + return __objc_msgSend_178(obj, sel, value); } late final __objc_msgSend_178Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_178 = __objc_msgSend_178Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_178 = + __objc_msgSend_178Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithUnsignedLong_1 = - _registerName1("initWithUnsignedLong:"); + late final _sel_initWithUnsignedLong_1 = _registerName1( + "initWithUnsignedLong:", + ); ffi.Pointer _objc_msgSend_179( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_179( - obj, - sel, - value, - ); + return __objc_msgSend_179(obj, sel, value); } late final __objc_msgSend_179Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_179 = __objc_msgSend_179Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_179 = + __objc_msgSend_179Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithLongLong_1 = _registerName1("initWithLongLong:"); ffi.Pointer _objc_msgSend_180( @@ -4798,42 +5973,57 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_180( - obj, - sel, - value, - ); + return __objc_msgSend_180(obj, sel, value); } late final __objc_msgSend_180Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.LongLong)>>('objc_msgSend'); - late final __objc_msgSend_180 = __objc_msgSend_180Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.LongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_180 = + __objc_msgSend_180Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithUnsignedLongLong_1 = - _registerName1("initWithUnsignedLongLong:"); + late final _sel_initWithUnsignedLongLong_1 = _registerName1( + "initWithUnsignedLongLong:", + ); ffi.Pointer _objc_msgSend_181( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_181( - obj, - sel, - value, - ); + return __objc_msgSend_181(obj, sel, value); } late final __objc_msgSend_181Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLongLong)>>('objc_msgSend'); - late final __objc_msgSend_181 = __objc_msgSend_181Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_181 = + __objc_msgSend_181Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithFloat_1 = _registerName1("initWithFloat:"); ffi.Pointer _objc_msgSend_182( @@ -4841,20 +6031,27 @@ class PedometerBindings { ffi.Pointer sel, double value, ) { - return __objc_msgSend_182( - obj, - sel, - value, - ); + return __objc_msgSend_182(obj, sel, value); } late final __objc_msgSend_182Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Float)>>('objc_msgSend'); - late final __objc_msgSend_182 = __objc_msgSend_182Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, double)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_182 = + __objc_msgSend_182Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); late final _sel_initWithDouble_1 = _registerName1("initWithDouble:"); ffi.Pointer _objc_msgSend_183( @@ -4862,20 +6059,27 @@ class PedometerBindings { ffi.Pointer sel, double value, ) { - return __objc_msgSend_183( - obj, - sel, - value, - ); + return __objc_msgSend_183(obj, sel, value); } late final __objc_msgSend_183Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_183 = __objc_msgSend_183Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, double)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_183 = + __objc_msgSend_183Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); late final _sel_initWithBool_1 = _registerName1("initWithBool:"); ffi.Pointer _objc_msgSend_184( @@ -4883,197 +6087,204 @@ class PedometerBindings { ffi.Pointer sel, bool value, ) { - return __objc_msgSend_184( - obj, - sel, - value, - ); + return __objc_msgSend_184(obj, sel, value); } late final __objc_msgSend_184Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_184 = __objc_msgSend_184Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_184 = + __objc_msgSend_184Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_initWithInteger_1 = _registerName1("initWithInteger:"); - late final _sel_initWithUnsignedInteger_1 = - _registerName1("initWithUnsignedInteger:"); + late final _sel_initWithUnsignedInteger_1 = _registerName1( + "initWithUnsignedInteger:", + ); late final _sel_charValue1 = _registerName1("charValue"); - int _objc_msgSend_185( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_185( - obj, - sel, - ); + int _objc_msgSend_185(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_185(obj, sel); } late final __objc_msgSend_185Ptr = _lookup< - ffi.NativeFunction< - ffi.Char Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_185 = __objc_msgSend_185Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Char Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_185 = + __objc_msgSend_185Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_unsignedCharValue1 = _registerName1("unsignedCharValue"); - int _objc_msgSend_186( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_186( - obj, - sel, - ); + int _objc_msgSend_186(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_186(obj, sel); } late final __objc_msgSend_186Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedChar Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_186 = __objc_msgSend_186Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedChar Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_186 = + __objc_msgSend_186Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_shortValue1 = _registerName1("shortValue"); - int _objc_msgSend_187( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_187( - obj, - sel, - ); + int _objc_msgSend_187(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_187(obj, sel); } late final __objc_msgSend_187Ptr = _lookup< - ffi.NativeFunction< - ffi.Short Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_187 = __objc_msgSend_187Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Short Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_187 = + __objc_msgSend_187Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_unsignedShortValue1 = _registerName1("unsignedShortValue"); - int _objc_msgSend_188( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_188( - obj, - sel, - ); + int _objc_msgSend_188(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_188(obj, sel); } late final __objc_msgSend_188Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedShort Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_188 = __objc_msgSend_188Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.UnsignedShort Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_188 = + __objc_msgSend_188Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_intValue1 = _registerName1("intValue"); - int _objc_msgSend_189( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_189( - obj, - sel, - ); + int _objc_msgSend_189(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_189(obj, sel); } late final __objc_msgSend_189Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_189 = __objc_msgSend_189Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_189 = + __objc_msgSend_189Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_unsignedIntValue1 = _registerName1("unsignedIntValue"); late final _sel_longValue1 = _registerName1("longValue"); late final _sel_unsignedLongValue1 = _registerName1("unsignedLongValue"); late final _sel_longLongValue1 = _registerName1("longLongValue"); - int _objc_msgSend_190( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_190( - obj, - sel, - ); + int _objc_msgSend_190(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_190(obj, sel); } late final __objc_msgSend_190Ptr = _lookup< - ffi.NativeFunction< - ffi.LongLong Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_190 = __objc_msgSend_190Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.LongLong Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_190 = + __objc_msgSend_190Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_unsignedLongLongValue1 = - _registerName1("unsignedLongLongValue"); + late final _sel_unsignedLongLongValue1 = _registerName1( + "unsignedLongLongValue", + ); late final _sel_floatValue1 = _registerName1("floatValue"); double _objc_msgSend_191( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_191( - obj, - sel, - ); + return __objc_msgSend_191(obj, sel); } late final __objc_msgSend_191Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_191 = __objc_msgSend_191Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Float Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_191 = + __objc_msgSend_191Ptr + .asFunction< + double Function(ffi.Pointer, ffi.Pointer) + >(); double _objc_msgSend_191_fpret( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_191_fpret( - obj, - sel, - ); + return __objc_msgSend_191_fpret(obj, sel); } late final __objc_msgSend_191_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_191_fpret = __objc_msgSend_191_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Float Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_191_fpret = + __objc_msgSend_191_fpretPtr + .asFunction< + double Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_doubleValue1 = _registerName1("doubleValue"); late final _sel_boolValue1 = _registerName1("boolValue"); late final _sel_integerValue1 = _registerName1("integerValue"); - late final _sel_unsignedIntegerValue1 = - _registerName1("unsignedIntegerValue"); + late final _sel_unsignedIntegerValue1 = _registerName1( + "unsignedIntegerValue", + ); late final _sel_stringValue1 = _registerName1("stringValue"); int _objc_msgSend_192( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherNumber, ) { - return __objc_msgSend_192( - obj, - sel, - otherNumber, - ); + return __objc_msgSend_192(obj, sel, otherNumber); } late final __objc_msgSend_192Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_192 = __objc_msgSend_192Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_192 = + __objc_msgSend_192Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isEqualToNumber_1 = _registerName1("isEqualToNumber:"); bool _objc_msgSend_193( @@ -5081,42 +6292,55 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer number, ) { - return __objc_msgSend_193( - obj, - sel, - number, - ); + return __objc_msgSend_193(obj, sel, number); } late final __objc_msgSend_193Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_193 = __objc_msgSend_193Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_193 = + __objc_msgSend_193Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_numberWithChar_1 = _registerName1("numberWithChar:"); - late final _sel_numberWithUnsignedChar_1 = - _registerName1("numberWithUnsignedChar:"); + late final _sel_numberWithUnsignedChar_1 = _registerName1( + "numberWithUnsignedChar:", + ); late final _sel_numberWithShort_1 = _registerName1("numberWithShort:"); - late final _sel_numberWithUnsignedShort_1 = - _registerName1("numberWithUnsignedShort:"); + late final _sel_numberWithUnsignedShort_1 = _registerName1( + "numberWithUnsignedShort:", + ); late final _sel_numberWithInt_1 = _registerName1("numberWithInt:"); - late final _sel_numberWithUnsignedInt_1 = - _registerName1("numberWithUnsignedInt:"); + late final _sel_numberWithUnsignedInt_1 = _registerName1( + "numberWithUnsignedInt:", + ); late final _sel_numberWithLong_1 = _registerName1("numberWithLong:"); - late final _sel_numberWithUnsignedLong_1 = - _registerName1("numberWithUnsignedLong:"); + late final _sel_numberWithUnsignedLong_1 = _registerName1( + "numberWithUnsignedLong:", + ); late final _sel_numberWithLongLong_1 = _registerName1("numberWithLongLong:"); - late final _sel_numberWithUnsignedLongLong_1 = - _registerName1("numberWithUnsignedLongLong:"); + late final _sel_numberWithUnsignedLongLong_1 = _registerName1( + "numberWithUnsignedLongLong:", + ); late final _sel_numberWithFloat_1 = _registerName1("numberWithFloat:"); late final _sel_numberWithDouble_1 = _registerName1("numberWithDouble:"); late final _sel_numberWithBool_1 = _registerName1("numberWithBool:"); late final _sel_numberWithInteger_1 = _registerName1("numberWithInteger:"); - late final _sel_numberWithUnsignedInteger_1 = - _registerName1("numberWithUnsignedInteger:"); + late final _sel_numberWithUnsignedInteger_1 = _registerName1( + "numberWithUnsignedInteger:", + ); late final _sel_port1 = _registerName1("port"); late final _sel_user1 = _registerName1("user"); late final _sel_password1 = _registerName1("password"); @@ -5126,39 +6350,50 @@ class PedometerBindings { late final _sel_query1 = _registerName1("query"); late final _sel_relativePath1 = _registerName1("relativePath"); late final _sel_hasDirectoryPath1 = _registerName1("hasDirectoryPath"); - late final _sel_getFileSystemRepresentation_maxLength_1 = - _registerName1("getFileSystemRepresentation:maxLength:"); + late final _sel_getFileSystemRepresentation_maxLength_1 = _registerName1( + "getFileSystemRepresentation:maxLength:", + ); bool _objc_msgSend_194( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer buffer, int maxBufferLength, ) { - return __objc_msgSend_194( - obj, - sel, - buffer, - maxBufferLength, - ); + return __objc_msgSend_194(obj, sel, buffer, maxBufferLength); } late final __objc_msgSend_194Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_194 = __objc_msgSend_194Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_fileSystemRepresentation1 = - _registerName1("fileSystemRepresentation"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_194 = + __objc_msgSend_194Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_fileSystemRepresentation1 = _registerName1( + "fileSystemRepresentation", + ); late final _sel_isFileURL1 = _registerName1("isFileURL"); late final _sel_standardizedURL1 = _registerName1("standardizedURL"); late final _sel_isFileReferenceURL1 = _registerName1("isFileReferenceURL"); late final _sel_fileReferenceURL1 = _registerName1("fileReferenceURL"); late final _sel_filePathURL1 = _registerName1("filePathURL"); - late final _sel_getResourceValue_forKey_error_1 = - _registerName1("getResourceValue:forKey:error:"); + late final _sel_getResourceValue_forKey_error_1 = _registerName1( + "getResourceValue:forKey:error:", + ); bool _objc_msgSend_195( ffi.Pointer obj, ffi.Pointer sel, @@ -5166,63 +6401,68 @@ class PedometerBindings { ffi.Pointer key, ffi.Pointer> error, ) { - return __objc_msgSend_195( - obj, - sel, - value, - key, - error, - ); + return __objc_msgSend_195(obj, sel, value, key, error); } late final __objc_msgSend_195Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_195 = + __objc_msgSend_195Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_195 = __objc_msgSend_195Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_resourceValuesForKeys_error_1 = - _registerName1("resourceValuesForKeys:error:"); + late final _sel_resourceValuesForKeys_error_1 = _registerName1( + "resourceValuesForKeys:error:", + ); ffi.Pointer _objc_msgSend_196( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer keys, ffi.Pointer> error, ) { - return __objc_msgSend_196( - obj, - sel, - keys, - error, - ); + return __objc_msgSend_196(obj, sel, keys, error); } late final __objc_msgSend_196Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_196 = + __objc_msgSend_196Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_196 = __objc_msgSend_196Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_setResourceValue_forKey_error_1 = - _registerName1("setResourceValue:forKey:error:"); + late final _sel_setResourceValue_forKey_error_1 = _registerName1( + "setResourceValue:forKey:error:", + ); bool _objc_msgSend_197( ffi.Pointer obj, ffi.Pointer sel, @@ -5230,87 +6470,105 @@ class PedometerBindings { ffi.Pointer key, ffi.Pointer> error, ) { - return __objc_msgSend_197( - obj, - sel, - value, - key, - error, - ); + return __objc_msgSend_197(obj, sel, value, key, error); } late final __objc_msgSend_197Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_197 = + __objc_msgSend_197Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_197 = __objc_msgSend_197Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_setResourceValues_error_1 = - _registerName1("setResourceValues:error:"); + late final _sel_setResourceValues_error_1 = _registerName1( + "setResourceValues:error:", + ); bool _objc_msgSend_198( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer keyedValues, ffi.Pointer> error, ) { - return __objc_msgSend_198( - obj, - sel, - keyedValues, - error, - ); + return __objc_msgSend_198(obj, sel, keyedValues, error); } late final __objc_msgSend_198Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_198 = + __objc_msgSend_198Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_198 = __objc_msgSend_198Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_removeCachedResourceValueForKey_1 = - _registerName1("removeCachedResourceValueForKey:"); + late final _sel_removeCachedResourceValueForKey_1 = _registerName1( + "removeCachedResourceValueForKey:", + ); void _objc_msgSend_199( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_199( - obj, - sel, - key, - ); + return __objc_msgSend_199(obj, sel, key); } late final __objc_msgSend_199Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_199 = __objc_msgSend_199Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeAllCachedResourceValues1 = - _registerName1("removeAllCachedResourceValues"); - late final _sel_setTemporaryResourceValue_forKey_1 = - _registerName1("setTemporaryResourceValue:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_199 = + __objc_msgSend_199Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeAllCachedResourceValues1 = _registerName1( + "removeAllCachedResourceValues", + ); + late final _sel_setTemporaryResourceValue_forKey_1 = _registerName1( + "setTemporaryResourceValue:forKey:", + ); late final _sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1 = _registerName1( - "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:"); + "bookmarkDataWithOptions:includingResourceValuesForKeys:relativeToURL:error:", + ); ffi.Pointer _objc_msgSend_200( ffi.Pointer obj, ffi.Pointer sel, @@ -5319,37 +6577,38 @@ class PedometerBindings { ffi.Pointer relativeURL, ffi.Pointer> error, ) { - return __objc_msgSend_200( - obj, - sel, - options, - keys, - relativeURL, - error, - ); + return __objc_msgSend_200(obj, sel, options, keys, relativeURL, error); } late final __objc_msgSend_200Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_200 = + __objc_msgSend_200Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_200 = __objc_msgSend_200Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = _registerName1( - "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); + "initByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); instancetype _objc_msgSend_201( ffi.Pointer obj, ffi.Pointer sel, @@ -5371,60 +6630,72 @@ class PedometerBindings { } late final __objc_msgSend_201Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_201 = + __objc_msgSend_201Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_201 = __objc_msgSend_201Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1 = _registerName1( - "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:"); - late final _sel_resourceValuesForKeys_fromBookmarkData_1 = - _registerName1("resourceValuesForKeys:fromBookmarkData:"); + "URLByResolvingBookmarkData:options:relativeToURL:bookmarkDataIsStale:error:", + ); + late final _sel_resourceValuesForKeys_fromBookmarkData_1 = _registerName1( + "resourceValuesForKeys:fromBookmarkData:", + ); ffi.Pointer _objc_msgSend_202( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer keys, ffi.Pointer bookmarkData, ) { - return __objc_msgSend_202( - obj, - sel, - keys, - bookmarkData, - ); + return __objc_msgSend_202(obj, sel, keys, bookmarkData); } late final __objc_msgSend_202Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_202 = + __objc_msgSend_202Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_202 = __objc_msgSend_202Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_writeBookmarkData_toURL_options_error_1 = - _registerName1("writeBookmarkData:toURL:options:error:"); + late final _sel_writeBookmarkData_toURL_options_error_1 = _registerName1( + "writeBookmarkData:toURL:options:error:", + ); bool _objc_msgSend_203( ffi.Pointer obj, ffi.Pointer sel, @@ -5444,55 +6715,66 @@ class PedometerBindings { } late final __objc_msgSend_203Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_203 = + __objc_msgSend_203Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_203 = __objc_msgSend_203Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); - late final _sel_bookmarkDataWithContentsOfURL_error_1 = - _registerName1("bookmarkDataWithContentsOfURL:error:"); + late final _sel_bookmarkDataWithContentsOfURL_error_1 = _registerName1( + "bookmarkDataWithContentsOfURL:error:", + ); ffi.Pointer _objc_msgSend_204( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer bookmarkFileURL, ffi.Pointer> error, ) { - return __objc_msgSend_204( - obj, - sel, - bookmarkFileURL, - error, - ); + return __objc_msgSend_204(obj, sel, bookmarkFileURL, error); } late final __objc_msgSend_204Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_204 = + __objc_msgSend_204Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_204 = __objc_msgSend_204Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = - _registerName1("URLByResolvingAliasFileAtURL:options:error:"); + late final _sel_URLByResolvingAliasFileAtURL_options_error_1 = _registerName1( + "URLByResolvingAliasFileAtURL:options:error:", + ); instancetype _objc_msgSend_205( ffi.Pointer obj, ffi.Pointer sel, @@ -5500,220 +6782,280 @@ class PedometerBindings { int options, ffi.Pointer> error, ) { - return __objc_msgSend_205( - obj, - sel, - url, - options, - error, - ); + return __objc_msgSend_205(obj, sel, url, options, error); } late final __objc_msgSend_205Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_205 = + __objc_msgSend_205Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_205 = __objc_msgSend_205Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_startAccessingSecurityScopedResource1 = - _registerName1("startAccessingSecurityScopedResource"); - late final _sel_stopAccessingSecurityScopedResource1 = - _registerName1("stopAccessingSecurityScopedResource"); - late final _sel_getPromisedItemResourceValue_forKey_error_1 = - _registerName1("getPromisedItemResourceValue:forKey:error:"); - late final _sel_promisedItemResourceValuesForKeys_error_1 = - _registerName1("promisedItemResourceValuesForKeys:error:"); + int, + ffi.Pointer>, + ) + >(); + + late final _sel_startAccessingSecurityScopedResource1 = _registerName1( + "startAccessingSecurityScopedResource", + ); + late final _sel_stopAccessingSecurityScopedResource1 = _registerName1( + "stopAccessingSecurityScopedResource", + ); + late final _sel_getPromisedItemResourceValue_forKey_error_1 = _registerName1( + "getPromisedItemResourceValue:forKey:error:", + ); + late final _sel_promisedItemResourceValuesForKeys_error_1 = _registerName1( + "promisedItemResourceValuesForKeys:error:", + ); ffi.Pointer _objc_msgSend_206( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer keys, ffi.Pointer> error, ) { - return __objc_msgSend_206( - obj, - sel, - keys, - error, - ); + return __objc_msgSend_206(obj, sel, keys, error); } late final __objc_msgSend_206Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_206 = + __objc_msgSend_206Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_206 = __objc_msgSend_206Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_checkPromisedItemIsReachableAndReturnError_1 = - _registerName1("checkPromisedItemIsReachableAndReturnError:"); + late final _sel_checkPromisedItemIsReachableAndReturnError_1 = _registerName1( + "checkPromisedItemIsReachableAndReturnError:", + ); bool _objc_msgSend_207( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer> error, ) { - return __objc_msgSend_207( - obj, - sel, - error, - ); + return __objc_msgSend_207(obj, sel, error); } late final __objc_msgSend_207Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_207 = __objc_msgSend_207Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_fileURLWithPathComponents_1 = - _registerName1("fileURLWithPathComponents:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_207 = + __objc_msgSend_207Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); + + late final _sel_fileURLWithPathComponents_1 = _registerName1( + "fileURLWithPathComponents:", + ); ffi.Pointer _objc_msgSend_208( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer components, ) { - return __objc_msgSend_208( - obj, - sel, - components, - ); + return __objc_msgSend_208(obj, sel, components); } late final __objc_msgSend_208Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_208 = __objc_msgSend_208Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_208 = + __objc_msgSend_208Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pathComponents1 = _registerName1("pathComponents"); late final _sel_lastPathComponent1 = _registerName1("lastPathComponent"); late final _sel_pathExtension1 = _registerName1("pathExtension"); - late final _sel_URLByAppendingPathComponent_1 = - _registerName1("URLByAppendingPathComponent:"); + late final _sel_URLByAppendingPathComponent_1 = _registerName1( + "URLByAppendingPathComponent:", + ); ffi.Pointer _objc_msgSend_209( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer pathComponent, ) { - return __objc_msgSend_209( - obj, - sel, - pathComponent, - ); + return __objc_msgSend_209(obj, sel, pathComponent); } late final __objc_msgSend_209Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_209 = __objc_msgSend_209Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_URLByAppendingPathComponent_isDirectory_1 = - _registerName1("URLByAppendingPathComponent:isDirectory:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_209 = + __objc_msgSend_209Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLByAppendingPathComponent_isDirectory_1 = _registerName1( + "URLByAppendingPathComponent:isDirectory:", + ); ffi.Pointer _objc_msgSend_210( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer pathComponent, bool isDirectory, ) { - return __objc_msgSend_210( - obj, - sel, - pathComponent, - isDirectory, - ); + return __objc_msgSend_210(obj, sel, pathComponent, isDirectory); } late final __objc_msgSend_210Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_210 = __objc_msgSend_210Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); - - late final _sel_URLByDeletingLastPathComponent1 = - _registerName1("URLByDeletingLastPathComponent"); - late final _sel_URLByAppendingPathExtension_1 = - _registerName1("URLByAppendingPathExtension:"); - late final _sel_URLByDeletingPathExtension1 = - _registerName1("URLByDeletingPathExtension"); - late final _sel_checkResourceIsReachableAndReturnError_1 = - _registerName1("checkResourceIsReachableAndReturnError:"); - late final _sel_URLByStandardizingPath1 = - _registerName1("URLByStandardizingPath"); - late final _sel_URLByResolvingSymlinksInPath1 = - _registerName1("URLByResolvingSymlinksInPath"); - late final _sel_resourceDataUsingCache_1 = - _registerName1("resourceDataUsingCache:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_210 = + __objc_msgSend_210Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_URLByDeletingLastPathComponent1 = _registerName1( + "URLByDeletingLastPathComponent", + ); + late final _sel_URLByAppendingPathExtension_1 = _registerName1( + "URLByAppendingPathExtension:", + ); + late final _sel_URLByDeletingPathExtension1 = _registerName1( + "URLByDeletingPathExtension", + ); + late final _sel_checkResourceIsReachableAndReturnError_1 = _registerName1( + "checkResourceIsReachableAndReturnError:", + ); + late final _sel_URLByStandardizingPath1 = _registerName1( + "URLByStandardizingPath", + ); + late final _sel_URLByResolvingSymlinksInPath1 = _registerName1( + "URLByResolvingSymlinksInPath", + ); + late final _sel_resourceDataUsingCache_1 = _registerName1( + "resourceDataUsingCache:", + ); ffi.Pointer _objc_msgSend_211( ffi.Pointer obj, ffi.Pointer sel, bool shouldUseCache, ) { - return __objc_msgSend_211( - obj, - sel, - shouldUseCache, - ); + return __objc_msgSend_211(obj, sel, shouldUseCache); } late final __objc_msgSend_211Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_211 = __objc_msgSend_211Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_211 = + __objc_msgSend_211Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); - late final _sel_loadResourceDataNotifyingClient_usingCache_1 = - _registerName1("loadResourceDataNotifyingClient:usingCache:"); + late final _sel_loadResourceDataNotifyingClient_usingCache_1 = _registerName1( + "loadResourceDataNotifyingClient:usingCache:", + ); void _objc_msgSend_212( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer client, bool shouldUseCache, ) { - return __objc_msgSend_212( - obj, - sel, - client, - shouldUseCache, - ); + return __objc_msgSend_212(obj, sel, client, shouldUseCache); } late final __objc_msgSend_212Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_212 = __objc_msgSend_212Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_212 = + __objc_msgSend_212Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); late final _sel_propertyForKey_1 = _registerName1("propertyForKey:"); late final _sel_setResourceData_1 = _registerName1("setResourceData:"); @@ -5724,49 +7066,63 @@ class PedometerBindings { ffi.Pointer property, ffi.Pointer propertyKey, ) { - return __objc_msgSend_213( - obj, - sel, - property, - propertyKey, - ); + return __objc_msgSend_213(obj, sel, property, propertyKey); } late final __objc_msgSend_213Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_213 = + __objc_msgSend_213Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_213 = __objc_msgSend_213Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_URLHandleUsingCache_1 = - _registerName1("URLHandleUsingCache:"); + late final _sel_URLHandleUsingCache_1 = _registerName1( + "URLHandleUsingCache:", + ); ffi.Pointer _objc_msgSend_214( ffi.Pointer obj, ffi.Pointer sel, bool shouldUseCache, ) { - return __objc_msgSend_214( - obj, - sel, - shouldUseCache, - ); + return __objc_msgSend_214(obj, sel, shouldUseCache); } late final __objc_msgSend_214Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_214 = __objc_msgSend_214Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, bool)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_214 = + __objc_msgSend_214Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); - late final _sel_writeToFile_options_error_1 = - _registerName1("writeToFile:options:error:"); + late final _sel_writeToFile_options_error_1 = _registerName1( + "writeToFile:options:error:", + ); bool _objc_msgSend_215( ffi.Pointer obj, ffi.Pointer sel, @@ -5774,33 +7130,35 @@ class PedometerBindings { int writeOptionsMask, ffi.Pointer> errorPtr, ) { - return __objc_msgSend_215( - obj, - sel, - path, - writeOptionsMask, - errorPtr, - ); + return __objc_msgSend_215(obj, sel, path, writeOptionsMask, errorPtr); } late final __objc_msgSend_215Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_215 = + __objc_msgSend_215Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_215 = __objc_msgSend_215Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); - late final _sel_writeToURL_options_error_1 = - _registerName1("writeToURL:options:error:"); + late final _sel_writeToURL_options_error_1 = _registerName1( + "writeToURL:options:error:", + ); bool _objc_msgSend_216( ffi.Pointer obj, ffi.Pointer sel, @@ -5808,33 +7166,35 @@ class PedometerBindings { int writeOptionsMask, ffi.Pointer> errorPtr, ) { - return __objc_msgSend_216( - obj, - sel, - url, - writeOptionsMask, - errorPtr, - ); + return __objc_msgSend_216(obj, sel, url, writeOptionsMask, errorPtr); } late final __objc_msgSend_216Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_216 = + __objc_msgSend_216Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_216 = __objc_msgSend_216Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); - late final _sel_rangeOfData_options_range_1 = - _registerName1("rangeOfData:options:range:"); + late final _sel_rangeOfData_options_range_1 = _registerName1( + "rangeOfData:options:range:", + ); _NSRange _objc_msgSend_217( ffi.Pointer obj, ffi.Pointer sel, @@ -5842,22 +7202,31 @@ class PedometerBindings { int mask, _NSRange searchRange, ) { - return __objc_msgSend_217( - obj, - sel, - dataToFind, - mask, - searchRange, - ); + return __objc_msgSend_217(obj, sel, dataToFind, mask, searchRange); } late final __objc_msgSend_217Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_217 = __objc_msgSend_217Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_217 = + __objc_msgSend_217Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_217_stret( ffi.Pointer<_NSRange> stret, @@ -5878,69 +7247,100 @@ class PedometerBindings { } late final __objc_msgSend_217_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_217_stret = + __objc_msgSend_217_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_217_stret = __objc_msgSend_217_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + int, + _NSRange, + ) + >(); - late final _sel_enumerateByteRangesUsingBlock_1 = - _registerName1("enumerateByteRangesUsingBlock:"); + late final _sel_enumerateByteRangesUsingBlock_1 = _registerName1( + "enumerateByteRangesUsingBlock:", + ); void _objc_msgSend_218( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_218( - obj, - sel, - block, - ); + return __objc_msgSend_218(obj, sel, block); } late final __objc_msgSend_218Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_218 = __objc_msgSend_218Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_218 = + __objc_msgSend_218Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_data1 = _registerName1("data"); - late final _sel_dataWithBytes_length_1 = - _registerName1("dataWithBytes:length:"); + late final _sel_dataWithBytes_length_1 = _registerName1( + "dataWithBytes:length:", + ); instancetype _objc_msgSend_219( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer bytes, int length, ) { - return __objc_msgSend_219( - obj, - sel, - bytes, - length, - ); + return __objc_msgSend_219(obj, sel, bytes, length); } late final __objc_msgSend_219Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_219 = __objc_msgSend_219Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_dataWithBytesNoCopy_length_1 = - _registerName1("dataWithBytesNoCopy:length:"); - late final _sel_dataWithBytesNoCopy_length_freeWhenDone_1 = - _registerName1("dataWithBytesNoCopy:length:freeWhenDone:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_219 = + __objc_msgSend_219Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_dataWithBytesNoCopy_length_1 = _registerName1( + "dataWithBytesNoCopy:length:", + ); + late final _sel_dataWithBytesNoCopy_length_freeWhenDone_1 = _registerName1( + "dataWithBytesNoCopy:length:freeWhenDone:", + ); instancetype _objc_msgSend_220( ffi.Pointer obj, ffi.Pointer sel, @@ -5948,29 +7348,35 @@ class PedometerBindings { int length, bool b, ) { - return __objc_msgSend_220( - obj, - sel, - bytes, - length, - b, - ); + return __objc_msgSend_220(obj, sel, bytes, length, b); } late final __objc_msgSend_220Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_220 = + __objc_msgSend_220Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_220 = __objc_msgSend_220Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, bool)>(); - - late final _sel_dataWithContentsOfFile_options_error_1 = - _registerName1("dataWithContentsOfFile:options:error:"); + int, + bool, + ) + >(); + + late final _sel_dataWithContentsOfFile_options_error_1 = _registerName1( + "dataWithContentsOfFile:options:error:", + ); instancetype _objc_msgSend_221( ffi.Pointer obj, ffi.Pointer sel, @@ -5978,33 +7384,35 @@ class PedometerBindings { int readOptionsMask, ffi.Pointer> errorPtr, ) { - return __objc_msgSend_221( - obj, - sel, - path, - readOptionsMask, - errorPtr, - ); + return __objc_msgSend_221(obj, sel, path, readOptionsMask, errorPtr); } late final __objc_msgSend_221Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_221 = + __objc_msgSend_221Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_221 = __objc_msgSend_221Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); - late final _sel_dataWithContentsOfURL_options_error_1 = - _registerName1("dataWithContentsOfURL:options:error:"); + late final _sel_dataWithContentsOfURL_options_error_1 = _registerName1( + "dataWithContentsOfURL:options:error:", + ); instancetype _objc_msgSend_222( ffi.Pointer obj, ffi.Pointer sel, @@ -6012,63 +7420,77 @@ class PedometerBindings { int readOptionsMask, ffi.Pointer> errorPtr, ) { - return __objc_msgSend_222( - obj, - sel, - url, - readOptionsMask, - errorPtr, - ); + return __objc_msgSend_222(obj, sel, url, readOptionsMask, errorPtr); } late final __objc_msgSend_222Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_222 = + __objc_msgSend_222Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_222 = __objc_msgSend_222Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_dataWithContentsOfFile_1 = - _registerName1("dataWithContentsOfFile:"); - late final _sel_dataWithContentsOfURL_1 = - _registerName1("dataWithContentsOfURL:"); + int, + ffi.Pointer>, + ) + >(); + + late final _sel_dataWithContentsOfFile_1 = _registerName1( + "dataWithContentsOfFile:", + ); + late final _sel_dataWithContentsOfURL_1 = _registerName1( + "dataWithContentsOfURL:", + ); instancetype _objc_msgSend_223( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_223( - obj, - sel, - url, - ); + return __objc_msgSend_223(obj, sel, url); } late final __objc_msgSend_223Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_223 = __objc_msgSend_223Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithBytes_length_1 = - _registerName1("initWithBytes:length:"); - late final _sel_initWithBytesNoCopy_length_1 = - _registerName1("initWithBytesNoCopy:length:"); - late final _sel_initWithBytesNoCopy_length_freeWhenDone_1 = - _registerName1("initWithBytesNoCopy:length:freeWhenDone:"); - late final _sel_initWithBytesNoCopy_length_deallocator_1 = - _registerName1("initWithBytesNoCopy:length:deallocator:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_223 = + __objc_msgSend_223Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithBytes_length_1 = _registerName1( + "initWithBytes:length:", + ); + late final _sel_initWithBytesNoCopy_length_1 = _registerName1( + "initWithBytesNoCopy:length:", + ); + late final _sel_initWithBytesNoCopy_length_freeWhenDone_1 = _registerName1( + "initWithBytesNoCopy:length:freeWhenDone:", + ); + late final _sel_initWithBytesNoCopy_length_deallocator_1 = _registerName1( + "initWithBytesNoCopy:length:deallocator:", + ); instancetype _objc_msgSend_224( ffi.Pointer obj, ffi.Pointer sel, @@ -6076,181 +7498,239 @@ class PedometerBindings { int length, ffi.Pointer<_ObjCBlock> deallocator, ) { - return __objc_msgSend_224( - obj, - sel, - bytes, - length, - deallocator, - ); + return __objc_msgSend_224(obj, sel, bytes, length, deallocator); } late final __objc_msgSend_224Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_224 = + __objc_msgSend_224Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_224 = __objc_msgSend_224Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_initWithContentsOfFile_options_error_1 = - _registerName1("initWithContentsOfFile:options:error:"); - late final _sel_initWithContentsOfURL_options_error_1 = - _registerName1("initWithContentsOfURL:options:error:"); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_initWithContentsOfFile_options_error_1 = _registerName1( + "initWithContentsOfFile:options:error:", + ); + late final _sel_initWithContentsOfURL_options_error_1 = _registerName1( + "initWithContentsOfURL:options:error:", + ); late final _sel_initWithData_1 = _registerName1("initWithData:"); instancetype _objc_msgSend_225( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer data, ) { - return __objc_msgSend_225( - obj, - sel, - data, - ); + return __objc_msgSend_225(obj, sel, data); } late final __objc_msgSend_225Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_225 = __objc_msgSend_225Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_225 = + __objc_msgSend_225Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dataWithData_1 = _registerName1("dataWithData:"); - late final _sel_initWithBase64EncodedString_options_1 = - _registerName1("initWithBase64EncodedString:options:"); + late final _sel_initWithBase64EncodedString_options_1 = _registerName1( + "initWithBase64EncodedString:options:", + ); instancetype _objc_msgSend_226( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer base64String, int options, ) { - return __objc_msgSend_226( - obj, - sel, - base64String, - options, - ); + return __objc_msgSend_226(obj, sel, base64String, options); } late final __objc_msgSend_226Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_226 = __objc_msgSend_226Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_base64EncodedStringWithOptions_1 = - _registerName1("base64EncodedStringWithOptions:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_226 = + __objc_msgSend_226Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_base64EncodedStringWithOptions_1 = _registerName1( + "base64EncodedStringWithOptions:", + ); ffi.Pointer _objc_msgSend_227( ffi.Pointer obj, ffi.Pointer sel, int options, ) { - return __objc_msgSend_227( - obj, - sel, - options, - ); + return __objc_msgSend_227(obj, sel, options); } late final __objc_msgSend_227Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_227 = __objc_msgSend_227Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_227 = + __objc_msgSend_227Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_initWithBase64EncodedData_options_1 = - _registerName1("initWithBase64EncodedData:options:"); + late final _sel_initWithBase64EncodedData_options_1 = _registerName1( + "initWithBase64EncodedData:options:", + ); instancetype _objc_msgSend_228( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer base64Data, int options, ) { - return __objc_msgSend_228( - obj, - sel, - base64Data, - options, - ); + return __objc_msgSend_228(obj, sel, base64Data, options); } late final __objc_msgSend_228Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_228 = __objc_msgSend_228Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_base64EncodedDataWithOptions_1 = - _registerName1("base64EncodedDataWithOptions:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_228 = + __objc_msgSend_228Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_base64EncodedDataWithOptions_1 = _registerName1( + "base64EncodedDataWithOptions:", + ); ffi.Pointer _objc_msgSend_229( ffi.Pointer obj, ffi.Pointer sel, int options, ) { - return __objc_msgSend_229( - obj, - sel, - options, - ); + return __objc_msgSend_229(obj, sel, options); } late final __objc_msgSend_229Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_229 = __objc_msgSend_229Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_229 = + __objc_msgSend_229Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_decompressedDataUsingAlgorithm_error_1 = - _registerName1("decompressedDataUsingAlgorithm:error:"); + late final _sel_decompressedDataUsingAlgorithm_error_1 = _registerName1( + "decompressedDataUsingAlgorithm:error:", + ); instancetype _objc_msgSend_230( ffi.Pointer obj, ffi.Pointer sel, int algorithm, ffi.Pointer> error, ) { - return __objc_msgSend_230( - obj, - sel, - algorithm, - error, - ); + return __objc_msgSend_230(obj, sel, algorithm, error); } late final __objc_msgSend_230Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_230 = + __objc_msgSend_230Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_230 = __objc_msgSend_230Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); - late final _sel_compressedDataUsingAlgorithm_error_1 = - _registerName1("compressedDataUsingAlgorithm:error:"); + late final _sel_compressedDataUsingAlgorithm_error_1 = _registerName1( + "compressedDataUsingAlgorithm:error:", + ); late final _sel_getBytes_1 = _registerName1("getBytes:"); - late final _sel_dataWithContentsOfMappedFile_1 = - _registerName1("dataWithContentsOfMappedFile:"); - late final _sel_initWithContentsOfMappedFile_1 = - _registerName1("initWithContentsOfMappedFile:"); - late final _sel_initWithBase64Encoding_1 = - _registerName1("initWithBase64Encoding:"); + late final _sel_dataWithContentsOfMappedFile_1 = _registerName1( + "dataWithContentsOfMappedFile:", + ); + late final _sel_initWithContentsOfMappedFile_1 = _registerName1( + "initWithContentsOfMappedFile:", + ); + late final _sel_initWithBase64Encoding_1 = _registerName1( + "initWithBase64Encoding:", + ); late final _sel_base64Encoding1 = _registerName1("base64Encoding"); late final _sel_encodeDataObject_1 = _registerName1("encodeDataObject:"); void _objc_msgSend_231( @@ -6258,42 +7738,56 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer data, ) { - return __objc_msgSend_231( - obj, - sel, - data, - ); + return __objc_msgSend_231(obj, sel, data); } late final __objc_msgSend_231Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_231 = __objc_msgSend_231Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_231 = + __objc_msgSend_231Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeDataObject1 = _registerName1("decodeDataObject"); ffi.Pointer _objc_msgSend_232( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_232( - obj, - sel, - ); + return __objc_msgSend_232(obj, sel); } late final __objc_msgSend_232Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_232 = __objc_msgSend_232Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_232 = + __objc_msgSend_232Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_decodeValueOfObjCType_at_size_1 = - _registerName1("decodeValueOfObjCType:at:size:"); + late final _sel_decodeValueOfObjCType_at_size_1 = _registerName1( + "decodeValueOfObjCType:at:size:", + ); void _objc_msgSend_233( ffi.Pointer obj, ffi.Pointer sel, @@ -6301,48 +7795,61 @@ class PedometerBindings { ffi.Pointer data, int size, ) { - return __objc_msgSend_233( - obj, - sel, - type, - data, - size, - ); + return __objc_msgSend_233(obj, sel, type, data, size); } late final __objc_msgSend_233Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_233 = + __objc_msgSend_233Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_233 = __objc_msgSend_233Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_versionForClassName_1 = - _registerName1("versionForClassName:"); + late final _sel_versionForClassName_1 = _registerName1( + "versionForClassName:", + ); int _objc_msgSend_234( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer className, ) { - return __objc_msgSend_234( - obj, - sel, - className, - ); + return __objc_msgSend_234(obj, sel, className); } late final __objc_msgSend_234Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_234 = __objc_msgSend_234Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_234 = + __objc_msgSend_234Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodeObject_1 = _registerName1("encodeObject:"); void _objc_msgSend_235( @@ -6350,50 +7857,67 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer object, ) { - return __objc_msgSend_235( - obj, - sel, - object, - ); + return __objc_msgSend_235(obj, sel, object); } late final __objc_msgSend_235Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_235 = __objc_msgSend_235Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_235 = + __objc_msgSend_235Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodeRootObject_1 = _registerName1("encodeRootObject:"); late final _sel_encodeBycopyObject_1 = _registerName1("encodeBycopyObject:"); late final _sel_encodeByrefObject_1 = _registerName1("encodeByrefObject:"); - late final _sel_encodeConditionalObject_1 = - _registerName1("encodeConditionalObject:"); - late final _sel_encodeValuesOfObjCTypes_1 = - _registerName1("encodeValuesOfObjCTypes:"); + late final _sel_encodeConditionalObject_1 = _registerName1( + "encodeConditionalObject:", + ); + late final _sel_encodeValuesOfObjCTypes_1 = _registerName1( + "encodeValuesOfObjCTypes:", + ); void _objc_msgSend_236( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer types, ) { - return __objc_msgSend_236( - obj, - sel, - types, - ); + return __objc_msgSend_236(obj, sel, types); } late final __objc_msgSend_236Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_236 = __objc_msgSend_236Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_encodeArrayOfObjCType_count_at_1 = - _registerName1("encodeArrayOfObjCType:count:at:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_236 = + __objc_msgSend_236Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_encodeArrayOfObjCType_count_at_1 = _registerName1( + "encodeArrayOfObjCType:count:at:", + ); void _objc_msgSend_237( ffi.Pointer obj, ffi.Pointer sel, @@ -6401,80 +7925,99 @@ class PedometerBindings { int count, ffi.Pointer array, ) { - return __objc_msgSend_237( - obj, - sel, - type, - count, - array, - ); + return __objc_msgSend_237(obj, sel, type, count, array); } late final __objc_msgSend_237Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_237 = + __objc_msgSend_237Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_237 = __objc_msgSend_237Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_encodeBytes_length_1 = _registerName1("encodeBytes:length:"); late final _sel_decodeObject1 = _registerName1("decodeObject"); - late final _sel_decodeTopLevelObjectAndReturnError_1 = - _registerName1("decodeTopLevelObjectAndReturnError:"); + late final _sel_decodeTopLevelObjectAndReturnError_1 = _registerName1( + "decodeTopLevelObjectAndReturnError:", + ); ffi.Pointer _objc_msgSend_238( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer> error, ) { - return __objc_msgSend_238( - obj, - sel, - error, - ); + return __objc_msgSend_238(obj, sel, error); } late final __objc_msgSend_238Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_238 = + __objc_msgSend_238Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_238 = __objc_msgSend_238Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_decodeValuesOfObjCTypes_1 = - _registerName1("decodeValuesOfObjCTypes:"); - late final _sel_decodeArrayOfObjCType_count_at_1 = - _registerName1("decodeArrayOfObjCType:count:at:"); - late final _sel_decodeBytesWithReturnedLength_1 = - _registerName1("decodeBytesWithReturnedLength:"); + ffi.Pointer>, + ) + >(); + + late final _sel_decodeValuesOfObjCTypes_1 = _registerName1( + "decodeValuesOfObjCTypes:", + ); + late final _sel_decodeArrayOfObjCType_count_at_1 = _registerName1( + "decodeArrayOfObjCType:count:at:", + ); + late final _sel_decodeBytesWithReturnedLength_1 = _registerName1( + "decodeBytesWithReturnedLength:", + ); ffi.Pointer _objc_msgSend_239( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer lengthp, ) { - return __objc_msgSend_239( - obj, - sel, - lengthp, - ); + return __objc_msgSend_239(obj, sel, lengthp); } late final __objc_msgSend_239Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_239 = + __objc_msgSend_239Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_239 = __objc_msgSend_239Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_encodePropertyList_1 = _registerName1("encodePropertyList:"); late final _sel_decodePropertyList1 = _registerName1("decodePropertyList"); @@ -6484,46 +8027,61 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<_NSZone> zone, ) { - return __objc_msgSend_240( - obj, - sel, - zone, - ); + return __objc_msgSend_240(obj, sel, zone); } late final __objc_msgSend_240Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>>('objc_msgSend'); - late final __objc_msgSend_240 = __objc_msgSend_240Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_NSZone>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_240 = + __objc_msgSend_240Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSZone>, + ) + >(); late final _sel_objectZone1 = _registerName1("objectZone"); ffi.Pointer<_NSZone> _objc_msgSend_241( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_241( - obj, - sel, - ); + return __objc_msgSend_241(obj, sel); } late final __objc_msgSend_241Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_NSZone> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_241 = __objc_msgSend_241Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<_NSZone> Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_241 = + __objc_msgSend_241Ptr + .asFunction< + ffi.Pointer<_NSZone> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_systemVersion1 = _registerName1("systemVersion"); late final _sel_allowsKeyedCoding1 = _registerName1("allowsKeyedCoding"); - late final _sel_encodeObject_forKey_1 = - _registerName1("encodeObject:forKey:"); - late final _sel_encodeConditionalObject_forKey_1 = - _registerName1("encodeConditionalObject:forKey:"); + late final _sel_encodeObject_forKey_1 = _registerName1( + "encodeObject:forKey:", + ); + late final _sel_encodeConditionalObject_forKey_1 = _registerName1( + "encodeConditionalObject:forKey:", + ); late final _sel_encodeBool_forKey_1 = _registerName1("encodeBool:forKey:"); void _objc_msgSend_242( ffi.Pointer obj, @@ -6531,21 +8089,29 @@ class PedometerBindings { bool value, ffi.Pointer key, ) { - return __objc_msgSend_242( - obj, - sel, - value, - key, - ); + return __objc_msgSend_242(obj, sel, value, key); } late final __objc_msgSend_242Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Bool, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_242 = __objc_msgSend_242Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_242 = + __objc_msgSend_242Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >(); late final _sel_encodeInt_forKey_1 = _registerName1("encodeInt:forKey:"); void _objc_msgSend_243( @@ -6554,21 +8120,29 @@ class PedometerBindings { int value, ffi.Pointer key, ) { - return __objc_msgSend_243( - obj, - sel, - value, - key, - ); + return __objc_msgSend_243(obj, sel, value, key); } late final __objc_msgSend_243Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_243 = __objc_msgSend_243Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_243 = + __objc_msgSend_243Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_encodeInt32_forKey_1 = _registerName1("encodeInt32:forKey:"); void _objc_msgSend_244( @@ -6577,21 +8151,29 @@ class PedometerBindings { int value, ffi.Pointer key, ) { - return __objc_msgSend_244( - obj, - sel, - value, - key, - ); + return __objc_msgSend_244(obj, sel, value, key); } late final __objc_msgSend_244Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_244 = __objc_msgSend_244Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_244 = + __objc_msgSend_244Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_encodeInt64_forKey_1 = _registerName1("encodeInt64:forKey:"); void _objc_msgSend_245( @@ -6600,21 +8182,29 @@ class PedometerBindings { int value, ffi.Pointer key, ) { - return __objc_msgSend_245( - obj, - sel, - value, - key, - ); + return __objc_msgSend_245(obj, sel, value, key); } late final __objc_msgSend_245Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_245 = __objc_msgSend_245Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_245 = + __objc_msgSend_245Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_encodeFloat_forKey_1 = _registerName1("encodeFloat:forKey:"); void _objc_msgSend_246( @@ -6623,48 +8213,66 @@ class PedometerBindings { double value, ffi.Pointer key, ) { - return __objc_msgSend_246( - obj, - sel, - value, - key, - ); + return __objc_msgSend_246(obj, sel, value, key); } late final __objc_msgSend_246Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Float, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_246 = __objc_msgSend_246Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_encodeDouble_forKey_1 = - _registerName1("encodeDouble:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_246 = + __objc_msgSend_246Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_encodeDouble_forKey_1 = _registerName1( + "encodeDouble:forKey:", + ); void _objc_msgSend_247( ffi.Pointer obj, ffi.Pointer sel, double value, ffi.Pointer key, ) { - return __objc_msgSend_247( - obj, - sel, - value, - key, - ); + return __objc_msgSend_247(obj, sel, value, key); } late final __objc_msgSend_247Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_247 = __objc_msgSend_247Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_encodeBytes_length_forKey_1 = - _registerName1("encodeBytes:length:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_247 = + __objc_msgSend_247Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_encodeBytes_length_forKey_1 = _registerName1( + "encodeBytes:length:forKey:", + ); void _objc_msgSend_248( ffi.Pointer obj, ffi.Pointer sel, @@ -6672,59 +8280,68 @@ class PedometerBindings { int length, ffi.Pointer key, ) { - return __objc_msgSend_248( - obj, - sel, - bytes, - length, - key, - ); + return __objc_msgSend_248(obj, sel, bytes, length, key); } late final __objc_msgSend_248Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_248 = + __objc_msgSend_248Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_248 = __objc_msgSend_248Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); - - late final _sel_containsValueForKey_1 = - _registerName1("containsValueForKey:"); + int, + ffi.Pointer, + ) + >(); + + late final _sel_containsValueForKey_1 = _registerName1( + "containsValueForKey:", + ); late final _sel_decodeObjectForKey_1 = _registerName1("decodeObjectForKey:"); - late final _sel_decodeTopLevelObjectForKey_error_1 = - _registerName1("decodeTopLevelObjectForKey:error:"); + late final _sel_decodeTopLevelObjectForKey_error_1 = _registerName1( + "decodeTopLevelObjectForKey:error:", + ); ffi.Pointer _objc_msgSend_249( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ffi.Pointer> error, ) { - return __objc_msgSend_249( - obj, - sel, - key, - error, - ); + return __objc_msgSend_249(obj, sel, key, error); } late final __objc_msgSend_249Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_249 = + __objc_msgSend_249Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_249 = __objc_msgSend_249Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_decodeBoolForKey_1 = _registerName1("decodeBoolForKey:"); late final _sel_decodeIntForKey_1 = _registerName1("decodeIntForKey:"); @@ -6733,20 +8350,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_250( - obj, - sel, - key, - ); + return __objc_msgSend_250(obj, sel, key); } late final __objc_msgSend_250Ptr = _lookup< - ffi.NativeFunction< - ffi.Int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_250 = __objc_msgSend_250Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_250 = + __objc_msgSend_250Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeInt32ForKey_1 = _registerName1("decodeInt32ForKey:"); int _objc_msgSend_251( @@ -6754,20 +8378,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_251( - obj, - sel, - key, - ); + return __objc_msgSend_251(obj, sel, key); } late final __objc_msgSend_251Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_251 = __objc_msgSend_251Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_251 = + __objc_msgSend_251Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeInt64ForKey_1 = _registerName1("decodeInt64ForKey:"); int _objc_msgSend_252( @@ -6775,20 +8406,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_252( - obj, - sel, - key, - ); + return __objc_msgSend_252(obj, sel, key); } late final __objc_msgSend_252Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_252 = __objc_msgSend_252Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int64 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_252 = + __objc_msgSend_252Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeFloatForKey_1 = _registerName1("decodeFloatForKey:"); double _objc_msgSend_253( @@ -6796,40 +8434,54 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_253( - obj, - sel, - key, - ); + return __objc_msgSend_253(obj, sel, key); } late final __objc_msgSend_253Ptr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_253 = __objc_msgSend_253Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_253 = + __objc_msgSend_253Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_253_fpret( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_253_fpret( - obj, - sel, - key, - ); + return __objc_msgSend_253_fpret(obj, sel, key); } late final __objc_msgSend_253_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Float Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_253_fpret = __objc_msgSend_253_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Float Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_253_fpret = + __objc_msgSend_253_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_decodeDoubleForKey_1 = _registerName1("decodeDoubleForKey:"); double _objc_msgSend_254( @@ -6837,131 +8489,163 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_254( - obj, - sel, - key, - ); + return __objc_msgSend_254(obj, sel, key); } late final __objc_msgSend_254Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_254 = __objc_msgSend_254Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_254 = + __objc_msgSend_254Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_254_fpret( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_254_fpret( - obj, - sel, - key, - ); + return __objc_msgSend_254_fpret(obj, sel, key); } late final __objc_msgSend_254_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_254_fpret = __objc_msgSend_254_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_decodeBytesForKey_returnedLength_1 = - _registerName1("decodeBytesForKey:returnedLength:"); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_254_fpret = + __objc_msgSend_254_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_decodeBytesForKey_returnedLength_1 = _registerName1( + "decodeBytesForKey:returnedLength:", + ); ffi.Pointer _objc_msgSend_255( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ffi.Pointer lengthp, ) { - return __objc_msgSend_255( - obj, - sel, - key, - lengthp, - ); + return __objc_msgSend_255(obj, sel, key, lengthp); } late final __objc_msgSend_255Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_255 = + __objc_msgSend_255Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_255 = __objc_msgSend_255Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_encodeInteger_forKey_1 = - _registerName1("encodeInteger:forKey:"); + late final _sel_encodeInteger_forKey_1 = _registerName1( + "encodeInteger:forKey:", + ); void _objc_msgSend_256( ffi.Pointer obj, ffi.Pointer sel, int value, ffi.Pointer key, ) { - return __objc_msgSend_256( - obj, - sel, - value, - key, - ); + return __objc_msgSend_256(obj, sel, value, key); } late final __objc_msgSend_256Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_256 = __objc_msgSend_256Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); - - late final _sel_decodeIntegerForKey_1 = - _registerName1("decodeIntegerForKey:"); - late final _sel_requiresSecureCoding1 = - _registerName1("requiresSecureCoding"); - late final _sel_decodeObjectOfClass_forKey_1 = - _registerName1("decodeObjectOfClass:forKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_256 = + __objc_msgSend_256Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); + + late final _sel_decodeIntegerForKey_1 = _registerName1( + "decodeIntegerForKey:", + ); + late final _sel_requiresSecureCoding1 = _registerName1( + "requiresSecureCoding", + ); + late final _sel_decodeObjectOfClass_forKey_1 = _registerName1( + "decodeObjectOfClass:forKey:", + ); ffi.Pointer _objc_msgSend_257( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aClass, ffi.Pointer key, ) { - return __objc_msgSend_257( - obj, - sel, - aClass, - key, - ); + return __objc_msgSend_257(obj, sel, aClass, key); } late final __objc_msgSend_257Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_257 = + __objc_msgSend_257Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_257 = __objc_msgSend_257Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = - _registerName1("decodeTopLevelObjectOfClass:forKey:error:"); + late final _sel_decodeTopLevelObjectOfClass_forKey_error_1 = _registerName1( + "decodeTopLevelObjectOfClass:forKey:error:", + ); ffi.Pointer _objc_msgSend_258( ffi.Pointer obj, ffi.Pointer sel, @@ -6969,60 +8653,64 @@ class PedometerBindings { ffi.Pointer key, ffi.Pointer> error, ) { - return __objc_msgSend_258( - obj, - sel, - aClass, - key, - error, - ); + return __objc_msgSend_258(obj, sel, aClass, key, error); } late final __objc_msgSend_258Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_258 = + __objc_msgSend_258Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_258 = __objc_msgSend_258Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = - _registerName1("decodeArrayOfObjectsOfClass:forKey:"); + late final _sel_decodeArrayOfObjectsOfClass_forKey_1 = _registerName1( + "decodeArrayOfObjectsOfClass:forKey:", + ); ffi.Pointer _objc_msgSend_259( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer cls, ffi.Pointer key, ) { - return __objc_msgSend_259( - obj, - sel, - cls, - key, - ); + return __objc_msgSend_259(obj, sel, cls, key); } late final __objc_msgSend_259Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_259 = + __objc_msgSend_259Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_259 = __objc_msgSend_259Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1 = _registerName1("decodeDictionaryWithKeysOfClass:objectsOfClass:forKey:"); @@ -7033,63 +8721,68 @@ class PedometerBindings { ffi.Pointer objectCls, ffi.Pointer key, ) { - return __objc_msgSend_260( - obj, - sel, - keyCls, - objectCls, - key, - ); + return __objc_msgSend_260(obj, sel, keyCls, objectCls, key); } late final __objc_msgSend_260Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_260 = + __objc_msgSend_260Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_260 = __objc_msgSend_260Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_decodeObjectOfClasses_forKey_1 = - _registerName1("decodeObjectOfClasses:forKey:"); + late final _sel_decodeObjectOfClasses_forKey_1 = _registerName1( + "decodeObjectOfClasses:forKey:", + ); ffi.Pointer _objc_msgSend_261( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer classes, ffi.Pointer key, ) { - return __objc_msgSend_261( - obj, - sel, - classes, - key, - ); + return __objc_msgSend_261(obj, sel, classes, key); } late final __objc_msgSend_261Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_261 = + __objc_msgSend_261Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_261 = __objc_msgSend_261Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = - _registerName1("decodeTopLevelObjectOfClasses:forKey:error:"); + late final _sel_decodeTopLevelObjectOfClasses_forKey_error_1 = _registerName1( + "decodeTopLevelObjectOfClasses:forKey:error:", + ); ffi.Pointer _objc_msgSend_262( ffi.Pointer obj, ffi.Pointer sel, @@ -7097,64 +8790,69 @@ class PedometerBindings { ffi.Pointer key, ffi.Pointer> error, ) { - return __objc_msgSend_262( - obj, - sel, - classes, - key, - error, - ); + return __objc_msgSend_262(obj, sel, classes, key, error); } late final __objc_msgSend_262Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_262 = + __objc_msgSend_262Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_262 = __objc_msgSend_262Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = - _registerName1("decodeArrayOfObjectsOfClasses:forKey:"); + late final _sel_decodeArrayOfObjectsOfClasses_forKey_1 = _registerName1( + "decodeArrayOfObjectsOfClasses:forKey:", + ); ffi.Pointer _objc_msgSend_263( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer classes, ffi.Pointer key, ) { - return __objc_msgSend_263( - obj, - sel, - classes, - key, - ); + return __objc_msgSend_263(obj, sel, classes, key); } late final __objc_msgSend_263Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_263 = + __objc_msgSend_263Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_263 = __objc_msgSend_263Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1 = _registerName1( - "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:"); + "decodeDictionaryWithKeysOfClasses:objectsOfClasses:forKey:", + ); ffi.Pointer _objc_msgSend_264( ffi.Pointer obj, ffi.Pointer sel, @@ -7162,51 +8860,59 @@ class PedometerBindings { ffi.Pointer objectClasses, ffi.Pointer key, ) { - return __objc_msgSend_264( - obj, - sel, - keyClasses, - objectClasses, - key, - ); + return __objc_msgSend_264(obj, sel, keyClasses, objectClasses, key); } late final __objc_msgSend_264Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_264 = + __objc_msgSend_264Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_264 = __objc_msgSend_264Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_decodePropertyListForKey_1 = - _registerName1("decodePropertyListForKey:"); + late final _sel_decodePropertyListForKey_1 = _registerName1( + "decodePropertyListForKey:", + ); late final _sel_allowedClasses1 = _registerName1("allowedClasses"); ffi.Pointer _objc_msgSend_265( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_265( - obj, - sel, - ); + return __objc_msgSend_265(obj, sel); } late final __objc_msgSend_265Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_265 = __objc_msgSend_265Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_265 = + __objc_msgSend_265Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_failWithError_1 = _registerName1("failWithError:"); void _objc_msgSend_266( @@ -7214,83 +8920,103 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer error, ) { - return __objc_msgSend_266( - obj, - sel, - error, - ); + return __objc_msgSend_266(obj, sel, error); } late final __objc_msgSend_266Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_266 = __objc_msgSend_266Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_266 = + __objc_msgSend_266Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_decodingFailurePolicy1 = - _registerName1("decodingFailurePolicy"); - int _objc_msgSend_267( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_267( - obj, - sel, - ); + late final _sel_decodingFailurePolicy1 = _registerName1( + "decodingFailurePolicy", + ); + int _objc_msgSend_267(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_267(obj, sel); } late final __objc_msgSend_267Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_267 = __objc_msgSend_267Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_267 = + __objc_msgSend_267Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_error1 = _registerName1("error"); ffi.Pointer _objc_msgSend_268( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_268( - obj, - sel, - ); + return __objc_msgSend_268(obj, sel); } late final __objc_msgSend_268Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_268 = __objc_msgSend_268Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_268 = + __objc_msgSend_268Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_encodeNXObject_1 = _registerName1("encodeNXObject:"); late final _sel_decodeNXObject1 = _registerName1("decodeNXObject"); - late final _sel_decodeValueOfObjCType_at_1 = - _registerName1("decodeValueOfObjCType:at:"); + late final _sel_decodeValueOfObjCType_at_1 = _registerName1( + "decodeValueOfObjCType:at:", + ); late final _sel_substringFromIndex_1 = _registerName1("substringFromIndex:"); ffi.Pointer _objc_msgSend_269( ffi.Pointer obj, ffi.Pointer sel, int from, ) { - return __objc_msgSend_269( - obj, - sel, - from, - ); + return __objc_msgSend_269(obj, sel, from); } late final __objc_msgSend_269Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_269 = __objc_msgSend_269Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_269 = + __objc_msgSend_269Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_substringToIndex_1 = _registerName1("substringToIndex:"); late final _sel_substringWithRange_1 = _registerName1("substringWithRange:"); @@ -7299,64 +9025,87 @@ class PedometerBindings { ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_270( - obj, - sel, - range, - ); + return __objc_msgSend_270(obj, sel, range); } late final __objc_msgSend_270Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_270 = __objc_msgSend_270Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_270 = + __objc_msgSend_270Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_getCharacters_range_1 = - _registerName1("getCharacters:range:"); + late final _sel_getCharacters_range_1 = _registerName1( + "getCharacters:range:", + ); void _objc_msgSend_271( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer buffer, _NSRange range, ) { - return __objc_msgSend_271( - obj, - sel, - buffer, - range, - ); + return __objc_msgSend_271(obj, sel, buffer, range); } late final __objc_msgSend_271Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_271 = __objc_msgSend_271Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_271 = + __objc_msgSend_271Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); int _objc_msgSend_272( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer string, ) { - return __objc_msgSend_272( - obj, - sel, - string, - ); + return __objc_msgSend_272(obj, sel, string); } late final __objc_msgSend_272Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_272 = __objc_msgSend_272Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_272 = + __objc_msgSend_272Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_compare_options_1 = _registerName1("compare:options:"); int _objc_msgSend_273( @@ -7365,24 +9114,33 @@ class PedometerBindings { ffi.Pointer string, int mask, ) { - return __objc_msgSend_273( - obj, - sel, - string, - mask, - ); + return __objc_msgSend_273(obj, sel, string, mask); } late final __objc_msgSend_273Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_273 = __objc_msgSend_273Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_compare_options_range_1 = - _registerName1("compare:options:range:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_273 = + __objc_msgSend_273Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_compare_options_range_1 = _registerName1( + "compare:options:range:", + ); int _objc_msgSend_274( ffi.Pointer obj, ffi.Pointer sel, @@ -7390,25 +9148,35 @@ class PedometerBindings { int mask, _NSRange rangeOfReceiverToCompare, ) { - return __objc_msgSend_274( - obj, - sel, - string, - mask, - rangeOfReceiverToCompare, - ); + return __objc_msgSend_274(obj, sel, string, mask, rangeOfReceiverToCompare); } late final __objc_msgSend_274Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_274 = __objc_msgSend_274Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); - - late final _sel_compare_options_range_locale_1 = - _registerName1("compare:options:range:locale:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_274 = + __objc_msgSend_274Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); + + late final _sel_compare_options_range_locale_1 = _registerName1( + "compare:options:range:locale:", + ); int _objc_msgSend_275( ffi.Pointer obj, ffi.Pointer sel, @@ -7428,81 +9196,112 @@ class PedometerBindings { } late final __objc_msgSend_275Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_275 = + __objc_msgSend_275Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_275 = __objc_msgSend_275Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_caseInsensitiveCompare_1 = - _registerName1("caseInsensitiveCompare:"); + late final _sel_caseInsensitiveCompare_1 = _registerName1( + "caseInsensitiveCompare:", + ); late final _sel_localizedCompare_1 = _registerName1("localizedCompare:"); - late final _sel_localizedCaseInsensitiveCompare_1 = - _registerName1("localizedCaseInsensitiveCompare:"); - late final _sel_localizedStandardCompare_1 = - _registerName1("localizedStandardCompare:"); + late final _sel_localizedCaseInsensitiveCompare_1 = _registerName1( + "localizedCaseInsensitiveCompare:", + ); + late final _sel_localizedStandardCompare_1 = _registerName1( + "localizedStandardCompare:", + ); late final _sel_isEqualToString_1 = _registerName1("isEqualToString:"); late final _sel_hasPrefix_1 = _registerName1("hasPrefix:"); late final _sel_hasSuffix_1 = _registerName1("hasSuffix:"); - late final _sel_commonPrefixWithString_options_1 = - _registerName1("commonPrefixWithString:options:"); + late final _sel_commonPrefixWithString_options_1 = _registerName1( + "commonPrefixWithString:options:", + ); ffi.Pointer _objc_msgSend_276( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer str, int mask, ) { - return __objc_msgSend_276( - obj, - sel, - str, - mask, - ); + return __objc_msgSend_276(obj, sel, str, mask); } late final __objc_msgSend_276Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_276 = + __objc_msgSend_276Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_276 = __objc_msgSend_276Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_containsString_1 = _registerName1("containsString:"); - late final _sel_localizedCaseInsensitiveContainsString_1 = - _registerName1("localizedCaseInsensitiveContainsString:"); - late final _sel_localizedStandardContainsString_1 = - _registerName1("localizedStandardContainsString:"); - late final _sel_localizedStandardRangeOfString_1 = - _registerName1("localizedStandardRangeOfString:"); + late final _sel_localizedCaseInsensitiveContainsString_1 = _registerName1( + "localizedCaseInsensitiveContainsString:", + ); + late final _sel_localizedStandardContainsString_1 = _registerName1( + "localizedStandardContainsString:", + ); + late final _sel_localizedStandardRangeOfString_1 = _registerName1( + "localizedStandardRangeOfString:", + ); _NSRange _objc_msgSend_277( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer str, ) { - return __objc_msgSend_277( - obj, - sel, - str, - ); + return __objc_msgSend_277(obj, sel, str); } late final __objc_msgSend_277Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_277 = __objc_msgSend_277Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_277 = + __objc_msgSend_277Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_277_stret( ffi.Pointer<_NSRange> stret, @@ -7510,49 +9309,63 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer str, ) { - return __objc_msgSend_277_stret( - stret, - obj, - sel, - str, - ); + return __objc_msgSend_277_stret(stret, obj, sel, str); } late final __objc_msgSend_277_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_277_stret = + __objc_msgSend_277_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_277_stret = __objc_msgSend_277_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_rangeOfString_1 = _registerName1("rangeOfString:"); - late final _sel_rangeOfString_options_1 = - _registerName1("rangeOfString:options:"); + late final _sel_rangeOfString_options_1 = _registerName1( + "rangeOfString:options:", + ); _NSRange _objc_msgSend_278( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer searchString, int mask, ) { - return __objc_msgSend_278( - obj, - sel, - searchString, - mask, - ); + return __objc_msgSend_278(obj, sel, searchString, mask); } late final __objc_msgSend_278Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_278 = __objc_msgSend_278Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_278 = + __objc_msgSend_278Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_278_stret( ffi.Pointer<_NSRange> stret, @@ -7561,29 +9374,35 @@ class PedometerBindings { ffi.Pointer searchString, int mask, ) { - return __objc_msgSend_278_stret( - stret, - obj, - sel, - searchString, - mask, - ); + return __objc_msgSend_278_stret(stret, obj, sel, searchString, mask); } late final __objc_msgSend_278_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_278_stret = + __objc_msgSend_278_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_278_stret = __objc_msgSend_278_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_rangeOfString_options_range_1 = - _registerName1("rangeOfString:options:range:"); + late final _sel_rangeOfString_options_range_1 = _registerName1( + "rangeOfString:options:range:", + ); _NSRange _objc_msgSend_279( ffi.Pointer obj, ffi.Pointer sel, @@ -7601,12 +9420,27 @@ class PedometerBindings { } late final __objc_msgSend_279Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_279 = __objc_msgSend_279Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_279 = + __objc_msgSend_279Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_279_stret( ffi.Pointer<_NSRange> stret, @@ -7627,238 +9461,320 @@ class PedometerBindings { } late final __objc_msgSend_279_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_279_stret = + __objc_msgSend_279_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_279_stret = __objc_msgSend_279_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + int, + _NSRange, + ) + >(); late final _class_NSLocale1 = _getClass1("NSLocale"); - late final _sel_displayNameForKey_value_1 = - _registerName1("displayNameForKey:value:"); + late final _sel_displayNameForKey_value_1 = _registerName1( + "displayNameForKey:value:", + ); ffi.Pointer _objc_msgSend_280( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ffi.Pointer value, ) { - return __objc_msgSend_280( - obj, - sel, - key, - value, - ); + return __objc_msgSend_280(obj, sel, key, value); } late final __objc_msgSend_280Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_280 = + __objc_msgSend_280Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_280 = __objc_msgSend_280Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_initWithLocaleIdentifier_1 = - _registerName1("initWithLocaleIdentifier:"); + late final _sel_initWithLocaleIdentifier_1 = _registerName1( + "initWithLocaleIdentifier:", + ); late final _sel_localeIdentifier1 = _registerName1("localeIdentifier"); - late final _sel_localizedStringForLocaleIdentifier_1 = - _registerName1("localizedStringForLocaleIdentifier:"); + late final _sel_localizedStringForLocaleIdentifier_1 = _registerName1( + "localizedStringForLocaleIdentifier:", + ); late final _sel_languageCode1 = _registerName1("languageCode"); - late final _sel_localizedStringForLanguageCode_1 = - _registerName1("localizedStringForLanguageCode:"); + late final _sel_localizedStringForLanguageCode_1 = _registerName1( + "localizedStringForLanguageCode:", + ); ffi.Pointer _objc_msgSend_281( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer languageCode, ) { - return __objc_msgSend_281( - obj, - sel, - languageCode, - ); + return __objc_msgSend_281(obj, sel, languageCode); } late final __objc_msgSend_281Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_281 = __objc_msgSend_281Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_281 = + __objc_msgSend_281Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_languageIdentifier1 = _registerName1("languageIdentifier"); late final _sel_countryCode1 = _registerName1("countryCode"); - late final _sel_localizedStringForCountryCode_1 = - _registerName1("localizedStringForCountryCode:"); + late final _sel_localizedStringForCountryCode_1 = _registerName1( + "localizedStringForCountryCode:", + ); late final _sel_regionCode1 = _registerName1("regionCode"); late final _sel_scriptCode1 = _registerName1("scriptCode"); - late final _sel_localizedStringForScriptCode_1 = - _registerName1("localizedStringForScriptCode:"); + late final _sel_localizedStringForScriptCode_1 = _registerName1( + "localizedStringForScriptCode:", + ); late final _sel_variantCode1 = _registerName1("variantCode"); - late final _sel_localizedStringForVariantCode_1 = - _registerName1("localizedStringForVariantCode:"); + late final _sel_localizedStringForVariantCode_1 = _registerName1( + "localizedStringForVariantCode:", + ); late final _class_NSCharacterSet1 = _getClass1("NSCharacterSet"); late final _sel_controlCharacterSet1 = _registerName1("controlCharacterSet"); ffi.Pointer _objc_msgSend_282( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_282( - obj, - sel, - ); + return __objc_msgSend_282(obj, sel); } late final __objc_msgSend_282Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_282 = __objc_msgSend_282Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_whitespaceCharacterSet1 = - _registerName1("whitespaceCharacterSet"); - late final _sel_whitespaceAndNewlineCharacterSet1 = - _registerName1("whitespaceAndNewlineCharacterSet"); - late final _sel_decimalDigitCharacterSet1 = - _registerName1("decimalDigitCharacterSet"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_282 = + __objc_msgSend_282Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_whitespaceCharacterSet1 = _registerName1( + "whitespaceCharacterSet", + ); + late final _sel_whitespaceAndNewlineCharacterSet1 = _registerName1( + "whitespaceAndNewlineCharacterSet", + ); + late final _sel_decimalDigitCharacterSet1 = _registerName1( + "decimalDigitCharacterSet", + ); late final _sel_letterCharacterSet1 = _registerName1("letterCharacterSet"); - late final _sel_lowercaseLetterCharacterSet1 = - _registerName1("lowercaseLetterCharacterSet"); - late final _sel_uppercaseLetterCharacterSet1 = - _registerName1("uppercaseLetterCharacterSet"); + late final _sel_lowercaseLetterCharacterSet1 = _registerName1( + "lowercaseLetterCharacterSet", + ); + late final _sel_uppercaseLetterCharacterSet1 = _registerName1( + "uppercaseLetterCharacterSet", + ); late final _sel_nonBaseCharacterSet1 = _registerName1("nonBaseCharacterSet"); - late final _sel_alphanumericCharacterSet1 = - _registerName1("alphanumericCharacterSet"); - late final _sel_decomposableCharacterSet1 = - _registerName1("decomposableCharacterSet"); + late final _sel_alphanumericCharacterSet1 = _registerName1( + "alphanumericCharacterSet", + ); + late final _sel_decomposableCharacterSet1 = _registerName1( + "decomposableCharacterSet", + ); late final _sel_illegalCharacterSet1 = _registerName1("illegalCharacterSet"); - late final _sel_punctuationCharacterSet1 = - _registerName1("punctuationCharacterSet"); - late final _sel_capitalizedLetterCharacterSet1 = - _registerName1("capitalizedLetterCharacterSet"); + late final _sel_punctuationCharacterSet1 = _registerName1( + "punctuationCharacterSet", + ); + late final _sel_capitalizedLetterCharacterSet1 = _registerName1( + "capitalizedLetterCharacterSet", + ); late final _sel_symbolCharacterSet1 = _registerName1("symbolCharacterSet"); late final _sel_newlineCharacterSet1 = _registerName1("newlineCharacterSet"); - late final _sel_characterSetWithRange_1 = - _registerName1("characterSetWithRange:"); + late final _sel_characterSetWithRange_1 = _registerName1( + "characterSetWithRange:", + ); ffi.Pointer _objc_msgSend_283( ffi.Pointer obj, ffi.Pointer sel, _NSRange aRange, ) { - return __objc_msgSend_283( - obj, - sel, - aRange, - ); + return __objc_msgSend_283(obj, sel, aRange); } late final __objc_msgSend_283Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_283 = __objc_msgSend_283Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_283 = + __objc_msgSend_283Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_characterSetWithCharactersInString_1 = - _registerName1("characterSetWithCharactersInString:"); + late final _sel_characterSetWithCharactersInString_1 = _registerName1( + "characterSetWithCharactersInString:", + ); ffi.Pointer _objc_msgSend_284( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aString, ) { - return __objc_msgSend_284( - obj, - sel, - aString, - ); + return __objc_msgSend_284(obj, sel, aString); } late final __objc_msgSend_284Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_284 = __objc_msgSend_284Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_characterSetWithBitmapRepresentation_1 = - _registerName1("characterSetWithBitmapRepresentation:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_284 = + __objc_msgSend_284Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterSetWithBitmapRepresentation_1 = _registerName1( + "characterSetWithBitmapRepresentation:", + ); ffi.Pointer _objc_msgSend_285( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer data, ) { - return __objc_msgSend_285( - obj, - sel, - data, - ); + return __objc_msgSend_285(obj, sel, data); } late final __objc_msgSend_285Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_285 = __objc_msgSend_285Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_characterSetWithContentsOfFile_1 = - _registerName1("characterSetWithContentsOfFile:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_285 = + __objc_msgSend_285Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterSetWithContentsOfFile_1 = _registerName1( + "characterSetWithContentsOfFile:", + ); ffi.Pointer _objc_msgSend_286( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer fName, ) { - return __objc_msgSend_286( - obj, - sel, - fName, - ); + return __objc_msgSend_286(obj, sel, fName); } late final __objc_msgSend_286Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_286 = __objc_msgSend_286Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_286 = + __objc_msgSend_286Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); instancetype _objc_msgSend_287( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer coder, ) { - return __objc_msgSend_287( - obj, - sel, - coder, - ); + return __objc_msgSend_287(obj, sel, coder); } late final __objc_msgSend_287Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_287 = __objc_msgSend_287Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_287 = + __objc_msgSend_287Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_characterIsMember_1 = _registerName1("characterIsMember:"); bool _objc_msgSend_288( @@ -7866,43 +9782,53 @@ class PedometerBindings { ffi.Pointer sel, int aCharacter, ) { - return __objc_msgSend_288( - obj, - sel, - aCharacter, - ); + return __objc_msgSend_288(obj, sel, aCharacter); } late final __objc_msgSend_288Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedShort)>>('objc_msgSend'); - late final __objc_msgSend_288 = __objc_msgSend_288Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedShort, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_288 = + __objc_msgSend_288Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_bitmapRepresentation1 = - _registerName1("bitmapRepresentation"); + late final _sel_bitmapRepresentation1 = _registerName1( + "bitmapRepresentation", + ); late final _sel_invertedSet1 = _registerName1("invertedSet"); - late final _sel_longCharacterIsMember_1 = - _registerName1("longCharacterIsMember:"); + late final _sel_longCharacterIsMember_1 = _registerName1( + "longCharacterIsMember:", + ); bool _objc_msgSend_289( ffi.Pointer obj, ffi.Pointer sel, int theLongChar, ) { - return __objc_msgSend_289( - obj, - sel, - theLongChar, - ); + return __objc_msgSend_289(obj, sel, theLongChar); } late final __objc_msgSend_289Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedInt)>>('objc_msgSend'); - late final __objc_msgSend_289 = __objc_msgSend_289Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedInt, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_289 = + __objc_msgSend_289Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_isSupersetOfSet_1 = _registerName1("isSupersetOfSet:"); bool _objc_msgSend_290( @@ -7910,20 +9836,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer theOtherSet, ) { - return __objc_msgSend_290( - obj, - sel, - theOtherSet, - ); + return __objc_msgSend_290(obj, sel, theOtherSet); } late final __objc_msgSend_290Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_290 = __objc_msgSend_290Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_290 = + __objc_msgSend_290Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_hasMemberInPlane_1 = _registerName1("hasMemberInPlane:"); bool _objc_msgSend_291( @@ -7931,208 +9864,281 @@ class PedometerBindings { ffi.Pointer sel, int thePlane, ) { - return __objc_msgSend_291( - obj, - sel, - thePlane, - ); + return __objc_msgSend_291(obj, sel, thePlane); } late final __objc_msgSend_291Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Uint8)>>('objc_msgSend'); - late final __objc_msgSend_291 = __objc_msgSend_291Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_URLUserAllowedCharacterSet1 = - _registerName1("URLUserAllowedCharacterSet"); - late final _sel_URLPasswordAllowedCharacterSet1 = - _registerName1("URLPasswordAllowedCharacterSet"); - late final _sel_URLHostAllowedCharacterSet1 = - _registerName1("URLHostAllowedCharacterSet"); - late final _sel_URLPathAllowedCharacterSet1 = - _registerName1("URLPathAllowedCharacterSet"); - late final _sel_URLQueryAllowedCharacterSet1 = - _registerName1("URLQueryAllowedCharacterSet"); - late final _sel_URLFragmentAllowedCharacterSet1 = - _registerName1("URLFragmentAllowedCharacterSet"); - late final _sel_exemplarCharacterSet1 = - _registerName1("exemplarCharacterSet"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Uint8, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_291 = + __objc_msgSend_291Ptr + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer, int) + >(); + + late final _sel_URLUserAllowedCharacterSet1 = _registerName1( + "URLUserAllowedCharacterSet", + ); + late final _sel_URLPasswordAllowedCharacterSet1 = _registerName1( + "URLPasswordAllowedCharacterSet", + ); + late final _sel_URLHostAllowedCharacterSet1 = _registerName1( + "URLHostAllowedCharacterSet", + ); + late final _sel_URLPathAllowedCharacterSet1 = _registerName1( + "URLPathAllowedCharacterSet", + ); + late final _sel_URLQueryAllowedCharacterSet1 = _registerName1( + "URLQueryAllowedCharacterSet", + ); + late final _sel_URLFragmentAllowedCharacterSet1 = _registerName1( + "URLFragmentAllowedCharacterSet", + ); + late final _sel_exemplarCharacterSet1 = _registerName1( + "exemplarCharacterSet", + ); late final _sel_calendarIdentifier1 = _registerName1("calendarIdentifier"); - late final _sel_localizedStringForCalendarIdentifier_1 = - _registerName1("localizedStringForCalendarIdentifier:"); + late final _sel_localizedStringForCalendarIdentifier_1 = _registerName1( + "localizedStringForCalendarIdentifier:", + ); late final _sel_collationIdentifier1 = _registerName1("collationIdentifier"); - late final _sel_localizedStringForCollationIdentifier_1 = - _registerName1("localizedStringForCollationIdentifier:"); + late final _sel_localizedStringForCollationIdentifier_1 = _registerName1( + "localizedStringForCollationIdentifier:", + ); late final _sel_usesMetricSystem1 = _registerName1("usesMetricSystem"); late final _sel_decimalSeparator1 = _registerName1("decimalSeparator"); late final _sel_groupingSeparator1 = _registerName1("groupingSeparator"); late final _sel_currencySymbol1 = _registerName1("currencySymbol"); late final _sel_currencyCode1 = _registerName1("currencyCode"); - late final _sel_localizedStringForCurrencyCode_1 = - _registerName1("localizedStringForCurrencyCode:"); + late final _sel_localizedStringForCurrencyCode_1 = _registerName1( + "localizedStringForCurrencyCode:", + ); late final _sel_collatorIdentifier1 = _registerName1("collatorIdentifier"); - late final _sel_localizedStringForCollatorIdentifier_1 = - _registerName1("localizedStringForCollatorIdentifier:"); - late final _sel_quotationBeginDelimiter1 = - _registerName1("quotationBeginDelimiter"); - late final _sel_quotationEndDelimiter1 = - _registerName1("quotationEndDelimiter"); - late final _sel_alternateQuotationBeginDelimiter1 = - _registerName1("alternateQuotationBeginDelimiter"); - late final _sel_alternateQuotationEndDelimiter1 = - _registerName1("alternateQuotationEndDelimiter"); - late final _sel_autoupdatingCurrentLocale1 = - _registerName1("autoupdatingCurrentLocale"); + late final _sel_localizedStringForCollatorIdentifier_1 = _registerName1( + "localizedStringForCollatorIdentifier:", + ); + late final _sel_quotationBeginDelimiter1 = _registerName1( + "quotationBeginDelimiter", + ); + late final _sel_quotationEndDelimiter1 = _registerName1( + "quotationEndDelimiter", + ); + late final _sel_alternateQuotationBeginDelimiter1 = _registerName1( + "alternateQuotationBeginDelimiter", + ); + late final _sel_alternateQuotationEndDelimiter1 = _registerName1( + "alternateQuotationEndDelimiter", + ); + late final _sel_autoupdatingCurrentLocale1 = _registerName1( + "autoupdatingCurrentLocale", + ); ffi.Pointer _objc_msgSend_292( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_292( - obj, - sel, - ); + return __objc_msgSend_292(obj, sel); } late final __objc_msgSend_292Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_292 = __objc_msgSend_292Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_292 = + __objc_msgSend_292Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_currentLocale1 = _registerName1("currentLocale"); late final _sel_systemLocale1 = _registerName1("systemLocale"); - late final _sel_localeWithLocaleIdentifier_1 = - _registerName1("localeWithLocaleIdentifier:"); - late final _sel_availableLocaleIdentifiers1 = - _registerName1("availableLocaleIdentifiers"); + late final _sel_localeWithLocaleIdentifier_1 = _registerName1( + "localeWithLocaleIdentifier:", + ); + late final _sel_availableLocaleIdentifiers1 = _registerName1( + "availableLocaleIdentifiers", + ); late final _sel_ISOLanguageCodes1 = _registerName1("ISOLanguageCodes"); late final _sel_ISOCountryCodes1 = _registerName1("ISOCountryCodes"); late final _sel_ISOCurrencyCodes1 = _registerName1("ISOCurrencyCodes"); - late final _sel_commonISOCurrencyCodes1 = - _registerName1("commonISOCurrencyCodes"); + late final _sel_commonISOCurrencyCodes1 = _registerName1( + "commonISOCurrencyCodes", + ); late final _sel_preferredLanguages1 = _registerName1("preferredLanguages"); - late final _sel_componentsFromLocaleIdentifier_1 = - _registerName1("componentsFromLocaleIdentifier:"); + late final _sel_componentsFromLocaleIdentifier_1 = _registerName1( + "componentsFromLocaleIdentifier:", + ); ffi.Pointer _objc_msgSend_293( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer string, ) { - return __objc_msgSend_293( - obj, - sel, - string, - ); + return __objc_msgSend_293(obj, sel, string); } late final __objc_msgSend_293Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_293 = __objc_msgSend_293Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localeIdentifierFromComponents_1 = - _registerName1("localeIdentifierFromComponents:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_293 = + __objc_msgSend_293Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localeIdentifierFromComponents_1 = _registerName1( + "localeIdentifierFromComponents:", + ); ffi.Pointer _objc_msgSend_294( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer dict, ) { - return __objc_msgSend_294( - obj, - sel, - dict, - ); + return __objc_msgSend_294(obj, sel, dict); } late final __objc_msgSend_294Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_294 = __objc_msgSend_294Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_canonicalLocaleIdentifierFromString_1 = - _registerName1("canonicalLocaleIdentifierFromString:"); - late final _sel_canonicalLanguageIdentifierFromString_1 = - _registerName1("canonicalLanguageIdentifierFromString:"); - late final _sel_localeIdentifierFromWindowsLocaleCode_1 = - _registerName1("localeIdentifierFromWindowsLocaleCode:"); - ffi.Pointer _objc_msgSend_295( - ffi.Pointer obj, - ffi.Pointer sel, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_294 = + __objc_msgSend_294Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_canonicalLocaleIdentifierFromString_1 = _registerName1( + "canonicalLocaleIdentifierFromString:", + ); + late final _sel_canonicalLanguageIdentifierFromString_1 = _registerName1( + "canonicalLanguageIdentifierFromString:", + ); + late final _sel_localeIdentifierFromWindowsLocaleCode_1 = _registerName1( + "localeIdentifierFromWindowsLocaleCode:", + ); + ffi.Pointer _objc_msgSend_295( + ffi.Pointer obj, + ffi.Pointer sel, int lcid, ) { - return __objc_msgSend_295( - obj, - sel, - lcid, - ); + return __objc_msgSend_295(obj, sel, lcid); } late final __objc_msgSend_295Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Uint32)>>('objc_msgSend'); - late final __objc_msgSend_295 = __objc_msgSend_295Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Uint32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_295 = + __objc_msgSend_295Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = - _registerName1("windowsLocaleCodeFromLocaleIdentifier:"); + late final _sel_windowsLocaleCodeFromLocaleIdentifier_1 = _registerName1( + "windowsLocaleCodeFromLocaleIdentifier:", + ); int _objc_msgSend_296( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer localeIdentifier, ) { - return __objc_msgSend_296( - obj, - sel, - localeIdentifier, - ); + return __objc_msgSend_296(obj, sel, localeIdentifier); } late final __objc_msgSend_296Ptr = _lookup< - ffi.NativeFunction< - ffi.Uint32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_296 = __objc_msgSend_296Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_characterDirectionForLanguage_1 = - _registerName1("characterDirectionForLanguage:"); + ffi.NativeFunction< + ffi.Uint32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_296 = + __objc_msgSend_296Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_characterDirectionForLanguage_1 = _registerName1( + "characterDirectionForLanguage:", + ); int _objc_msgSend_297( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer isoLangCode, ) { - return __objc_msgSend_297( - obj, - sel, - isoLangCode, - ); + return __objc_msgSend_297(obj, sel, isoLangCode); } late final __objc_msgSend_297Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_297 = __objc_msgSend_297Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_lineDirectionForLanguage_1 = - _registerName1("lineDirectionForLanguage:"); - late final _sel_rangeOfString_options_range_locale_1 = - _registerName1("rangeOfString:options:range:locale:"); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_297 = + __objc_msgSend_297Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_lineDirectionForLanguage_1 = _registerName1( + "lineDirectionForLanguage:", + ); + late final _sel_rangeOfString_options_range_locale_1 = _registerName1( + "rangeOfString:options:range:locale:", + ); _NSRange _objc_msgSend_298( ffi.Pointer obj, ffi.Pointer sel, @@ -8152,17 +10158,29 @@ class PedometerBindings { } late final __objc_msgSend_298Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function( + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_298 = + __objc_msgSend_298Ptr + .asFunction< + _NSRange Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_298 = __objc_msgSend_298Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); void _objc_msgSend_298_stret( ffi.Pointer<_NSRange> stret, @@ -8185,46 +10203,61 @@ class PedometerBindings { } late final __objc_msgSend_298_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_298_stret = + __objc_msgSend_298_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_298_stret = __objc_msgSend_298_stretPtr.asFunction< - void Function( - ffi.Pointer<_NSRange>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_rangeOfCharacterFromSet_1 = - _registerName1("rangeOfCharacterFromSet:"); + late final _sel_rangeOfCharacterFromSet_1 = _registerName1( + "rangeOfCharacterFromSet:", + ); _NSRange _objc_msgSend_299( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer searchSet, ) { - return __objc_msgSend_299( - obj, - sel, - searchSet, - ); + return __objc_msgSend_299(obj, sel, searchSet); } late final __objc_msgSend_299Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_299 = __objc_msgSend_299Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_299 = + __objc_msgSend_299Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_299_stret( ffi.Pointer<_NSRange> stret, @@ -8232,48 +10265,62 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer searchSet, ) { - return __objc_msgSend_299_stret( - stret, - obj, - sel, - searchSet, - ); + return __objc_msgSend_299_stret(stret, obj, sel, searchSet); } late final __objc_msgSend_299_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_299_stret = + __objc_msgSend_299_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_299_stret = __objc_msgSend_299_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_rangeOfCharacterFromSet_options_1 = - _registerName1("rangeOfCharacterFromSet:options:"); + late final _sel_rangeOfCharacterFromSet_options_1 = _registerName1( + "rangeOfCharacterFromSet:options:", + ); _NSRange _objc_msgSend_300( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer searchSet, int mask, ) { - return __objc_msgSend_300( - obj, - sel, - searchSet, - mask, - ); + return __objc_msgSend_300(obj, sel, searchSet, mask); } late final __objc_msgSend_300Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_300 = __objc_msgSend_300Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_300 = + __objc_msgSend_300Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_300_stret( ffi.Pointer<_NSRange> stret, @@ -8282,29 +10329,35 @@ class PedometerBindings { ffi.Pointer searchSet, int mask, ) { - return __objc_msgSend_300_stret( - stret, - obj, - sel, - searchSet, - mask, - ); + return __objc_msgSend_300_stret(stret, obj, sel, searchSet, mask); } late final __objc_msgSend_300_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_300_stret = + __objc_msgSend_300_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_300_stret = __objc_msgSend_300_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_rangeOfCharacterFromSet_options_range_1 = - _registerName1("rangeOfCharacterFromSet:options:range:"); + late final _sel_rangeOfCharacterFromSet_options_range_1 = _registerName1( + "rangeOfCharacterFromSet:options:range:", + ); _NSRange _objc_msgSend_301( ffi.Pointer obj, ffi.Pointer sel, @@ -8322,12 +10375,27 @@ class PedometerBindings { } late final __objc_msgSend_301Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_301 = __objc_msgSend_301Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_301 = + __objc_msgSend_301Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_301_stret( ffi.Pointer<_NSRange> stret, @@ -8348,38 +10416,59 @@ class PedometerBindings { } late final __objc_msgSend_301_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_301_stret = + __objc_msgSend_301_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_301_stret = __objc_msgSend_301_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + int, + _NSRange, + ) + >(); - late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = - _registerName1("rangeOfComposedCharacterSequenceAtIndex:"); + late final _sel_rangeOfComposedCharacterSequenceAtIndex_1 = _registerName1( + "rangeOfComposedCharacterSequenceAtIndex:", + ); _NSRange _objc_msgSend_302( ffi.Pointer obj, ffi.Pointer sel, int index, ) { - return __objc_msgSend_302( - obj, - sel, - index, - ); + return __objc_msgSend_302(obj, sel, index); } late final __objc_msgSend_302Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_302 = __objc_msgSend_302Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_302 = + __objc_msgSend_302Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_302_stret( ffi.Pointer<_NSRange> stret, @@ -8387,43 +10476,55 @@ class PedometerBindings { ffi.Pointer sel, int index, ) { - return __objc_msgSend_302_stret( - stret, - obj, - sel, - index, - ); + return __objc_msgSend_302_stret(stret, obj, sel, index); } late final __objc_msgSend_302_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend_stret'); - late final __objc_msgSend_302_stret = __objc_msgSend_302_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_rangeOfComposedCharacterSequencesForRange_1 = - _registerName1("rangeOfComposedCharacterSequencesForRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_302_stret = + __objc_msgSend_302_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_rangeOfComposedCharacterSequencesForRange_1 = _registerName1( + "rangeOfComposedCharacterSequencesForRange:", + ); _NSRange _objc_msgSend_303( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_303( - obj, - sel, - range, - ); + return __objc_msgSend_303(obj, sel, range); } late final __objc_msgSend_303Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_303 = __objc_msgSend_303Ptr.asFunction< - _NSRange Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function(ffi.Pointer, ffi.Pointer, _NSRange) + > + >('objc_msgSend'); + late final __objc_msgSend_303 = + __objc_msgSend_303Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); void _objc_msgSend_303_stret( ffi.Pointer<_NSRange> stret, @@ -8431,63 +10532,87 @@ class PedometerBindings { ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_303_stret( - stret, - obj, - sel, - range, - ); + return __objc_msgSend_303_stret(stret, obj, sel, range); } late final __objc_msgSend_303_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_303_stret = __objc_msgSend_303_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_stringByAppendingString_1 = - _registerName1("stringByAppendingString:"); - late final _sel_stringByAppendingFormat_1 = - _registerName1("stringByAppendingFormat:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_303_stret = + __objc_msgSend_303_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_stringByAppendingString_1 = _registerName1( + "stringByAppendingString:", + ); + late final _sel_stringByAppendingFormat_1 = _registerName1( + "stringByAppendingFormat:", + ); late final _sel_uppercaseString1 = _registerName1("uppercaseString"); late final _sel_lowercaseString1 = _registerName1("lowercaseString"); late final _sel_capitalizedString1 = _registerName1("capitalizedString"); - late final _sel_localizedUppercaseString1 = - _registerName1("localizedUppercaseString"); - late final _sel_localizedLowercaseString1 = - _registerName1("localizedLowercaseString"); - late final _sel_localizedCapitalizedString1 = - _registerName1("localizedCapitalizedString"); - late final _sel_uppercaseStringWithLocale_1 = - _registerName1("uppercaseStringWithLocale:"); + late final _sel_localizedUppercaseString1 = _registerName1( + "localizedUppercaseString", + ); + late final _sel_localizedLowercaseString1 = _registerName1( + "localizedLowercaseString", + ); + late final _sel_localizedCapitalizedString1 = _registerName1( + "localizedCapitalizedString", + ); + late final _sel_uppercaseStringWithLocale_1 = _registerName1( + "uppercaseStringWithLocale:", + ); ffi.Pointer _objc_msgSend_304( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer locale, ) { - return __objc_msgSend_304( - obj, - sel, - locale, - ); + return __objc_msgSend_304(obj, sel, locale); } late final __objc_msgSend_304Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_304 = __objc_msgSend_304Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_lowercaseStringWithLocale_1 = - _registerName1("lowercaseStringWithLocale:"); - late final _sel_capitalizedStringWithLocale_1 = - _registerName1("capitalizedStringWithLocale:"); - late final _sel_getLineStart_end_contentsEnd_forRange_1 = - _registerName1("getLineStart:end:contentsEnd:forRange:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_304 = + __objc_msgSend_304Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_lowercaseStringWithLocale_1 = _registerName1( + "lowercaseStringWithLocale:", + ); + late final _sel_capitalizedStringWithLocale_1 = _registerName1( + "capitalizedStringWithLocale:", + ); + late final _sel_getLineStart_end_contentsEnd_forRange_1 = _registerName1( + "getLineStart:end:contentsEnd:forRange:", + ); void _objc_msgSend_305( ffi.Pointer obj, ffi.Pointer sel, @@ -8507,28 +10632,37 @@ class PedometerBindings { } late final __objc_msgSend_305Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_305 = + __objc_msgSend_305Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_305 = __objc_msgSend_305Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - _NSRange)>(); + _NSRange, + ) + >(); late final _sel_lineRangeForRange_1 = _registerName1("lineRangeForRange:"); - late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = - _registerName1("getParagraphStart:end:contentsEnd:forRange:"); - late final _sel_paragraphRangeForRange_1 = - _registerName1("paragraphRangeForRange:"); + late final _sel_getParagraphStart_end_contentsEnd_forRange_1 = _registerName1( + "getParagraphStart:end:contentsEnd:forRange:", + ); + late final _sel_paragraphRangeForRange_1 = _registerName1( + "paragraphRangeForRange:", + ); late final _sel_enumerateSubstringsInRange_options_usingBlock_1 = _registerName1("enumerateSubstringsInRange:options:usingBlock:"); void _objc_msgSend_306( @@ -8538,74 +10672,97 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_306( - obj, - sel, - range, - opts, - block, - ); + return __objc_msgSend_306(obj, sel, range, opts, block); } late final __objc_msgSend_306Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_306 = __objc_msgSend_306Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_enumerateLinesUsingBlock_1 = - _registerName1("enumerateLinesUsingBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_306 = + __objc_msgSend_306Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_enumerateLinesUsingBlock_1 = _registerName1( + "enumerateLinesUsingBlock:", + ); void _objc_msgSend_307( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_307( - obj, - sel, - block, - ); + return __objc_msgSend_307(obj, sel, block); } late final __objc_msgSend_307Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_307 = __objc_msgSend_307Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_307 = + __objc_msgSend_307Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_UTF8String1 = _registerName1("UTF8String"); late final _sel_fastestEncoding1 = _registerName1("fastestEncoding"); late final _sel_smallestEncoding1 = _registerName1("smallestEncoding"); - late final _sel_dataUsingEncoding_allowLossyConversion_1 = - _registerName1("dataUsingEncoding:allowLossyConversion:"); + late final _sel_dataUsingEncoding_allowLossyConversion_1 = _registerName1( + "dataUsingEncoding:allowLossyConversion:", + ); ffi.Pointer _objc_msgSend_308( ffi.Pointer obj, ffi.Pointer sel, int encoding, bool lossy, ) { - return __objc_msgSend_308( - obj, - sel, - encoding, - lossy, - ); + return __objc_msgSend_308(obj, sel, encoding, lossy); } late final __objc_msgSend_308Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_308 = + __objc_msgSend_308Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_308 = __objc_msgSend_308Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int, bool)>(); + int, + bool, + ) + >(); late final _sel_dataUsingEncoding_1 = _registerName1("dataUsingEncoding:"); ffi.Pointer _objc_msgSend_309( @@ -8613,27 +10770,37 @@ class PedometerBindings { ffi.Pointer sel, int encoding, ) { - return __objc_msgSend_309( - obj, - sel, - encoding, - ); + return __objc_msgSend_309(obj, sel, encoding); } late final __objc_msgSend_309Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_309 = __objc_msgSend_309Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_canBeConvertedToEncoding_1 = - _registerName1("canBeConvertedToEncoding:"); - late final _sel_cStringUsingEncoding_1 = - _registerName1("cStringUsingEncoding:"); - late final _sel_getCString_maxLength_encoding_1 = - _registerName1("getCString:maxLength:encoding:"); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_309 = + __objc_msgSend_309Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_canBeConvertedToEncoding_1 = _registerName1( + "canBeConvertedToEncoding:", + ); + late final _sel_cStringUsingEncoding_1 = _registerName1( + "cStringUsingEncoding:", + ); + late final _sel_getCString_maxLength_encoding_1 = _registerName1( + "getCString:maxLength:encoding:", + ); bool _objc_msgSend_310( ffi.Pointer obj, ffi.Pointer sel, @@ -8641,30 +10808,36 @@ class PedometerBindings { int maxBufferCount, int encoding, ) { - return __objc_msgSend_310( - obj, - sel, - buffer, - maxBufferCount, - encoding, - ); + return __objc_msgSend_310(obj, sel, buffer, maxBufferCount, encoding); } late final __objc_msgSend_310Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_310 = + __objc_msgSend_310Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_310 = __objc_msgSend_310Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int)>(); + int, + int, + ) + >(); late final _sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1 = _registerName1( - "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:"); + "getBytes:maxLength:usedLength:encoding:options:range:remainingRange:", + ); bool _objc_msgSend_311( ffi.Pointer obj, ffi.Pointer sel, @@ -8690,130 +10863,176 @@ class PedometerBindings { } late final __objc_msgSend_311Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Int32, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_311 = + __objc_msgSend_311Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ffi.UnsignedLong, - ffi.Int32, + int, + int, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_311 = __objc_msgSend_311Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - int, - int, - _NSRange, - ffi.Pointer<_NSRange>)>(); - - late final _sel_maximumLengthOfBytesUsingEncoding_1 = - _registerName1("maximumLengthOfBytesUsingEncoding:"); - late final _sel_lengthOfBytesUsingEncoding_1 = - _registerName1("lengthOfBytesUsingEncoding:"); - late final _sel_availableStringEncodings1 = - _registerName1("availableStringEncodings"); + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_maximumLengthOfBytesUsingEncoding_1 = _registerName1( + "maximumLengthOfBytesUsingEncoding:", + ); + late final _sel_lengthOfBytesUsingEncoding_1 = _registerName1( + "lengthOfBytesUsingEncoding:", + ); + late final _sel_availableStringEncodings1 = _registerName1( + "availableStringEncodings", + ); ffi.Pointer _objc_msgSend_312( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_312( - obj, - sel, - ); + return __objc_msgSend_312(obj, sel); } late final __objc_msgSend_312Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_312 = __objc_msgSend_312Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedNameOfStringEncoding_1 = - _registerName1("localizedNameOfStringEncoding:"); - late final _sel_defaultCStringEncoding1 = - _registerName1("defaultCStringEncoding"); - late final _sel_decomposedStringWithCanonicalMapping1 = - _registerName1("decomposedStringWithCanonicalMapping"); - late final _sel_precomposedStringWithCanonicalMapping1 = - _registerName1("precomposedStringWithCanonicalMapping"); - late final _sel_decomposedStringWithCompatibilityMapping1 = - _registerName1("decomposedStringWithCompatibilityMapping"); - late final _sel_precomposedStringWithCompatibilityMapping1 = - _registerName1("precomposedStringWithCompatibilityMapping"); - late final _sel_componentsSeparatedByString_1 = - _registerName1("componentsSeparatedByString:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_312 = + __objc_msgSend_312Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedNameOfStringEncoding_1 = _registerName1( + "localizedNameOfStringEncoding:", + ); + late final _sel_defaultCStringEncoding1 = _registerName1( + "defaultCStringEncoding", + ); + late final _sel_decomposedStringWithCanonicalMapping1 = _registerName1( + "decomposedStringWithCanonicalMapping", + ); + late final _sel_precomposedStringWithCanonicalMapping1 = _registerName1( + "precomposedStringWithCanonicalMapping", + ); + late final _sel_decomposedStringWithCompatibilityMapping1 = _registerName1( + "decomposedStringWithCompatibilityMapping", + ); + late final _sel_precomposedStringWithCompatibilityMapping1 = _registerName1( + "precomposedStringWithCompatibilityMapping", + ); + late final _sel_componentsSeparatedByString_1 = _registerName1( + "componentsSeparatedByString:", + ); ffi.Pointer _objc_msgSend_313( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer separator, ) { - return __objc_msgSend_313( - obj, - sel, - separator, - ); + return __objc_msgSend_313(obj, sel, separator); } late final __objc_msgSend_313Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_313 = __objc_msgSend_313Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_componentsSeparatedByCharactersInSet_1 = - _registerName1("componentsSeparatedByCharactersInSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_313 = + __objc_msgSend_313Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_componentsSeparatedByCharactersInSet_1 = _registerName1( + "componentsSeparatedByCharactersInSet:", + ); ffi.Pointer _objc_msgSend_314( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer separator, ) { - return __objc_msgSend_314( - obj, - sel, - separator, - ); + return __objc_msgSend_314(obj, sel, separator); } late final __objc_msgSend_314Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_314 = __objc_msgSend_314Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringByTrimmingCharactersInSet_1 = - _registerName1("stringByTrimmingCharactersInSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_314 = + __objc_msgSend_314Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByTrimmingCharactersInSet_1 = _registerName1( + "stringByTrimmingCharactersInSet:", + ); ffi.Pointer _objc_msgSend_315( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer set1, ) { - return __objc_msgSend_315( - obj, - sel, - set1, - ); + return __objc_msgSend_315(obj, sel, set1); } late final __objc_msgSend_315Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_315 = __objc_msgSend_315Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_315 = + __objc_msgSend_315Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stringByPaddingToLength_withString_startingAtIndex_1 = _registerName1("stringByPaddingToLength:withString:startingAtIndex:"); @@ -8824,57 +11043,69 @@ class PedometerBindings { ffi.Pointer padString, int padIndex, ) { - return __objc_msgSend_316( - obj, - sel, - newLength, - padString, - padIndex, - ); + return __objc_msgSend_316(obj, sel, newLength, padString, padIndex); } late final __objc_msgSend_316Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_316 = + __objc_msgSend_316Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_316 = __objc_msgSend_316Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_stringByFoldingWithOptions_locale_1 = - _registerName1("stringByFoldingWithOptions:locale:"); + late final _sel_stringByFoldingWithOptions_locale_1 = _registerName1( + "stringByFoldingWithOptions:locale:", + ); ffi.Pointer _objc_msgSend_317( ffi.Pointer obj, ffi.Pointer sel, int options, ffi.Pointer locale, ) { - return __objc_msgSend_317( - obj, - sel, - options, - locale, - ); + return __objc_msgSend_317(obj, sel, options, locale); } late final __objc_msgSend_317Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_317 = + __objc_msgSend_317Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_317 = __objc_msgSend_317Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_stringByReplacingOccurrencesOfString_withString_options_range_1 = _registerName1( - "stringByReplacingOccurrencesOfString:withString:options:range:"); + "stringByReplacingOccurrencesOfString:withString:options:range:", + ); ffi.Pointer _objc_msgSend_318( ffi.Pointer obj, ffi.Pointer sel, @@ -8894,22 +11125,29 @@ class PedometerBindings { } late final __objc_msgSend_318Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_318 = + __objc_msgSend_318Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_318 = __objc_msgSend_318Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange)>(); + int, + _NSRange, + ) + >(); late final _sel_stringByReplacingOccurrencesOfString_withString_1 = _registerName1("stringByReplacingOccurrencesOfString:withString:"); @@ -8919,27 +11157,29 @@ class PedometerBindings { ffi.Pointer target, ffi.Pointer replacement, ) { - return __objc_msgSend_319( - obj, - sel, - target, - replacement, - ); + return __objc_msgSend_319(obj, sel, target, replacement); } late final __objc_msgSend_319Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_319 = + __objc_msgSend_319Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_319 = __objc_msgSend_319Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_stringByReplacingCharactersInRange_withString_1 = _registerName1("stringByReplacingCharactersInRange:withString:"); @@ -8949,54 +11189,66 @@ class PedometerBindings { _NSRange range, ffi.Pointer replacement, ) { - return __objc_msgSend_320( - obj, - sel, - range, - replacement, - ); + return __objc_msgSend_320(obj, sel, range, replacement); } late final __objc_msgSend_320Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_320 = + __objc_msgSend_320Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_320 = __objc_msgSend_320Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_stringByApplyingTransform_reverse_1 = - _registerName1("stringByApplyingTransform:reverse:"); + late final _sel_stringByApplyingTransform_reverse_1 = _registerName1( + "stringByApplyingTransform:reverse:", + ); ffi.Pointer _objc_msgSend_321( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer transform, bool reverse, ) { - return __objc_msgSend_321( - obj, - sel, - transform, - reverse, - ); + return __objc_msgSend_321(obj, sel, transform, reverse); } late final __objc_msgSend_321Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_321 = + __objc_msgSend_321Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_321 = __objc_msgSend_321Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); + bool, + ) + >(); - late final _sel_writeToURL_atomically_encoding_error_1 = - _registerName1("writeToURL:atomically:encoding:error:"); + late final _sel_writeToURL_atomically_encoding_error_1 = _registerName1( + "writeToURL:atomically:encoding:error:", + ); bool _objc_msgSend_322( ffi.Pointer obj, ffi.Pointer sel, @@ -9005,36 +11257,37 @@ class PedometerBindings { int enc, ffi.Pointer> error, ) { - return __objc_msgSend_322( - obj, - sel, - url, - useAuxiliaryFile, - enc, - error, - ); + return __objc_msgSend_322(obj, sel, url, useAuxiliaryFile, enc, error); } late final __objc_msgSend_322Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_322 = + __objc_msgSend_322Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_322 = __objc_msgSend_322Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>)>(); + bool, + int, + ffi.Pointer>, + ) + >(); - late final _sel_writeToFile_atomically_encoding_error_1 = - _registerName1("writeToFile:atomically:encoding:error:"); + late final _sel_writeToFile_atomically_encoding_error_1 = _registerName1( + "writeToFile:atomically:encoding:error:", + ); bool _objc_msgSend_323( ffi.Pointer obj, ffi.Pointer sel, @@ -9043,33 +11296,33 @@ class PedometerBindings { int enc, ffi.Pointer> error, ) { - return __objc_msgSend_323( - obj, - sel, - path, - useAuxiliaryFile, - enc, - error, - ); + return __objc_msgSend_323(obj, sel, path, useAuxiliaryFile, enc, error); } late final __objc_msgSend_323Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_323 = + __objc_msgSend_323Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_323 = __objc_msgSend_323Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - int, - ffi.Pointer>)>(); + bool, + int, + ffi.Pointer>, + ) + >(); late final _sel_hash1 = _registerName1("hash"); late final _sel_initWithCharactersNoCopy_length_freeWhenDone_1 = @@ -9081,26 +11334,31 @@ class PedometerBindings { int length, bool freeBuffer, ) { - return __objc_msgSend_324( - obj, - sel, - characters, - length, - freeBuffer, - ); + return __objc_msgSend_324(obj, sel, characters, length, freeBuffer); } late final __objc_msgSend_324Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_324 = + __objc_msgSend_324Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_324 = __objc_msgSend_324Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, bool)>(); + int, + bool, + ) + >(); late final _sel_initWithCharactersNoCopy_length_deallocator_1 = _registerName1("initWithCharactersNoCopy:length:deallocator:"); @@ -9111,53 +11369,64 @@ class PedometerBindings { int len, ffi.Pointer<_ObjCBlock> deallocator, ) { - return __objc_msgSend_325( - obj, - sel, - chars, - len, - deallocator, - ); + return __objc_msgSend_325(obj, sel, chars, len, deallocator); } late final __objc_msgSend_325Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_325 = + __objc_msgSend_325Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_325 = __objc_msgSend_325Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_initWithCharacters_length_1 = - _registerName1("initWithCharacters:length:"); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_initWithCharacters_length_1 = _registerName1( + "initWithCharacters:length:", + ); instancetype _objc_msgSend_326( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer characters, int length, ) { - return __objc_msgSend_326( - obj, - sel, - characters, - length, - ); + return __objc_msgSend_326(obj, sel, characters, length); } late final __objc_msgSend_326Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_326 = + __objc_msgSend_326Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_326 = __objc_msgSend_326Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_initWithUTF8String_1 = _registerName1("initWithUTF8String:"); instancetype _objc_msgSend_327( @@ -9165,75 +11434,98 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer nullTerminatedCString, ) { - return __objc_msgSend_327( - obj, - sel, - nullTerminatedCString, - ); + return __objc_msgSend_327(obj, sel, nullTerminatedCString); } late final __objc_msgSend_327Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_327 = __objc_msgSend_327Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_327 = + __objc_msgSend_327Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithFormat_1 = _registerName1("initWithFormat:"); - late final _sel_initWithFormat_arguments_1 = - _registerName1("initWithFormat:arguments:"); + late final _sel_initWithFormat_arguments_1 = _registerName1( + "initWithFormat:arguments:", + ); instancetype _objc_msgSend_328( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer format, ffi.Pointer argList, ) { - return __objc_msgSend_328( - obj, - sel, - format, - argList, - ); + return __objc_msgSend_328(obj, sel, format, argList); } late final __objc_msgSend_328Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_328 = __objc_msgSend_328Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithFormat_locale_1 = - _registerName1("initWithFormat:locale:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_328 = + __objc_msgSend_328Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithFormat_locale_1 = _registerName1( + "initWithFormat:locale:", + ); instancetype _objc_msgSend_329( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer format, ffi.Pointer locale, ) { - return __objc_msgSend_329( - obj, - sel, - format, - locale, - ); + return __objc_msgSend_329(obj, sel, format, locale); } late final __objc_msgSend_329Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_329 = + __objc_msgSend_329Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_329 = __objc_msgSend_329Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_initWithFormat_locale_arguments_1 = - _registerName1("initWithFormat:locale:arguments:"); + late final _sel_initWithFormat_locale_arguments_1 = _registerName1( + "initWithFormat:locale:arguments:", + ); instancetype _objc_msgSend_330( ffi.Pointer obj, ffi.Pointer sel, @@ -9241,30 +11533,31 @@ class PedometerBindings { ffi.Pointer locale, ffi.Pointer argList, ) { - return __objc_msgSend_330( - obj, - sel, - format, - locale, - argList, - ); + return __objc_msgSend_330(obj, sel, format, locale, argList); } late final __objc_msgSend_330Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_330 = + __objc_msgSend_330Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_330 = __objc_msgSend_330Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_error_1 = _registerName1("initWithValidatedFormat:validFormatSpecifiers:error:"); @@ -9275,34 +11568,36 @@ class PedometerBindings { ffi.Pointer validFormatSpecifiers, ffi.Pointer> error, ) { - return __objc_msgSend_331( - obj, - sel, - format, - validFormatSpecifiers, - error, - ); + return __objc_msgSend_331(obj, sel, format, validFormatSpecifiers, error); } late final __objc_msgSend_331Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_331 = + __objc_msgSend_331Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_331 = __objc_msgSend_331Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1 = _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:locale:error:"); + "initWithValidatedFormat:validFormatSpecifiers:locale:error:", + ); instancetype _objc_msgSend_332( ffi.Pointer obj, ffi.Pointer sel, @@ -9322,26 +11617,34 @@ class PedometerBindings { } late final __objc_msgSend_332Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_332 = + __objc_msgSend_332Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_332 = __objc_msgSend_332Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1 = _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:arguments:error:"); + "initWithValidatedFormat:validFormatSpecifiers:arguments:error:", + ); instancetype _objc_msgSend_333( ffi.Pointer obj, ffi.Pointer sel, @@ -9361,26 +11664,34 @@ class PedometerBindings { } late final __objc_msgSend_333Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_333 = + __objc_msgSend_333Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_333 = __objc_msgSend_333Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1 = _registerName1( - "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:"); + "initWithValidatedFormat:validFormatSpecifiers:locale:arguments:error:", + ); instancetype _objc_msgSend_334( ffi.Pointer obj, ffi.Pointer sel, @@ -9402,51 +11713,68 @@ class PedometerBindings { } late final __objc_msgSend_334Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_334 = + __objc_msgSend_334Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_334 = __objc_msgSend_334Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_initWithData_encoding_1 = - _registerName1("initWithData:encoding:"); + late final _sel_initWithData_encoding_1 = _registerName1( + "initWithData:encoding:", + ); instancetype _objc_msgSend_335( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer data, int encoding, ) { - return __objc_msgSend_335( - obj, - sel, - data, - encoding, - ); + return __objc_msgSend_335(obj, sel, data, encoding); } late final __objc_msgSend_335Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_335 = __objc_msgSend_335Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithBytes_length_encoding_1 = - _registerName1("initWithBytes:length:encoding:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_335 = + __objc_msgSend_335Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithBytes_length_encoding_1 = _registerName1( + "initWithBytes:length:encoding:", + ); instancetype _objc_msgSend_336( ffi.Pointer obj, ffi.Pointer sel, @@ -9454,26 +11782,31 @@ class PedometerBindings { int len, int encoding, ) { - return __objc_msgSend_336( - obj, - sel, - bytes, - len, - encoding, - ); + return __objc_msgSend_336(obj, sel, bytes, len, encoding); } late final __objc_msgSend_336Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_336 = + __objc_msgSend_336Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_336 = __objc_msgSend_336Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int)>(); + int, + int, + ) + >(); late final _sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1 = _registerName1("initWithBytesNoCopy:length:encoding:freeWhenDone:"); @@ -9485,28 +11818,33 @@ class PedometerBindings { int encoding, bool freeBuffer, ) { - return __objc_msgSend_337( - obj, - sel, - bytes, - len, - encoding, - freeBuffer, - ); + return __objc_msgSend_337(obj, sel, bytes, len, encoding, freeBuffer); } late final __objc_msgSend_337Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_337 = + __objc_msgSend_337Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_337 = __objc_msgSend_337Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, bool)>(); + int, + int, + bool, + ) + >(); late final _sel_initWithBytesNoCopy_length_encoding_deallocator_1 = _registerName1("initWithBytesNoCopy:length:encoding:deallocator:"); @@ -9518,71 +11856,91 @@ class PedometerBindings { int encoding, ffi.Pointer<_ObjCBlock> deallocator, ) { - return __objc_msgSend_338( - obj, - sel, - bytes, - len, - encoding, - deallocator, - ); + return __objc_msgSend_338(obj, sel, bytes, len, encoding, deallocator); } late final __objc_msgSend_338Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_338 = + __objc_msgSend_338Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_338 = __objc_msgSend_338Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer<_ObjCBlock>)>(); + int, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_string1 = _registerName1("string"); late final _sel_stringWithString_1 = _registerName1("stringWithString:"); - late final _sel_stringWithCharacters_length_1 = - _registerName1("stringWithCharacters:length:"); - late final _sel_stringWithUTF8String_1 = - _registerName1("stringWithUTF8String:"); + late final _sel_stringWithCharacters_length_1 = _registerName1( + "stringWithCharacters:length:", + ); + late final _sel_stringWithUTF8String_1 = _registerName1( + "stringWithUTF8String:", + ); late final _sel_stringWithFormat_1 = _registerName1("stringWithFormat:"); - late final _sel_localizedStringWithFormat_1 = - _registerName1("localizedStringWithFormat:"); + late final _sel_localizedStringWithFormat_1 = _registerName1( + "localizedStringWithFormat:", + ); late final _sel_stringWithValidatedFormat_validFormatSpecifiers_error_1 = _registerName1("stringWithValidatedFormat:validFormatSpecifiers:error:"); late final _sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1 = _registerName1( - "localizedStringWithValidatedFormat:validFormatSpecifiers:error:"); - late final _sel_initWithCString_encoding_1 = - _registerName1("initWithCString:encoding:"); + "localizedStringWithValidatedFormat:validFormatSpecifiers:error:", + ); + late final _sel_initWithCString_encoding_1 = _registerName1( + "initWithCString:encoding:", + ); instancetype _objc_msgSend_339( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer nullTerminatedCString, int encoding, ) { - return __objc_msgSend_339( - obj, - sel, - nullTerminatedCString, - encoding, - ); + return __objc_msgSend_339(obj, sel, nullTerminatedCString, encoding); } late final __objc_msgSend_339Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_339 = __objc_msgSend_339Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_stringWithCString_encoding_1 = - _registerName1("stringWithCString:encoding:"); - late final _sel_initWithContentsOfURL_encoding_error_1 = - _registerName1("initWithContentsOfURL:encoding:error:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_339 = + __objc_msgSend_339Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_stringWithCString_encoding_1 = _registerName1( + "stringWithCString:encoding:", + ); + late final _sel_initWithContentsOfURL_encoding_error_1 = _registerName1( + "initWithContentsOfURL:encoding:error:", + ); instancetype _objc_msgSend_340( ffi.Pointer obj, ffi.Pointer sel, @@ -9590,33 +11948,35 @@ class PedometerBindings { int enc, ffi.Pointer> error, ) { - return __objc_msgSend_340( - obj, - sel, - url, - enc, - error, - ); + return __objc_msgSend_340(obj, sel, url, enc, error); } late final __objc_msgSend_340Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_340 = + __objc_msgSend_340Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_340 = __objc_msgSend_340Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); - late final _sel_initWithContentsOfFile_encoding_error_1 = - _registerName1("initWithContentsOfFile:encoding:error:"); + late final _sel_initWithContentsOfFile_encoding_error_1 = _registerName1( + "initWithContentsOfFile:encoding:error:", + ); instancetype _objc_msgSend_341( ffi.Pointer obj, ffi.Pointer sel, @@ -9624,37 +11984,41 @@ class PedometerBindings { int enc, ffi.Pointer> error, ) { - return __objc_msgSend_341( - obj, - sel, - path, - enc, - error, - ); + return __objc_msgSend_341(obj, sel, path, enc, error); } late final __objc_msgSend_341Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_341 = + __objc_msgSend_341Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_341 = __objc_msgSend_341Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_stringWithContentsOfURL_encoding_error_1 = - _registerName1("stringWithContentsOfURL:encoding:error:"); - late final _sel_stringWithContentsOfFile_encoding_error_1 = - _registerName1("stringWithContentsOfFile:encoding:error:"); - late final _sel_initWithContentsOfURL_usedEncoding_error_1 = - _registerName1("initWithContentsOfURL:usedEncoding:error:"); + int, + ffi.Pointer>, + ) + >(); + + late final _sel_stringWithContentsOfURL_encoding_error_1 = _registerName1( + "stringWithContentsOfURL:encoding:error:", + ); + late final _sel_stringWithContentsOfFile_encoding_error_1 = _registerName1( + "stringWithContentsOfFile:encoding:error:", + ); + late final _sel_initWithContentsOfURL_usedEncoding_error_1 = _registerName1( + "initWithContentsOfURL:usedEncoding:error:", + ); instancetype _objc_msgSend_342( ffi.Pointer obj, ffi.Pointer sel, @@ -9662,33 +12026,35 @@ class PedometerBindings { ffi.Pointer enc, ffi.Pointer> error, ) { - return __objc_msgSend_342( - obj, - sel, - url, - enc, - error, - ); + return __objc_msgSend_342(obj, sel, url, enc, error); } late final __objc_msgSend_342Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_342 = + __objc_msgSend_342Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_342 = __objc_msgSend_342Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_initWithContentsOfFile_usedEncoding_error_1 = - _registerName1("initWithContentsOfFile:usedEncoding:error:"); + late final _sel_initWithContentsOfFile_usedEncoding_error_1 = _registerName1( + "initWithContentsOfFile:usedEncoding:error:", + ); instancetype _objc_msgSend_343( ffi.Pointer obj, ffi.Pointer sel, @@ -9696,38 +12062,41 @@ class PedometerBindings { ffi.Pointer enc, ffi.Pointer> error, ) { - return __objc_msgSend_343( - obj, - sel, - path, - enc, - error, - ); + return __objc_msgSend_343(obj, sel, path, enc, error); } late final __objc_msgSend_343Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_343 = + __objc_msgSend_343Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_343 = __objc_msgSend_343Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = - _registerName1("stringWithContentsOfURL:usedEncoding:error:"); + late final _sel_stringWithContentsOfURL_usedEncoding_error_1 = _registerName1( + "stringWithContentsOfURL:usedEncoding:error:", + ); late final _sel_stringWithContentsOfFile_usedEncoding_error_1 = _registerName1("stringWithContentsOfFile:usedEncoding:error:"); late final _sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1 = _registerName1( - "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:"); + "stringEncodingForData:encodingOptions:convertedString:usedLossyConversion:", + ); int _objc_msgSend_344( ffi.Pointer obj, ffi.Pointer sel, @@ -9747,74 +12116,98 @@ class PedometerBindings { } late final __objc_msgSend_344Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_344 = + __objc_msgSend_344Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_344 = __objc_msgSend_344Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_propertyList1 = _registerName1("propertyList"); - late final _sel_propertyListFromStringsFileFormat1 = - _registerName1("propertyListFromStringsFileFormat"); + late final _sel_propertyListFromStringsFileFormat1 = _registerName1( + "propertyListFromStringsFileFormat", + ); ffi.Pointer _objc_msgSend_345( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_345( - obj, - sel, - ); + return __objc_msgSend_345(obj, sel); } late final __objc_msgSend_345Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_345 = __objc_msgSend_345Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_345 = + __objc_msgSend_345Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cString1 = _registerName1("cString"); late final _sel_lossyCString1 = _registerName1("lossyCString"); late final _sel_cStringLength1 = _registerName1("cStringLength"); late final _sel_getCString_1 = _registerName1("getCString:"); - late final _sel_getCString_maxLength_1 = - _registerName1("getCString:maxLength:"); + late final _sel_getCString_maxLength_1 = _registerName1( + "getCString:maxLength:", + ); void _objc_msgSend_346( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer bytes, int maxLength, ) { - return __objc_msgSend_346( - obj, - sel, - bytes, - maxLength, - ); + return __objc_msgSend_346(obj, sel, bytes, maxLength); } late final __objc_msgSend_346Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_346 = __objc_msgSend_346Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_getCString_maxLength_range_remainingRange_1 = - _registerName1("getCString:maxLength:range:remainingRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_346 = + __objc_msgSend_346Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_getCString_maxLength_range_remainingRange_1 = _registerName1( + "getCString:maxLength:range:remainingRange:", + ); void _objc_msgSend_347( ffi.Pointer obj, ffi.Pointer sel, @@ -9834,24 +12227,39 @@ class PedometerBindings { } late final __objc_msgSend_347Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_347 = + __objc_msgSend_347Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_347 = __objc_msgSend_347Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer<_NSRange>)>(); - - late final _sel_stringWithContentsOfFile_1 = - _registerName1("stringWithContentsOfFile:"); - late final _sel_stringWithContentsOfURL_1 = - _registerName1("stringWithContentsOfURL:"); - late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = - _registerName1("initWithCStringNoCopy:length:freeWhenDone:"); + ffi.Pointer<_NSRange>, + ) + >(); + + late final _sel_stringWithContentsOfFile_1 = _registerName1( + "stringWithContentsOfFile:", + ); + late final _sel_stringWithContentsOfURL_1 = _registerName1( + "stringWithContentsOfURL:", + ); + late final _sel_initWithCStringNoCopy_length_freeWhenDone_1 = _registerName1( + "initWithCStringNoCopy:length:freeWhenDone:", + ); ffi.Pointer _objc_msgSend_348( ffi.Pointer obj, ffi.Pointer sel, @@ -9859,32 +12267,39 @@ class PedometerBindings { int length, bool freeBuffer, ) { - return __objc_msgSend_348( - obj, - sel, - bytes, - length, - freeBuffer, - ); + return __objc_msgSend_348(obj, sel, bytes, length, freeBuffer); } late final __objc_msgSend_348Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_348 = + __objc_msgSend_348Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_348 = __objc_msgSend_348Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, bool)>(); - - late final _sel_initWithCString_length_1 = - _registerName1("initWithCString:length:"); + int, + bool, + ) + >(); + + late final _sel_initWithCString_length_1 = _registerName1( + "initWithCString:length:", + ); late final _sel_initWithCString_1 = _registerName1("initWithCString:"); - late final _sel_stringWithCString_length_1 = - _registerName1("stringWithCString:length:"); + late final _sel_stringWithCString_length_1 = _registerName1( + "stringWithCString:length:", + ); late final _sel_stringWithCString_1 = _registerName1("stringWithCString:"); late final _sel_getCharacters_1 = _registerName1("getCharacters:"); void _objc_msgSend_349( @@ -9892,42 +12307,57 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer buffer, ) { - return __objc_msgSend_349( - obj, - sel, - buffer, - ); + return __objc_msgSend_349(obj, sel, buffer); } late final __objc_msgSend_349Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_349 = __objc_msgSend_349Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_variantFittingPresentationWidth_1 = - _registerName1("variantFittingPresentationWidth:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_349 = + __objc_msgSend_349Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_variantFittingPresentationWidth_1 = _registerName1( + "variantFittingPresentationWidth:", + ); ffi.Pointer _objc_msgSend_350( ffi.Pointer obj, ffi.Pointer sel, int width, ) { - return __objc_msgSend_350( - obj, - sel, - width, - ); + return __objc_msgSend_350(obj, sel, width); } late final __objc_msgSend_350Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_350 = __objc_msgSend_350Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_350 = + __objc_msgSend_350Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_pathWithComponents_1 = _registerName1("pathWithComponents:"); ffi.Pointer _objc_msgSend_351( @@ -9935,43 +12365,60 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer components, ) { - return __objc_msgSend_351( - obj, - sel, - components, - ); + return __objc_msgSend_351(obj, sel, components); } late final __objc_msgSend_351Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_351 = __objc_msgSend_351Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_351 = + __objc_msgSend_351Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isAbsolutePath1 = _registerName1("isAbsolutePath"); - late final _sel_stringByDeletingLastPathComponent1 = - _registerName1("stringByDeletingLastPathComponent"); - late final _sel_stringByAppendingPathComponent_1 = - _registerName1("stringByAppendingPathComponent:"); - late final _sel_stringByDeletingPathExtension1 = - _registerName1("stringByDeletingPathExtension"); - late final _sel_stringByAppendingPathExtension_1 = - _registerName1("stringByAppendingPathExtension:"); - late final _sel_stringByAbbreviatingWithTildeInPath1 = - _registerName1("stringByAbbreviatingWithTildeInPath"); - late final _sel_stringByExpandingTildeInPath1 = - _registerName1("stringByExpandingTildeInPath"); - late final _sel_stringByStandardizingPath1 = - _registerName1("stringByStandardizingPath"); - late final _sel_stringByResolvingSymlinksInPath1 = - _registerName1("stringByResolvingSymlinksInPath"); - late final _sel_stringsByAppendingPaths_1 = - _registerName1("stringsByAppendingPaths:"); + late final _sel_stringByDeletingLastPathComponent1 = _registerName1( + "stringByDeletingLastPathComponent", + ); + late final _sel_stringByAppendingPathComponent_1 = _registerName1( + "stringByAppendingPathComponent:", + ); + late final _sel_stringByDeletingPathExtension1 = _registerName1( + "stringByDeletingPathExtension", + ); + late final _sel_stringByAppendingPathExtension_1 = _registerName1( + "stringByAppendingPathExtension:", + ); + late final _sel_stringByAbbreviatingWithTildeInPath1 = _registerName1( + "stringByAbbreviatingWithTildeInPath", + ); + late final _sel_stringByExpandingTildeInPath1 = _registerName1( + "stringByExpandingTildeInPath", + ); + late final _sel_stringByStandardizingPath1 = _registerName1( + "stringByStandardizingPath", + ); + late final _sel_stringByResolvingSymlinksInPath1 = _registerName1( + "stringByResolvingSymlinksInPath", + ); + late final _sel_stringsByAppendingPaths_1 = _registerName1( + "stringsByAppendingPaths:", + ); late final _sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1 = _registerName1( - "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:"); + "completePathIntoString:caseSensitive:matchesIntoArray:filterTypes:", + ); int _objc_msgSend_352( ffi.Pointer obj, ffi.Pointer sel, @@ -9991,22 +12438,29 @@ class PedometerBindings { } late final __objc_msgSend_352Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Bool, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_352 = + __objc_msgSend_352Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Bool, + bool, ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_352 = __objc_msgSend_352Ptr.asFunction< - int Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - bool, - ffi.Pointer>, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_stringByAddingPercentEncodingWithAllowedCharacters_1 = _registerName1("stringByAddingPercentEncodingWithAllowedCharacters:"); @@ -10015,44 +12469,60 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer allowedCharacters, ) { - return __objc_msgSend_353( - obj, - sel, - allowedCharacters, - ); + return __objc_msgSend_353(obj, sel, allowedCharacters); } late final __objc_msgSend_353Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_353 = __objc_msgSend_353Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringByRemovingPercentEncoding1 = - _registerName1("stringByRemovingPercentEncoding"); - late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = - _registerName1("stringByAddingPercentEscapesUsingEncoding:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_353 = + __objc_msgSend_353Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringByRemovingPercentEncoding1 = _registerName1( + "stringByRemovingPercentEncoding", + ); + late final _sel_stringByAddingPercentEscapesUsingEncoding_1 = _registerName1( + "stringByAddingPercentEscapesUsingEncoding:", + ); ffi.Pointer _objc_msgSend_354( ffi.Pointer obj, ffi.Pointer sel, int enc, ) { - return __objc_msgSend_354( - obj, - sel, - enc, - ); + return __objc_msgSend_354(obj, sel, enc); } late final __objc_msgSend_354Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_354 = __objc_msgSend_354Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_354 = + __objc_msgSend_354Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_stringByReplacingPercentEscapesUsingEncoding_1 = _registerName1("stringByReplacingPercentEscapesUsingEncoding:"); @@ -10063,60 +12533,76 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_355( - obj, - sel, - ); + return __objc_msgSend_355(obj, sel); } late final __objc_msgSend_355Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_355 = __objc_msgSend_355Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_355 = + __objc_msgSend_355Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_initWithDominantScript_languageMap_1 = - _registerName1("initWithDominantScript:languageMap:"); + late final _sel_initWithDominantScript_languageMap_1 = _registerName1( + "initWithDominantScript:languageMap:", + ); instancetype _objc_msgSend_356( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer script, ffi.Pointer map, ) { - return __objc_msgSend_356( - obj, - sel, - script, - map, - ); + return __objc_msgSend_356(obj, sel, script, map); } late final __objc_msgSend_356Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_356 = + __objc_msgSend_356Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_356 = __objc_msgSend_356Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_languagesForScript_1 = _registerName1("languagesForScript:"); - late final _sel_dominantLanguageForScript_1 = - _registerName1("dominantLanguageForScript:"); + late final _sel_dominantLanguageForScript_1 = _registerName1( + "dominantLanguageForScript:", + ); late final _sel_dominantLanguage1 = _registerName1("dominantLanguage"); late final _sel_allScripts1 = _registerName1("allScripts"); late final _sel_allLanguages1 = _registerName1("allLanguages"); - late final _sel_defaultOrthographyForLanguage_1 = - _registerName1("defaultOrthographyForLanguage:"); - late final _sel_orthographyWithDominantScript_languageMap_1 = - _registerName1("orthographyWithDominantScript:languageMap:"); + late final _sel_defaultOrthographyForLanguage_1 = _registerName1( + "defaultOrthographyForLanguage:", + ); + late final _sel_orthographyWithDominantScript_languageMap_1 = _registerName1( + "orthographyWithDominantScript:languageMap:", + ); late final _sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1 = _registerName1( - "linguisticTagsInRange:scheme:options:orthography:tokenRanges:"); + "linguisticTagsInRange:scheme:options:orthography:tokenRanges:", + ); ffi.Pointer _objc_msgSend_357( ffi.Pointer obj, ffi.Pointer sel, @@ -10138,28 +12624,36 @@ class PedometerBindings { } late final __objc_msgSend_357Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_357 = + __objc_msgSend_357Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_357 = __objc_msgSend_357Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1 = _registerName1( - "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:"); + "enumerateLinguisticTagsInRange:scheme:options:orthography:usingBlock:", + ); void _objc_msgSend_358( ffi.Pointer obj, ffi.Pointer sel, @@ -10181,24 +12675,31 @@ class PedometerBindings { } late final __objc_msgSend_358Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_358 = + __objc_msgSend_358Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_358 = __objc_msgSend_358Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_anyObject1 = _registerName1("anyObject"); late final _sel_intersectsSet_1 = _registerName1("intersectsSet:"); @@ -10207,20 +12708,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer otherSet, ) { - return __objc_msgSend_359( - obj, - sel, - otherSet, - ); + return __objc_msgSend_359(obj, sel, otherSet); } late final __objc_msgSend_359Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_359 = __objc_msgSend_359Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_359 = + __objc_msgSend_359Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isEqualToSet_1 = _registerName1("isEqualToSet:"); late final _sel_isSubsetOfSet_1 = _registerName1("isSubsetOfSet:"); @@ -10230,84 +12738,114 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer anObject, ) { - return __objc_msgSend_360( - obj, - sel, - anObject, - ); + return __objc_msgSend_360(obj, sel, anObject); } late final __objc_msgSend_360Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_360 = __objc_msgSend_360Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setByAddingObjectsFromSet_1 = - _registerName1("setByAddingObjectsFromSet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_360 = + __objc_msgSend_360Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setByAddingObjectsFromSet_1 = _registerName1( + "setByAddingObjectsFromSet:", + ); ffi.Pointer _objc_msgSend_361( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer other, ) { - return __objc_msgSend_361( - obj, - sel, - other, - ); + return __objc_msgSend_361(obj, sel, other); } late final __objc_msgSend_361Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_361 = __objc_msgSend_361Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setByAddingObjectsFromArray_1 = - _registerName1("setByAddingObjectsFromArray:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_361 = + __objc_msgSend_361Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setByAddingObjectsFromArray_1 = _registerName1( + "setByAddingObjectsFromArray:", + ); ffi.Pointer _objc_msgSend_362( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer other, ) { - return __objc_msgSend_362( - obj, - sel, - other, - ); + return __objc_msgSend_362(obj, sel, other); } late final __objc_msgSend_362Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_362 = __objc_msgSend_362Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_362 = + __objc_msgSend_362Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_363( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_363( - obj, - sel, - block, - ); + return __objc_msgSend_363(obj, sel, block); } late final __objc_msgSend_363Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_363 = __objc_msgSend_363Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_363 = + __objc_msgSend_363Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); void _objc_msgSend_364( ffi.Pointer obj, @@ -10315,21 +12853,29 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_364( - obj, - sel, - opts, - block, - ); + return __objc_msgSend_364(obj, sel, opts, block); } late final __objc_msgSend_364Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_364 = __objc_msgSend_364Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_364 = + __objc_msgSend_364Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_objectsPassingTest_1 = _registerName1("objectsPassingTest:"); ffi.Pointer _objc_msgSend_365( @@ -10337,52 +12883,66 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_365( - obj, - sel, - predicate, - ); + return __objc_msgSend_365(obj, sel, predicate); } late final __objc_msgSend_365Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_365 = __objc_msgSend_365Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_objectsWithOptions_passingTest_1 = - _registerName1("objectsWithOptions:passingTest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_365 = + __objc_msgSend_365Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_objectsWithOptions_passingTest_1 = _registerName1( + "objectsWithOptions:passingTest:", + ); ffi.Pointer _objc_msgSend_366( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> predicate, ) { - return __objc_msgSend_366( - obj, - sel, - opts, - predicate, - ); + return __objc_msgSend_366(obj, sel, opts, predicate); } late final __objc_msgSend_366Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_366 = + __objc_msgSend_366Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_366 = __objc_msgSend_366Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_set1 = _registerName1("set"); late final _sel_setWithObject_1 = _registerName1("setWithObject:"); - late final _sel_setWithObjects_count_1 = - _registerName1("setWithObjects:count:"); + late final _sel_setWithObjects_count_1 = _registerName1( + "setWithObjects:count:", + ); late final _sel_setWithObjects_1 = _registerName1("setWithObjects:"); late final _sel_setWithSet_1 = _registerName1("setWithSet:"); instancetype _objc_msgSend_367( @@ -10390,109 +12950,147 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer set1, ) { - return __objc_msgSend_367( - obj, - sel, - set1, - ); + return __objc_msgSend_367(obj, sel, set1); } late final __objc_msgSend_367Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_367 = __objc_msgSend_367Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_367 = + __objc_msgSend_367Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setWithArray_1 = _registerName1("setWithArray:"); late final _sel_initWithSet_1 = _registerName1("initWithSet:"); - late final _sel_initWithSet_copyItems_1 = - _registerName1("initWithSet:copyItems:"); + late final _sel_initWithSet_copyItems_1 = _registerName1( + "initWithSet:copyItems:", + ); instancetype _objc_msgSend_368( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer set1, bool flag, ) { - return __objc_msgSend_368( - obj, - sel, - set1, - flag, - ); + return __objc_msgSend_368(obj, sel, set1, flag); } late final __objc_msgSend_368Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_368 = __objc_msgSend_368Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_filteredSetUsingPredicate_1 = - _registerName1("filteredSetUsingPredicate:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_368 = + __objc_msgSend_368Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_filteredSetUsingPredicate_1 = _registerName1( + "filteredSetUsingPredicate:", + ); ffi.Pointer _objc_msgSend_369( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer predicate, ) { - return __objc_msgSend_369( - obj, - sel, - predicate, - ); + return __objc_msgSend_369(obj, sel, predicate); } late final __objc_msgSend_369Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_369 = __objc_msgSend_369Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_invocationWithMethodSignature_1 = - _registerName1("invocationWithMethodSignature:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_369 = + __objc_msgSend_369Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_invocationWithMethodSignature_1 = _registerName1( + "invocationWithMethodSignature:", + ); ffi.Pointer _objc_msgSend_370( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer sig, ) { - return __objc_msgSend_370( - obj, - sel, - sig, - ); + return __objc_msgSend_370(obj, sel, sig); } late final __objc_msgSend_370Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_370 = __objc_msgSend_370Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_370 = + __objc_msgSend_370Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_methodSignature1 = _registerName1("methodSignature"); ffi.Pointer _objc_msgSend_371( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_371( - obj, - sel, - ); + return __objc_msgSend_371(obj, sel); } late final __objc_msgSend_371Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_371 = __objc_msgSend_371Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_371 = + __objc_msgSend_371Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_retainArguments1 = _registerName1("retainArguments"); late final _sel_argumentsRetained1 = _registerName1("argumentsRetained"); @@ -10503,39 +13101,52 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_372( - obj, - sel, - value, - ); + return __objc_msgSend_372(obj, sel, value); } late final __objc_msgSend_372Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_372 = __objc_msgSend_372Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_372 = + __objc_msgSend_372Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_selector1 = _registerName1("selector"); ffi.Pointer _objc_msgSend_373( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_373( - obj, - sel, - ); + return __objc_msgSend_373(obj, sel); } late final __objc_msgSend_373Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_373 = __objc_msgSend_373Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_373 = + __objc_msgSend_373Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setSelector_1 = _registerName1("setSelector:"); void _objc_msgSend_374( @@ -10543,49 +13154,66 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_374( - obj, - sel, - value, - ); + return __objc_msgSend_374(obj, sel, value); } late final __objc_msgSend_374Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_374 = __objc_msgSend_374Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_374 = + __objc_msgSend_374Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getReturnValue_1 = _registerName1("getReturnValue:"); late final _sel_setReturnValue_1 = _registerName1("setReturnValue:"); - late final _sel_getArgument_atIndex_1 = - _registerName1("getArgument:atIndex:"); + late final _sel_getArgument_atIndex_1 = _registerName1( + "getArgument:atIndex:", + ); void _objc_msgSend_375( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer argumentLocation, int idx, ) { - return __objc_msgSend_375( - obj, - sel, - argumentLocation, - idx, - ); + return __objc_msgSend_375(obj, sel, argumentLocation, idx); } late final __objc_msgSend_375Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_375 = __objc_msgSend_375Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_setArgument_atIndex_1 = - _registerName1("setArgument:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_375 = + __objc_msgSend_375Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_setArgument_atIndex_1 = _registerName1( + "setArgument:atIndex:", + ); late final _sel_invoke1 = _registerName1("invoke"); late final _sel_invokeWithTarget_1 = _registerName1("invokeWithTarget:"); late final _sel_invokeUsingIMP_1 = _registerName1("invokeUsingIMP:"); @@ -10594,21 +13222,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer> imp, ) { - return __objc_msgSend_376( - obj, - sel, - imp, - ); + return __objc_msgSend_376(obj, sel, imp); } late final __objc_msgSend_376Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>( - 'objc_msgSend'); - late final __objc_msgSend_376 = __objc_msgSend_376Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_376 = + __objc_msgSend_376Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + >(); late final _sel_forwardInvocation_1 = _registerName1("forwardInvocation:"); void _objc_msgSend_377( @@ -10616,51 +13250,68 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer anInvocation, ) { - return __objc_msgSend_377( - obj, - sel, - anInvocation, - ); + return __objc_msgSend_377(obj, sel, anInvocation); } late final __objc_msgSend_377Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_377 = __objc_msgSend_377Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_methodSignatureForSelector_1 = - _registerName1("methodSignatureForSelector:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_377 = + __objc_msgSend_377Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_methodSignatureForSelector_1 = _registerName1( + "methodSignatureForSelector:", + ); ffi.Pointer _objc_msgSend_378( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aSelector, ) { - return __objc_msgSend_378( - obj, - sel, - aSelector, - ); + return __objc_msgSend_378(obj, sel, aSelector); } late final __objc_msgSend_378Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_378 = __objc_msgSend_378Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_instanceMethodSignatureForSelector_1 = - _registerName1("instanceMethodSignatureForSelector:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_378 = + __objc_msgSend_378Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_instanceMethodSignatureForSelector_1 = _registerName1( + "instanceMethodSignatureForSelector:", + ); late final _sel_allowsWeakReference1 = _registerName1("allowsWeakReference"); late final _sel_retainWeakReference1 = _registerName1("retainWeakReference"); late final _sel_isSubclassOfClass_1 = _registerName1("isSubclassOfClass:"); late final _sel_resolveClassMethod_1 = _registerName1("resolveClassMethod:"); - late final _sel_resolveInstanceMethod_1 = - _registerName1("resolveInstanceMethod:"); + late final _sel_resolveInstanceMethod_1 = _registerName1( + "resolveInstanceMethod:", + ); late final _sel_superclass1 = _registerName1("superclass"); late final _sel_class1 = _registerName1("class"); late final _sel_debugDescription1 = _registerName1("debugDescription"); @@ -10671,31 +13322,35 @@ class PedometerBindings { ffi.Pointer sel, int aVersion, ) { - return __objc_msgSend_379( - obj, - sel, - aVersion, - ); + return __objc_msgSend_379(obj, sel, aVersion); } late final __objc_msgSend_379Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_379 = __objc_msgSend_379Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Long) + > + >('objc_msgSend'); + late final __objc_msgSend_379 = + __objc_msgSend_379Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_classForCoder1 = _registerName1("classForCoder"); - late final _sel_replacementObjectForCoder_1 = - _registerName1("replacementObjectForCoder:"); - late final _sel_awakeAfterUsingCoder_1 = - _registerName1("awakeAfterUsingCoder:"); + late final _sel_replacementObjectForCoder_1 = _registerName1( + "replacementObjectForCoder:", + ); + late final _sel_awakeAfterUsingCoder_1 = _registerName1( + "awakeAfterUsingCoder:", + ); late final _sel_poseAsClass_1 = _registerName1("poseAsClass:"); - late final _sel_autoContentAccessingProxy1 = - _registerName1("autoContentAccessingProxy"); + late final _sel_autoContentAccessingProxy1 = _registerName1( + "autoContentAccessingProxy", + ); late final _sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1 = _registerName1( - "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:"); + "attemptRecoveryFromError:optionIndex:delegate:didRecoverSelector:contextInfo:", + ); void _objc_msgSend_380( ffi.Pointer obj, ffi.Pointer sel, @@ -10717,48 +13372,64 @@ class PedometerBindings { } late final __objc_msgSend_380Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_380 = + __objc_msgSend_380Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_380 = __objc_msgSend_380Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_attemptRecoveryFromError_optionIndex_1 = - _registerName1("attemptRecoveryFromError:optionIndex:"); + late final _sel_attemptRecoveryFromError_optionIndex_1 = _registerName1( + "attemptRecoveryFromError:optionIndex:", + ); bool _objc_msgSend_381( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer error, int recoveryOptionIndex, ) { - return __objc_msgSend_381( - obj, - sel, - error, - recoveryOptionIndex, - ); + return __objc_msgSend_381(obj, sel, error, recoveryOptionIndex); } late final __objc_msgSend_381Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_381 = __objc_msgSend_381Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_381 = + __objc_msgSend_381Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_performSelector_withObject_afterDelay_inModes_1 = _registerName1("performSelector:withObject:afterDelay:inModes:"); @@ -10770,36 +13441,37 @@ class PedometerBindings { double delay, ffi.Pointer modes, ) { - return __objc_msgSend_382( - obj, - sel, - aSelector, - anArgument, - delay, - modes, - ); + return __objc_msgSend_382(obj, sel, aSelector, anArgument, delay, modes); } late final __objc_msgSend_382Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_382 = + __objc_msgSend_382Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_382 = __objc_msgSend_382Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer)>(); + double, + ffi.Pointer, + ) + >(); - late final _sel_performSelector_withObject_afterDelay_1 = - _registerName1("performSelector:withObject:afterDelay:"); + late final _sel_performSelector_withObject_afterDelay_1 = _registerName1( + "performSelector:withObject:afterDelay:", + ); void _objc_msgSend_383( ffi.Pointer obj, ffi.Pointer sel, @@ -10807,104 +13479,130 @@ class PedometerBindings { ffi.Pointer anArgument, double delay, ) { - return __objc_msgSend_383( - obj, - sel, - aSelector, - anArgument, - delay, - ); + return __objc_msgSend_383(obj, sel, aSelector, anArgument, delay); } late final __objc_msgSend_383Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_383 = + __objc_msgSend_383Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_383 = __objc_msgSend_383Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, double)>(); + double, + ) + >(); - late final _sel_URL_resourceDataDidBecomeAvailable_1 = - _registerName1("URL:resourceDataDidBecomeAvailable:"); + late final _sel_URL_resourceDataDidBecomeAvailable_1 = _registerName1( + "URL:resourceDataDidBecomeAvailable:", + ); void _objc_msgSend_384( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer sender, ffi.Pointer newBytes, ) { - return __objc_msgSend_384( - obj, - sel, - sender, - newBytes, - ); + return __objc_msgSend_384(obj, sel, sender, newBytes); } late final __objc_msgSend_384Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_384 = + __objc_msgSend_384Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_384 = __objc_msgSend_384Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_URLResourceDidFinishLoading_1 = - _registerName1("URLResourceDidFinishLoading:"); + late final _sel_URLResourceDidFinishLoading_1 = _registerName1( + "URLResourceDidFinishLoading:", + ); void _objc_msgSend_385( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer sender, ) { - return __objc_msgSend_385( - obj, - sel, - sender, - ); + return __objc_msgSend_385(obj, sel, sender); } late final __objc_msgSend_385Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_385 = __objc_msgSend_385Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLResourceDidCancelLoading_1 = - _registerName1("URLResourceDidCancelLoading:"); - late final _sel_URL_resourceDidFailLoadingWithReason_1 = - _registerName1("URL:resourceDidFailLoadingWithReason:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_385 = + __objc_msgSend_385Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLResourceDidCancelLoading_1 = _registerName1( + "URLResourceDidCancelLoading:", + ); + late final _sel_URL_resourceDidFailLoadingWithReason_1 = _registerName1( + "URL:resourceDidFailLoadingWithReason:", + ); void _objc_msgSend_386( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer sender, ffi.Pointer reason, ) { - return __objc_msgSend_386( - obj, - sel, - sender, - reason, - ); + return __objc_msgSend_386(obj, sel, sender, reason); } late final __objc_msgSend_386Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_386 = + __objc_msgSend_386Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_386 = __objc_msgSend_386Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _class_NSFileManager1 = _getClass1("NSFileManager"); late final _sel_defaultManager1 = _registerName1("defaultManager"); @@ -10912,47 +13610,59 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_387( - obj, - sel, - ); + return __objc_msgSend_387(obj, sel); } late final __objc_msgSend_387Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_387 = __objc_msgSend_387Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_387 = + __objc_msgSend_387Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1 = _registerName1( - "mountedVolumeURLsIncludingResourceValuesForKeys:options:"); + "mountedVolumeURLsIncludingResourceValuesForKeys:options:", + ); ffi.Pointer _objc_msgSend_388( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer propertyKeys, int options, ) { - return __objc_msgSend_388( - obj, - sel, - propertyKeys, - options, - ); + return __objc_msgSend_388(obj, sel, propertyKeys, options); } late final __objc_msgSend_388Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_388 = + __objc_msgSend_388Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_388 = __objc_msgSend_388Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_unmountVolumeAtURL_options_completionHandler_1 = _registerName1("unmountVolumeAtURL:options:completionHandler:"); @@ -10963,30 +13673,36 @@ class PedometerBindings { int mask, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_389( - obj, - sel, - url, - mask, - completionHandler, - ); + return __objc_msgSend_389(obj, sel, url, mask, completionHandler); } late final __objc_msgSend_389Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_389 = + __objc_msgSend_389Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_389 = __objc_msgSend_389Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1 = _registerName1( - "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:"); + "contentsOfDirectoryAtURL:includingPropertiesForKeys:options:error:", + ); ffi.Pointer _objc_msgSend_390( ffi.Pointer obj, ffi.Pointer sel, @@ -10995,61 +13711,71 @@ class PedometerBindings { int mask, ffi.Pointer> error, ) { - return __objc_msgSend_390( - obj, - sel, - url, - keys, - mask, - error, - ); + return __objc_msgSend_390(obj, sel, url, keys, mask, error); } late final __objc_msgSend_390Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_390 = + __objc_msgSend_390Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_390 = __objc_msgSend_390Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); - late final _sel_URLsForDirectory_inDomains_1 = - _registerName1("URLsForDirectory:inDomains:"); + late final _sel_URLsForDirectory_inDomains_1 = _registerName1( + "URLsForDirectory:inDomains:", + ); ffi.Pointer _objc_msgSend_391( ffi.Pointer obj, ffi.Pointer sel, int directory, int domainMask, ) { - return __objc_msgSend_391( - obj, - sel, - directory, - domainMask, - ); + return __objc_msgSend_391(obj, sel, directory, domainMask); } late final __objc_msgSend_391Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_391 = __objc_msgSend_391Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_391 = + __objc_msgSend_391Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_URLForDirectory_inDomain_appropriateForURL_create_error_1 = _registerName1( - "URLForDirectory:inDomain:appropriateForURL:create:error:"); + "URLForDirectory:inDomain:appropriateForURL:create:error:", + ); ffi.Pointer _objc_msgSend_392( ffi.Pointer obj, ffi.Pointer sel, @@ -11071,24 +13797,31 @@ class PedometerBindings { } late final __objc_msgSend_392Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_392 = + __objc_msgSend_392Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ffi.Bool, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_392 = __objc_msgSend_392Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - bool, - ffi.Pointer>)>(); + bool, + ffi.Pointer>, + ) + >(); late final _sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1 = _registerName1("getRelationship:ofDirectoryAtURL:toItemAtURL:error:"); @@ -11111,22 +13844,29 @@ class PedometerBindings { } late final __objc_msgSend_393Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_393 = + __objc_msgSend_393Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_393 = __objc_msgSend_393Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1 = _registerName1("getRelationship:ofDirectory:inDomain:toItemAtURL:error:"); @@ -11151,28 +13891,36 @@ class PedometerBindings { } late final __objc_msgSend_394Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_394 = + __objc_msgSend_394Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, + int, + int, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_394 = __objc_msgSend_394Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - int, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1 = _registerName1( - "createDirectoryAtURL:withIntermediateDirectories:attributes:error:"); + "createDirectoryAtURL:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_395( ffi.Pointer obj, ffi.Pointer sel, @@ -11192,22 +13940,29 @@ class PedometerBindings { } late final __objc_msgSend_395Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_395 = + __objc_msgSend_395Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_395 = __objc_msgSend_395Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_createSymbolicLinkAtURL_withDestinationURL_error_1 = _registerName1("createSymbolicLinkAtURL:withDestinationURL:error:"); @@ -11218,35 +13973,37 @@ class PedometerBindings { ffi.Pointer destURL, ffi.Pointer> error, ) { - return __objc_msgSend_396( - obj, - sel, - url, - destURL, - error, - ); + return __objc_msgSend_396(obj, sel, url, destURL, error); } late final __objc_msgSend_396Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_396 = + __objc_msgSend_396Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_396 = __objc_msgSend_396Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_delegate1 = _registerName1("delegate"); late final _sel_setDelegate_1 = _registerName1("setDelegate:"); - late final _sel_setAttributes_ofItemAtPath_error_1 = - _registerName1("setAttributes:ofItemAtPath:error:"); + late final _sel_setAttributes_ofItemAtPath_error_1 = _registerName1( + "setAttributes:ofItemAtPath:error:", + ); bool _objc_msgSend_397( ffi.Pointer obj, ffi.Pointer sel, @@ -11254,34 +14011,36 @@ class PedometerBindings { ffi.Pointer path, ffi.Pointer> error, ) { - return __objc_msgSend_397( - obj, - sel, - attributes, - path, - error, - ); + return __objc_msgSend_397(obj, sel, attributes, path, error); } late final __objc_msgSend_397Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_397 = + __objc_msgSend_397Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_397 = __objc_msgSend_397Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1 = _registerName1( - "createDirectoryAtPath:withIntermediateDirectories:attributes:error:"); + "createDirectoryAtPath:withIntermediateDirectories:attributes:error:", + ); bool _objc_msgSend_398( ffi.Pointer obj, ffi.Pointer sel, @@ -11301,87 +14060,102 @@ class PedometerBindings { } late final __objc_msgSend_398Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_398 = + __objc_msgSend_398Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_398 = __objc_msgSend_398Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_contentsOfDirectoryAtPath_error_1 = - _registerName1("contentsOfDirectoryAtPath:error:"); + late final _sel_contentsOfDirectoryAtPath_error_1 = _registerName1( + "contentsOfDirectoryAtPath:error:", + ); ffi.Pointer _objc_msgSend_399( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer> error, ) { - return __objc_msgSend_399( - obj, - sel, - path, - error, - ); + return __objc_msgSend_399(obj, sel, path, error); } late final __objc_msgSend_399Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_399 = + __objc_msgSend_399Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_399 = __objc_msgSend_399Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_subpathsOfDirectoryAtPath_error_1 = - _registerName1("subpathsOfDirectoryAtPath:error:"); - late final _sel_attributesOfItemAtPath_error_1 = - _registerName1("attributesOfItemAtPath:error:"); + ffi.Pointer>, + ) + >(); + + late final _sel_subpathsOfDirectoryAtPath_error_1 = _registerName1( + "subpathsOfDirectoryAtPath:error:", + ); + late final _sel_attributesOfItemAtPath_error_1 = _registerName1( + "attributesOfItemAtPath:error:", + ); ffi.Pointer _objc_msgSend_400( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer> error, ) { - return __objc_msgSend_400( - obj, - sel, - path, - error, - ); + return __objc_msgSend_400(obj, sel, path, error); } late final __objc_msgSend_400Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_400 = + __objc_msgSend_400Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_400 = __objc_msgSend_400Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_attributesOfFileSystemForPath_error_1 = - _registerName1("attributesOfFileSystemForPath:error:"); + late final _sel_attributesOfFileSystemForPath_error_1 = _registerName1( + "attributesOfFileSystemForPath:error:", + ); late final _sel_createSymbolicLinkAtPath_withDestinationPath_error_1 = _registerName1("createSymbolicLinkAtPath:withDestinationPath:error:"); bool _objc_msgSend_401( @@ -11391,104 +14165,122 @@ class PedometerBindings { ffi.Pointer destPath, ffi.Pointer> error, ) { - return __objc_msgSend_401( - obj, - sel, - path, - destPath, - error, - ); + return __objc_msgSend_401(obj, sel, path, destPath, error); } late final __objc_msgSend_401Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_401 = + __objc_msgSend_401Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_401 = __objc_msgSend_401Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_destinationOfSymbolicLinkAtPath_error_1 = - _registerName1("destinationOfSymbolicLinkAtPath:error:"); + late final _sel_destinationOfSymbolicLinkAtPath_error_1 = _registerName1( + "destinationOfSymbolicLinkAtPath:error:", + ); ffi.Pointer _objc_msgSend_402( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer> error, ) { - return __objc_msgSend_402( - obj, - sel, - path, - error, - ); + return __objc_msgSend_402(obj, sel, path, error); } late final __objc_msgSend_402Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_402 = + __objc_msgSend_402Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_402 = __objc_msgSend_402Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); - - late final _sel_copyItemAtPath_toPath_error_1 = - _registerName1("copyItemAtPath:toPath:error:"); - late final _sel_moveItemAtPath_toPath_error_1 = - _registerName1("moveItemAtPath:toPath:error:"); - late final _sel_linkItemAtPath_toPath_error_1 = - _registerName1("linkItemAtPath:toPath:error:"); - late final _sel_removeItemAtPath_error_1 = - _registerName1("removeItemAtPath:error:"); + ffi.Pointer>, + ) + >(); + + late final _sel_copyItemAtPath_toPath_error_1 = _registerName1( + "copyItemAtPath:toPath:error:", + ); + late final _sel_moveItemAtPath_toPath_error_1 = _registerName1( + "moveItemAtPath:toPath:error:", + ); + late final _sel_linkItemAtPath_toPath_error_1 = _registerName1( + "linkItemAtPath:toPath:error:", + ); + late final _sel_removeItemAtPath_error_1 = _registerName1( + "removeItemAtPath:error:", + ); bool _objc_msgSend_403( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer> error, ) { - return __objc_msgSend_403( - obj, - sel, - path, - error, - ); + return __objc_msgSend_403(obj, sel, path, error); } late final __objc_msgSend_403Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_403 = + __objc_msgSend_403Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_403 = __objc_msgSend_403Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_copyItemAtURL_toURL_error_1 = - _registerName1("copyItemAtURL:toURL:error:"); - late final _sel_moveItemAtURL_toURL_error_1 = - _registerName1("moveItemAtURL:toURL:error:"); - late final _sel_linkItemAtURL_toURL_error_1 = - _registerName1("linkItemAtURL:toURL:error:"); - late final _sel_removeItemAtURL_error_1 = - _registerName1("removeItemAtURL:error:"); - late final _sel_trashItemAtURL_resultingItemURL_error_1 = - _registerName1("trashItemAtURL:resultingItemURL:error:"); + ffi.Pointer>, + ) + >(); + + late final _sel_copyItemAtURL_toURL_error_1 = _registerName1( + "copyItemAtURL:toURL:error:", + ); + late final _sel_moveItemAtURL_toURL_error_1 = _registerName1( + "moveItemAtURL:toURL:error:", + ); + late final _sel_linkItemAtURL_toURL_error_1 = _registerName1( + "linkItemAtURL:toURL:error:", + ); + late final _sel_removeItemAtURL_error_1 = _registerName1( + "removeItemAtURL:error:", + ); + late final _sel_trashItemAtURL_resultingItemURL_error_1 = _registerName1( + "trashItemAtURL:resultingItemURL:error:", + ); bool _objc_msgSend_404( ffi.Pointer obj, ffi.Pointer sel, @@ -11496,147 +14288,176 @@ class PedometerBindings { ffi.Pointer> outResultingURL, ffi.Pointer> error, ) { - return __objc_msgSend_404( - obj, - sel, - url, - outResultingURL, - error, - ); + return __objc_msgSend_404(obj, sel, url, outResultingURL, error); } late final __objc_msgSend_404Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_404 = + __objc_msgSend_404Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_404 = __objc_msgSend_404Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_fileAttributesAtPath_traverseLink_1 = - _registerName1("fileAttributesAtPath:traverseLink:"); + late final _sel_fileAttributesAtPath_traverseLink_1 = _registerName1( + "fileAttributesAtPath:traverseLink:", + ); ffi.Pointer _objc_msgSend_405( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, bool yorn, ) { - return __objc_msgSend_405( - obj, - sel, - path, - yorn, - ); + return __objc_msgSend_405(obj, sel, path, yorn); } late final __objc_msgSend_405Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_405 = + __objc_msgSend_405Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_405 = __objc_msgSend_405Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); + bool, + ) + >(); - late final _sel_changeFileAttributes_atPath_1 = - _registerName1("changeFileAttributes:atPath:"); + late final _sel_changeFileAttributes_atPath_1 = _registerName1( + "changeFileAttributes:atPath:", + ); bool _objc_msgSend_406( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer attributes, ffi.Pointer path, ) { - return __objc_msgSend_406( - obj, - sel, - attributes, - path, - ); + return __objc_msgSend_406(obj, sel, attributes, path); } late final __objc_msgSend_406Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_406 = + __objc_msgSend_406Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_406 = __objc_msgSend_406Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_directoryContentsAtPath_1 = - _registerName1("directoryContentsAtPath:"); - late final _sel_fileSystemAttributesAtPath_1 = - _registerName1("fileSystemAttributesAtPath:"); - late final _sel_pathContentOfSymbolicLinkAtPath_1 = - _registerName1("pathContentOfSymbolicLinkAtPath:"); - late final _sel_createSymbolicLinkAtPath_pathContent_1 = - _registerName1("createSymbolicLinkAtPath:pathContent:"); + ffi.Pointer, + ) + >(); + + late final _sel_directoryContentsAtPath_1 = _registerName1( + "directoryContentsAtPath:", + ); + late final _sel_fileSystemAttributesAtPath_1 = _registerName1( + "fileSystemAttributesAtPath:", + ); + late final _sel_pathContentOfSymbolicLinkAtPath_1 = _registerName1( + "pathContentOfSymbolicLinkAtPath:", + ); + late final _sel_createSymbolicLinkAtPath_pathContent_1 = _registerName1( + "createSymbolicLinkAtPath:pathContent:", + ); bool _objc_msgSend_407( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer otherpath, ) { - return __objc_msgSend_407( - obj, - sel, - path, - otherpath, - ); + return __objc_msgSend_407(obj, sel, path, otherpath); } late final __objc_msgSend_407Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_407 = + __objc_msgSend_407Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_407 = __objc_msgSend_407Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_createDirectoryAtPath_attributes_1 = - _registerName1("createDirectoryAtPath:attributes:"); + late final _sel_createDirectoryAtPath_attributes_1 = _registerName1( + "createDirectoryAtPath:attributes:", + ); bool _objc_msgSend_408( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer attributes, ) { - return __objc_msgSend_408( - obj, - sel, - path, - attributes, - ); + return __objc_msgSend_408(obj, sel, path, attributes); } late final __objc_msgSend_408Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_408 = + __objc_msgSend_408Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_408 = __objc_msgSend_408Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_linkPath_toPath_handler_1 = - _registerName1("linkPath:toPath:handler:"); + late final _sel_linkPath_toPath_handler_1 = _registerName1( + "linkPath:toPath:handler:", + ); bool _objc_msgSend_409( ffi.Pointer obj, ffi.Pointer sel, @@ -11644,108 +14465,135 @@ class PedometerBindings { ffi.Pointer dest, ffi.Pointer handler, ) { - return __objc_msgSend_409( - obj, - sel, - src, - dest, - handler, - ); + return __objc_msgSend_409(obj, sel, src, dest, handler); } late final __objc_msgSend_409Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_409 = + __objc_msgSend_409Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_409 = __objc_msgSend_409Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_copyPath_toPath_handler_1 = - _registerName1("copyPath:toPath:handler:"); - late final _sel_movePath_toPath_handler_1 = - _registerName1("movePath:toPath:handler:"); - late final _sel_removeFileAtPath_handler_1 = - _registerName1("removeFileAtPath:handler:"); + ffi.Pointer, + ) + >(); + + late final _sel_copyPath_toPath_handler_1 = _registerName1( + "copyPath:toPath:handler:", + ); + late final _sel_movePath_toPath_handler_1 = _registerName1( + "movePath:toPath:handler:", + ); + late final _sel_removeFileAtPath_handler_1 = _registerName1( + "removeFileAtPath:handler:", + ); bool _objc_msgSend_410( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer handler, ) { - return __objc_msgSend_410( - obj, - sel, - path, - handler, - ); + return __objc_msgSend_410(obj, sel, path, handler); } late final __objc_msgSend_410Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_410 = + __objc_msgSend_410Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_410 = __objc_msgSend_410Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_currentDirectoryPath1 = - _registerName1("currentDirectoryPath"); - late final _sel_changeCurrentDirectoryPath_1 = - _registerName1("changeCurrentDirectoryPath:"); + late final _sel_currentDirectoryPath1 = _registerName1( + "currentDirectoryPath", + ); + late final _sel_changeCurrentDirectoryPath_1 = _registerName1( + "changeCurrentDirectoryPath:", + ); late final _sel_fileExistsAtPath_1 = _registerName1("fileExistsAtPath:"); - late final _sel_fileExistsAtPath_isDirectory_1 = - _registerName1("fileExistsAtPath:isDirectory:"); + late final _sel_fileExistsAtPath_isDirectory_1 = _registerName1( + "fileExistsAtPath:isDirectory:", + ); bool _objc_msgSend_411( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ffi.Pointer isDirectory, ) { - return __objc_msgSend_411( - obj, - sel, - path, - isDirectory, - ); + return __objc_msgSend_411(obj, sel, path, isDirectory); } late final __objc_msgSend_411Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_411 = __objc_msgSend_411Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isReadableFileAtPath_1 = - _registerName1("isReadableFileAtPath:"); - late final _sel_isWritableFileAtPath_1 = - _registerName1("isWritableFileAtPath:"); - late final _sel_isExecutableFileAtPath_1 = - _registerName1("isExecutableFileAtPath:"); - late final _sel_isDeletableFileAtPath_1 = - _registerName1("isDeletableFileAtPath:"); - late final _sel_contentsEqualAtPath_andPath_1 = - _registerName1("contentsEqualAtPath:andPath:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_411 = + __objc_msgSend_411Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isReadableFileAtPath_1 = _registerName1( + "isReadableFileAtPath:", + ); + late final _sel_isWritableFileAtPath_1 = _registerName1( + "isWritableFileAtPath:", + ); + late final _sel_isExecutableFileAtPath_1 = _registerName1( + "isExecutableFileAtPath:", + ); + late final _sel_isDeletableFileAtPath_1 = _registerName1( + "isDeletableFileAtPath:", + ); + late final _sel_contentsEqualAtPath_andPath_1 = _registerName1( + "contentsEqualAtPath:andPath:", + ); late final _sel_displayNameAtPath_1 = _registerName1("displayNameAtPath:"); - late final _sel_componentsToDisplayForPath_1 = - _registerName1("componentsToDisplayForPath:"); + late final _sel_componentsToDisplayForPath_1 = _registerName1( + "componentsToDisplayForPath:", + ); late final _sel_enumeratorAtPath_1 = _registerName1("enumeratorAtPath:"); late final _sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1 = _registerName1( - "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:"); + "enumeratorAtURL:includingPropertiesForKeys:options:errorHandler:", + ); ffi.Pointer _objc_msgSend_412( ffi.Pointer obj, ffi.Pointer sel, @@ -11754,33 +14602,33 @@ class PedometerBindings { int mask, ffi.Pointer<_ObjCBlock> handler, ) { - return __objc_msgSend_412( - obj, - sel, - url, - keys, - mask, - handler, - ); + return __objc_msgSend_412(obj, sel, url, keys, mask, handler); } late final __objc_msgSend_412Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_412 = + __objc_msgSend_412Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_412 = __objc_msgSend_412Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_subpathsAtPath_1 = _registerName1("subpathsAtPath:"); late final _sel_contentsAtPath_1 = _registerName1("contentsAtPath:"); @@ -11789,23 +14637,31 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer path, ) { - return __objc_msgSend_413( - obj, - sel, - path, - ); + return __objc_msgSend_413(obj, sel, path); } late final __objc_msgSend_413Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_413 = __objc_msgSend_413Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_createFileAtPath_contents_attributes_1 = - _registerName1("createFileAtPath:contents:attributes:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_413 = + __objc_msgSend_413Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_createFileAtPath_contents_attributes_1 = _registerName1( + "createFileAtPath:contents:attributes:", + ); bool _objc_msgSend_414( ffi.Pointer obj, ffi.Pointer sel, @@ -11813,83 +14669,99 @@ class PedometerBindings { ffi.Pointer data, ffi.Pointer attr, ) { - return __objc_msgSend_414( - obj, - sel, - path, - data, - attr, - ); + return __objc_msgSend_414(obj, sel, path, data, attr); } late final __objc_msgSend_414Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_414 = + __objc_msgSend_414Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_414 = __objc_msgSend_414Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_fileSystemRepresentationWithPath_1 = - _registerName1("fileSystemRepresentationWithPath:"); + late final _sel_fileSystemRepresentationWithPath_1 = _registerName1( + "fileSystemRepresentationWithPath:", + ); ffi.Pointer _objc_msgSend_415( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ) { - return __objc_msgSend_415( - obj, - sel, - path, - ); + return __objc_msgSend_415(obj, sel, path); } late final __objc_msgSend_415Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_415 = __objc_msgSend_415Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_stringWithFileSystemRepresentation_length_1 = - _registerName1("stringWithFileSystemRepresentation:length:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_415 = + __objc_msgSend_415Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stringWithFileSystemRepresentation_length_1 = _registerName1( + "stringWithFileSystemRepresentation:length:", + ); ffi.Pointer _objc_msgSend_416( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer str, int len, ) { - return __objc_msgSend_416( - obj, - sel, - str, - len, - ); + return __objc_msgSend_416(obj, sel, str, len); } late final __objc_msgSend_416Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_416 = + __objc_msgSend_416Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_416 = __objc_msgSend_416Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1 = _registerName1( - "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:"); + "replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:", + ); bool _objc_msgSend_417( ffi.Pointer obj, ffi.Pointer sel, @@ -11913,26 +14785,33 @@ class PedometerBindings { } late final __objc_msgSend_417Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_417 = + __objc_msgSend_417Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_417 = __objc_msgSend_417Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_setUbiquitous_itemAtURL_destinationURL_error_1 = _registerName1("setUbiquitous:itemAtURL:destinationURL:error:"); @@ -11944,85 +14823,104 @@ class PedometerBindings { ffi.Pointer destinationURL, ffi.Pointer> error, ) { - return __objc_msgSend_418( - obj, - sel, - flag, - url, - destinationURL, - error, - ); + return __objc_msgSend_418(obj, sel, flag, url, destinationURL, error); } late final __objc_msgSend_418Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_418 = + __objc_msgSend_418Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_418 = __objc_msgSend_418Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_isUbiquitousItemAtURL_1 = - _registerName1("isUbiquitousItemAtURL:"); + late final _sel_isUbiquitousItemAtURL_1 = _registerName1( + "isUbiquitousItemAtURL:", + ); bool _objc_msgSend_419( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_419( - obj, - sel, - url, - ); + return __objc_msgSend_419(obj, sel, url); } late final __objc_msgSend_419Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_419 = __objc_msgSend_419Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = - _registerName1("startDownloadingUbiquitousItemAtURL:error:"); - late final _sel_evictUbiquitousItemAtURL_error_1 = - _registerName1("evictUbiquitousItemAtURL:error:"); - late final _sel_URLForUbiquityContainerIdentifier_1 = - _registerName1("URLForUbiquityContainerIdentifier:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_419 = + __objc_msgSend_419Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_startDownloadingUbiquitousItemAtURL_error_1 = _registerName1( + "startDownloadingUbiquitousItemAtURL:error:", + ); + late final _sel_evictUbiquitousItemAtURL_error_1 = _registerName1( + "evictUbiquitousItemAtURL:error:", + ); + late final _sel_URLForUbiquityContainerIdentifier_1 = _registerName1( + "URLForUbiquityContainerIdentifier:", + ); ffi.Pointer _objc_msgSend_420( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer containerIdentifier, ) { - return __objc_msgSend_420( - obj, - sel, - containerIdentifier, - ); + return __objc_msgSend_420(obj, sel, containerIdentifier); } late final __objc_msgSend_420Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_420 = __objc_msgSend_420Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_420 = + __objc_msgSend_420Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1 = _registerName1( - "URLForPublishingUbiquitousItemAtURL:expirationDate:error:"); + "URLForPublishingUbiquitousItemAtURL:expirationDate:error:", + ); ffi.Pointer _objc_msgSend_421( ffi.Pointer obj, ffi.Pointer sel, @@ -12030,33 +14928,35 @@ class PedometerBindings { ffi.Pointer> outDate, ffi.Pointer> error, ) { - return __objc_msgSend_421( - obj, - sel, - url, - outDate, - error, - ); + return __objc_msgSend_421(obj, sel, url, outDate, error); } late final __objc_msgSend_421Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_421 = + __objc_msgSend_421Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_421 = __objc_msgSend_421Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_ubiquityIdentityToken1 = - _registerName1("ubiquityIdentityToken"); + late final _sel_ubiquityIdentityToken1 = _registerName1( + "ubiquityIdentityToken", + ); late final _sel_getFileProviderServicesForItemAtURL_completionHandler_1 = _registerName1("getFileProviderServicesForItemAtURL:completionHandler:"); void _objc_msgSend_422( @@ -12065,303 +14965,393 @@ class PedometerBindings { ffi.Pointer url, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_422( - obj, - sel, - url, - completionHandler, - ); + return __objc_msgSend_422(obj, sel, url, completionHandler); } late final __objc_msgSend_422Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_422 = + __objc_msgSend_422Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_422 = __objc_msgSend_422Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_containerURLForSecurityApplicationGroupIdentifier_1 = _registerName1("containerURLForSecurityApplicationGroupIdentifier:"); - late final _sel_homeDirectoryForCurrentUser1 = - _registerName1("homeDirectoryForCurrentUser"); + late final _sel_homeDirectoryForCurrentUser1 = _registerName1( + "homeDirectoryForCurrentUser", + ); ffi.Pointer _objc_msgSend_423( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_423( - obj, - sel, - ); + return __objc_msgSend_423(obj, sel); } late final __objc_msgSend_423Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_423 = __objc_msgSend_423Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_423 = + __objc_msgSend_423Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_temporaryDirectory1 = _registerName1("temporaryDirectory"); - late final _sel_homeDirectoryForUser_1 = - _registerName1("homeDirectoryForUser:"); - late final _sel_fileManager_shouldProceedAfterError_1 = - _registerName1("fileManager:shouldProceedAfterError:"); + late final _sel_homeDirectoryForUser_1 = _registerName1( + "homeDirectoryForUser:", + ); + late final _sel_fileManager_shouldProceedAfterError_1 = _registerName1( + "fileManager:shouldProceedAfterError:", + ); bool _objc_msgSend_424( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer fm, ffi.Pointer errorInfo, ) { - return __objc_msgSend_424( - obj, - sel, - fm, - errorInfo, - ); + return __objc_msgSend_424(obj, sel, fm, errorInfo); } late final __objc_msgSend_424Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_424 = + __objc_msgSend_424Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_424 = __objc_msgSend_424Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_fileManager_willProcessPath_1 = - _registerName1("fileManager:willProcessPath:"); + late final _sel_fileManager_willProcessPath_1 = _registerName1( + "fileManager:willProcessPath:", + ); void _objc_msgSend_425( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer fm, ffi.Pointer path, ) { - return __objc_msgSend_425( - obj, - sel, - fm, - path, - ); + return __objc_msgSend_425(obj, sel, fm, path); } late final __objc_msgSend_425Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_425 = + __objc_msgSend_425Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_425 = __objc_msgSend_425Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_validateValue_forKey_error_1 = - _registerName1("validateValue:forKey:error:"); + late final _sel_validateValue_forKey_error_1 = _registerName1( + "validateValue:forKey:error:", + ); late final _class_NSMutableArray1 = _getClass1("NSMutableArray"); late final _sel_addObject_1 = _registerName1("addObject:"); - late final _sel_insertObject_atIndex_1 = - _registerName1("insertObject:atIndex:"); + late final _sel_insertObject_atIndex_1 = _registerName1( + "insertObject:atIndex:", + ); void _objc_msgSend_426( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer anObject, int index, ) { - return __objc_msgSend_426( - obj, - sel, - anObject, - index, - ); + return __objc_msgSend_426(obj, sel, anObject, index); } late final __objc_msgSend_426Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_426 = __objc_msgSend_426Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_426 = + __objc_msgSend_426Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_removeLastObject1 = _registerName1("removeLastObject"); - late final _sel_removeObjectAtIndex_1 = - _registerName1("removeObjectAtIndex:"); + late final _sel_removeObjectAtIndex_1 = _registerName1( + "removeObjectAtIndex:", + ); void _objc_msgSend_427( ffi.Pointer obj, ffi.Pointer sel, int index, ) { - return __objc_msgSend_427( - obj, - sel, - index, - ); + return __objc_msgSend_427(obj, sel, index); } late final __objc_msgSend_427Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_427 = __objc_msgSend_427Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_427 = + __objc_msgSend_427Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_replaceObjectAtIndex_withObject_1 = - _registerName1("replaceObjectAtIndex:withObject:"); + late final _sel_replaceObjectAtIndex_withObject_1 = _registerName1( + "replaceObjectAtIndex:withObject:", + ); void _objc_msgSend_428( ffi.Pointer obj, ffi.Pointer sel, int index, ffi.Pointer anObject, ) { - return __objc_msgSend_428( - obj, - sel, - index, - anObject, - ); + return __objc_msgSend_428(obj, sel, index, anObject); } late final __objc_msgSend_428Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_428 = __objc_msgSend_428Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_428 = + __objc_msgSend_428Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithCapacity_1 = _registerName1("initWithCapacity:"); - late final _sel_addObjectsFromArray_1 = - _registerName1("addObjectsFromArray:"); + late final _sel_addObjectsFromArray_1 = _registerName1( + "addObjectsFromArray:", + ); void _objc_msgSend_429( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherArray, ) { - return __objc_msgSend_429( - obj, - sel, - otherArray, - ); + return __objc_msgSend_429(obj, sel, otherArray); } late final __objc_msgSend_429Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_429 = __objc_msgSend_429Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = - _registerName1("exchangeObjectAtIndex:withObjectAtIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_429 = + __objc_msgSend_429Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_exchangeObjectAtIndex_withObjectAtIndex_1 = _registerName1( + "exchangeObjectAtIndex:withObjectAtIndex:", + ); void _objc_msgSend_430( ffi.Pointer obj, ffi.Pointer sel, int idx1, int idx2, ) { - return __objc_msgSend_430( - obj, - sel, - idx1, - idx2, - ); + return __objc_msgSend_430(obj, sel, idx1, idx2); } late final __objc_msgSend_430Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_430 = __objc_msgSend_430Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_430 = + __objc_msgSend_430Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_removeAllObjects1 = _registerName1("removeAllObjects"); - late final _sel_removeObject_inRange_1 = - _registerName1("removeObject:inRange:"); + late final _sel_removeObject_inRange_1 = _registerName1( + "removeObject:inRange:", + ); void _objc_msgSend_431( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer anObject, _NSRange range, ) { - return __objc_msgSend_431( - obj, - sel, - anObject, - range, - ); + return __objc_msgSend_431(obj, sel, anObject, range); } late final __objc_msgSend_431Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_431 = __objc_msgSend_431Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_431 = + __objc_msgSend_431Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_removeObject_1 = _registerName1("removeObject:"); - late final _sel_removeObjectIdenticalTo_inRange_1 = - _registerName1("removeObjectIdenticalTo:inRange:"); - late final _sel_removeObjectIdenticalTo_1 = - _registerName1("removeObjectIdenticalTo:"); - late final _sel_removeObjectsFromIndices_numIndices_1 = - _registerName1("removeObjectsFromIndices:numIndices:"); + late final _sel_removeObjectIdenticalTo_inRange_1 = _registerName1( + "removeObjectIdenticalTo:inRange:", + ); + late final _sel_removeObjectIdenticalTo_1 = _registerName1( + "removeObjectIdenticalTo:", + ); + late final _sel_removeObjectsFromIndices_numIndices_1 = _registerName1( + "removeObjectsFromIndices:numIndices:", + ); void _objc_msgSend_432( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer indices, int cnt, ) { - return __objc_msgSend_432( - obj, - sel, - indices, - cnt, - ); + return __objc_msgSend_432(obj, sel, indices, cnt); } late final __objc_msgSend_432Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_432 = + __objc_msgSend_432Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_432 = __objc_msgSend_432Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_removeObjectsInArray_1 = - _registerName1("removeObjectsInArray:"); - late final _sel_removeObjectsInRange_1 = - _registerName1("removeObjectsInRange:"); + int, + ) + >(); + + late final _sel_removeObjectsInArray_1 = _registerName1( + "removeObjectsInArray:", + ); + late final _sel_removeObjectsInRange_1 = _registerName1( + "removeObjectsInRange:", + ); void _objc_msgSend_433( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_433( - obj, - sel, - range, - ); + return __objc_msgSend_433(obj, sel, range); } late final __objc_msgSend_433Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_433 = __objc_msgSend_433Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer, ffi.Pointer, _NSRange) + > + >('objc_msgSend'); + late final __objc_msgSend_433 = + __objc_msgSend_433Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_replaceObjectsInRange_withObjectsFromArray_range_1 = _registerName1("replaceObjectsInRange:withObjectsFromArray:range:"); @@ -12372,212 +15362,286 @@ class PedometerBindings { ffi.Pointer otherArray, _NSRange otherRange, ) { - return __objc_msgSend_434( - obj, - sel, - range, - otherArray, - otherRange, - ); + return __objc_msgSend_434(obj, sel, range, otherArray, otherRange); } late final __objc_msgSend_434Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_434 = __objc_msgSend_434Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, _NSRange)>(); - - late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = - _registerName1("replaceObjectsInRange:withObjectsFromArray:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_434 = + __objc_msgSend_434Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_replaceObjectsInRange_withObjectsFromArray_1 = _registerName1( + "replaceObjectsInRange:withObjectsFromArray:", + ); void _objc_msgSend_435( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ffi.Pointer otherArray, ) { - return __objc_msgSend_435( - obj, - sel, - range, - otherArray, - ); + return __objc_msgSend_435(obj, sel, range, otherArray); } late final __objc_msgSend_435Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_435 = __objc_msgSend_435Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_435 = + __objc_msgSend_435Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_setArray_1 = _registerName1("setArray:"); - late final _sel_sortUsingFunction_context_1 = - _registerName1("sortUsingFunction:context:"); + late final _sel_sortUsingFunction_context_1 = _registerName1( + "sortUsingFunction:context:", + ); void _objc_msgSend_436( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - compare, + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > + compare, ffi.Pointer context, ) { - return __objc_msgSend_436( - obj, - sel, - compare, - context, - ); + return __objc_msgSend_436(obj, sel, compare, context); } late final __objc_msgSend_436Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_436 = + __objc_msgSend_436Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_436 = __objc_msgSend_436Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >, + ffi.Pointer, + ) + >(); late final _sel_sortUsingSelector_1 = _registerName1("sortUsingSelector:"); - late final _sel_insertObjects_atIndexes_1 = - _registerName1("insertObjects:atIndexes:"); + late final _sel_insertObjects_atIndexes_1 = _registerName1( + "insertObjects:atIndexes:", + ); void _objc_msgSend_437( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer objects, ffi.Pointer indexes, ) { - return __objc_msgSend_437( - obj, - sel, - objects, - indexes, - ); + return __objc_msgSend_437(obj, sel, objects, indexes); } late final __objc_msgSend_437Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_437 = + __objc_msgSend_437Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_437 = __objc_msgSend_437Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_removeObjectsAtIndexes_1 = - _registerName1("removeObjectsAtIndexes:"); + late final _sel_removeObjectsAtIndexes_1 = _registerName1( + "removeObjectsAtIndexes:", + ); void _objc_msgSend_438( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer indexes, ) { - return __objc_msgSend_438( - obj, - sel, - indexes, - ); + return __objc_msgSend_438(obj, sel, indexes); } late final __objc_msgSend_438Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_438 = __objc_msgSend_438Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_replaceObjectsAtIndexes_withObjects_1 = - _registerName1("replaceObjectsAtIndexes:withObjects:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_438 = + __objc_msgSend_438Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_replaceObjectsAtIndexes_withObjects_1 = _registerName1( + "replaceObjectsAtIndexes:withObjects:", + ); void _objc_msgSend_439( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer indexes, ffi.Pointer objects, ) { - return __objc_msgSend_439( - obj, - sel, - indexes, - objects, - ); + return __objc_msgSend_439(obj, sel, indexes, objects); } late final __objc_msgSend_439Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_439 = + __objc_msgSend_439Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_439 = __objc_msgSend_439Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_setObject_atIndexedSubscript_1 = - _registerName1("setObject:atIndexedSubscript:"); - late final _sel_sortUsingComparator_1 = - _registerName1("sortUsingComparator:"); + late final _sel_setObject_atIndexedSubscript_1 = _registerName1( + "setObject:atIndexedSubscript:", + ); + late final _sel_sortUsingComparator_1 = _registerName1( + "sortUsingComparator:", + ); void _objc_msgSend_440( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> cmptr, ) { - return __objc_msgSend_440( - obj, - sel, - cmptr, - ); + return __objc_msgSend_440(obj, sel, cmptr); } late final __objc_msgSend_440Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_440 = __objc_msgSend_440Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sortWithOptions_usingComparator_1 = - _registerName1("sortWithOptions:usingComparator:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_440 = + __objc_msgSend_440Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_sortWithOptions_usingComparator_1 = _registerName1( + "sortWithOptions:usingComparator:", + ); void _objc_msgSend_441( ffi.Pointer obj, ffi.Pointer sel, int opts, ffi.Pointer<_ObjCBlock> cmptr, ) { - return __objc_msgSend_441( - obj, - sel, - opts, - cmptr, - ); + return __objc_msgSend_441(obj, sel, opts, cmptr); } late final __objc_msgSend_441Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_441 = __objc_msgSend_441Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_441 = + __objc_msgSend_441Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_arrayWithCapacity_1 = _registerName1("arrayWithCapacity:"); ffi.Pointer _objc_msgSend_442( @@ -12585,184 +15649,249 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer path, ) { - return __objc_msgSend_442( - obj, - sel, - path, - ); + return __objc_msgSend_442(obj, sel, path); } late final __objc_msgSend_442Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_442 = __objc_msgSend_442Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_442 = + __objc_msgSend_442Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_443( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_443( - obj, - sel, - url, - ); + return __objc_msgSend_443(obj, sel, url); } late final __objc_msgSend_443Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_443 = __objc_msgSend_443Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_443 = + __objc_msgSend_443Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_applyDifference_1 = _registerName1("applyDifference:"); - late final _sel_sortUsingDescriptors_1 = - _registerName1("sortUsingDescriptors:"); - late final _sel_filterUsingPredicate_1 = - _registerName1("filterUsingPredicate:"); + late final _sel_sortUsingDescriptors_1 = _registerName1( + "sortUsingDescriptors:", + ); + late final _sel_filterUsingPredicate_1 = _registerName1( + "filterUsingPredicate:", + ); void _objc_msgSend_444( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer predicate, ) { - return __objc_msgSend_444( - obj, - sel, - predicate, - ); + return __objc_msgSend_444(obj, sel, predicate); } late final __objc_msgSend_444Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_444 = __objc_msgSend_444Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_mutableArrayValueForKey_1 = - _registerName1("mutableArrayValueForKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_444 = + __objc_msgSend_444Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_mutableArrayValueForKey_1 = _registerName1( + "mutableArrayValueForKey:", + ); ffi.Pointer _objc_msgSend_445( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_445( - obj, - sel, - key, - ); + return __objc_msgSend_445(obj, sel, key); } late final __objc_msgSend_445Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_445 = __objc_msgSend_445Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_445 = + __objc_msgSend_445Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSMutableOrderedSet1 = _getClass1("NSMutableOrderedSet"); late final _class_NSOrderedSet1 = _getClass1("NSOrderedSet"); - late final _sel_isEqualToOrderedSet_1 = - _registerName1("isEqualToOrderedSet:"); + late final _sel_isEqualToOrderedSet_1 = _registerName1( + "isEqualToOrderedSet:", + ); bool _objc_msgSend_446( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer other, ) { - return __objc_msgSend_446( - obj, - sel, - other, - ); + return __objc_msgSend_446(obj, sel, other); } late final __objc_msgSend_446Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_446 = __objc_msgSend_446Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_intersectsOrderedSet_1 = - _registerName1("intersectsOrderedSet:"); - late final _sel_isSubsetOfOrderedSet_1 = - _registerName1("isSubsetOfOrderedSet:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_446 = + __objc_msgSend_446Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_intersectsOrderedSet_1 = _registerName1( + "intersectsOrderedSet:", + ); + late final _sel_isSubsetOfOrderedSet_1 = _registerName1( + "isSubsetOfOrderedSet:", + ); late final _sel_reversedOrderedSet1 = _registerName1("reversedOrderedSet"); ffi.Pointer _objc_msgSend_447( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_447( - obj, - sel, - ); + return __objc_msgSend_447(obj, sel); } late final __objc_msgSend_447Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_447 = __objc_msgSend_447Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_447 = + __objc_msgSend_447Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_448( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_448( - obj, - sel, - ); + return __objc_msgSend_448(obj, sel); } late final __objc_msgSend_448Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_448 = __objc_msgSend_448Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_448 = + __objc_msgSend_448Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_orderedSet1 = _registerName1("orderedSet"); - late final _sel_orderedSetWithObject_1 = - _registerName1("orderedSetWithObject:"); - late final _sel_orderedSetWithObjects_count_1 = - _registerName1("orderedSetWithObjects:count:"); - late final _sel_orderedSetWithObjects_1 = - _registerName1("orderedSetWithObjects:"); - late final _sel_orderedSetWithOrderedSet_1 = - _registerName1("orderedSetWithOrderedSet:"); + late final _sel_orderedSetWithObject_1 = _registerName1( + "orderedSetWithObject:", + ); + late final _sel_orderedSetWithObjects_count_1 = _registerName1( + "orderedSetWithObjects:count:", + ); + late final _sel_orderedSetWithObjects_1 = _registerName1( + "orderedSetWithObjects:", + ); + late final _sel_orderedSetWithOrderedSet_1 = _registerName1( + "orderedSetWithOrderedSet:", + ); instancetype _objc_msgSend_449( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer set1, ) { - return __objc_msgSend_449( - obj, - sel, - set1, - ); + return __objc_msgSend_449(obj, sel, set1); } late final __objc_msgSend_449Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_449 = __objc_msgSend_449Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = - _registerName1("orderedSetWithOrderedSet:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_449 = + __objc_msgSend_449Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_orderedSetWithOrderedSet_range_copyItems_1 = _registerName1( + "orderedSetWithOrderedSet:range:copyItems:", + ); instancetype _objc_msgSend_450( ffi.Pointer obj, ffi.Pointer sel, @@ -12770,27 +15899,38 @@ class PedometerBindings { _NSRange range, bool flag, ) { - return __objc_msgSend_450( - obj, - sel, - set1, - range, - flag, - ); + return __objc_msgSend_450(obj, sel, set1, range, flag); } late final __objc_msgSend_450Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_450 = __objc_msgSend_450Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, bool)>(); - - late final _sel_orderedSetWithArray_1 = - _registerName1("orderedSetWithArray:"); - late final _sel_orderedSetWithArray_range_copyItems_1 = - _registerName1("orderedSetWithArray:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_450 = + __objc_msgSend_450Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool, + ) + >(); + + late final _sel_orderedSetWithArray_1 = _registerName1( + "orderedSetWithArray:", + ); + late final _sel_orderedSetWithArray_range_copyItems_1 = _registerName1( + "orderedSetWithArray:range:copyItems:", + ); instancetype _objc_msgSend_451( ffi.Pointer obj, ffi.Pointer sel, @@ -12798,59 +15938,81 @@ class PedometerBindings { _NSRange range, bool flag, ) { - return __objc_msgSend_451( - obj, - sel, - array, - range, - flag, - ); + return __objc_msgSend_451(obj, sel, array, range, flag); } late final __objc_msgSend_451Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_451 = __objc_msgSend_451Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, bool)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_451 = + __objc_msgSend_451Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + bool, + ) + >(); late final _sel_orderedSetWithSet_1 = _registerName1("orderedSetWithSet:"); - late final _sel_orderedSetWithSet_copyItems_1 = - _registerName1("orderedSetWithSet:copyItems:"); + late final _sel_orderedSetWithSet_copyItems_1 = _registerName1( + "orderedSetWithSet:copyItems:", + ); late final _sel_initWithObject_1 = _registerName1("initWithObject:"); late final _sel_initWithOrderedSet_1 = _registerName1("initWithOrderedSet:"); - late final _sel_initWithOrderedSet_copyItems_1 = - _registerName1("initWithOrderedSet:copyItems:"); + late final _sel_initWithOrderedSet_copyItems_1 = _registerName1( + "initWithOrderedSet:copyItems:", + ); instancetype _objc_msgSend_452( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer set1, bool flag, ) { - return __objc_msgSend_452( - obj, - sel, - set1, - flag, - ); + return __objc_msgSend_452(obj, sel, set1, flag); } late final __objc_msgSend_452Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_452 = __objc_msgSend_452Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initWithOrderedSet_range_copyItems_1 = - _registerName1("initWithOrderedSet:range:copyItems:"); - late final _sel_initWithArray_range_copyItems_1 = - _registerName1("initWithArray:range:copyItems:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_452 = + __objc_msgSend_452Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initWithOrderedSet_range_copyItems_1 = _registerName1( + "initWithOrderedSet:range:copyItems:", + ); + late final _sel_initWithArray_range_copyItems_1 = _registerName1( + "initWithArray:range:copyItems:", + ); late final _sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1 = _registerName1( - "differenceFromOrderedSet:withOptions:usingEquivalenceTest:"); + "differenceFromOrderedSet:withOptions:usingEquivalenceTest:", + ); ffi.Pointer _objc_msgSend_453( ffi.Pointer obj, ffi.Pointer sel, @@ -12858,103 +16020,127 @@ class PedometerBindings { int options, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_453( - obj, - sel, - other, - options, - block, - ); + return __objc_msgSend_453(obj, sel, other, options, block); } late final __objc_msgSend_453Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_453 = + __objc_msgSend_453Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_453 = __objc_msgSend_453Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_differenceFromOrderedSet_withOptions_1 = - _registerName1("differenceFromOrderedSet:withOptions:"); + late final _sel_differenceFromOrderedSet_withOptions_1 = _registerName1( + "differenceFromOrderedSet:withOptions:", + ); ffi.Pointer _objc_msgSend_454( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer other, int options, ) { - return __objc_msgSend_454( - obj, - sel, - other, - options, - ); + return __objc_msgSend_454(obj, sel, other, options); } late final __objc_msgSend_454Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_454 = + __objc_msgSend_454Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_454 = __objc_msgSend_454Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_differenceFromOrderedSet_1 = - _registerName1("differenceFromOrderedSet:"); - late final _sel_orderedSetByApplyingDifference_1 = - _registerName1("orderedSetByApplyingDifference:"); + late final _sel_differenceFromOrderedSet_1 = _registerName1( + "differenceFromOrderedSet:", + ); + late final _sel_orderedSetByApplyingDifference_1 = _registerName1( + "orderedSetByApplyingDifference:", + ); ffi.Pointer _objc_msgSend_455( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer difference, ) { - return __objc_msgSend_455( - obj, - sel, - difference, - ); + return __objc_msgSend_455(obj, sel, difference); } late final __objc_msgSend_455Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_455 = __objc_msgSend_455Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_filteredOrderedSetUsingPredicate_1 = - _registerName1("filteredOrderedSetUsingPredicate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_455 = + __objc_msgSend_455Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_filteredOrderedSetUsingPredicate_1 = _registerName1( + "filteredOrderedSetUsingPredicate:", + ); ffi.Pointer _objc_msgSend_456( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer p, ) { - return __objc_msgSend_456( - obj, - sel, - p, - ); + return __objc_msgSend_456(obj, sel, p); } late final __objc_msgSend_456Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_456 = __objc_msgSend_456Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_456 = + __objc_msgSend_456Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addObjects_count_1 = _registerName1("addObjects:count:"); void _objc_msgSend_457( @@ -12963,52 +16149,67 @@ class PedometerBindings { ffi.Pointer> objects, int count, ) { - return __objc_msgSend_457( - obj, - sel, - objects, - count, - ); + return __objc_msgSend_457(obj, sel, objects, count); } late final __objc_msgSend_457Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_457 = + __objc_msgSend_457Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_457 = __objc_msgSend_457Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer>, int)>(); + int, + ) + >(); - late final _sel_moveObjectsAtIndexes_toIndex_1 = - _registerName1("moveObjectsAtIndexes:toIndex:"); + late final _sel_moveObjectsAtIndexes_toIndex_1 = _registerName1( + "moveObjectsAtIndexes:toIndex:", + ); void _objc_msgSend_458( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer indexes, int idx, ) { - return __objc_msgSend_458( - obj, - sel, - indexes, - idx, - ); + return __objc_msgSend_458(obj, sel, indexes, idx); } late final __objc_msgSend_458Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_458 = __objc_msgSend_458Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_458 = + __objc_msgSend_458Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_setObject_atIndex_1 = _registerName1("setObject:atIndex:"); - late final _sel_replaceObjectsInRange_withObjects_count_1 = - _registerName1("replaceObjectsInRange:withObjects:count:"); + late final _sel_replaceObjectsInRange_withObjects_count_1 = _registerName1( + "replaceObjectsInRange:withObjects:count:", + ); void _objc_msgSend_459( ffi.Pointer obj, ffi.Pointer sel, @@ -13016,48 +16217,61 @@ class PedometerBindings { ffi.Pointer> objects, int count, ) { - return __objc_msgSend_459( - obj, - sel, - range, - objects, - count, - ); + return __objc_msgSend_459(obj, sel, range, objects, count); } late final __objc_msgSend_459Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_459 = + __objc_msgSend_459Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer>, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_459 = __objc_msgSend_459Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer>, int)>(); + int, + ) + >(); - late final _sel_intersectOrderedSet_1 = - _registerName1("intersectOrderedSet:"); + late final _sel_intersectOrderedSet_1 = _registerName1( + "intersectOrderedSet:", + ); void _objc_msgSend_460( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer other, ) { - return __objc_msgSend_460( - obj, - sel, - other, - ); + return __objc_msgSend_460(obj, sel, other); } late final __objc_msgSend_460Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_460 = __objc_msgSend_460Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_460 = + __objc_msgSend_460Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_minusOrderedSet_1 = _registerName1("minusOrderedSet:"); late final _sel_unionOrderedSet_1 = _registerName1("unionOrderedSet:"); @@ -13067,25 +16281,33 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer other, ) { - return __objc_msgSend_461( - obj, - sel, - other, - ); + return __objc_msgSend_461(obj, sel, other); } late final __objc_msgSend_461Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_461 = __objc_msgSend_461Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_461 = + __objc_msgSend_461Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_minusSet_1 = _registerName1("minusSet:"); late final _sel_unionSet_1 = _registerName1("unionSet:"); - late final _sel_sortRange_options_usingComparator_1 = - _registerName1("sortRange:options:usingComparator:"); + late final _sel_sortRange_options_usingComparator_1 = _registerName1( + "sortRange:options:usingComparator:", + ); void _objc_msgSend_462( ffi.Pointer obj, ffi.Pointer sel, @@ -13093,147 +16315,202 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> cmptr, ) { - return __objc_msgSend_462( - obj, - sel, - range, - opts, - cmptr, - ); + return __objc_msgSend_462(obj, sel, range, opts, cmptr); } late final __objc_msgSend_462Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_462 = __objc_msgSend_462Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_orderedSetWithCapacity_1 = - _registerName1("orderedSetWithCapacity:"); - late final _sel_mutableOrderedSetValueForKey_1 = - _registerName1("mutableOrderedSetValueForKey:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_462 = + __objc_msgSend_462Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_orderedSetWithCapacity_1 = _registerName1( + "orderedSetWithCapacity:", + ); + late final _sel_mutableOrderedSetValueForKey_1 = _registerName1( + "mutableOrderedSetValueForKey:", + ); ffi.Pointer _objc_msgSend_463( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_463( - obj, - sel, - key, - ); + return __objc_msgSend_463(obj, sel, key); } late final __objc_msgSend_463Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_463 = __objc_msgSend_463Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_463 = + __objc_msgSend_463Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSMutableSet1 = _getClass1("NSMutableSet"); late final _sel_setSet_1 = _registerName1("setSet:"); late final _sel_setWithCapacity_1 = _registerName1("setWithCapacity:"); - late final _sel_mutableSetValueForKey_1 = - _registerName1("mutableSetValueForKey:"); + late final _sel_mutableSetValueForKey_1 = _registerName1( + "mutableSetValueForKey:", + ); ffi.Pointer _objc_msgSend_464( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ) { - return __objc_msgSend_464( - obj, - sel, - key, - ); + return __objc_msgSend_464(obj, sel, key); } late final __objc_msgSend_464Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_464 = __objc_msgSend_464Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_464 = + __objc_msgSend_464Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_valueForKeyPath_1 = _registerName1("valueForKeyPath:"); - late final _sel_setValue_forKeyPath_1 = - _registerName1("setValue:forKeyPath:"); - late final _sel_validateValue_forKeyPath_error_1 = - _registerName1("validateValue:forKeyPath:error:"); - late final _sel_mutableArrayValueForKeyPath_1 = - _registerName1("mutableArrayValueForKeyPath:"); - late final _sel_mutableOrderedSetValueForKeyPath_1 = - _registerName1("mutableOrderedSetValueForKeyPath:"); - late final _sel_mutableSetValueForKeyPath_1 = - _registerName1("mutableSetValueForKeyPath:"); - late final _sel_valueForUndefinedKey_1 = - _registerName1("valueForUndefinedKey:"); - late final _sel_setValue_forUndefinedKey_1 = - _registerName1("setValue:forUndefinedKey:"); + late final _sel_setValue_forKeyPath_1 = _registerName1( + "setValue:forKeyPath:", + ); + late final _sel_validateValue_forKeyPath_error_1 = _registerName1( + "validateValue:forKeyPath:error:", + ); + late final _sel_mutableArrayValueForKeyPath_1 = _registerName1( + "mutableArrayValueForKeyPath:", + ); + late final _sel_mutableOrderedSetValueForKeyPath_1 = _registerName1( + "mutableOrderedSetValueForKeyPath:", + ); + late final _sel_mutableSetValueForKeyPath_1 = _registerName1( + "mutableSetValueForKeyPath:", + ); + late final _sel_valueForUndefinedKey_1 = _registerName1( + "valueForUndefinedKey:", + ); + late final _sel_setValue_forUndefinedKey_1 = _registerName1( + "setValue:forUndefinedKey:", + ); late final _sel_setNilValueForKey_1 = _registerName1("setNilValueForKey:"); - late final _sel_dictionaryWithValuesForKeys_1 = - _registerName1("dictionaryWithValuesForKeys:"); + late final _sel_dictionaryWithValuesForKeys_1 = _registerName1( + "dictionaryWithValuesForKeys:", + ); ffi.Pointer _objc_msgSend_465( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer keys, ) { - return __objc_msgSend_465( - obj, - sel, - keys, - ); + return __objc_msgSend_465(obj, sel, keys); } late final __objc_msgSend_465Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_465 = __objc_msgSend_465Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setValuesForKeysWithDictionary_1 = - _registerName1("setValuesForKeysWithDictionary:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_465 = + __objc_msgSend_465Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setValuesForKeysWithDictionary_1 = _registerName1( + "setValuesForKeysWithDictionary:", + ); void _objc_msgSend_466( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer keyedValues, ) { - return __objc_msgSend_466( - obj, - sel, - keyedValues, - ); + return __objc_msgSend_466(obj, sel, keyedValues); } late final __objc_msgSend_466Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_466 = __objc_msgSend_466Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_466 = + __objc_msgSend_466Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_storedValueForKey_1 = _registerName1("storedValueForKey:"); - late final _sel_takeStoredValue_forKey_1 = - _registerName1("takeStoredValue:forKey:"); + late final _sel_takeStoredValue_forKey_1 = _registerName1( + "takeStoredValue:forKey:", + ); late final _sel_takeValue_forKey_1 = _registerName1("takeValue:forKey:"); - late final _sel_takeValue_forKeyPath_1 = - _registerName1("takeValue:forKeyPath:"); - late final _sel_handleQueryWithUnboundKey_1 = - _registerName1("handleQueryWithUnboundKey:"); - late final _sel_handleTakeValue_forUnboundKey_1 = - _registerName1("handleTakeValue:forUnboundKey:"); - late final _sel_unableToSetNilForKey_1 = - _registerName1("unableToSetNilForKey:"); + late final _sel_takeValue_forKeyPath_1 = _registerName1( + "takeValue:forKeyPath:", + ); + late final _sel_handleQueryWithUnboundKey_1 = _registerName1( + "handleQueryWithUnboundKey:", + ); + late final _sel_handleTakeValue_forUnboundKey_1 = _registerName1( + "handleTakeValue:forUnboundKey:", + ); + late final _sel_unableToSetNilForKey_1 = _registerName1( + "unableToSetNilForKey:", + ); late final _sel_valuesForKeys_1 = _registerName1("valuesForKeys:"); - late final _sel_takeValuesFromDictionary_1 = - _registerName1("takeValuesFromDictionary:"); + late final _sel_takeValuesFromDictionary_1 = _registerName1( + "takeValuesFromDictionary:", + ); late final _sel_observeValueForKeyPath_ofObject_change_context_1 = _registerName1("observeValueForKeyPath:ofObject:change:context:"); void _objc_msgSend_467( @@ -13244,40 +16521,43 @@ class PedometerBindings { ffi.Pointer change, ffi.Pointer context, ) { - return __objc_msgSend_467( - obj, - sel, - keyPath, - object, - change, - context, - ); + return __objc_msgSend_467(obj, sel, keyPath, object, change, context); } late final __objc_msgSend_467Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_467 = + __objc_msgSend_467Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_467 = __objc_msgSend_467Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_willChangeValueForKey_1 = - _registerName1("willChangeValueForKey:"); - late final _sel_didChangeValueForKey_1 = - _registerName1("didChangeValueForKey:"); - late final _sel_willChange_valuesAtIndexes_forKey_1 = - _registerName1("willChange:valuesAtIndexes:forKey:"); + ffi.Pointer, + ) + >(); + + late final _sel_willChangeValueForKey_1 = _registerName1( + "willChangeValueForKey:", + ); + late final _sel_didChangeValueForKey_1 = _registerName1( + "didChangeValueForKey:", + ); + late final _sel_willChange_valuesAtIndexes_forKey_1 = _registerName1( + "willChange:valuesAtIndexes:forKey:", + ); void _objc_msgSend_468( ffi.Pointer obj, ffi.Pointer sel, @@ -13285,29 +16565,35 @@ class PedometerBindings { ffi.Pointer indexes, ffi.Pointer key, ) { - return __objc_msgSend_468( - obj, - sel, - changeKind, - indexes, - key, - ); + return __objc_msgSend_468(obj, sel, changeKind, indexes, key); } late final __objc_msgSend_468Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_468 = + __objc_msgSend_468Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_468 = __objc_msgSend_468Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_didChange_valuesAtIndexes_forKey_1 = - _registerName1("didChange:valuesAtIndexes:forKey:"); + late final _sel_didChange_valuesAtIndexes_forKey_1 = _registerName1( + "didChange:valuesAtIndexes:forKey:", + ); late final _sel_willChangeValueForKey_withSetMutation_usingObjects_1 = _registerName1("willChangeValueForKey:withSetMutation:usingObjects:"); void _objc_msgSend_469( @@ -13317,26 +16603,31 @@ class PedometerBindings { int mutationKind, ffi.Pointer objects, ) { - return __objc_msgSend_469( - obj, - sel, - key, - mutationKind, - objects, - ); + return __objc_msgSend_469(obj, sel, key, mutationKind, objects); } late final __objc_msgSend_469Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_469 = + __objc_msgSend_469Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_469 = __objc_msgSend_469Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_didChangeValueForKey_withSetMutation_usingObjects_1 = _registerName1("didChangeValueForKey:withSetMutation:usingObjects:"); @@ -13347,26 +16638,35 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_470( - obj, - sel, - value, - ); + return __objc_msgSend_470(obj, sel, value); } late final __objc_msgSend_470Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_470 = __objc_msgSend_470Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_classForKeyedArchiver1 = - _registerName1("classForKeyedArchiver"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_470 = + __objc_msgSend_470Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_classForKeyedArchiver1 = _registerName1( + "classForKeyedArchiver", + ); late final _class_NSKeyedArchiver1 = _getClass1("NSKeyedArchiver"); - late final _sel_initRequiringSecureCoding_1 = - _registerName1("initRequiringSecureCoding:"); + late final _sel_initRequiringSecureCoding_1 = _registerName1( + "initRequiringSecureCoding:", + ); late final _sel_archivedDataWithRootObject_requiringSecureCoding_error_1 = _registerName1("archivedDataWithRootObject:requiringSecureCoding:error:"); ffi.Pointer _objc_msgSend_471( @@ -13376,30 +16676,31 @@ class PedometerBindings { bool requiresSecureCoding, ffi.Pointer> error, ) { - return __objc_msgSend_471( - obj, - sel, - object, - requiresSecureCoding, - error, - ); + return __objc_msgSend_471(obj, sel, object, requiresSecureCoding, error); } late final __objc_msgSend_471Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_471 = + __objc_msgSend_471Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_471 = __objc_msgSend_471Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer>)>(); + bool, + ffi.Pointer>, + ) + >(); late final _class_NSMutableData1 = _getClass1("NSMutableData"); late final _sel_mutableBytes1 = _registerName1("mutableBytes"); @@ -13409,51 +16710,65 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_472( - obj, - sel, - value, - ); + return __objc_msgSend_472(obj, sel, value); } late final __objc_msgSend_472Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_472 = __objc_msgSend_472Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_472 = + __objc_msgSend_472Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_appendBytes_length_1 = _registerName1("appendBytes:length:"); late final _sel_appendData_1 = _registerName1("appendData:"); late final _sel_increaseLengthBy_1 = _registerName1("increaseLengthBy:"); - late final _sel_replaceBytesInRange_withBytes_1 = - _registerName1("replaceBytesInRange:withBytes:"); + late final _sel_replaceBytesInRange_withBytes_1 = _registerName1( + "replaceBytesInRange:withBytes:", + ); void _objc_msgSend_473( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ffi.Pointer bytes, ) { - return __objc_msgSend_473( - obj, - sel, - range, - bytes, - ); + return __objc_msgSend_473(obj, sel, range, bytes); } late final __objc_msgSend_473Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_473 = __objc_msgSend_473Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_473 = + __objc_msgSend_473Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); late final _sel_resetBytesInRange_1 = _registerName1("resetBytesInRange:"); late final _sel_setData_1 = _registerName1("setData:"); - late final _sel_replaceBytesInRange_withBytes_length_1 = - _registerName1("replaceBytesInRange:withBytes:length:"); + late final _sel_replaceBytesInRange_withBytes_length_1 = _registerName1( + "replaceBytesInRange:withBytes:length:", + ); void _objc_msgSend_474( ffi.Pointer obj, ffi.Pointer sel, @@ -13471,16 +16786,27 @@ class PedometerBindings { } late final __objc_msgSend_474Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_474 = + __objc_msgSend_474Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_474 = __objc_msgSend_474Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_dataWithCapacity_1 = _registerName1("dataWithCapacity:"); instancetype _objc_msgSend_475( @@ -13488,115 +16814,144 @@ class PedometerBindings { ffi.Pointer sel, int aNumItems, ) { - return __objc_msgSend_475( - obj, - sel, - aNumItems, - ); + return __objc_msgSend_475(obj, sel, aNumItems); } late final __objc_msgSend_475Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_475 = __objc_msgSend_475Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_475 = + __objc_msgSend_475Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_dataWithLength_1 = _registerName1("dataWithLength:"); late final _sel_initWithLength_1 = _registerName1("initWithLength:"); - late final _sel_decompressUsingAlgorithm_error_1 = - _registerName1("decompressUsingAlgorithm:error:"); + late final _sel_decompressUsingAlgorithm_error_1 = _registerName1( + "decompressUsingAlgorithm:error:", + ); bool _objc_msgSend_476( ffi.Pointer obj, ffi.Pointer sel, int algorithm, ffi.Pointer> error, ) { - return __objc_msgSend_476( - obj, - sel, - algorithm, - error, - ); + return __objc_msgSend_476(obj, sel, algorithm, error); } late final __objc_msgSend_476Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_476 = + __objc_msgSend_476Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_476 = __objc_msgSend_476Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_compressUsingAlgorithm_error_1 = - _registerName1("compressUsingAlgorithm:error:"); - late final _sel_initForWritingWithMutableData_1 = - _registerName1("initForWritingWithMutableData:"); + int, + ffi.Pointer>, + ) + >(); + + late final _sel_compressUsingAlgorithm_error_1 = _registerName1( + "compressUsingAlgorithm:error:", + ); + late final _sel_initForWritingWithMutableData_1 = _registerName1( + "initForWritingWithMutableData:", + ); instancetype _objc_msgSend_477( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer data, ) { - return __objc_msgSend_477( - obj, - sel, - data, - ); + return __objc_msgSend_477(obj, sel, data); } late final __objc_msgSend_477Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_477 = __objc_msgSend_477Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_archivedDataWithRootObject_1 = - _registerName1("archivedDataWithRootObject:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_477 = + __objc_msgSend_477Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_archivedDataWithRootObject_1 = _registerName1( + "archivedDataWithRootObject:", + ); ffi.Pointer _objc_msgSend_478( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer rootObject, ) { - return __objc_msgSend_478( - obj, - sel, - rootObject, - ); + return __objc_msgSend_478(obj, sel, rootObject); } late final __objc_msgSend_478Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_478 = __objc_msgSend_478Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_archiveRootObject_toFile_1 = - _registerName1("archiveRootObject:toFile:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_478 = + __objc_msgSend_478Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_archiveRootObject_toFile_1 = _registerName1( + "archiveRootObject:toFile:", + ); late final _sel_outputFormat1 = _registerName1("outputFormat"); - int _objc_msgSend_479( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_479( - obj, - sel, - ); + int _objc_msgSend_479(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_479(obj, sel); } late final __objc_msgSend_479Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_479 = __objc_msgSend_479Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_479 = + __objc_msgSend_479Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setOutputFormat_1 = _registerName1("setOutputFormat:"); void _objc_msgSend_480( @@ -13604,48 +16959,58 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_480( - obj, - sel, - value, - ); + return __objc_msgSend_480(obj, sel, value); } late final __objc_msgSend_480Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_480 = __objc_msgSend_480Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_480 = + __objc_msgSend_480Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_encodedData1 = _registerName1("encodedData"); late final _sel_finishEncoding1 = _registerName1("finishEncoding"); - late final _sel_setClassName_forClass_1 = - _registerName1("setClassName:forClass:"); + late final _sel_setClassName_forClass_1 = _registerName1( + "setClassName:forClass:", + ); void _objc_msgSend_481( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer codedName, ffi.Pointer cls, ) { - return __objc_msgSend_481( - obj, - sel, - codedName, - cls, - ); + return __objc_msgSend_481(obj, sel, codedName, cls); } late final __objc_msgSend_481Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_481 = + __objc_msgSend_481Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_481 = __objc_msgSend_481Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_classNameForClass_1 = _registerName1("classNameForClass:"); ffi.Pointer _objc_msgSend_482( @@ -13653,67 +17018,84 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer cls, ) { - return __objc_msgSend_482( - obj, - sel, - cls, - ); + return __objc_msgSend_482(obj, sel, cls); } late final __objc_msgSend_482Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_482 = __objc_msgSend_482Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setRequiresSecureCoding_1 = - _registerName1("setRequiresSecureCoding:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_482 = + __objc_msgSend_482Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setRequiresSecureCoding_1 = _registerName1( + "setRequiresSecureCoding:", + ); void _objc_msgSend_483( ffi.Pointer obj, ffi.Pointer sel, bool value, ) { - return __objc_msgSend_483( - obj, - sel, - value, - ); + return __objc_msgSend_483(obj, sel, value); } late final __objc_msgSend_483Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_483 = __objc_msgSend_483Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, bool)>(); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Bool) + > + >('objc_msgSend'); + late final __objc_msgSend_483 = + __objc_msgSend_483Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, bool) + >(); - late final _sel_replacementObjectForKeyedArchiver_1 = - _registerName1("replacementObjectForKeyedArchiver:"); + late final _sel_replacementObjectForKeyedArchiver_1 = _registerName1( + "replacementObjectForKeyedArchiver:", + ); ffi.Pointer _objc_msgSend_484( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer archiver, ) { - return __objc_msgSend_484( - obj, - sel, - archiver, - ); + return __objc_msgSend_484(obj, sel, archiver); } late final __objc_msgSend_484Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_484 = __objc_msgSend_484Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_484 = + __objc_msgSend_484Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1 = _registerName1( - "performSelectorOnMainThread:withObject:waitUntilDone:modes:"); + "performSelectorOnMainThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_485( ffi.Pointer obj, ffi.Pointer sel, @@ -13722,33 +17104,33 @@ class PedometerBindings { bool wait, ffi.Pointer array, ) { - return __objc_msgSend_485( - obj, - sel, - aSelector, - arg, - wait, - array, - ); + return __objc_msgSend_485(obj, sel, aSelector, arg, wait, array); } late final __objc_msgSend_485Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_485 = + __objc_msgSend_485Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_485 = __objc_msgSend_485Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); late final _sel_performSelectorOnMainThread_withObject_waitUntilDone_1 = _registerName1("performSelectorOnMainThread:withObject:waitUntilDone:"); @@ -13759,26 +17141,31 @@ class PedometerBindings { ffi.Pointer arg, bool wait, ) { - return __objc_msgSend_486( - obj, - sel, - aSelector, - arg, - wait, - ); + return __objc_msgSend_486(obj, sel, aSelector, arg, wait); } late final __objc_msgSend_486Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_486 = + __objc_msgSend_486Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_486 = __objc_msgSend_486Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); + bool, + ) + >(); late final _class_NSThread1 = _getClass1("NSThread"); late final _sel_currentThread1 = _registerName1("currentThread"); @@ -13786,41 +17173,55 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_487( - obj, - sel, - ); + return __objc_msgSend_487(obj, sel); } late final __objc_msgSend_487Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_487 = __objc_msgSend_487Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_487 = + __objc_msgSend_487Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_detachNewThreadWithBlock_1 = - _registerName1("detachNewThreadWithBlock:"); + late final _sel_detachNewThreadWithBlock_1 = _registerName1( + "detachNewThreadWithBlock:", + ); void _objc_msgSend_488( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_488( - obj, - sel, - block, - ); + return __objc_msgSend_488(obj, sel, block); } late final __objc_msgSend_488Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_488 = __objc_msgSend_488Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_488 = + __objc_msgSend_488Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_detachNewThreadSelector_toTarget_withObject_1 = _registerName1("detachNewThreadSelector:toTarget:withObject:"); @@ -13831,30 +17232,31 @@ class PedometerBindings { ffi.Pointer target, ffi.Pointer argument, ) { - return __objc_msgSend_489( - obj, - sel, - selector, - target, - argument, - ); + return __objc_msgSend_489(obj, sel, selector, target, argument); } late final __objc_msgSend_489Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_489 = + __objc_msgSend_489Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_489 = __objc_msgSend_489Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_isMultiThreaded1 = _registerName1("isMultiThreaded"); late final _class_NSMutableDictionary1 = _getClass1("NSMutableDictionary"); @@ -13866,139 +17268,181 @@ class PedometerBindings { ffi.Pointer anObject, ffi.Pointer aKey, ) { - return __objc_msgSend_490( - obj, - sel, - anObject, - aKey, - ); + return __objc_msgSend_490(obj, sel, anObject, aKey); } late final __objc_msgSend_490Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_490 = + __objc_msgSend_490Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_490 = __objc_msgSend_490Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_addEntriesFromDictionary_1 = - _registerName1("addEntriesFromDictionary:"); - late final _sel_removeObjectsForKeys_1 = - _registerName1("removeObjectsForKeys:"); + late final _sel_addEntriesFromDictionary_1 = _registerName1( + "addEntriesFromDictionary:", + ); + late final _sel_removeObjectsForKeys_1 = _registerName1( + "removeObjectsForKeys:", + ); late final _sel_setDictionary_1 = _registerName1("setDictionary:"); - late final _sel_setObject_forKeyedSubscript_1 = - _registerName1("setObject:forKeyedSubscript:"); + late final _sel_setObject_forKeyedSubscript_1 = _registerName1( + "setObject:forKeyedSubscript:", + ); void _objc_msgSend_491( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer obj1, ffi.Pointer key, ) { - return __objc_msgSend_491( - obj, - sel, - obj1, - key, - ); + return __objc_msgSend_491(obj, sel, obj1, key); } late final __objc_msgSend_491Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_491 = + __objc_msgSend_491Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_491 = __objc_msgSend_491Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_dictionaryWithCapacity_1 = - _registerName1("dictionaryWithCapacity:"); + late final _sel_dictionaryWithCapacity_1 = _registerName1( + "dictionaryWithCapacity:", + ); ffi.Pointer _objc_msgSend_492( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer path, ) { - return __objc_msgSend_492( - obj, - sel, - path, - ); + return __objc_msgSend_492(obj, sel, path); } late final __objc_msgSend_492Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_492 = __objc_msgSend_492Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_492 = + __objc_msgSend_492Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_493( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_493( - obj, - sel, - url, - ); + return __objc_msgSend_493(obj, sel, url); } late final __objc_msgSend_493Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_493 = __objc_msgSend_493Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dictionaryWithSharedKeySet_1 = - _registerName1("dictionaryWithSharedKeySet:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_493 = + __objc_msgSend_493Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dictionaryWithSharedKeySet_1 = _registerName1( + "dictionaryWithSharedKeySet:", + ); ffi.Pointer _objc_msgSend_494( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer keyset, ) { - return __objc_msgSend_494( - obj, - sel, - keyset, - ); + return __objc_msgSend_494(obj, sel, keyset); } late final __objc_msgSend_494Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_494 = __objc_msgSend_494Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_494 = + __objc_msgSend_494Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_threadDictionary1 = _registerName1("threadDictionary"); ffi.Pointer _objc_msgSend_495( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_495( - obj, - sel, - ); + return __objc_msgSend_495(obj, sel); } late final __objc_msgSend_495Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_495 = __objc_msgSend_495Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_495 = + __objc_msgSend_495Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sleepUntilDate_1 = _registerName1("sleepUntilDate:"); void _objc_msgSend_496( @@ -14006,41 +17450,53 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer date, ) { - return __objc_msgSend_496( - obj, - sel, - date, - ); + return __objc_msgSend_496(obj, sel, date); } late final __objc_msgSend_496Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_496 = __objc_msgSend_496Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_sleepForTimeInterval_1 = - _registerName1("sleepForTimeInterval:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_496 = + __objc_msgSend_496Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_sleepForTimeInterval_1 = _registerName1( + "sleepForTimeInterval:", + ); void _objc_msgSend_497( ffi.Pointer obj, ffi.Pointer sel, double ti, ) { - return __objc_msgSend_497( - obj, - sel, - ti, - ); + return __objc_msgSend_497(obj, sel, ti); } late final __objc_msgSend_497Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_497 = __objc_msgSend_497Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_497 = + __objc_msgSend_497Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, double) + >(); late final _sel_exit1 = _registerName1("exit"); late final _sel_threadPriority1 = _registerName1("threadPriority"); @@ -14050,61 +17506,69 @@ class PedometerBindings { ffi.Pointer sel, double value, ) { - return __objc_msgSend_498( - obj, - sel, - value, - ); + return __objc_msgSend_498(obj, sel, value); } late final __objc_msgSend_498Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_498 = __objc_msgSend_498Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_498 = + __objc_msgSend_498Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, double) + >(); late final _sel_qualityOfService1 = _registerName1("qualityOfService"); - int _objc_msgSend_499( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_499( - obj, - sel, - ); + int _objc_msgSend_499(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_499(obj, sel); } late final __objc_msgSend_499Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_499 = __objc_msgSend_499Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_499 = + __objc_msgSend_499Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setQualityOfService_1 = - _registerName1("setQualityOfService:"); + late final _sel_setQualityOfService_1 = _registerName1( + "setQualityOfService:", + ); void _objc_msgSend_500( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_500( - obj, - sel, - value, - ); + return __objc_msgSend_500(obj, sel, value); } late final __objc_msgSend_500Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_500 = __objc_msgSend_500Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_500 = + __objc_msgSend_500Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_callStackReturnAddresses1 = - _registerName1("callStackReturnAddresses"); + late final _sel_callStackReturnAddresses1 = _registerName1( + "callStackReturnAddresses", + ); late final _sel_callStackSymbols1 = _registerName1("callStackSymbols"); late final _sel_name1 = _registerName1("name"); late final _sel_setName_1 = _registerName1("setName:"); @@ -14113,27 +17577,35 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_501( - obj, - sel, - value, - ); + return __objc_msgSend_501(obj, sel, value); } late final __objc_msgSend_501Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_501 = __objc_msgSend_501Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_501 = + __objc_msgSend_501Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_stackSize1 = _registerName1("stackSize"); late final _sel_setStackSize_1 = _registerName1("setStackSize:"); late final _sel_isMainThread1 = _registerName1("isMainThread"); late final _sel_mainThread1 = _registerName1("mainThread"); - late final _sel_initWithTarget_selector_object_1 = - _registerName1("initWithTarget:selector:object:"); + late final _sel_initWithTarget_selector_object_1 = _registerName1( + "initWithTarget:selector:object:", + ); instancetype _objc_msgSend_502( ffi.Pointer obj, ffi.Pointer sel, @@ -14141,30 +17613,31 @@ class PedometerBindings { ffi.Pointer selector, ffi.Pointer argument, ) { - return __objc_msgSend_502( - obj, - sel, - target, - selector, - argument, - ); + return __objc_msgSend_502(obj, sel, target, selector, argument); } late final __objc_msgSend_502Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_502 = + __objc_msgSend_502Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_502 = __objc_msgSend_502Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_initWithBlock_1 = _registerName1("initWithBlock:"); instancetype _objc_msgSend_503( @@ -14172,20 +17645,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_503( - obj, - sel, - block, - ); + return __objc_msgSend_503(obj, sel, block); } late final __objc_msgSend_503Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_503 = __objc_msgSend_503Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_503 = + __objc_msgSend_503Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_isExecuting1 = _registerName1("isExecuting"); late final _sel_isFinished1 = _registerName1("isFinished"); @@ -14195,7 +17675,8 @@ class PedometerBindings { late final _sel_main1 = _registerName1("main"); late final _sel_performSelector_onThread_withObject_waitUntilDone_modes_1 = _registerName1( - "performSelector:onThread:withObject:waitUntilDone:modes:"); + "performSelector:onThread:withObject:waitUntilDone:modes:", + ); void _objc_msgSend_504( ffi.Pointer obj, ffi.Pointer sel, @@ -14205,36 +17686,35 @@ class PedometerBindings { bool wait, ffi.Pointer array, ) { - return __objc_msgSend_504( - obj, - sel, - aSelector, - thr, - arg, - wait, - array, - ); + return __objc_msgSend_504(obj, sel, aSelector, thr, arg, wait, array); } late final __objc_msgSend_504Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_504 = + __objc_msgSend_504Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_504 = __objc_msgSend_504Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool, - ffi.Pointer)>(); + bool, + ffi.Pointer, + ) + >(); late final _sel_performSelector_onThread_withObject_waitUntilDone_1 = _registerName1("performSelector:onThread:withObject:waitUntilDone:"); @@ -14246,36 +17726,37 @@ class PedometerBindings { ffi.Pointer arg, bool wait, ) { - return __objc_msgSend_505( - obj, - sel, - aSelector, - thr, - arg, - wait, - ); + return __objc_msgSend_505(obj, sel, aSelector, thr, arg, wait); } late final __objc_msgSend_505Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_505 = + __objc_msgSend_505Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_505 = __objc_msgSend_505Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); + bool, + ) + >(); - late final _sel_performSelectorInBackground_withObject_1 = - _registerName1("performSelectorInBackground:withObject:"); + late final _sel_performSelectorInBackground_withObject_1 = _registerName1( + "performSelectorInBackground:withObject:", + ); late final _class_NSItemProvider1 = _getClass1("NSItemProvider"); late final _class_NSProgress1 = _getClass1("NSProgress"); late final _sel_currentProgress1 = _registerName1("currentProgress"); @@ -14283,44 +17764,59 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_506( - obj, - sel, - ); + return __objc_msgSend_506(obj, sel); } late final __objc_msgSend_506Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_506 = __objc_msgSend_506Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_506 = + __objc_msgSend_506Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_progressWithTotalUnitCount_1 = - _registerName1("progressWithTotalUnitCount:"); + late final _sel_progressWithTotalUnitCount_1 = _registerName1( + "progressWithTotalUnitCount:", + ); ffi.Pointer _objc_msgSend_507( ffi.Pointer obj, ffi.Pointer sel, int unitCount, ) { - return __objc_msgSend_507( - obj, - sel, - unitCount, - ); + return __objc_msgSend_507(obj, sel, unitCount); } late final __objc_msgSend_507Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_507 = __objc_msgSend_507Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_507 = + __objc_msgSend_507Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_discreteProgressWithTotalUnitCount_1 = - _registerName1("discreteProgressWithTotalUnitCount:"); + late final _sel_discreteProgressWithTotalUnitCount_1 = _registerName1( + "discreteProgressWithTotalUnitCount:", + ); late final _sel_progressWithTotalUnitCount_parent_pendingUnitCount_1 = _registerName1("progressWithTotalUnitCount:parent:pendingUnitCount:"); ffi.Pointer _objc_msgSend_508( @@ -14340,64 +17836,86 @@ class PedometerBindings { } late final __objc_msgSend_508Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_508 = + __objc_msgSend_508Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int64, + int, ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_508 = __objc_msgSend_508Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_initWithParent_userInfo_1 = - _registerName1("initWithParent:userInfo:"); + late final _sel_initWithParent_userInfo_1 = _registerName1( + "initWithParent:userInfo:", + ); instancetype _objc_msgSend_509( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer parentProgressOrNil, ffi.Pointer userInfoOrNil, ) { - return __objc_msgSend_509( - obj, - sel, - parentProgressOrNil, - userInfoOrNil, - ); + return __objc_msgSend_509(obj, sel, parentProgressOrNil, userInfoOrNil); } late final __objc_msgSend_509Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_509 = + __objc_msgSend_509Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_509 = __objc_msgSend_509Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_becomeCurrentWithPendingUnitCount_1 = - _registerName1("becomeCurrentWithPendingUnitCount:"); + late final _sel_becomeCurrentWithPendingUnitCount_1 = _registerName1( + "becomeCurrentWithPendingUnitCount:", + ); void _objc_msgSend_510( ffi.Pointer obj, ffi.Pointer sel, int unitCount, ) { - return __objc_msgSend_510( - obj, - sel, - unitCount, - ); + return __objc_msgSend_510(obj, sel, unitCount); } late final __objc_msgSend_510Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_510 = __objc_msgSend_510Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_510 = + __objc_msgSend_510Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_performAsCurrentWithPendingUnitCount_usingBlock_1 = _registerName1("performAsCurrentWithPendingUnitCount:usingBlock:"); @@ -14407,64 +17925,79 @@ class PedometerBindings { int unitCount, ffi.Pointer<_ObjCBlock> work, ) { - return __objc_msgSend_511( - obj, - sel, - unitCount, - work, - ); + return __objc_msgSend_511(obj, sel, unitCount, work); } late final __objc_msgSend_511Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_511 = __objc_msgSend_511Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_511 = + __objc_msgSend_511Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_resignCurrent1 = _registerName1("resignCurrent"); - late final _sel_addChild_withPendingUnitCount_1 = - _registerName1("addChild:withPendingUnitCount:"); + late final _sel_addChild_withPendingUnitCount_1 = _registerName1( + "addChild:withPendingUnitCount:", + ); void _objc_msgSend_512( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer child, int inUnitCount, ) { - return __objc_msgSend_512( - obj, - sel, - child, - inUnitCount, - ); + return __objc_msgSend_512(obj, sel, child, inUnitCount); } late final __objc_msgSend_512Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_512 = __objc_msgSend_512Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_512 = + __objc_msgSend_512Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_totalUnitCount1 = _registerName1("totalUnitCount"); - int _objc_msgSend_513( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_513( - obj, - sel, - ); + int _objc_msgSend_513(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_513(obj, sel); } late final __objc_msgSend_513Ptr = _lookup< - ffi.NativeFunction< - ffi.Int64 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_513 = __objc_msgSend_513Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int64 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_513 = + __objc_msgSend_513Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setTotalUnitCount_1 = _registerName1("setTotalUnitCount:"); void _objc_msgSend_514( @@ -14472,49 +18005,64 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_514( - obj, - sel, - value, - ); + return __objc_msgSend_514(obj, sel, value); } late final __objc_msgSend_514Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int64)>>('objc_msgSend'); - late final __objc_msgSend_514 = __objc_msgSend_514Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int64, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_514 = + __objc_msgSend_514Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_completedUnitCount1 = _registerName1("completedUnitCount"); - late final _sel_setCompletedUnitCount_1 = - _registerName1("setCompletedUnitCount:"); - late final _sel_setLocalizedDescription_1 = - _registerName1("setLocalizedDescription:"); + late final _sel_setCompletedUnitCount_1 = _registerName1( + "setCompletedUnitCount:", + ); + late final _sel_setLocalizedDescription_1 = _registerName1( + "setLocalizedDescription:", + ); void _objc_msgSend_515( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_515( - obj, - sel, - value, - ); + return __objc_msgSend_515(obj, sel, value); } late final __objc_msgSend_515Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_515 = __objc_msgSend_515Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_localizedAdditionalDescription1 = - _registerName1("localizedAdditionalDescription"); - late final _sel_setLocalizedAdditionalDescription_1 = - _registerName1("setLocalizedAdditionalDescription:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_515 = + __objc_msgSend_515Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedAdditionalDescription1 = _registerName1( + "localizedAdditionalDescription", + ); + late final _sel_setLocalizedAdditionalDescription_1 = _registerName1( + "setLocalizedAdditionalDescription:", + ); late final _sel_isCancellable1 = _registerName1("isCancellable"); late final _sel_setCancellable_1 = _registerName1("setCancellable:"); late final _sel_isPausable1 = _registerName1("isPausable"); @@ -14525,83 +18073,108 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_516( - obj, - sel, - ); + return __objc_msgSend_516(obj, sel); } late final __objc_msgSend_516Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_516 = __objc_msgSend_516Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_516 = + __objc_msgSend_516Ptr + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setCancellationHandler_1 = - _registerName1("setCancellationHandler:"); + late final _sel_setCancellationHandler_1 = _registerName1( + "setCancellationHandler:", + ); void _objc_msgSend_517( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> value, ) { - return __objc_msgSend_517( - obj, - sel, - value, - ); + return __objc_msgSend_517(obj, sel, value); } late final __objc_msgSend_517Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_517 = __objc_msgSend_517Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_517 = + __objc_msgSend_517Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_pausingHandler1 = _registerName1("pausingHandler"); late final _sel_setPausingHandler_1 = _registerName1("setPausingHandler:"); late final _sel_resumingHandler1 = _registerName1("resumingHandler"); late final _sel_setResumingHandler_1 = _registerName1("setResumingHandler:"); - late final _sel_setUserInfoObject_forKey_1 = - _registerName1("setUserInfoObject:forKey:"); + late final _sel_setUserInfoObject_forKey_1 = _registerName1( + "setUserInfoObject:forKey:", + ); late final _sel_isIndeterminate1 = _registerName1("isIndeterminate"); late final _sel_fractionCompleted1 = _registerName1("fractionCompleted"); late final _sel_pause1 = _registerName1("pause"); late final _sel_resume1 = _registerName1("resume"); late final _sel_kind1 = _registerName1("kind"); late final _sel_setKind_1 = _registerName1("setKind:"); - late final _sel_estimatedTimeRemaining1 = - _registerName1("estimatedTimeRemaining"); - late final _sel_setEstimatedTimeRemaining_1 = - _registerName1("setEstimatedTimeRemaining:"); + late final _sel_estimatedTimeRemaining1 = _registerName1( + "estimatedTimeRemaining", + ); + late final _sel_setEstimatedTimeRemaining_1 = _registerName1( + "setEstimatedTimeRemaining:", + ); void _objc_msgSend_518( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_518( - obj, - sel, - value, - ); + return __objc_msgSend_518(obj, sel, value); } late final __objc_msgSend_518Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_518 = __objc_msgSend_518Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_518 = + __objc_msgSend_518Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_throughput1 = _registerName1("throughput"); late final _sel_setThroughput_1 = _registerName1("setThroughput:"); late final _sel_fileOperationKind1 = _registerName1("fileOperationKind"); - late final _sel_setFileOperationKind_1 = - _registerName1("setFileOperationKind:"); + late final _sel_setFileOperationKind_1 = _registerName1( + "setFileOperationKind:", + ); late final _sel_fileURL1 = _registerName1("fileURL"); late final _sel_setFileURL_1 = _registerName1("setFileURL:"); void _objc_msgSend_519( @@ -14609,26 +18182,34 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_519( - obj, - sel, - value, - ); + return __objc_msgSend_519(obj, sel, value); } late final __objc_msgSend_519Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_519 = __objc_msgSend_519Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_519 = + __objc_msgSend_519Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileTotalCount1 = _registerName1("fileTotalCount"); late final _sel_setFileTotalCount_1 = _registerName1("setFileTotalCount:"); late final _sel_fileCompletedCount1 = _registerName1("fileCompletedCount"); - late final _sel_setFileCompletedCount_1 = - _registerName1("setFileCompletedCount:"); + late final _sel_setFileCompletedCount_1 = _registerName1( + "setFileCompletedCount:", + ); late final _sel_publish1 = _registerName1("publish"); late final _sel_unpublish1 = _registerName1("unpublish"); late final _sel_addSubscriberForFileURL_withPublishingHandler_1 = @@ -14639,33 +18220,36 @@ class PedometerBindings { ffi.Pointer url, ffi.Pointer<_ObjCBlock> publishingHandler, ) { - return __objc_msgSend_520( - obj, - sel, - url, - publishingHandler, - ); + return __objc_msgSend_520(obj, sel, url, publishingHandler); } late final __objc_msgSend_520Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_520 = + __objc_msgSend_520Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_520 = __objc_msgSend_520Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_removeSubscriber_1 = _registerName1("removeSubscriber:"); late final _sel_isOld1 = _registerName1("isOld"); late final _sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1 = _registerName1( - "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:"); + "registerDataRepresentationForTypeIdentifier:visibility:loadHandler:", + ); void _objc_msgSend_521( ffi.Pointer obj, ffi.Pointer sel, @@ -14683,20 +18267,32 @@ class PedometerBindings { } late final __objc_msgSend_521Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_521 = + __objc_msgSend_521Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_521 = __objc_msgSend_521Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1 = _registerName1( - "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:"); + "registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:", + ); void _objc_msgSend_522( ffi.Pointer obj, ffi.Pointer sel, @@ -14716,187 +18312,236 @@ class PedometerBindings { } late final __objc_msgSend_522Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_522 = + __objc_msgSend_522Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_522 = __objc_msgSend_522Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_registeredTypeIdentifiers1 = - _registerName1("registeredTypeIdentifiers"); - late final _sel_registeredTypeIdentifiersWithFileOptions_1 = - _registerName1("registeredTypeIdentifiersWithFileOptions:"); + int, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_registeredTypeIdentifiers1 = _registerName1( + "registeredTypeIdentifiers", + ); + late final _sel_registeredTypeIdentifiersWithFileOptions_1 = _registerName1( + "registeredTypeIdentifiersWithFileOptions:", + ); ffi.Pointer _objc_msgSend_523( ffi.Pointer obj, ffi.Pointer sel, int fileOptions, ) { - return __objc_msgSend_523( - obj, - sel, - fileOptions, - ); + return __objc_msgSend_523(obj, sel, fileOptions); } late final __objc_msgSend_523Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_523 = __objc_msgSend_523Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_523 = + __objc_msgSend_523Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_hasItemConformingToTypeIdentifier_1 = - _registerName1("hasItemConformingToTypeIdentifier:"); + late final _sel_hasItemConformingToTypeIdentifier_1 = _registerName1( + "hasItemConformingToTypeIdentifier:", + ); late final _sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1 = _registerName1( - "hasRepresentationConformingToTypeIdentifier:fileOptions:"); + "hasRepresentationConformingToTypeIdentifier:fileOptions:", + ); bool _objc_msgSend_524( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer typeIdentifier, int fileOptions, ) { - return __objc_msgSend_524( - obj, - sel, - typeIdentifier, - fileOptions, - ); + return __objc_msgSend_524(obj, sel, typeIdentifier, fileOptions); } late final __objc_msgSend_524Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_524 = __objc_msgSend_524Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_524 = + __objc_msgSend_524Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_loadDataRepresentationForTypeIdentifier_completionHandler_1 = _registerName1( - "loadDataRepresentationForTypeIdentifier:completionHandler:"); + "loadDataRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_525( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer typeIdentifier, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_525( - obj, - sel, - typeIdentifier, - completionHandler, - ); + return __objc_msgSend_525(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_525Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_525 = + __objc_msgSend_525Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_525 = __objc_msgSend_525Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_loadFileRepresentationForTypeIdentifier_completionHandler_1 = _registerName1( - "loadFileRepresentationForTypeIdentifier:completionHandler:"); + "loadFileRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_526( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer typeIdentifier, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_526( - obj, - sel, - typeIdentifier, - completionHandler, - ); + return __objc_msgSend_526(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_526Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_526 = + __objc_msgSend_526Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_526 = __objc_msgSend_526Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1 = _registerName1( - "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:"); + "loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:", + ); ffi.Pointer _objc_msgSend_527( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer typeIdentifier, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_527( - obj, - sel, - typeIdentifier, - completionHandler, - ); + return __objc_msgSend_527(obj, sel, typeIdentifier, completionHandler); } late final __objc_msgSend_527Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_527 = + __objc_msgSend_527Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_527 = __objc_msgSend_527Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_suggestedName1 = _registerName1("suggestedName"); late final _sel_setSuggestedName_1 = _registerName1("setSuggestedName:"); - late final _sel_registerObject_visibility_1 = - _registerName1("registerObject:visibility:"); + late final _sel_registerObject_visibility_1 = _registerName1( + "registerObject:visibility:", + ); void _objc_msgSend_528( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer object, int visibility, ) { - return __objc_msgSend_528( - obj, - sel, - object, - visibility, - ); + return __objc_msgSend_528(obj, sel, object, visibility); } late final __objc_msgSend_528Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_528 = __objc_msgSend_528Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_528 = + __objc_msgSend_528Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_registerObjectOfClass_visibility_loadHandler_1 = _registerName1("registerObjectOfClass:visibility:loadHandler:"); @@ -14907,112 +18552,133 @@ class PedometerBindings { int visibility, ffi.Pointer<_ObjCBlock> loadHandler, ) { - return __objc_msgSend_529( - obj, - sel, - aClass, - visibility, - loadHandler, - ); + return __objc_msgSend_529(obj, sel, aClass, visibility, loadHandler); } late final __objc_msgSend_529Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_529 = + __objc_msgSend_529Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_529 = __objc_msgSend_529Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_canLoadObjectOfClass_1 = - _registerName1("canLoadObjectOfClass:"); - late final _sel_loadObjectOfClass_completionHandler_1 = - _registerName1("loadObjectOfClass:completionHandler:"); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_canLoadObjectOfClass_1 = _registerName1( + "canLoadObjectOfClass:", + ); + late final _sel_loadObjectOfClass_completionHandler_1 = _registerName1( + "loadObjectOfClass:completionHandler:", + ); ffi.Pointer _objc_msgSend_530( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aClass, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_530( - obj, - sel, - aClass, - completionHandler, - ); + return __objc_msgSend_530(obj, sel, aClass, completionHandler); } late final __objc_msgSend_530Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_530 = + __objc_msgSend_530Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_530 = __objc_msgSend_530Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_initWithItem_typeIdentifier_1 = - _registerName1("initWithItem:typeIdentifier:"); + late final _sel_initWithItem_typeIdentifier_1 = _registerName1( + "initWithItem:typeIdentifier:", + ); instancetype _objc_msgSend_531( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer item, ffi.Pointer typeIdentifier, ) { - return __objc_msgSend_531( - obj, - sel, - item, - typeIdentifier, - ); + return __objc_msgSend_531(obj, sel, item, typeIdentifier); } late final __objc_msgSend_531Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_531 = + __objc_msgSend_531Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_531 = __objc_msgSend_531Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_registerItemForTypeIdentifier_loadHandler_1 = - _registerName1("registerItemForTypeIdentifier:loadHandler:"); + late final _sel_registerItemForTypeIdentifier_loadHandler_1 = _registerName1( + "registerItemForTypeIdentifier:loadHandler:", + ); void _objc_msgSend_532( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer typeIdentifier, ffi.Pointer<_ObjCBlock> loadHandler, ) { - return __objc_msgSend_532( - obj, - sel, - typeIdentifier, - loadHandler, - ); + return __objc_msgSend_532(obj, sel, typeIdentifier, loadHandler); } late final __objc_msgSend_532Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_532 = + __objc_msgSend_532Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_532 = __objc_msgSend_532Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_loadItemForTypeIdentifier_options_completionHandler_1 = _registerName1("loadItemForTypeIdentifier:options:completionHandler:"); @@ -15033,61 +18699,82 @@ class PedometerBindings { } late final __objc_msgSend_533Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_533 = + __objc_msgSend_533Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_533 = __objc_msgSend_533Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_previewImageHandler1 = _registerName1("previewImageHandler"); ffi.Pointer<_ObjCBlock> _objc_msgSend_534( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_534( - obj, - sel, - ); + return __objc_msgSend_534(obj, sel); } late final __objc_msgSend_534Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_534 = __objc_msgSend_534Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_534 = + __objc_msgSend_534Ptr + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setPreviewImageHandler_1 = - _registerName1("setPreviewImageHandler:"); + late final _sel_setPreviewImageHandler_1 = _registerName1( + "setPreviewImageHandler:", + ); void _objc_msgSend_535( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> value, ) { - return __objc_msgSend_535( - obj, - sel, - value, - ); + return __objc_msgSend_535(obj, sel, value); } late final __objc_msgSend_535Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_535 = __objc_msgSend_535Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_535 = + __objc_msgSend_535Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_loadPreviewImageWithOptions_completionHandler_1 = _registerName1("loadPreviewImageWithOptions:completionHandler:"); @@ -15097,76 +18784,100 @@ class PedometerBindings { ffi.Pointer options, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_536( - obj, - sel, - options, - completionHandler, - ); + return __objc_msgSend_536(obj, sel, options, completionHandler); } late final __objc_msgSend_536Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_536 = + __objc_msgSend_536Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_536 = __objc_msgSend_536Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_NSMutableString1 = _getClass1("NSMutableString"); - late final _sel_replaceCharactersInRange_withString_1 = - _registerName1("replaceCharactersInRange:withString:"); + late final _sel_replaceCharactersInRange_withString_1 = _registerName1( + "replaceCharactersInRange:withString:", + ); void _objc_msgSend_537( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ffi.Pointer aString, ) { - return __objc_msgSend_537( - obj, - sel, - range, - aString, - ); + return __objc_msgSend_537(obj, sel, range, aString); } late final __objc_msgSend_537Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_537 = __objc_msgSend_537Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_insertString_atIndex_1 = - _registerName1("insertString:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_537 = + __objc_msgSend_537Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_insertString_atIndex_1 = _registerName1( + "insertString:atIndex:", + ); void _objc_msgSend_538( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aString, int loc, ) { - return __objc_msgSend_538( - obj, - sel, - aString, - loc, - ); + return __objc_msgSend_538(obj, sel, aString, loc); } late final __objc_msgSend_538Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_538 = __objc_msgSend_538Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_deleteCharactersInRange_1 = - _registerName1("deleteCharactersInRange:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_538 = + __objc_msgSend_538Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_deleteCharactersInRange_1 = _registerName1( + "deleteCharactersInRange:", + ); late final _sel_appendString_1 = _registerName1("appendString:"); late final _sel_appendFormat_1 = _registerName1("appendFormat:"); late final _sel_setString_1 = _registerName1("setString:"); @@ -15191,20 +18902,33 @@ class PedometerBindings { } late final __objc_msgSend_539Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_539 = + __objc_msgSend_539Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_539 = __objc_msgSend_539Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + int, + _NSRange, + ) + >(); - late final _sel_applyTransform_reverse_range_updatedRange_1 = - _registerName1("applyTransform:reverse:range:updatedRange:"); + late final _sel_applyTransform_reverse_range_updatedRange_1 = _registerName1( + "applyTransform:reverse:range:updatedRange:", + ); bool _objc_msgSend_540( ffi.Pointer obj, ffi.Pointer sel, @@ -15224,43 +18948,63 @@ class PedometerBindings { } late final __objc_msgSend_540Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + _NSRange, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_540 = + __objc_msgSend_540Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool, + bool, _NSRange, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_540 = __objc_msgSend_540Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, _NSRange, ffi.Pointer<_NSRange>)>(); + ffi.Pointer<_NSRange>, + ) + >(); ffi.Pointer _objc_msgSend_541( ffi.Pointer obj, ffi.Pointer sel, int capacity, ) { - return __objc_msgSend_541( - obj, - sel, - capacity, - ); + return __objc_msgSend_541(obj, sel, capacity); } late final __objc_msgSend_541Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_541 = __objc_msgSend_541Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_541 = + __objc_msgSend_541Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_stringWithCapacity_1 = _registerName1("stringWithCapacity:"); late final _class_NSNotification1 = _getClass1("NSNotification"); late final _sel_object1 = _registerName1("object"); - late final _sel_initWithName_object_userInfo_1 = - _registerName1("initWithName:object:userInfo:"); + late final _sel_initWithName_object_userInfo_1 = _registerName1( + "initWithName:object:userInfo:", + ); instancetype _objc_msgSend_542( ffi.Pointer obj, ffi.Pointer sel, @@ -15268,54 +19012,63 @@ class PedometerBindings { ffi.Pointer object, ffi.Pointer userInfo, ) { - return __objc_msgSend_542( - obj, - sel, - name, - object, - userInfo, - ); + return __objc_msgSend_542(obj, sel, name, object, userInfo); } late final __objc_msgSend_542Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_542 = + __objc_msgSend_542Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_542 = __objc_msgSend_542Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_notificationWithName_object_1 = - _registerName1("notificationWithName:object:"); - late final _sel_notificationWithName_object_userInfo_1 = - _registerName1("notificationWithName:object:userInfo:"); + late final _sel_notificationWithName_object_1 = _registerName1( + "notificationWithName:object:", + ); + late final _sel_notificationWithName_object_userInfo_1 = _registerName1( + "notificationWithName:object:userInfo:", + ); late final _class_NSBundle1 = _getClass1("NSBundle"); late final _sel_mainBundle1 = _registerName1("mainBundle"); ffi.Pointer _objc_msgSend_543( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_543( - obj, - sel, - ); + return __objc_msgSend_543(obj, sel); } late final __objc_msgSend_543Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_543 = __objc_msgSend_543Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_543 = + __objc_msgSend_543Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_bundleWithPath_1 = _registerName1("bundleWithPath:"); late final _sel_initWithPath_1 = _registerName1("initWithPath:"); @@ -15327,57 +19080,75 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer aClass, ) { - return __objc_msgSend_544( - obj, - sel, - aClass, - ); + return __objc_msgSend_544(obj, sel, aClass); } late final __objc_msgSend_544Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_544 = __objc_msgSend_544Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_bundleWithIdentifier_1 = - _registerName1("bundleWithIdentifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_544 = + __objc_msgSend_544Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_bundleWithIdentifier_1 = _registerName1( + "bundleWithIdentifier:", + ); ffi.Pointer _objc_msgSend_545( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer identifier, ) { - return __objc_msgSend_545( - obj, - sel, - identifier, - ); + return __objc_msgSend_545(obj, sel, identifier); } late final __objc_msgSend_545Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_545 = __objc_msgSend_545Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_545 = + __objc_msgSend_545Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_allBundles1 = _registerName1("allBundles"); late final _sel_allFrameworks1 = _registerName1("allFrameworks"); late final _sel_isLoaded1 = _registerName1("isLoaded"); late final _sel_unload1 = _registerName1("unload"); - late final _sel_preflightAndReturnError_1 = - _registerName1("preflightAndReturnError:"); + late final _sel_preflightAndReturnError_1 = _registerName1( + "preflightAndReturnError:", + ); late final _sel_loadAndReturnError_1 = _registerName1("loadAndReturnError:"); late final _sel_bundleURL1 = _registerName1("bundleURL"); late final _sel_resourceURL1 = _registerName1("resourceURL"); late final _sel_executableURL1 = _registerName1("executableURL"); - late final _sel_URLForAuxiliaryExecutable_1 = - _registerName1("URLForAuxiliaryExecutable:"); - late final _sel_privateFrameworksURL1 = - _registerName1("privateFrameworksURL"); + late final _sel_URLForAuxiliaryExecutable_1 = _registerName1( + "URLForAuxiliaryExecutable:", + ); + late final _sel_privateFrameworksURL1 = _registerName1( + "privateFrameworksURL", + ); late final _sel_sharedFrameworksURL1 = _registerName1("sharedFrameworksURL"); late final _sel_sharedSupportURL1 = _registerName1("sharedSupportURL"); late final _sel_builtInPlugInsURL1 = _registerName1("builtInPlugInsURL"); @@ -15385,17 +19156,21 @@ class PedometerBindings { late final _sel_bundlePath1 = _registerName1("bundlePath"); late final _sel_resourcePath1 = _registerName1("resourcePath"); late final _sel_executablePath1 = _registerName1("executablePath"); - late final _sel_pathForAuxiliaryExecutable_1 = - _registerName1("pathForAuxiliaryExecutable:"); - late final _sel_privateFrameworksPath1 = - _registerName1("privateFrameworksPath"); - late final _sel_sharedFrameworksPath1 = - _registerName1("sharedFrameworksPath"); + late final _sel_pathForAuxiliaryExecutable_1 = _registerName1( + "pathForAuxiliaryExecutable:", + ); + late final _sel_privateFrameworksPath1 = _registerName1( + "privateFrameworksPath", + ); + late final _sel_sharedFrameworksPath1 = _registerName1( + "sharedFrameworksPath", + ); late final _sel_sharedSupportPath1 = _registerName1("sharedSupportPath"); late final _sel_builtInPlugInsPath1 = _registerName1("builtInPlugInsPath"); late final _sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1 = _registerName1( - "URLForResource:withExtension:subdirectory:inBundleWithURL:"); + "URLForResource:withExtension:subdirectory:inBundleWithURL:", + ); ffi.Pointer _objc_msgSend_546( ffi.Pointer obj, ffi.Pointer sel, @@ -15404,37 +19179,38 @@ class PedometerBindings { ffi.Pointer subpath, ffi.Pointer bundleURL, ) { - return __objc_msgSend_546( - obj, - sel, - name, - ext, - subpath, - bundleURL, - ); + return __objc_msgSend_546(obj, sel, name, ext, subpath, bundleURL); } late final __objc_msgSend_546Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_546 = + __objc_msgSend_546Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_546 = __objc_msgSend_546Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1 = _registerName1( - "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:"); + "URLsForResourcesWithExtension:subdirectory:inBundleWithURL:", + ); ffi.Pointer _objc_msgSend_547( ffi.Pointer obj, ffi.Pointer sel, @@ -15442,63 +19218,68 @@ class PedometerBindings { ffi.Pointer subpath, ffi.Pointer bundleURL, ) { - return __objc_msgSend_547( - obj, - sel, - ext, - subpath, - bundleURL, - ); + return __objc_msgSend_547(obj, sel, ext, subpath, bundleURL); } late final __objc_msgSend_547Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_547 = + __objc_msgSend_547Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_547 = __objc_msgSend_547Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_URLForResource_withExtension_1 = - _registerName1("URLForResource:withExtension:"); + late final _sel_URLForResource_withExtension_1 = _registerName1( + "URLForResource:withExtension:", + ); ffi.Pointer _objc_msgSend_548( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer name, ffi.Pointer ext, ) { - return __objc_msgSend_548( - obj, - sel, - name, - ext, - ); + return __objc_msgSend_548(obj, sel, name, ext); } late final __objc_msgSend_548Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_548 = + __objc_msgSend_548Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_548 = __objc_msgSend_548Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_URLForResource_withExtension_subdirectory_1 = - _registerName1("URLForResource:withExtension:subdirectory:"); + late final _sel_URLForResource_withExtension_subdirectory_1 = _registerName1( + "URLForResource:withExtension:subdirectory:", + ); ffi.Pointer _objc_msgSend_549( ffi.Pointer obj, ffi.Pointer sel, @@ -15506,30 +19287,31 @@ class PedometerBindings { ffi.Pointer ext, ffi.Pointer subpath, ) { - return __objc_msgSend_549( - obj, - sel, - name, - ext, - subpath, - ); + return __objc_msgSend_549(obj, sel, name, ext, subpath); } late final __objc_msgSend_549Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_549 = + __objc_msgSend_549Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_549 = __objc_msgSend_549Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_URLForResource_withExtension_subdirectory_localization_1 = _registerName1("URLForResource:withExtension:subdirectory:localization:"); @@ -15541,67 +19323,71 @@ class PedometerBindings { ffi.Pointer subpath, ffi.Pointer localizationName, ) { - return __objc_msgSend_550( - obj, - sel, - name, - ext, - subpath, - localizationName, - ); + return __objc_msgSend_550(obj, sel, name, ext, subpath, localizationName); } late final __objc_msgSend_550Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_550 = + __objc_msgSend_550Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_550 = __objc_msgSend_550Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_URLsForResourcesWithExtension_subdirectory_1 = - _registerName1("URLsForResourcesWithExtension:subdirectory:"); + late final _sel_URLsForResourcesWithExtension_subdirectory_1 = _registerName1( + "URLsForResourcesWithExtension:subdirectory:", + ); ffi.Pointer _objc_msgSend_551( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer ext, ffi.Pointer subpath, ) { - return __objc_msgSend_551( - obj, - sel, - ext, - subpath, - ); + return __objc_msgSend_551(obj, sel, ext, subpath); } late final __objc_msgSend_551Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_551 = + __objc_msgSend_551Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_551 = __objc_msgSend_551Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_URLsForResourcesWithExtension_subdirectory_localization_1 = _registerName1( - "URLsForResourcesWithExtension:subdirectory:localization:"); + "URLsForResourcesWithExtension:subdirectory:localization:", + ); ffi.Pointer _objc_msgSend_552( ffi.Pointer obj, ffi.Pointer sel, @@ -15609,33 +19395,35 @@ class PedometerBindings { ffi.Pointer subpath, ffi.Pointer localizationName, ) { - return __objc_msgSend_552( - obj, - sel, - ext, - subpath, - localizationName, - ); + return __objc_msgSend_552(obj, sel, ext, subpath, localizationName); } late final __objc_msgSend_552Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_552 = + __objc_msgSend_552Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_552 = __objc_msgSend_552Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_pathForResource_ofType_inDirectory_1 = - _registerName1("pathForResource:ofType:inDirectory:"); + late final _sel_pathForResource_ofType_inDirectory_1 = _registerName1( + "pathForResource:ofType:inDirectory:", + ); ffi.Pointer _objc_msgSend_553( ffi.Pointer obj, ffi.Pointer sel, @@ -15643,90 +19431,97 @@ class PedometerBindings { ffi.Pointer ext, ffi.Pointer bundlePath, ) { - return __objc_msgSend_553( - obj, - sel, - name, - ext, - bundlePath, - ); + return __objc_msgSend_553(obj, sel, name, ext, bundlePath); } late final __objc_msgSend_553Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_553 = + __objc_msgSend_553Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_553 = __objc_msgSend_553Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_pathsForResourcesOfType_inDirectory_1 = - _registerName1("pathsForResourcesOfType:inDirectory:"); + late final _sel_pathsForResourcesOfType_inDirectory_1 = _registerName1( + "pathsForResourcesOfType:inDirectory:", + ); ffi.Pointer _objc_msgSend_554( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer ext, ffi.Pointer bundlePath, ) { - return __objc_msgSend_554( - obj, - sel, - ext, - bundlePath, - ); + return __objc_msgSend_554(obj, sel, ext, bundlePath); } late final __objc_msgSend_554Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_554 = + __objc_msgSend_554Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_554 = __objc_msgSend_554Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_pathForResource_ofType_1 = - _registerName1("pathForResource:ofType:"); + late final _sel_pathForResource_ofType_1 = _registerName1( + "pathForResource:ofType:", + ); ffi.Pointer _objc_msgSend_555( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer name, ffi.Pointer ext, ) { - return __objc_msgSend_555( - obj, - sel, - name, - ext, - ); + return __objc_msgSend_555(obj, sel, name, ext); } late final __objc_msgSend_555Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_555 = + __objc_msgSend_555Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_555 = __objc_msgSend_555Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_pathForResource_ofType_inDirectory_forLocalization_1 = _registerName1("pathForResource:ofType:inDirectory:forLocalization:"); @@ -15738,33 +19533,33 @@ class PedometerBindings { ffi.Pointer subpath, ffi.Pointer localizationName, ) { - return __objc_msgSend_556( - obj, - sel, - name, - ext, - subpath, - localizationName, - ); + return __objc_msgSend_556(obj, sel, name, ext, subpath, localizationName); } late final __objc_msgSend_556Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_556 = + __objc_msgSend_556Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_556 = __objc_msgSend_556Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_pathsForResourcesOfType_inDirectory_forLocalization_1 = _registerName1("pathsForResourcesOfType:inDirectory:forLocalization:"); @@ -15775,33 +19570,35 @@ class PedometerBindings { ffi.Pointer subpath, ffi.Pointer localizationName, ) { - return __objc_msgSend_557( - obj, - sel, - ext, - subpath, - localizationName, - ); + return __objc_msgSend_557(obj, sel, ext, subpath, localizationName); } late final __objc_msgSend_557Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_557 = + __objc_msgSend_557Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_557 = __objc_msgSend_557Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_localizedStringForKey_value_table_1 = - _registerName1("localizedStringForKey:value:table:"); + late final _sel_localizedStringForKey_value_table_1 = _registerName1( + "localizedStringForKey:value:table:", + ); ffi.Pointer _objc_msgSend_558( ffi.Pointer obj, ffi.Pointer sel, @@ -15809,61 +19606,69 @@ class PedometerBindings { ffi.Pointer value, ffi.Pointer tableName, ) { - return __objc_msgSend_558( - obj, - sel, - key, - value, - tableName, - ); + return __objc_msgSend_558(obj, sel, key, value, tableName); } late final __objc_msgSend_558Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_558 = + __objc_msgSend_558Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_558 = __objc_msgSend_558Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _class_NSAttributedString1 = _getClass1("NSAttributedString"); - late final _sel_attributesAtIndex_effectiveRange_1 = - _registerName1("attributesAtIndex:effectiveRange:"); + late final _sel_attributesAtIndex_effectiveRange_1 = _registerName1( + "attributesAtIndex:effectiveRange:", + ); ffi.Pointer _objc_msgSend_559( ffi.Pointer obj, ffi.Pointer sel, int location, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_559( - obj, - sel, - location, - range, - ); + return __objc_msgSend_559(obj, sel, location, range); } late final __objc_msgSend_559Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_559 = + __objc_msgSend_559Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_559 = __objc_msgSend_559Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>)>(); + int, + ffi.Pointer<_NSRange>, + ) + >(); - late final _sel_attribute_atIndex_effectiveRange_1 = - _registerName1("attribute:atIndex:effectiveRange:"); + late final _sel_attribute_atIndex_effectiveRange_1 = _registerName1( + "attribute:atIndex:effectiveRange:", + ); ffi.Pointer _objc_msgSend_560( ffi.Pointer obj, ffi.Pointer sel, @@ -15871,52 +19676,61 @@ class PedometerBindings { int location, ffi.Pointer<_NSRange> range, ) { - return __objc_msgSend_560( - obj, - sel, - attrName, - location, - range, - ); + return __objc_msgSend_560(obj, sel, attrName, location, range); } late final __objc_msgSend_560Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_560 = + __objc_msgSend_560Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer<_NSRange>)>>('objc_msgSend'); - late final __objc_msgSend_560 = __objc_msgSend_560Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>)>(); + int, + ffi.Pointer<_NSRange>, + ) + >(); - late final _sel_attributedSubstringFromRange_1 = - _registerName1("attributedSubstringFromRange:"); + late final _sel_attributedSubstringFromRange_1 = _registerName1( + "attributedSubstringFromRange:", + ); ffi.Pointer _objc_msgSend_561( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_561( - obj, - sel, - range, - ); + return __objc_msgSend_561(obj, sel, range); } late final __objc_msgSend_561Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_561 = __objc_msgSend_561Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_561 = + __objc_msgSend_561Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_attributesAtIndex_longestEffectiveRange_inRange_1 = _registerName1("attributesAtIndex:longestEffectiveRange:inRange:"); @@ -15927,26 +19741,31 @@ class PedometerBindings { ffi.Pointer<_NSRange> range, _NSRange rangeLimit, ) { - return __objc_msgSend_562( - obj, - sel, - location, - range, - rangeLimit, - ); + return __objc_msgSend_562(obj, sel, location, range, rangeLimit); } late final __objc_msgSend_562Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_562 = + __objc_msgSend_562Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_562 = __objc_msgSend_562Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_NSRange>, _NSRange)>(); + _NSRange, + ) + >(); late final _sel_attribute_atIndex_longestEffectiveRange_inRange_1 = _registerName1("attribute:atIndex:longestEffectiveRange:inRange:"); @@ -15958,104 +19777,126 @@ class PedometerBindings { ffi.Pointer<_NSRange> range, _NSRange rangeLimit, ) { - return __objc_msgSend_563( - obj, - sel, - attrName, - location, - range, - rangeLimit, - ); + return __objc_msgSend_563(obj, sel, attrName, location, range, rangeLimit); } late final __objc_msgSend_563Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer<_NSRange>, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_563 = + __objc_msgSend_563Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer<_NSRange>, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_563 = __objc_msgSend_563Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_NSRange>, - _NSRange)>(); + _NSRange, + ) + >(); - late final _sel_isEqualToAttributedString_1 = - _registerName1("isEqualToAttributedString:"); + late final _sel_isEqualToAttributedString_1 = _registerName1( + "isEqualToAttributedString:", + ); bool _objc_msgSend_564( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer other, ) { - return __objc_msgSend_564( - obj, - sel, - other, - ); + return __objc_msgSend_564(obj, sel, other); } late final __objc_msgSend_564Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_564 = __objc_msgSend_564Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithString_attributes_1 = - _registerName1("initWithString:attributes:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_564 = + __objc_msgSend_564Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithString_attributes_1 = _registerName1( + "initWithString:attributes:", + ); instancetype _objc_msgSend_565( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer str, ffi.Pointer attrs, ) { - return __objc_msgSend_565( - obj, - sel, - str, - attrs, - ); + return __objc_msgSend_565(obj, sel, str, attrs); } late final __objc_msgSend_565Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_565 = + __objc_msgSend_565Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_565 = __objc_msgSend_565Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_initWithAttributedString_1 = - _registerName1("initWithAttributedString:"); + late final _sel_initWithAttributedString_1 = _registerName1( + "initWithAttributedString:", + ); instancetype _objc_msgSend_566( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer attrStr, ) { - return __objc_msgSend_566( - obj, - sel, - attrStr, - ); + return __objc_msgSend_566(obj, sel, attrStr); } late final __objc_msgSend_566Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_566 = __objc_msgSend_566Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_566 = + __objc_msgSend_566Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_enumerateAttributesInRange_options_usingBlock_1 = _registerName1("enumerateAttributesInRange:options:usingBlock:"); @@ -16066,22 +19907,31 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_567( - obj, - sel, - enumerationRange, - opts, - block, - ); + return __objc_msgSend_567(obj, sel, enumerationRange, opts, block); } late final __objc_msgSend_567Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Int32, ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_567 = __objc_msgSend_567Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - int, ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_567 = + __objc_msgSend_567Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_enumerateAttribute_inRange_options_usingBlock_1 = _registerName1("enumerateAttribute:inRange:options:usingBlock:"); @@ -16104,80 +19954,96 @@ class PedometerBindings { } late final __objc_msgSend_568Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_568 = + __objc_msgSend_568Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_568 = __objc_msgSend_568Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _class_NSAttributedStringMarkdownParsingOptions1 = - _getClass1("NSAttributedStringMarkdownParsingOptions"); - late final _sel_allowsExtendedAttributes1 = - _registerName1("allowsExtendedAttributes"); - late final _sel_setAllowsExtendedAttributes_1 = - _registerName1("setAllowsExtendedAttributes:"); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _class_NSAttributedStringMarkdownParsingOptions1 = _getClass1( + "NSAttributedStringMarkdownParsingOptions", + ); + late final _sel_allowsExtendedAttributes1 = _registerName1( + "allowsExtendedAttributes", + ); + late final _sel_setAllowsExtendedAttributes_1 = _registerName1( + "setAllowsExtendedAttributes:", + ); late final _sel_interpretedSyntax1 = _registerName1("interpretedSyntax"); - int _objc_msgSend_569( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_569( - obj, - sel, - ); + int _objc_msgSend_569(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_569(obj, sel); } late final __objc_msgSend_569Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_569 = __objc_msgSend_569Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_569 = + __objc_msgSend_569Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setInterpretedSyntax_1 = - _registerName1("setInterpretedSyntax:"); + late final _sel_setInterpretedSyntax_1 = _registerName1( + "setInterpretedSyntax:", + ); void _objc_msgSend_570( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_570( - obj, - sel, - value, - ); + return __objc_msgSend_570(obj, sel, value); } late final __objc_msgSend_570Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_570 = __objc_msgSend_570Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_570 = + __objc_msgSend_570Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_failurePolicy1 = _registerName1("failurePolicy"); - int _objc_msgSend_571( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_571( - obj, - sel, - ); + int _objc_msgSend_571(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_571(obj, sel); } late final __objc_msgSend_571Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_571 = __objc_msgSend_571Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_571 = + __objc_msgSend_571Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setFailurePolicy_1 = _registerName1("setFailurePolicy:"); void _objc_msgSend_572( @@ -16185,28 +20051,35 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_572( - obj, - sel, - value, - ); + return __objc_msgSend_572(obj, sel, value); } late final __objc_msgSend_572Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_572 = __objc_msgSend_572Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_572 = + __objc_msgSend_572Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_setLanguageCode_1 = _registerName1("setLanguageCode:"); - late final _sel_appliesSourcePositionAttributes1 = - _registerName1("appliesSourcePositionAttributes"); - late final _sel_setAppliesSourcePositionAttributes_1 = - _registerName1("setAppliesSourcePositionAttributes:"); + late final _sel_appliesSourcePositionAttributes1 = _registerName1( + "appliesSourcePositionAttributes", + ); + late final _sel_setAppliesSourcePositionAttributes_1 = _registerName1( + "setAppliesSourcePositionAttributes:", + ); late final _sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1 = _registerName1( - "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:"); + "initWithContentsOfMarkdownFileAtURL:options:baseURL:error:", + ); instancetype _objc_msgSend_573( ffi.Pointer obj, ffi.Pointer sel, @@ -16215,36 +20088,37 @@ class PedometerBindings { ffi.Pointer baseURL, ffi.Pointer> error, ) { - return __objc_msgSend_573( - obj, - sel, - markdownFile, - options, - baseURL, - error, - ); + return __objc_msgSend_573(obj, sel, markdownFile, options, baseURL, error); } late final __objc_msgSend_573Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_573 = + __objc_msgSend_573Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_573 = __objc_msgSend_573Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_initWithMarkdown_options_baseURL_error_1 = - _registerName1("initWithMarkdown:options:baseURL:error:"); + late final _sel_initWithMarkdown_options_baseURL_error_1 = _registerName1( + "initWithMarkdown:options:baseURL:error:", + ); instancetype _objc_msgSend_574( ffi.Pointer obj, ffi.Pointer sel, @@ -16253,33 +20127,33 @@ class PedometerBindings { ffi.Pointer baseURL, ffi.Pointer> error, ) { - return __objc_msgSend_574( - obj, - sel, - markdown, - options, - baseURL, - error, - ); + return __objc_msgSend_574(obj, sel, markdown, options, baseURL, error); } late final __objc_msgSend_574Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_574 = + __objc_msgSend_574Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_574 = __objc_msgSend_574Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_initWithMarkdownString_options_baseURL_error_1 = _registerName1("initWithMarkdownString:options:baseURL:error:"); @@ -16302,25 +20176,33 @@ class PedometerBindings { } late final __objc_msgSend_575Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_575 = + __objc_msgSend_575Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_575 = __objc_msgSend_575Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_initWithFormat_options_locale_1 = - _registerName1("initWithFormat:options:locale:"); + late final _sel_initWithFormat_options_locale_1 = _registerName1( + "initWithFormat:options:locale:", + ); instancetype _objc_msgSend_576( ffi.Pointer obj, ffi.Pointer sel, @@ -16328,29 +20210,35 @@ class PedometerBindings { int options, ffi.Pointer locale, ) { - return __objc_msgSend_576( - obj, - sel, - format, - options, - locale, - ); + return __objc_msgSend_576(obj, sel, format, options, locale); } late final __objc_msgSend_576Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_576 = + __objc_msgSend_576Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_576 = __objc_msgSend_576Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_initWithFormat_options_locale_arguments_1 = - _registerName1("initWithFormat:options:locale:arguments:"); + late final _sel_initWithFormat_options_locale_arguments_1 = _registerName1( + "initWithFormat:options:locale:arguments:", + ); instancetype _objc_msgSend_577( ffi.Pointer obj, ffi.Pointer sel, @@ -16359,36 +20247,37 @@ class PedometerBindings { ffi.Pointer locale, ffi.Pointer arguments, ) { - return __objc_msgSend_577( - obj, - sel, - format, - options, - locale, - arguments, - ); + return __objc_msgSend_577(obj, sel, format, options, locale, arguments); } late final __objc_msgSend_577Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_577 = + __objc_msgSend_577Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_577 = __objc_msgSend_577Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_localizedAttributedStringWithFormat_1 = - _registerName1("localizedAttributedStringWithFormat:"); + late final _sel_localizedAttributedStringWithFormat_1 = _registerName1( + "localizedAttributedStringWithFormat:", + ); late final _sel_localizedAttributedStringWithFormat_options_1 = _registerName1("localizedAttributedStringWithFormat:options:"); instancetype _objc_msgSend_578( @@ -16397,24 +20286,33 @@ class PedometerBindings { ffi.Pointer format, int options, ) { - return __objc_msgSend_578( - obj, - sel, - format, - options, - ); + return __objc_msgSend_578(obj, sel, format, options); } late final __objc_msgSend_578Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_578 = __objc_msgSend_578Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithFormat_options_locale_context_1 = - _registerName1("initWithFormat:options:locale:context:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_578 = + __objc_msgSend_578Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithFormat_options_locale_context_1 = _registerName1( + "initWithFormat:options:locale:context:", + ); instancetype _objc_msgSend_579( ffi.Pointer obj, ffi.Pointer sel, @@ -16423,33 +20321,33 @@ class PedometerBindings { ffi.Pointer locale, ffi.Pointer context, ) { - return __objc_msgSend_579( - obj, - sel, - format, - options, - locale, - context, - ); + return __objc_msgSend_579(obj, sel, format, options, locale, context); } late final __objc_msgSend_579Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_579 = + __objc_msgSend_579Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_579 = __objc_msgSend_579Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_initWithFormat_options_locale_context_arguments_1 = _registerName1("initWithFormat:options:locale:context:arguments:"); @@ -16474,24 +20372,31 @@ class PedometerBindings { } late final __objc_msgSend_580Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_580 = + __objc_msgSend_580Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_580 = __objc_msgSend_580Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_localizedAttributedStringWithFormat_context_1 = _registerName1("localizedAttributedStringWithFormat:context:"); @@ -16501,24 +20406,29 @@ class PedometerBindings { ffi.Pointer format, ffi.Pointer context, ) { - return __objc_msgSend_581( - obj, - sel, - format, - context, - ); + return __objc_msgSend_581(obj, sel, format, context); } late final __objc_msgSend_581Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_581 = + __objc_msgSend_581Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_581 = __objc_msgSend_581Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_localizedAttributedStringWithFormat_options_context_1 = _registerName1("localizedAttributedStringWithFormat:options:context:"); @@ -16529,46 +20439,58 @@ class PedometerBindings { int options, ffi.Pointer context, ) { - return __objc_msgSend_582( - obj, - sel, - format, - options, - context, - ); + return __objc_msgSend_582(obj, sel, format, options, context); } late final __objc_msgSend_582Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_582 = + __objc_msgSend_582Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_582 = __objc_msgSend_582Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_attributedStringByInflectingString1 = - _registerName1("attributedStringByInflectingString"); + late final _sel_attributedStringByInflectingString1 = _registerName1( + "attributedStringByInflectingString", + ); ffi.Pointer _objc_msgSend_583( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_583( - obj, - sel, - ); + return __objc_msgSend_583(obj, sel); } late final __objc_msgSend_583Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_583 = __objc_msgSend_583Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_583 = + __objc_msgSend_583Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedAttributedStringForKey_value_table_1 = _registerName1("localizedAttributedStringForKey:value:table:"); @@ -16579,46 +20501,52 @@ class PedometerBindings { ffi.Pointer value, ffi.Pointer tableName, ) { - return __objc_msgSend_584( - obj, - sel, - key, - value, - tableName, - ); + return __objc_msgSend_584(obj, sel, key, value, tableName); } late final __objc_msgSend_584Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_584 = + __objc_msgSend_584Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_584 = __objc_msgSend_584Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_bundleIdentifier1 = _registerName1("bundleIdentifier"); late final _sel_infoDictionary1 = _registerName1("infoDictionary"); - late final _sel_localizedInfoDictionary1 = - _registerName1("localizedInfoDictionary"); - late final _sel_objectForInfoDictionaryKey_1 = - _registerName1("objectForInfoDictionaryKey:"); + late final _sel_localizedInfoDictionary1 = _registerName1( + "localizedInfoDictionary", + ); + late final _sel_objectForInfoDictionaryKey_1 = _registerName1( + "objectForInfoDictionaryKey:", + ); late final _sel_classNamed_1 = _registerName1("classNamed:"); late final _sel_principalClass1 = _registerName1("principalClass"); - late final _sel_preferredLocalizations1 = - _registerName1("preferredLocalizations"); + late final _sel_preferredLocalizations1 = _registerName1( + "preferredLocalizations", + ); late final _sel_localizations1 = _registerName1("localizations"); - late final _sel_developmentLocalization1 = - _registerName1("developmentLocalization"); - late final _sel_preferredLocalizationsFromArray_1 = - _registerName1("preferredLocalizationsFromArray:"); + late final _sel_developmentLocalization1 = _registerName1( + "developmentLocalization", + ); + late final _sel_preferredLocalizationsFromArray_1 = _registerName1( + "preferredLocalizationsFromArray:", + ); late final _sel_preferredLocalizationsFromArray_forPreferences_1 = _registerName1("preferredLocalizationsFromArray:forPreferences:"); ffi.Pointer _objc_msgSend_585( @@ -16627,103 +20555,133 @@ class PedometerBindings { ffi.Pointer localizationsArray, ffi.Pointer preferencesArray, ) { - return __objc_msgSend_585( - obj, - sel, - localizationsArray, - preferencesArray, - ); + return __objc_msgSend_585(obj, sel, localizationsArray, preferencesArray); } late final __objc_msgSend_585Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_585 = + __objc_msgSend_585Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_585 = __objc_msgSend_585Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_executableArchitectures1 = - _registerName1("executableArchitectures"); - late final _sel_setPreservationPriority_forTags_1 = - _registerName1("setPreservationPriority:forTags:"); + late final _sel_executableArchitectures1 = _registerName1( + "executableArchitectures", + ); + late final _sel_setPreservationPriority_forTags_1 = _registerName1( + "setPreservationPriority:forTags:", + ); void _objc_msgSend_586( ffi.Pointer obj, ffi.Pointer sel, double priority, ffi.Pointer tags, ) { - return __objc_msgSend_586( - obj, - sel, - priority, - tags, - ); + return __objc_msgSend_586(obj, sel, priority, tags); } late final __objc_msgSend_586Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_586 = __objc_msgSend_586Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double, - ffi.Pointer)>(); - - late final _sel_preservationPriorityForTag_1 = - _registerName1("preservationPriorityForTag:"); - late final _class_NSMutableAttributedString1 = - _getClass1("NSMutableAttributedString"); - late final _sel_setAttributes_range_1 = - _registerName1("setAttributes:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_586 = + __objc_msgSend_586Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + ffi.Pointer, + ) + >(); + + late final _sel_preservationPriorityForTag_1 = _registerName1( + "preservationPriorityForTag:", + ); + late final _class_NSMutableAttributedString1 = _getClass1( + "NSMutableAttributedString", + ); + late final _sel_setAttributes_range_1 = _registerName1( + "setAttributes:range:", + ); void _objc_msgSend_587( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer attrs, _NSRange range, ) { - return __objc_msgSend_587( - obj, - sel, - attrs, - range, - ); + return __objc_msgSend_587(obj, sel, attrs, range); } late final __objc_msgSend_587Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_587 = __objc_msgSend_587Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_587 = + __objc_msgSend_587Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_mutableString1 = _registerName1("mutableString"); ffi.Pointer _objc_msgSend_588( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_588( - obj, - sel, - ); + return __objc_msgSend_588(obj, sel); } late final __objc_msgSend_588Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_588 = __objc_msgSend_588Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_588 = + __objc_msgSend_588Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_addAttribute_value_range_1 = - _registerName1("addAttribute:value:range:"); + late final _sel_addAttribute_value_range_1 = _registerName1( + "addAttribute:value:range:", + ); void _objc_msgSend_589( ffi.Pointer obj, ffi.Pointer sel, @@ -16731,74 +20689,97 @@ class PedometerBindings { ffi.Pointer value, _NSRange range, ) { - return __objc_msgSend_589( - obj, - sel, - name, - value, - range, - ); + return __objc_msgSend_589(obj, sel, name, value, range); } late final __objc_msgSend_589Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_589 = + __objc_msgSend_589Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_589 = __objc_msgSend_589Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, _NSRange)>(); + _NSRange, + ) + >(); - late final _sel_addAttributes_range_1 = - _registerName1("addAttributes:range:"); + late final _sel_addAttributes_range_1 = _registerName1( + "addAttributes:range:", + ); void _objc_msgSend_590( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer attrs, _NSRange range, ) { - return __objc_msgSend_590( - obj, - sel, - attrs, - range, - ); + return __objc_msgSend_590(obj, sel, attrs, range); } late final __objc_msgSend_590Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_590 = __objc_msgSend_590Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); - - late final _sel_removeAttribute_range_1 = - _registerName1("removeAttribute:range:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_590 = + __objc_msgSend_590Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); + + late final _sel_removeAttribute_range_1 = _registerName1( + "removeAttribute:range:", + ); void _objc_msgSend_591( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer name, _NSRange range, ) { - return __objc_msgSend_591( - obj, - sel, - name, - range, - ); + return __objc_msgSend_591(obj, sel, name, range); } late final __objc_msgSend_591Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_591 = __objc_msgSend_591Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_591 = + __objc_msgSend_591Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); late final _sel_replaceCharactersInRange_withAttributedString_1 = _registerName1("replaceCharactersInRange:withAttributedString:"); @@ -16808,97 +20789,132 @@ class PedometerBindings { _NSRange range, ffi.Pointer attrString, ) { - return __objc_msgSend_592( - obj, - sel, - range, - attrString, - ); + return __objc_msgSend_592(obj, sel, range, attrString); } late final __objc_msgSend_592Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - _NSRange, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_592 = __objc_msgSend_592Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>(); - - late final _sel_insertAttributedString_atIndex_1 = - _registerName1("insertAttributedString:atIndex:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_592 = + __objc_msgSend_592Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(); + + late final _sel_insertAttributedString_atIndex_1 = _registerName1( + "insertAttributedString:atIndex:", + ); void _objc_msgSend_593( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer attrString, int loc, ) { - return __objc_msgSend_593( - obj, - sel, - attrString, - loc, - ); + return __objc_msgSend_593(obj, sel, attrString, loc); } late final __objc_msgSend_593Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_593 = __objc_msgSend_593Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_appendAttributedString_1 = - _registerName1("appendAttributedString:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_593 = + __objc_msgSend_593Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_appendAttributedString_1 = _registerName1( + "appendAttributedString:", + ); void _objc_msgSend_594( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer attrString, ) { - return __objc_msgSend_594( - obj, - sel, - attrString, - ); + return __objc_msgSend_594(obj, sel, attrString); } late final __objc_msgSend_594Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_594 = __objc_msgSend_594Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setAttributedString_1 = - _registerName1("setAttributedString:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_594 = + __objc_msgSend_594Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setAttributedString_1 = _registerName1( + "setAttributedString:", + ); late final _sel_beginEditing1 = _registerName1("beginEditing"); late final _sel_endEditing1 = _registerName1("endEditing"); - late final _sel_appendLocalizedFormat_1 = - _registerName1("appendLocalizedFormat:"); + late final _sel_appendLocalizedFormat_1 = _registerName1( + "appendLocalizedFormat:", + ); late final _class_NSDateFormatter1 = _getClass1("NSDateFormatter"); late final _class_NSFormatter1 = _getClass1("NSFormatter"); - late final _sel_stringForObjectValue_1 = - _registerName1("stringForObjectValue:"); + late final _sel_stringForObjectValue_1 = _registerName1( + "stringForObjectValue:", + ); ffi.Pointer _objc_msgSend_595( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer obj1, ) { - return __objc_msgSend_595( - obj, - sel, - obj1, - ); + return __objc_msgSend_595(obj, sel, obj1); } late final __objc_msgSend_595Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_595 = __objc_msgSend_595Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_595 = + __objc_msgSend_595Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_attributedStringForObjectValue_withDefaultAttributes_1 = _registerName1("attributedStringForObjectValue:withDefaultAttributes:"); @@ -16908,32 +20924,36 @@ class PedometerBindings { ffi.Pointer obj1, ffi.Pointer attrs, ) { - return __objc_msgSend_596( - obj, - sel, - obj1, - attrs, - ); + return __objc_msgSend_596(obj, sel, obj1, attrs); } late final __objc_msgSend_596Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_596 = + __objc_msgSend_596Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_596 = __objc_msgSend_596Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_editingStringForObjectValue_1 = - _registerName1("editingStringForObjectValue:"); - late final _sel_getObjectValue_forString_errorDescription_1 = - _registerName1("getObjectValue:forString:errorDescription:"); + late final _sel_editingStringForObjectValue_1 = _registerName1( + "editingStringForObjectValue:", + ); + late final _sel_getObjectValue_forString_errorDescription_1 = _registerName1( + "getObjectValue:forString:errorDescription:", + ); bool _objc_msgSend_597( ffi.Pointer obj, ffi.Pointer sel, @@ -16941,30 +20961,31 @@ class PedometerBindings { ffi.Pointer string, ffi.Pointer> error, ) { - return __objc_msgSend_597( - obj, - sel, - obj1, - string, - error, - ); + return __objc_msgSend_597(obj, sel, obj1, string, error); } late final __objc_msgSend_597Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_597 = + __objc_msgSend_597Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_597 = __objc_msgSend_597Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_isPartialStringValid_newEditingString_errorDescription_1 = _registerName1("isPartialStringValid:newEditingString:errorDescription:"); @@ -16975,34 +20996,36 @@ class PedometerBindings { ffi.Pointer> newString, ffi.Pointer> error, ) { - return __objc_msgSend_598( - obj, - sel, - partialString, - newString, - error, - ); + return __objc_msgSend_598(obj, sel, partialString, newString, error); } late final __objc_msgSend_598Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_598 = + __objc_msgSend_598Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_598 = __objc_msgSend_598Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1 = _registerName1( - "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:"); + "isPartialStringValid:proposedSelectedRange:originalString:originalSelectedRange:errorDescription:", + ); bool _objc_msgSend_599( ffi.Pointer obj, ffi.Pointer sel, @@ -17024,66 +21047,77 @@ class PedometerBindings { } late final __objc_msgSend_599Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer<_NSRange>, + ffi.Pointer, + _NSRange, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_599 = + __objc_msgSend_599Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer<_NSRange>, ffi.Pointer, _NSRange, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_599 = __objc_msgSend_599Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer<_NSRange>, - ffi.Pointer, - _NSRange, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_formattingContext1 = _registerName1("formattingContext"); - int _objc_msgSend_600( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_600( - obj, - sel, - ); + int _objc_msgSend_600(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_600(obj, sel); } late final __objc_msgSend_600Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_600 = __objc_msgSend_600Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_600 = + __objc_msgSend_600Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setFormattingContext_1 = - _registerName1("setFormattingContext:"); + late final _sel_setFormattingContext_1 = _registerName1( + "setFormattingContext:", + ); void _objc_msgSend_601( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_601( - obj, - sel, - value, - ); + return __objc_msgSend_601(obj, sel, value); } late final __objc_msgSend_601Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_601 = __objc_msgSend_601Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_601 = + __objc_msgSend_601Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_getObjectValue_forString_range_error_1 = - _registerName1("getObjectValue:forString:range:error:"); + late final _sel_getObjectValue_forString_range_error_1 = _registerName1( + "getObjectValue:forString:range:error:", + ); bool _objc_msgSend_602( ffi.Pointer obj, ffi.Pointer sel, @@ -17092,33 +21126,33 @@ class PedometerBindings { ffi.Pointer<_NSRange> rangep, ffi.Pointer> error, ) { - return __objc_msgSend_602( - obj, - sel, - obj1, - string, - rangep, - error, - ); + return __objc_msgSend_602(obj, sel, obj1, string, rangep, error); } late final __objc_msgSend_602Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_602 = + __objc_msgSend_602Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, ffi.Pointer<_NSRange>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_602 = __objc_msgSend_602Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer<_NSRange>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_stringFromDate_1 = _registerName1("stringFromDate:"); ffi.Pointer _objc_msgSend_603( @@ -17126,20 +21160,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer date, ) { - return __objc_msgSend_603( - obj, - sel, - date, - ); + return __objc_msgSend_603(obj, sel, date); } late final __objc_msgSend_603Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_603 = __objc_msgSend_603Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_603 = + __objc_msgSend_603Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dateFromString_1 = _registerName1("dateFromString:"); ffi.Pointer _objc_msgSend_604( @@ -17147,20 +21188,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer string, ) { - return __objc_msgSend_604( - obj, - sel, - string, - ); + return __objc_msgSend_604(obj, sel, string); } late final __objc_msgSend_604Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_604 = __objc_msgSend_604Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_604 = + __objc_msgSend_604Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localizedStringFromDate_dateStyle_timeStyle_1 = _registerName1("localizedStringFromDate:dateStyle:timeStyle:"); @@ -17171,29 +21219,35 @@ class PedometerBindings { int dstyle, int tstyle, ) { - return __objc_msgSend_605( - obj, - sel, - date, - dstyle, - tstyle, - ); + return __objc_msgSend_605(obj, sel, date, dstyle, tstyle); } late final __objc_msgSend_605Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_605 = + __objc_msgSend_605Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_605 = __objc_msgSend_605Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int)>(); + int, + int, + ) + >(); - late final _sel_dateFormatFromTemplate_options_locale_1 = - _registerName1("dateFormatFromTemplate:options:locale:"); + late final _sel_dateFormatFromTemplate_options_locale_1 = _registerName1( + "dateFormatFromTemplate:options:locale:", + ); ffi.Pointer _objc_msgSend_606( ffi.Pointer obj, ffi.Pointer sel, @@ -17201,92 +21255,96 @@ class PedometerBindings { int opts, ffi.Pointer locale, ) { - return __objc_msgSend_606( - obj, - sel, - tmplate, - opts, - locale, - ); + return __objc_msgSend_606(obj, sel, tmplate, opts, locale); } late final __objc_msgSend_606Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_606 = + __objc_msgSend_606Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_606 = __objc_msgSend_606Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_defaultFormatterBehavior1 = - _registerName1("defaultFormatterBehavior"); - int _objc_msgSend_607( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_607( - obj, - sel, - ); + late final _sel_defaultFormatterBehavior1 = _registerName1( + "defaultFormatterBehavior", + ); + int _objc_msgSend_607(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_607(obj, sel); } late final __objc_msgSend_607Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_607 = __objc_msgSend_607Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_607 = + __objc_msgSend_607Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setDefaultFormatterBehavior_1 = - _registerName1("setDefaultFormatterBehavior:"); + late final _sel_setDefaultFormatterBehavior_1 = _registerName1( + "setDefaultFormatterBehavior:", + ); void _objc_msgSend_608( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_608( - obj, - sel, - value, - ); + return __objc_msgSend_608(obj, sel, value); } late final __objc_msgSend_608Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_608 = __objc_msgSend_608Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_608 = + __objc_msgSend_608Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_setLocalizedDateFormatFromTemplate_1 = - _registerName1("setLocalizedDateFormatFromTemplate:"); + late final _sel_setLocalizedDateFormatFromTemplate_1 = _registerName1( + "setLocalizedDateFormatFromTemplate:", + ); late final _sel_dateFormat1 = _registerName1("dateFormat"); late final _sel_setDateFormat_1 = _registerName1("setDateFormat:"); late final _sel_dateStyle1 = _registerName1("dateStyle"); - int _objc_msgSend_609( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_609( - obj, - sel, - ); + int _objc_msgSend_609(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_609(obj, sel); } late final __objc_msgSend_609Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_609 = __objc_msgSend_609Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_609 = + __objc_msgSend_609Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setDateStyle_1 = _registerName1("setDateStyle:"); void _objc_msgSend_610( @@ -17294,19 +21352,23 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_610( - obj, - sel, - value, - ); + return __objc_msgSend_610(obj, sel, value); } late final __objc_msgSend_610Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_610 = __objc_msgSend_610Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_610 = + __objc_msgSend_610Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_timeStyle1 = _registerName1("timeStyle"); late final _sel_setTimeStyle_1 = _registerName1("setTimeStyle:"); @@ -17317,117 +21379,159 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_611( - obj, - sel, - value, - ); + return __objc_msgSend_611(obj, sel, value); } late final __objc_msgSend_611Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_611 = __objc_msgSend_611Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_generatesCalendarDates1 = - _registerName1("generatesCalendarDates"); - late final _sel_setGeneratesCalendarDates_1 = - _registerName1("setGeneratesCalendarDates:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_611 = + __objc_msgSend_611Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_generatesCalendarDates1 = _registerName1( + "generatesCalendarDates", + ); + late final _sel_setGeneratesCalendarDates_1 = _registerName1( + "setGeneratesCalendarDates:", + ); late final _sel_formatterBehavior1 = _registerName1("formatterBehavior"); - late final _sel_setFormatterBehavior_1 = - _registerName1("setFormatterBehavior:"); + late final _sel_setFormatterBehavior_1 = _registerName1( + "setFormatterBehavior:", + ); late final _class_NSTimeZone1 = _getClass1("NSTimeZone"); - late final _sel_secondsFromGMTForDate_1 = - _registerName1("secondsFromGMTForDate:"); + late final _sel_secondsFromGMTForDate_1 = _registerName1( + "secondsFromGMTForDate:", + ); int _objc_msgSend_612( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aDate, ) { - return __objc_msgSend_612( - obj, - sel, - aDate, - ); + return __objc_msgSend_612(obj, sel, aDate); } late final __objc_msgSend_612Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_612 = __objc_msgSend_612Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_abbreviationForDate_1 = - _registerName1("abbreviationForDate:"); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_612 = + __objc_msgSend_612Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_abbreviationForDate_1 = _registerName1( + "abbreviationForDate:", + ); ffi.Pointer _objc_msgSend_613( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aDate, ) { - return __objc_msgSend_613( - obj, - sel, - aDate, - ); + return __objc_msgSend_613(obj, sel, aDate); } late final __objc_msgSend_613Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_613 = __objc_msgSend_613Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_isDaylightSavingTimeForDate_1 = - _registerName1("isDaylightSavingTimeForDate:"); - late final _sel_daylightSavingTimeOffsetForDate_1 = - _registerName1("daylightSavingTimeOffsetForDate:"); - late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = - _registerName1("nextDaylightSavingTimeTransitionAfterDate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_613 = + __objc_msgSend_613Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_isDaylightSavingTimeForDate_1 = _registerName1( + "isDaylightSavingTimeForDate:", + ); + late final _sel_daylightSavingTimeOffsetForDate_1 = _registerName1( + "daylightSavingTimeOffsetForDate:", + ); + late final _sel_nextDaylightSavingTimeTransitionAfterDate_1 = _registerName1( + "nextDaylightSavingTimeTransitionAfterDate:", + ); ffi.Pointer _objc_msgSend_614( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aDate, ) { - return __objc_msgSend_614( - obj, - sel, - aDate, - ); + return __objc_msgSend_614(obj, sel, aDate); } late final __objc_msgSend_614Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_614 = __objc_msgSend_614Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_614 = + __objc_msgSend_614Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_systemTimeZone1 = _registerName1("systemTimeZone"); ffi.Pointer _objc_msgSend_615( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_615( - obj, - sel, - ); + return __objc_msgSend_615(obj, sel); } late final __objc_msgSend_615Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_615 = __objc_msgSend_615Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_615 = + __objc_msgSend_615Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_resetSystemTimeZone1 = _registerName1("resetSystemTimeZone"); late final _sel_defaultTimeZone1 = _registerName1("defaultTimeZone"); @@ -17437,158 +21541,205 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_616( - obj, - sel, - value, - ); + return __objc_msgSend_616(obj, sel, value); } late final __objc_msgSend_616Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_616 = __objc_msgSend_616Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_616 = + __objc_msgSend_616Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_localTimeZone1 = _registerName1("localTimeZone"); late final _sel_knownTimeZoneNames1 = _registerName1("knownTimeZoneNames"); - late final _sel_abbreviationDictionary1 = - _registerName1("abbreviationDictionary"); - late final _sel_setAbbreviationDictionary_1 = - _registerName1("setAbbreviationDictionary:"); + late final _sel_abbreviationDictionary1 = _registerName1( + "abbreviationDictionary", + ); + late final _sel_setAbbreviationDictionary_1 = _registerName1( + "setAbbreviationDictionary:", + ); void _objc_msgSend_617( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_617( - obj, - sel, - value, - ); + return __objc_msgSend_617(obj, sel, value); } late final __objc_msgSend_617Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_617 = __objc_msgSend_617Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_617 = + __objc_msgSend_617Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_timeZoneDataVersion1 = _registerName1("timeZoneDataVersion"); late final _sel_secondsFromGMT1 = _registerName1("secondsFromGMT"); late final _sel_abbreviation1 = _registerName1("abbreviation"); - late final _sel_isDaylightSavingTime1 = - _registerName1("isDaylightSavingTime"); - late final _sel_daylightSavingTimeOffset1 = - _registerName1("daylightSavingTimeOffset"); - late final _sel_nextDaylightSavingTimeTransition1 = - _registerName1("nextDaylightSavingTimeTransition"); + late final _sel_isDaylightSavingTime1 = _registerName1( + "isDaylightSavingTime", + ); + late final _sel_daylightSavingTimeOffset1 = _registerName1( + "daylightSavingTimeOffset", + ); + late final _sel_nextDaylightSavingTimeTransition1 = _registerName1( + "nextDaylightSavingTimeTransition", + ); late final _sel_isEqualToTimeZone_1 = _registerName1("isEqualToTimeZone:"); bool _objc_msgSend_618( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer aTimeZone, ) { - return __objc_msgSend_618( - obj, - sel, - aTimeZone, - ); + return __objc_msgSend_618(obj, sel, aTimeZone); } late final __objc_msgSend_618Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_618 = __objc_msgSend_618Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_localizedName_locale_1 = - _registerName1("localizedName:locale:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_618 = + __objc_msgSend_618Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedName_locale_1 = _registerName1( + "localizedName:locale:", + ); ffi.Pointer _objc_msgSend_619( ffi.Pointer obj, ffi.Pointer sel, int style, ffi.Pointer locale, ) { - return __objc_msgSend_619( - obj, - sel, - style, - locale, - ); + return __objc_msgSend_619(obj, sel, style, locale); } late final __objc_msgSend_619Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_619 = + __objc_msgSend_619Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_619 = __objc_msgSend_619Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_timeZoneWithName_1 = _registerName1("timeZoneWithName:"); - late final _sel_timeZoneWithName_data_1 = - _registerName1("timeZoneWithName:data:"); + late final _sel_timeZoneWithName_data_1 = _registerName1( + "timeZoneWithName:data:", + ); instancetype _objc_msgSend_620( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer tzName, ffi.Pointer aData, ) { - return __objc_msgSend_620( - obj, - sel, - tzName, - aData, - ); + return __objc_msgSend_620(obj, sel, tzName, aData); } late final __objc_msgSend_620Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_620 = + __objc_msgSend_620Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_620 = __objc_msgSend_620Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_initWithName_1 = _registerName1("initWithName:"); late final _sel_initWithName_data_1 = _registerName1("initWithName:data:"); - late final _sel_timeZoneForSecondsFromGMT_1 = - _registerName1("timeZoneForSecondsFromGMT:"); + late final _sel_timeZoneForSecondsFromGMT_1 = _registerName1( + "timeZoneForSecondsFromGMT:", + ); instancetype _objc_msgSend_621( ffi.Pointer obj, ffi.Pointer sel, int seconds, ) { - return __objc_msgSend_621( - obj, - sel, - seconds, - ); + return __objc_msgSend_621(obj, sel, seconds); } late final __objc_msgSend_621Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_621 = __objc_msgSend_621Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_621 = + __objc_msgSend_621Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_timeZoneWithAbbreviation_1 = - _registerName1("timeZoneWithAbbreviation:"); + late final _sel_timeZoneWithAbbreviation_1 = _registerName1( + "timeZoneWithAbbreviation:", + ); late final _sel_timeZone1 = _registerName1("timeZone"); late final _sel_setTimeZone_1 = _registerName1("setTimeZone:"); late final _class_NSCalendar1 = _getClass1("NSCalendar"); @@ -17597,118 +21748,159 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_622( - obj, - sel, - ); + return __objc_msgSend_622(obj, sel); } late final __objc_msgSend_622Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_622 = __objc_msgSend_622Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_autoupdatingCurrentCalendar1 = - _registerName1("autoupdatingCurrentCalendar"); - late final _sel_calendarWithIdentifier_1 = - _registerName1("calendarWithIdentifier:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_622 = + __objc_msgSend_622Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_autoupdatingCurrentCalendar1 = _registerName1( + "autoupdatingCurrentCalendar", + ); + late final _sel_calendarWithIdentifier_1 = _registerName1( + "calendarWithIdentifier:", + ); ffi.Pointer _objc_msgSend_623( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer calendarIdentifierConstant, ) { - return __objc_msgSend_623( - obj, - sel, - calendarIdentifierConstant, - ); + return __objc_msgSend_623(obj, sel, calendarIdentifierConstant); } late final __objc_msgSend_623Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_623 = __objc_msgSend_623Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_initWithCalendarIdentifier_1 = - _registerName1("initWithCalendarIdentifier:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_623 = + __objc_msgSend_623Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithCalendarIdentifier_1 = _registerName1( + "initWithCalendarIdentifier:", + ); ffi.Pointer _objc_msgSend_624( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_624( - obj, - sel, - ); + return __objc_msgSend_624(obj, sel); } late final __objc_msgSend_624Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_624 = __objc_msgSend_624Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_624 = + __objc_msgSend_624Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_625( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_625( - obj, - sel, - value, - ); + return __objc_msgSend_625(obj, sel, value); } late final __objc_msgSend_625Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_625 = __objc_msgSend_625Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_625 = + __objc_msgSend_625Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_firstWeekday1 = _registerName1("firstWeekday"); late final _sel_setFirstWeekday_1 = _registerName1("setFirstWeekday:"); - late final _sel_minimumDaysInFirstWeek1 = - _registerName1("minimumDaysInFirstWeek"); - late final _sel_setMinimumDaysInFirstWeek_1 = - _registerName1("setMinimumDaysInFirstWeek:"); + late final _sel_minimumDaysInFirstWeek1 = _registerName1( + "minimumDaysInFirstWeek", + ); + late final _sel_setMinimumDaysInFirstWeek_1 = _registerName1( + "setMinimumDaysInFirstWeek:", + ); late final _sel_eraSymbols1 = _registerName1("eraSymbols"); late final _sel_longEraSymbols1 = _registerName1("longEraSymbols"); late final _sel_monthSymbols1 = _registerName1("monthSymbols"); late final _sel_shortMonthSymbols1 = _registerName1("shortMonthSymbols"); - late final _sel_veryShortMonthSymbols1 = - _registerName1("veryShortMonthSymbols"); - late final _sel_standaloneMonthSymbols1 = - _registerName1("standaloneMonthSymbols"); - late final _sel_shortStandaloneMonthSymbols1 = - _registerName1("shortStandaloneMonthSymbols"); - late final _sel_veryShortStandaloneMonthSymbols1 = - _registerName1("veryShortStandaloneMonthSymbols"); + late final _sel_veryShortMonthSymbols1 = _registerName1( + "veryShortMonthSymbols", + ); + late final _sel_standaloneMonthSymbols1 = _registerName1( + "standaloneMonthSymbols", + ); + late final _sel_shortStandaloneMonthSymbols1 = _registerName1( + "shortStandaloneMonthSymbols", + ); + late final _sel_veryShortStandaloneMonthSymbols1 = _registerName1( + "veryShortStandaloneMonthSymbols", + ); late final _sel_weekdaySymbols1 = _registerName1("weekdaySymbols"); late final _sel_shortWeekdaySymbols1 = _registerName1("shortWeekdaySymbols"); - late final _sel_veryShortWeekdaySymbols1 = - _registerName1("veryShortWeekdaySymbols"); - late final _sel_standaloneWeekdaySymbols1 = - _registerName1("standaloneWeekdaySymbols"); - late final _sel_shortStandaloneWeekdaySymbols1 = - _registerName1("shortStandaloneWeekdaySymbols"); - late final _sel_veryShortStandaloneWeekdaySymbols1 = - _registerName1("veryShortStandaloneWeekdaySymbols"); + late final _sel_veryShortWeekdaySymbols1 = _registerName1( + "veryShortWeekdaySymbols", + ); + late final _sel_standaloneWeekdaySymbols1 = _registerName1( + "standaloneWeekdaySymbols", + ); + late final _sel_shortStandaloneWeekdaySymbols1 = _registerName1( + "shortStandaloneWeekdaySymbols", + ); + late final _sel_veryShortStandaloneWeekdaySymbols1 = _registerName1( + "veryShortStandaloneWeekdaySymbols", + ); late final _sel_quarterSymbols1 = _registerName1("quarterSymbols"); late final _sel_shortQuarterSymbols1 = _registerName1("shortQuarterSymbols"); - late final _sel_standaloneQuarterSymbols1 = - _registerName1("standaloneQuarterSymbols"); - late final _sel_shortStandaloneQuarterSymbols1 = - _registerName1("shortStandaloneQuarterSymbols"); + late final _sel_standaloneQuarterSymbols1 = _registerName1( + "standaloneQuarterSymbols", + ); + late final _sel_shortStandaloneQuarterSymbols1 = _registerName1( + "shortStandaloneQuarterSymbols", + ); late final _sel_AMSymbol1 = _registerName1("AMSymbol"); late final _sel_PMSymbol1 = _registerName1("PMSymbol"); late final _sel_minimumRangeOfUnit_1 = _registerName1("minimumRangeOfUnit:"); @@ -17717,19 +21909,27 @@ class PedometerBindings { ffi.Pointer sel, int unit, ) { - return __objc_msgSend_626( - obj, - sel, - unit, - ); + return __objc_msgSend_626(obj, sel, unit); } late final __objc_msgSend_626Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_626 = __objc_msgSend_626Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_626 = + __objc_msgSend_626Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); void _objc_msgSend_626_stret( ffi.Pointer<_NSRange> stret, @@ -17737,25 +21937,34 @@ class PedometerBindings { ffi.Pointer sel, int unit, ) { - return __objc_msgSend_626_stret( - stret, - obj, - sel, - unit, - ); + return __objc_msgSend_626_stret(stret, obj, sel, unit); } late final __objc_msgSend_626_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend_stret'); - late final __objc_msgSend_626_stret = __objc_msgSend_626_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_626_stret = + __objc_msgSend_626_stretPtr + .asFunction< + void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_maximumRangeOfUnit_1 = _registerName1("maximumRangeOfUnit:"); - late final _sel_rangeOfUnit_inUnit_forDate_1 = - _registerName1("rangeOfUnit:inUnit:forDate:"); + late final _sel_rangeOfUnit_inUnit_forDate_1 = _registerName1( + "rangeOfUnit:inUnit:forDate:", + ); _NSRange _objc_msgSend_627( ffi.Pointer obj, ffi.Pointer sel, @@ -17763,22 +21972,31 @@ class PedometerBindings { int larger, ffi.Pointer date, ) { - return __objc_msgSend_627( - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_627(obj, sel, smaller, larger, date); } late final __objc_msgSend_627Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_627 = __objc_msgSend_627Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, int, int, - ffi.Pointer)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_627 = + __objc_msgSend_627Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ffi.Pointer, + ) + >(); void _objc_msgSend_627_stret( ffi.Pointer<_NSRange> stret, @@ -17788,31 +22006,37 @@ class PedometerBindings { int larger, ffi.Pointer date, ) { - return __objc_msgSend_627_stret( - stret, - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_627_stret(stret, obj, sel, smaller, larger, date); } late final __objc_msgSend_627_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_627_stret = + __objc_msgSend_627_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_627_stret = __objc_msgSend_627_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer)>(); + int, + int, + ffi.Pointer, + ) + >(); - late final _sel_ordinalityOfUnit_inUnit_forDate_1 = - _registerName1("ordinalityOfUnit:inUnit:forDate:"); + late final _sel_ordinalityOfUnit_inUnit_forDate_1 = _registerName1( + "ordinalityOfUnit:inUnit:forDate:", + ); int _objc_msgSend_628( ffi.Pointer obj, ffi.Pointer sel, @@ -17820,29 +22044,35 @@ class PedometerBindings { int larger, ffi.Pointer date, ) { - return __objc_msgSend_628( - obj, - sel, - smaller, - larger, - date, - ); + return __objc_msgSend_628(obj, sel, smaller, larger, date); } late final __objc_msgSend_628Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_628 = + __objc_msgSend_628Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_628 = __objc_msgSend_628Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, int, - ffi.Pointer)>(); + int, + int, + ffi.Pointer, + ) + >(); - late final _sel_rangeOfUnit_startDate_interval_forDate_1 = - _registerName1("rangeOfUnit:startDate:interval:forDate:"); + late final _sel_rangeOfUnit_startDate_interval_forDate_1 = _registerName1( + "rangeOfUnit:startDate:interval:forDate:", + ); bool _objc_msgSend_629( ffi.Pointer obj, ffi.Pointer sel, @@ -17851,33 +22081,33 @@ class PedometerBindings { ffi.Pointer tip, ffi.Pointer date, ) { - return __objc_msgSend_629( - obj, - sel, - unit, - datep, - tip, - date, - ); + return __objc_msgSend_629(obj, sel, unit, datep, tip, date); } late final __objc_msgSend_629Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_629 = + __objc_msgSend_629Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_629 = __objc_msgSend_629Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _class_NSDateComponents1 = _getClass1("NSDateComponents"); late final _sel_calendar1 = _registerName1("calendar"); @@ -17885,19 +22115,25 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_630( - obj, - sel, - ); + return __objc_msgSend_630(obj, sel); } late final __objc_msgSend_630Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_630 = __objc_msgSend_630Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_630 = + __objc_msgSend_630Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setCalendar_1 = _registerName1("setCalendar:"); void _objc_msgSend_631( @@ -17905,58 +22141,78 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_631( - obj, - sel, - value, - ); + return __objc_msgSend_631(obj, sel, value); } late final __objc_msgSend_631Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_631 = __objc_msgSend_631Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_631 = + __objc_msgSend_631Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_632( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_632( - obj, - sel, - ); + return __objc_msgSend_632(obj, sel); } late final __objc_msgSend_632Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_632 = __objc_msgSend_632Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_632 = + __objc_msgSend_632Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_633( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_633( - obj, - sel, - value, - ); + return __objc_msgSend_633(obj, sel, value); } late final __objc_msgSend_633Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_633 = __objc_msgSend_633Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_633 = + __objc_msgSend_633Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_era1 = _registerName1("era"); late final _sel_setEra_1 = _registerName1("setEra:"); @@ -17965,19 +22221,19 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_634( - obj, - sel, - value, - ); + return __objc_msgSend_634(obj, sel, value); } late final __objc_msgSend_634Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_634 = __objc_msgSend_634Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer, ffi.Pointer, ffi.Long) + > + >('objc_msgSend'); + late final __objc_msgSend_634 = + __objc_msgSend_634Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_year1 = _registerName1("year"); late final _sel_setYear_1 = _registerName1("setYear:"); @@ -18004,34 +22260,45 @@ class PedometerBindings { late final _sel_weekOfYear1 = _registerName1("weekOfYear"); late final _sel_setWeekOfYear_1 = _registerName1("setWeekOfYear:"); late final _sel_yearForWeekOfYear1 = _registerName1("yearForWeekOfYear"); - late final _sel_setYearForWeekOfYear_1 = - _registerName1("setYearForWeekOfYear:"); + late final _sel_setYearForWeekOfYear_1 = _registerName1( + "setYearForWeekOfYear:", + ); late final _sel_isLeapMonth1 = _registerName1("isLeapMonth"); late final _sel_setLeapMonth_1 = _registerName1("setLeapMonth:"); late final _sel_week1 = _registerName1("week"); late final _sel_setWeek_1 = _registerName1("setWeek:"); - late final _sel_setValue_forComponent_1 = - _registerName1("setValue:forComponent:"); + late final _sel_setValue_forComponent_1 = _registerName1( + "setValue:forComponent:", + ); void _objc_msgSend_635( ffi.Pointer obj, ffi.Pointer sel, int value, int unit, ) { - return __objc_msgSend_635( - obj, - sel, - value, - unit, - ); + return __objc_msgSend_635(obj, sel, value, unit); } late final __objc_msgSend_635Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Long, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_635 = __objc_msgSend_635Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_635 = + __objc_msgSend_635Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + int, + ) + >(); late final _sel_valueForComponent_1 = _registerName1("valueForComponent:"); int _objc_msgSend_636( @@ -18039,42 +22306,54 @@ class PedometerBindings { ffi.Pointer sel, int unit, ) { - return __objc_msgSend_636( - obj, - sel, - unit, - ); + return __objc_msgSend_636(obj, sel, unit); } late final __objc_msgSend_636Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_636 = __objc_msgSend_636Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_636 = + __objc_msgSend_636Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_isValidDate1 = _registerName1("isValidDate"); - late final _sel_isValidDateInCalendar_1 = - _registerName1("isValidDateInCalendar:"); + late final _sel_isValidDateInCalendar_1 = _registerName1( + "isValidDateInCalendar:", + ); bool _objc_msgSend_637( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer calendar, ) { - return __objc_msgSend_637( - obj, - sel, - calendar, - ); + return __objc_msgSend_637(obj, sel, calendar); } late final __objc_msgSend_637Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_637 = __objc_msgSend_637Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_637 = + __objc_msgSend_637Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dateFromComponents_1 = _registerName1("dateFromComponents:"); ffi.Pointer _objc_msgSend_638( @@ -18082,50 +22361,64 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer comps, ) { - return __objc_msgSend_638( - obj, - sel, - comps, - ); + return __objc_msgSend_638(obj, sel, comps); } late final __objc_msgSend_638Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_638 = __objc_msgSend_638Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_components_fromDate_1 = - _registerName1("components:fromDate:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_638 = + __objc_msgSend_638Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_components_fromDate_1 = _registerName1( + "components:fromDate:", + ); ffi.Pointer _objc_msgSend_639( ffi.Pointer obj, ffi.Pointer sel, int unitFlags, ffi.Pointer date, ) { - return __objc_msgSend_639( - obj, - sel, - unitFlags, - date, - ); + return __objc_msgSend_639(obj, sel, unitFlags, date); } late final __objc_msgSend_639Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_639 = + __objc_msgSend_639Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_639 = __objc_msgSend_639Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_dateByAddingComponents_toDate_options_1 = - _registerName1("dateByAddingComponents:toDate:options:"); + late final _sel_dateByAddingComponents_toDate_options_1 = _registerName1( + "dateByAddingComponents:toDate:options:", + ); ffi.Pointer _objc_msgSend_640( ffi.Pointer obj, ffi.Pointer sel, @@ -18133,33 +22426,35 @@ class PedometerBindings { ffi.Pointer date, int opts, ) { - return __objc_msgSend_640( - obj, - sel, - comps, - date, - opts, - ); + return __objc_msgSend_640(obj, sel, comps, date, opts); } late final __objc_msgSend_640Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_640 = + __objc_msgSend_640Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_640 = __objc_msgSend_640Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); - late final _sel_components_fromDate_toDate_options_1 = - _registerName1("components:fromDate:toDate:options:"); + late final _sel_components_fromDate_toDate_options_1 = _registerName1( + "components:fromDate:toDate:options:", + ); ffi.Pointer _objc_msgSend_641( ffi.Pointer obj, ffi.Pointer sel, @@ -18179,25 +22474,33 @@ class PedometerBindings { } late final __objc_msgSend_641Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_641 = + __objc_msgSend_641Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_641 = __objc_msgSend_641Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); - late final _sel_getEra_year_month_day_fromDate_1 = - _registerName1("getEra:year:month:day:fromDate:"); + late final _sel_getEra_year_month_day_fromDate_1 = _registerName1( + "getEra:year:month:day:fromDate:", + ); void _objc_msgSend_642( ffi.Pointer obj, ffi.Pointer sel, @@ -18219,29 +22522,37 @@ class PedometerBindings { } late final __objc_msgSend_642Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_642 = + __objc_msgSend_642Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_642 = __objc_msgSend_642Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1 = _registerName1("getEra:yearForWeekOfYear:weekOfYear:weekday:fromDate:"); - late final _sel_getHour_minute_second_nanosecond_fromDate_1 = - _registerName1("getHour:minute:second:nanosecond:fromDate:"); + late final _sel_getHour_minute_second_nanosecond_fromDate_1 = _registerName1( + "getHour:minute:second:nanosecond:fromDate:", + ); late final _sel_component_fromDate_1 = _registerName1("component:fromDate:"); int _objc_msgSend_643( ffi.Pointer obj, @@ -18249,25 +22560,34 @@ class PedometerBindings { int unit, ffi.Pointer date, ) { - return __objc_msgSend_643( - obj, - sel, - unit, - date, - ); + return __objc_msgSend_643(obj, sel, unit, date); } late final __objc_msgSend_643Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_643 = __objc_msgSend_643Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_643 = + __objc_msgSend_643Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1 = _registerName1( - "dateWithEra:year:month:day:hour:minute:second:nanosecond:"); + "dateWithEra:year:month:day:hour:minute:second:nanosecond:", + ); ffi.Pointer _objc_msgSend_644( ffi.Pointer obj, ffi.Pointer sel, @@ -18295,58 +22615,79 @@ class PedometerBindings { } late final __objc_msgSend_644Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_644 = + __objc_msgSend_644Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_644 = __objc_msgSend_644Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, int, int, int, int, int, int)>(); + int, + int, + int, + int, + int, + int, + int, + int, + ) + >(); late final _sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1 = _registerName1( - "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:"); + "dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:", + ); late final _sel_startOfDayForDate_1 = _registerName1("startOfDayForDate:"); - late final _sel_componentsInTimeZone_fromDate_1 = - _registerName1("componentsInTimeZone:fromDate:"); + late final _sel_componentsInTimeZone_fromDate_1 = _registerName1( + "componentsInTimeZone:fromDate:", + ); ffi.Pointer _objc_msgSend_645( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer timezone, ffi.Pointer date, ) { - return __objc_msgSend_645( - obj, - sel, - timezone, - date, - ); + return __objc_msgSend_645(obj, sel, timezone, date); } late final __objc_msgSend_645Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_645 = + __objc_msgSend_645Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_645 = __objc_msgSend_645Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_compareDate_toDate_toUnitGranularity_1 = - _registerName1("compareDate:toDate:toUnitGranularity:"); + late final _sel_compareDate_toDate_toUnitGranularity_1 = _registerName1( + "compareDate:toDate:toUnitGranularity:", + ); int _objc_msgSend_646( ffi.Pointer obj, ffi.Pointer sel, @@ -18354,29 +22695,35 @@ class PedometerBindings { ffi.Pointer date2, int unit, ) { - return __objc_msgSend_646( - obj, - sel, - date1, - date2, - unit, - ); + return __objc_msgSend_646(obj, sel, date1, date2, unit); } late final __objc_msgSend_646Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_646 = + __objc_msgSend_646Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_646 = __objc_msgSend_646Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_isDate_equalToDate_toUnitGranularity_1 = - _registerName1("isDate:equalToDate:toUnitGranularity:"); + late final _sel_isDate_equalToDate_toUnitGranularity_1 = _registerName1( + "isDate:equalToDate:toUnitGranularity:", + ); bool _objc_msgSend_647( ffi.Pointer obj, ffi.Pointer sel, @@ -18384,53 +22731,64 @@ class PedometerBindings { ffi.Pointer date2, int unit, ) { - return __objc_msgSend_647( - obj, - sel, - date1, - date2, - unit, - ); + return __objc_msgSend_647(obj, sel, date1, date2, unit); } late final __objc_msgSend_647Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_647 = + __objc_msgSend_647Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_647 = __objc_msgSend_647Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_isDate_inSameDayAsDate_1 = - _registerName1("isDate:inSameDayAsDate:"); + late final _sel_isDate_inSameDayAsDate_1 = _registerName1( + "isDate:inSameDayAsDate:", + ); bool _objc_msgSend_648( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer date1, ffi.Pointer date2, ) { - return __objc_msgSend_648( - obj, - sel, - date1, - date2, - ); + return __objc_msgSend_648(obj, sel, date1, date2); } late final __objc_msgSend_648Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_648 = + __objc_msgSend_648Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_648 = __objc_msgSend_648Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_isDateInToday_1 = _registerName1("isDateInToday:"); late final _sel_isDateInYesterday_1 = _registerName1("isDateInYesterday:"); @@ -18445,30 +22803,31 @@ class PedometerBindings { ffi.Pointer tip, ffi.Pointer date, ) { - return __objc_msgSend_649( - obj, - sel, - datep, - tip, - date, - ); + return __objc_msgSend_649(obj, sel, datep, tip, date); } late final __objc_msgSend_649Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_649 = + __objc_msgSend_649Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_649 = __objc_msgSend_649Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_nextWeekendStartDate_interval_options_afterDate_1 = _registerName1("nextWeekendStartDate:interval:options:afterDate:"); @@ -18480,33 +22839,33 @@ class PedometerBindings { int options, ffi.Pointer date, ) { - return __objc_msgSend_650( - obj, - sel, - datep, - tip, - options, - date, - ); + return __objc_msgSend_650(obj, sel, datep, tip, options, date); } late final __objc_msgSend_650Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_650 = + __objc_msgSend_650Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_650 = __objc_msgSend_650Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_components_fromDateComponents_toDateComponents_options_1 = _registerName1("components:fromDateComponents:toDateComponents:options:"); @@ -18529,25 +22888,33 @@ class PedometerBindings { } late final __objc_msgSend_651Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_651 = + __objc_msgSend_651Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_651 = __objc_msgSend_651Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); - late final _sel_dateByAddingUnit_value_toDate_options_1 = - _registerName1("dateByAddingUnit:value:toDate:options:"); + late final _sel_dateByAddingUnit_value_toDate_options_1 = _registerName1( + "dateByAddingUnit:value:toDate:options:", + ); ffi.Pointer _objc_msgSend_652( ffi.Pointer obj, ffi.Pointer sel, @@ -18556,32 +22923,38 @@ class PedometerBindings { ffi.Pointer date, int options, ) { - return __objc_msgSend_652( - obj, - sel, - unit, - value, - date, - options, - ); + return __objc_msgSend_652(obj, sel, unit, value, date, options); } late final __objc_msgSend_652Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_652 = + __objc_msgSend_652Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Long, + int, + int, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_652 = __objc_msgSend_652Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1 = _registerName1( - "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:"); + "enumerateDatesStartingAfterDate:matchingComponents:options:usingBlock:", + ); void _objc_msgSend_653( ffi.Pointer obj, ffi.Pointer sel, @@ -18590,33 +22963,33 @@ class PedometerBindings { int opts, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_653( - obj, - sel, - start, - comps, - opts, - block, - ); + return __objc_msgSend_653(obj, sel, start, comps, opts, block); } late final __objc_msgSend_653Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_653 = + __objc_msgSend_653Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_653 = __objc_msgSend_653Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer<_ObjCBlock>)>(); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_nextDateAfterDate_matchingComponents_options_1 = _registerName1("nextDateAfterDate:matchingComponents:options:"); @@ -18627,30 +23000,31 @@ class PedometerBindings { ffi.Pointer comps, int options, ) { - return __objc_msgSend_654( - obj, - sel, - date, - comps, - options, - ); + return __objc_msgSend_654(obj, sel, date, comps, options); } late final __objc_msgSend_654Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_654 = + __objc_msgSend_654Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_654 = __objc_msgSend_654Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); late final _sel_nextDateAfterDate_matchingUnit_value_options_1 = _registerName1("nextDateAfterDate:matchingUnit:value:options:"); @@ -18662,28 +23036,33 @@ class PedometerBindings { int value, int options, ) { - return __objc_msgSend_655( - obj, - sel, - date, - unit, - value, - options, - ); + return __objc_msgSend_655(obj, sel, date, unit, value, options); } late final __objc_msgSend_655Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_655 = + __objc_msgSend_655Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Long, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_655 = __objc_msgSend_655Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int, int)>(); + int, + int, + int, + ) + >(); late final _sel_nextDateAfterDate_matchingHour_minute_second_options_1 = _registerName1("nextDateAfterDate:matchingHour:minute:second:options:"); @@ -18708,21 +23087,35 @@ class PedometerBindings { } late final __objc_msgSend_656Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_656 = + __objc_msgSend_656Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_656 = __objc_msgSend_656Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, int, int, int)>(); + int, + int, + int, + int, + ) + >(); - late final _sel_dateBySettingUnit_value_ofDate_options_1 = - _registerName1("dateBySettingUnit:value:ofDate:options:"); + late final _sel_dateBySettingUnit_value_ofDate_options_1 = _registerName1( + "dateBySettingUnit:value:ofDate:options:", + ); late final _sel_dateBySettingHour_minute_second_ofDate_options_1 = _registerName1("dateBySettingHour:minute:second:ofDate:options:"); ffi.Pointer _objc_msgSend_657( @@ -18734,102 +23127,128 @@ class PedometerBindings { ffi.Pointer date, int opts, ) { - return __objc_msgSend_657( - obj, - sel, - h, - m, - s, - date, - opts, - ); + return __objc_msgSend_657(obj, sel, h, m, s, date, opts); } late final __objc_msgSend_657Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Long, + ffi.Long, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_657 = + __objc_msgSend_657Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Long, - ffi.Long, + int, + int, + int, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_657 = __objc_msgSend_657Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, int, int, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_date_matchesComponents_1 = - _registerName1("date:matchesComponents:"); + late final _sel_date_matchesComponents_1 = _registerName1( + "date:matchesComponents:", + ); bool _objc_msgSend_658( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer date, ffi.Pointer components, ) { - return __objc_msgSend_658( - obj, - sel, - date, - components, - ); + return __objc_msgSend_658(obj, sel, date, components); } late final __objc_msgSend_658Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_658 = + __objc_msgSend_658Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_658 = __objc_msgSend_658Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); void _objc_msgSend_659( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_659( - obj, - sel, - value, - ); + return __objc_msgSend_659(obj, sel, value); } late final __objc_msgSend_659Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_659 = __objc_msgSend_659Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_659 = + __objc_msgSend_659Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_isLenient1 = _registerName1("isLenient"); late final _sel_setLenient_1 = _registerName1("setLenient:"); late final _sel_twoDigitStartDate1 = _registerName1("twoDigitStartDate"); - late final _sel_setTwoDigitStartDate_1 = - _registerName1("setTwoDigitStartDate:"); + late final _sel_setTwoDigitStartDate_1 = _registerName1( + "setTwoDigitStartDate:", + ); void _objc_msgSend_660( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_660( - obj, - sel, - value, - ); + return __objc_msgSend_660(obj, sel, value); } late final __objc_msgSend_660Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_660 = __objc_msgSend_660Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_660 = + __objc_msgSend_660Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_defaultDate1 = _registerName1("defaultDate"); late final _sel_setDefaultDate_1 = _registerName1("setDefaultDate:"); @@ -18839,64 +23258,89 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_661( - obj, - sel, - value, - ); + return __objc_msgSend_661(obj, sel, value); } late final __objc_msgSend_661Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_661 = __objc_msgSend_661Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_661 = + __objc_msgSend_661Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setMonthSymbols_1 = _registerName1("setMonthSymbols:"); - late final _sel_setShortMonthSymbols_1 = - _registerName1("setShortMonthSymbols:"); + late final _sel_setShortMonthSymbols_1 = _registerName1( + "setShortMonthSymbols:", + ); late final _sel_setWeekdaySymbols_1 = _registerName1("setWeekdaySymbols:"); - late final _sel_setShortWeekdaySymbols_1 = - _registerName1("setShortWeekdaySymbols:"); + late final _sel_setShortWeekdaySymbols_1 = _registerName1( + "setShortWeekdaySymbols:", + ); late final _sel_setAMSymbol_1 = _registerName1("setAMSymbol:"); late final _sel_setPMSymbol_1 = _registerName1("setPMSymbol:"); late final _sel_setLongEraSymbols_1 = _registerName1("setLongEraSymbols:"); - late final _sel_setVeryShortMonthSymbols_1 = - _registerName1("setVeryShortMonthSymbols:"); - late final _sel_setStandaloneMonthSymbols_1 = - _registerName1("setStandaloneMonthSymbols:"); - late final _sel_setShortStandaloneMonthSymbols_1 = - _registerName1("setShortStandaloneMonthSymbols:"); - late final _sel_setVeryShortStandaloneMonthSymbols_1 = - _registerName1("setVeryShortStandaloneMonthSymbols:"); - late final _sel_setVeryShortWeekdaySymbols_1 = - _registerName1("setVeryShortWeekdaySymbols:"); - late final _sel_setStandaloneWeekdaySymbols_1 = - _registerName1("setStandaloneWeekdaySymbols:"); - late final _sel_setShortStandaloneWeekdaySymbols_1 = - _registerName1("setShortStandaloneWeekdaySymbols:"); - late final _sel_setVeryShortStandaloneWeekdaySymbols_1 = - _registerName1("setVeryShortStandaloneWeekdaySymbols:"); + late final _sel_setVeryShortMonthSymbols_1 = _registerName1( + "setVeryShortMonthSymbols:", + ); + late final _sel_setStandaloneMonthSymbols_1 = _registerName1( + "setStandaloneMonthSymbols:", + ); + late final _sel_setShortStandaloneMonthSymbols_1 = _registerName1( + "setShortStandaloneMonthSymbols:", + ); + late final _sel_setVeryShortStandaloneMonthSymbols_1 = _registerName1( + "setVeryShortStandaloneMonthSymbols:", + ); + late final _sel_setVeryShortWeekdaySymbols_1 = _registerName1( + "setVeryShortWeekdaySymbols:", + ); + late final _sel_setStandaloneWeekdaySymbols_1 = _registerName1( + "setStandaloneWeekdaySymbols:", + ); + late final _sel_setShortStandaloneWeekdaySymbols_1 = _registerName1( + "setShortStandaloneWeekdaySymbols:", + ); + late final _sel_setVeryShortStandaloneWeekdaySymbols_1 = _registerName1( + "setVeryShortStandaloneWeekdaySymbols:", + ); late final _sel_setQuarterSymbols_1 = _registerName1("setQuarterSymbols:"); - late final _sel_setShortQuarterSymbols_1 = - _registerName1("setShortQuarterSymbols:"); - late final _sel_setStandaloneQuarterSymbols_1 = - _registerName1("setStandaloneQuarterSymbols:"); - late final _sel_setShortStandaloneQuarterSymbols_1 = - _registerName1("setShortStandaloneQuarterSymbols:"); + late final _sel_setShortQuarterSymbols_1 = _registerName1( + "setShortQuarterSymbols:", + ); + late final _sel_setStandaloneQuarterSymbols_1 = _registerName1( + "setStandaloneQuarterSymbols:", + ); + late final _sel_setShortStandaloneQuarterSymbols_1 = _registerName1( + "setShortStandaloneQuarterSymbols:", + ); late final _sel_gregorianStartDate1 = _registerName1("gregorianStartDate"); - late final _sel_setGregorianStartDate_1 = - _registerName1("setGregorianStartDate:"); - late final _sel_doesRelativeDateFormatting1 = - _registerName1("doesRelativeDateFormatting"); - late final _sel_setDoesRelativeDateFormatting_1 = - _registerName1("setDoesRelativeDateFormatting:"); - late final _sel_initWithDateFormat_allowNaturalLanguage_1 = - _registerName1("initWithDateFormat:allowNaturalLanguage:"); - late final _sel_allowsNaturalLanguage1 = - _registerName1("allowsNaturalLanguage"); + late final _sel_setGregorianStartDate_1 = _registerName1( + "setGregorianStartDate:", + ); + late final _sel_doesRelativeDateFormatting1 = _registerName1( + "doesRelativeDateFormatting", + ); + late final _sel_setDoesRelativeDateFormatting_1 = _registerName1( + "setDoesRelativeDateFormatting:", + ); + late final _sel_initWithDateFormat_allowNaturalLanguage_1 = _registerName1( + "initWithDateFormat:allowNaturalLanguage:", + ); + late final _sel_allowsNaturalLanguage1 = _registerName1( + "allowsNaturalLanguage", + ); late final _class_NSNumberFormatter1 = _getClass1("NSNumberFormatter"); late final _sel_stringFromNumber_1 = _registerName1("stringFromNumber:"); ffi.Pointer _objc_msgSend_662( @@ -18904,20 +23348,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer number, ) { - return __objc_msgSend_662( - obj, - sel, - number, - ); + return __objc_msgSend_662(obj, sel, number); } late final __objc_msgSend_662Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_662 = __objc_msgSend_662Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_662 = + __objc_msgSend_662Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_numberFromString_1 = _registerName1("numberFromString:"); ffi.Pointer _objc_msgSend_663( @@ -18925,101 +23376,114 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer string, ) { - return __objc_msgSend_663( - obj, - sel, - string, - ); + return __objc_msgSend_663(obj, sel, string); } late final __objc_msgSend_663Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_663 = __objc_msgSend_663Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_localizedStringFromNumber_numberStyle_1 = - _registerName1("localizedStringFromNumber:numberStyle:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_663 = + __objc_msgSend_663Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_localizedStringFromNumber_numberStyle_1 = _registerName1( + "localizedStringFromNumber:numberStyle:", + ); ffi.Pointer _objc_msgSend_664( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer num, int nstyle, ) { - return __objc_msgSend_664( - obj, - sel, - num, - nstyle, - ); + return __objc_msgSend_664(obj, sel, num, nstyle); } late final __objc_msgSend_664Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_664 = + __objc_msgSend_664Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_664 = __objc_msgSend_664Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - int _objc_msgSend_665( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_665( - obj, - sel, - ); + int _objc_msgSend_665(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_665(obj, sel); } late final __objc_msgSend_665Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_665 = __objc_msgSend_665Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_665 = + __objc_msgSend_665Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); void _objc_msgSend_666( ffi.Pointer obj, ffi.Pointer sel, int behavior, ) { - return __objc_msgSend_666( - obj, - sel, - behavior, - ); + return __objc_msgSend_666(obj, sel, behavior); } late final __objc_msgSend_666Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_666 = __objc_msgSend_666Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_666 = + __objc_msgSend_666Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_numberStyle1 = _registerName1("numberStyle"); - int _objc_msgSend_667( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_667( - obj, - sel, - ); + int _objc_msgSend_667(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_667(obj, sel); } late final __objc_msgSend_667Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_667 = __objc_msgSend_667Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_667 = + __objc_msgSend_667Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setNumberStyle_1 = _registerName1("setNumberStyle:"); void _objc_msgSend_668( @@ -19027,128 +23491,172 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_668( - obj, - sel, - value, - ); + return __objc_msgSend_668(obj, sel, value); } late final __objc_msgSend_668Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_668 = __objc_msgSend_668Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_generatesDecimalNumbers1 = - _registerName1("generatesDecimalNumbers"); - late final _sel_setGeneratesDecimalNumbers_1 = - _registerName1("setGeneratesDecimalNumbers:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_668 = + __objc_msgSend_668Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); + + late final _sel_generatesDecimalNumbers1 = _registerName1( + "generatesDecimalNumbers", + ); + late final _sel_setGeneratesDecimalNumbers_1 = _registerName1( + "setGeneratesDecimalNumbers:", + ); void _objc_msgSend_669( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_669( - obj, - sel, - value, - ); + return __objc_msgSend_669(obj, sel, value); } late final __objc_msgSend_669Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_669 = __objc_msgSend_669Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_669 = + __objc_msgSend_669Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_negativeFormat1 = _registerName1("negativeFormat"); late final _sel_setNegativeFormat_1 = _registerName1("setNegativeFormat:"); - late final _sel_textAttributesForNegativeValues1 = - _registerName1("textAttributesForNegativeValues"); - late final _sel_setTextAttributesForNegativeValues_1 = - _registerName1("setTextAttributesForNegativeValues:"); + late final _sel_textAttributesForNegativeValues1 = _registerName1( + "textAttributesForNegativeValues", + ); + late final _sel_setTextAttributesForNegativeValues_1 = _registerName1( + "setTextAttributesForNegativeValues:", + ); void _objc_msgSend_670( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_670( - obj, - sel, - value, - ); + return __objc_msgSend_670(obj, sel, value); } late final __objc_msgSend_670Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_670 = __objc_msgSend_670Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_670 = + __objc_msgSend_670Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_positiveFormat1 = _registerName1("positiveFormat"); late final _sel_setPositiveFormat_1 = _registerName1("setPositiveFormat:"); - late final _sel_textAttributesForPositiveValues1 = - _registerName1("textAttributesForPositiveValues"); - late final _sel_setTextAttributesForPositiveValues_1 = - _registerName1("setTextAttributesForPositiveValues:"); + late final _sel_textAttributesForPositiveValues1 = _registerName1( + "textAttributesForPositiveValues", + ); + late final _sel_setTextAttributesForPositiveValues_1 = _registerName1( + "setTextAttributesForPositiveValues:", + ); late final _sel_allowsFloats1 = _registerName1("allowsFloats"); late final _sel_setAllowsFloats_1 = _registerName1("setAllowsFloats:"); - late final _sel_setDecimalSeparator_1 = - _registerName1("setDecimalSeparator:"); - late final _sel_alwaysShowsDecimalSeparator1 = - _registerName1("alwaysShowsDecimalSeparator"); - late final _sel_setAlwaysShowsDecimalSeparator_1 = - _registerName1("setAlwaysShowsDecimalSeparator:"); - late final _sel_currencyDecimalSeparator1 = - _registerName1("currencyDecimalSeparator"); - late final _sel_setCurrencyDecimalSeparator_1 = - _registerName1("setCurrencyDecimalSeparator:"); - late final _sel_usesGroupingSeparator1 = - _registerName1("usesGroupingSeparator"); - late final _sel_setUsesGroupingSeparator_1 = - _registerName1("setUsesGroupingSeparator:"); - late final _sel_setGroupingSeparator_1 = - _registerName1("setGroupingSeparator:"); + late final _sel_setDecimalSeparator_1 = _registerName1( + "setDecimalSeparator:", + ); + late final _sel_alwaysShowsDecimalSeparator1 = _registerName1( + "alwaysShowsDecimalSeparator", + ); + late final _sel_setAlwaysShowsDecimalSeparator_1 = _registerName1( + "setAlwaysShowsDecimalSeparator:", + ); + late final _sel_currencyDecimalSeparator1 = _registerName1( + "currencyDecimalSeparator", + ); + late final _sel_setCurrencyDecimalSeparator_1 = _registerName1( + "setCurrencyDecimalSeparator:", + ); + late final _sel_usesGroupingSeparator1 = _registerName1( + "usesGroupingSeparator", + ); + late final _sel_setUsesGroupingSeparator_1 = _registerName1( + "setUsesGroupingSeparator:", + ); + late final _sel_setGroupingSeparator_1 = _registerName1( + "setGroupingSeparator:", + ); late final _sel_zeroSymbol1 = _registerName1("zeroSymbol"); late final _sel_setZeroSymbol_1 = _registerName1("setZeroSymbol:"); - late final _sel_textAttributesForZero1 = - _registerName1("textAttributesForZero"); - late final _sel_setTextAttributesForZero_1 = - _registerName1("setTextAttributesForZero:"); + late final _sel_textAttributesForZero1 = _registerName1( + "textAttributesForZero", + ); + late final _sel_setTextAttributesForZero_1 = _registerName1( + "setTextAttributesForZero:", + ); late final _sel_nilSymbol1 = _registerName1("nilSymbol"); late final _sel_setNilSymbol_1 = _registerName1("setNilSymbol:"); - late final _sel_textAttributesForNil1 = - _registerName1("textAttributesForNil"); - late final _sel_setTextAttributesForNil_1 = - _registerName1("setTextAttributesForNil:"); + late final _sel_textAttributesForNil1 = _registerName1( + "textAttributesForNil", + ); + late final _sel_setTextAttributesForNil_1 = _registerName1( + "setTextAttributesForNil:", + ); late final _sel_notANumberSymbol1 = _registerName1("notANumberSymbol"); - late final _sel_setNotANumberSymbol_1 = - _registerName1("setNotANumberSymbol:"); - late final _sel_textAttributesForNotANumber1 = - _registerName1("textAttributesForNotANumber"); - late final _sel_setTextAttributesForNotANumber_1 = - _registerName1("setTextAttributesForNotANumber:"); - late final _sel_positiveInfinitySymbol1 = - _registerName1("positiveInfinitySymbol"); - late final _sel_setPositiveInfinitySymbol_1 = - _registerName1("setPositiveInfinitySymbol:"); - late final _sel_textAttributesForPositiveInfinity1 = - _registerName1("textAttributesForPositiveInfinity"); - late final _sel_setTextAttributesForPositiveInfinity_1 = - _registerName1("setTextAttributesForPositiveInfinity:"); - late final _sel_negativeInfinitySymbol1 = - _registerName1("negativeInfinitySymbol"); - late final _sel_setNegativeInfinitySymbol_1 = - _registerName1("setNegativeInfinitySymbol:"); - late final _sel_textAttributesForNegativeInfinity1 = - _registerName1("textAttributesForNegativeInfinity"); - late final _sel_setTextAttributesForNegativeInfinity_1 = - _registerName1("setTextAttributesForNegativeInfinity:"); + late final _sel_setNotANumberSymbol_1 = _registerName1( + "setNotANumberSymbol:", + ); + late final _sel_textAttributesForNotANumber1 = _registerName1( + "textAttributesForNotANumber", + ); + late final _sel_setTextAttributesForNotANumber_1 = _registerName1( + "setTextAttributesForNotANumber:", + ); + late final _sel_positiveInfinitySymbol1 = _registerName1( + "positiveInfinitySymbol", + ); + late final _sel_setPositiveInfinitySymbol_1 = _registerName1( + "setPositiveInfinitySymbol:", + ); + late final _sel_textAttributesForPositiveInfinity1 = _registerName1( + "textAttributesForPositiveInfinity", + ); + late final _sel_setTextAttributesForPositiveInfinity_1 = _registerName1( + "setTextAttributesForPositiveInfinity:", + ); + late final _sel_negativeInfinitySymbol1 = _registerName1( + "negativeInfinitySymbol", + ); + late final _sel_setNegativeInfinitySymbol_1 = _registerName1( + "setNegativeInfinitySymbol:", + ); + late final _sel_textAttributesForNegativeInfinity1 = _registerName1( + "textAttributesForNegativeInfinity", + ); + late final _sel_setTextAttributesForNegativeInfinity_1 = _registerName1( + "setTextAttributesForNegativeInfinity:", + ); late final _sel_positivePrefix1 = _registerName1("positivePrefix"); late final _sel_setPositivePrefix_1 = _registerName1("setPositivePrefix:"); late final _sel_positiveSuffix1 = _registerName1("positiveSuffix"); @@ -19159,10 +23667,12 @@ class PedometerBindings { late final _sel_setNegativeSuffix_1 = _registerName1("setNegativeSuffix:"); late final _sel_setCurrencyCode_1 = _registerName1("setCurrencyCode:"); late final _sel_setCurrencySymbol_1 = _registerName1("setCurrencySymbol:"); - late final _sel_internationalCurrencySymbol1 = - _registerName1("internationalCurrencySymbol"); - late final _sel_setInternationalCurrencySymbol_1 = - _registerName1("setInternationalCurrencySymbol:"); + late final _sel_internationalCurrencySymbol1 = _registerName1( + "internationalCurrencySymbol", + ); + late final _sel_setInternationalCurrencySymbol_1 = _registerName1( + "setInternationalCurrencySymbol:", + ); late final _sel_percentSymbol1 = _registerName1("percentSymbol"); late final _sel_setPercentSymbol_1 = _registerName1("setPercentSymbol:"); late final _sel_perMillSymbol1 = _registerName1("perMillSymbol"); @@ -19175,34 +23685,35 @@ class PedometerBindings { late final _sel_setExponentSymbol_1 = _registerName1("setExponentSymbol:"); late final _sel_groupingSize1 = _registerName1("groupingSize"); late final _sel_setGroupingSize_1 = _registerName1("setGroupingSize:"); - late final _sel_secondaryGroupingSize1 = - _registerName1("secondaryGroupingSize"); - late final _sel_setSecondaryGroupingSize_1 = - _registerName1("setSecondaryGroupingSize:"); + late final _sel_secondaryGroupingSize1 = _registerName1( + "secondaryGroupingSize", + ); + late final _sel_setSecondaryGroupingSize_1 = _registerName1( + "setSecondaryGroupingSize:", + ); late final _sel_multiplier1 = _registerName1("multiplier"); late final _sel_setMultiplier_1 = _registerName1("setMultiplier:"); late final _sel_formatWidth1 = _registerName1("formatWidth"); late final _sel_setFormatWidth_1 = _registerName1("setFormatWidth:"); late final _sel_paddingCharacter1 = _registerName1("paddingCharacter"); - late final _sel_setPaddingCharacter_1 = - _registerName1("setPaddingCharacter:"); + late final _sel_setPaddingCharacter_1 = _registerName1( + "setPaddingCharacter:", + ); late final _sel_paddingPosition1 = _registerName1("paddingPosition"); - int _objc_msgSend_671( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_671( - obj, - sel, - ); + int _objc_msgSend_671(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_671(obj, sel); } late final __objc_msgSend_671Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_671 = __objc_msgSend_671Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_671 = + __objc_msgSend_671Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setPaddingPosition_1 = _registerName1("setPaddingPosition:"); void _objc_msgSend_672( @@ -19210,37 +23721,39 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_672( - obj, - sel, - value, - ); + return __objc_msgSend_672(obj, sel, value); } late final __objc_msgSend_672Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_672 = __objc_msgSend_672Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_672 = + __objc_msgSend_672Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_roundingMode1 = _registerName1("roundingMode"); - int _objc_msgSend_673( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_673( - obj, - sel, - ); + int _objc_msgSend_673(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_673(obj, sel); } late final __objc_msgSend_673Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_673 = __objc_msgSend_673Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_673 = + __objc_msgSend_673Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setRoundingMode_1 = _registerName1("setRoundingMode:"); void _objc_msgSend_674( @@ -19248,169 +23761,230 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_674( - obj, - sel, - value, - ); + return __objc_msgSend_674(obj, sel, value); } late final __objc_msgSend_674Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_674 = __objc_msgSend_674Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_674 = + __objc_msgSend_674Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_roundingIncrement1 = _registerName1("roundingIncrement"); ffi.Pointer _objc_msgSend_675( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_675( - obj, - sel, - ); + return __objc_msgSend_675(obj, sel); } late final __objc_msgSend_675Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_675 = __objc_msgSend_675Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_675 = + __objc_msgSend_675Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setRoundingIncrement_1 = - _registerName1("setRoundingIncrement:"); + late final _sel_setRoundingIncrement_1 = _registerName1( + "setRoundingIncrement:", + ); void _objc_msgSend_676( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_676( - obj, - sel, - value, - ); + return __objc_msgSend_676(obj, sel, value); } late final __objc_msgSend_676Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_676 = __objc_msgSend_676Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_minimumIntegerDigits1 = - _registerName1("minimumIntegerDigits"); - late final _sel_setMinimumIntegerDigits_1 = - _registerName1("setMinimumIntegerDigits:"); - late final _sel_maximumIntegerDigits1 = - _registerName1("maximumIntegerDigits"); - late final _sel_setMaximumIntegerDigits_1 = - _registerName1("setMaximumIntegerDigits:"); - late final _sel_minimumFractionDigits1 = - _registerName1("minimumFractionDigits"); - late final _sel_setMinimumFractionDigits_1 = - _registerName1("setMinimumFractionDigits:"); - late final _sel_maximumFractionDigits1 = - _registerName1("maximumFractionDigits"); - late final _sel_setMaximumFractionDigits_1 = - _registerName1("setMaximumFractionDigits:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_676 = + __objc_msgSend_676Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_minimumIntegerDigits1 = _registerName1( + "minimumIntegerDigits", + ); + late final _sel_setMinimumIntegerDigits_1 = _registerName1( + "setMinimumIntegerDigits:", + ); + late final _sel_maximumIntegerDigits1 = _registerName1( + "maximumIntegerDigits", + ); + late final _sel_setMaximumIntegerDigits_1 = _registerName1( + "setMaximumIntegerDigits:", + ); + late final _sel_minimumFractionDigits1 = _registerName1( + "minimumFractionDigits", + ); + late final _sel_setMinimumFractionDigits_1 = _registerName1( + "setMinimumFractionDigits:", + ); + late final _sel_maximumFractionDigits1 = _registerName1( + "maximumFractionDigits", + ); + late final _sel_setMaximumFractionDigits_1 = _registerName1( + "setMaximumFractionDigits:", + ); late final _sel_minimum1 = _registerName1("minimum"); late final _sel_setMinimum_1 = _registerName1("setMinimum:"); late final _sel_maximum1 = _registerName1("maximum"); late final _sel_setMaximum_1 = _registerName1("setMaximum:"); - late final _sel_currencyGroupingSeparator1 = - _registerName1("currencyGroupingSeparator"); - late final _sel_setCurrencyGroupingSeparator_1 = - _registerName1("setCurrencyGroupingSeparator:"); - late final _sel_usesSignificantDigits1 = - _registerName1("usesSignificantDigits"); - late final _sel_setUsesSignificantDigits_1 = - _registerName1("setUsesSignificantDigits:"); - late final _sel_minimumSignificantDigits1 = - _registerName1("minimumSignificantDigits"); - late final _sel_setMinimumSignificantDigits_1 = - _registerName1("setMinimumSignificantDigits:"); - late final _sel_maximumSignificantDigits1 = - _registerName1("maximumSignificantDigits"); - late final _sel_setMaximumSignificantDigits_1 = - _registerName1("setMaximumSignificantDigits:"); - late final _sel_isPartialStringValidationEnabled1 = - _registerName1("isPartialStringValidationEnabled"); - late final _sel_setPartialStringValidationEnabled_1 = - _registerName1("setPartialStringValidationEnabled:"); - late final _sel_hasThousandSeparators1 = - _registerName1("hasThousandSeparators"); - late final _sel_setHasThousandSeparators_1 = - _registerName1("setHasThousandSeparators:"); + late final _sel_currencyGroupingSeparator1 = _registerName1( + "currencyGroupingSeparator", + ); + late final _sel_setCurrencyGroupingSeparator_1 = _registerName1( + "setCurrencyGroupingSeparator:", + ); + late final _sel_usesSignificantDigits1 = _registerName1( + "usesSignificantDigits", + ); + late final _sel_setUsesSignificantDigits_1 = _registerName1( + "setUsesSignificantDigits:", + ); + late final _sel_minimumSignificantDigits1 = _registerName1( + "minimumSignificantDigits", + ); + late final _sel_setMinimumSignificantDigits_1 = _registerName1( + "setMinimumSignificantDigits:", + ); + late final _sel_maximumSignificantDigits1 = _registerName1( + "maximumSignificantDigits", + ); + late final _sel_setMaximumSignificantDigits_1 = _registerName1( + "setMaximumSignificantDigits:", + ); + late final _sel_isPartialStringValidationEnabled1 = _registerName1( + "isPartialStringValidationEnabled", + ); + late final _sel_setPartialStringValidationEnabled_1 = _registerName1( + "setPartialStringValidationEnabled:", + ); + late final _sel_hasThousandSeparators1 = _registerName1( + "hasThousandSeparators", + ); + late final _sel_setHasThousandSeparators_1 = _registerName1( + "setHasThousandSeparators:", + ); late final _sel_thousandSeparator1 = _registerName1("thousandSeparator"); - late final _sel_setThousandSeparator_1 = - _registerName1("setThousandSeparator:"); + late final _sel_setThousandSeparator_1 = _registerName1( + "setThousandSeparator:", + ); late final _sel_localizesFormat1 = _registerName1("localizesFormat"); late final _sel_setLocalizesFormat_1 = _registerName1("setLocalizesFormat:"); late final _sel_format1 = _registerName1("format"); late final _sel_setFormat_1 = _registerName1("setFormat:"); - late final _sel_attributedStringForZero1 = - _registerName1("attributedStringForZero"); - late final _sel_setAttributedStringForZero_1 = - _registerName1("setAttributedStringForZero:"); + late final _sel_attributedStringForZero1 = _registerName1( + "attributedStringForZero", + ); + late final _sel_setAttributedStringForZero_1 = _registerName1( + "setAttributedStringForZero:", + ); void _objc_msgSend_677( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_677( - obj, - sel, - value, - ); + return __objc_msgSend_677(obj, sel, value); } late final __objc_msgSend_677Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_677 = __objc_msgSend_677Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_attributedStringForNil1 = - _registerName1("attributedStringForNil"); - late final _sel_setAttributedStringForNil_1 = - _registerName1("setAttributedStringForNil:"); - late final _sel_attributedStringForNotANumber1 = - _registerName1("attributedStringForNotANumber"); - late final _sel_setAttributedStringForNotANumber_1 = - _registerName1("setAttributedStringForNotANumber:"); - late final _class_NSDecimalNumberHandler1 = - _getClass1("NSDecimalNumberHandler"); - late final _sel_defaultDecimalNumberHandler1 = - _registerName1("defaultDecimalNumberHandler"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_677 = + __objc_msgSend_677Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_attributedStringForNil1 = _registerName1( + "attributedStringForNil", + ); + late final _sel_setAttributedStringForNil_1 = _registerName1( + "setAttributedStringForNil:", + ); + late final _sel_attributedStringForNotANumber1 = _registerName1( + "attributedStringForNotANumber", + ); + late final _sel_setAttributedStringForNotANumber_1 = _registerName1( + "setAttributedStringForNotANumber:", + ); + late final _class_NSDecimalNumberHandler1 = _getClass1( + "NSDecimalNumberHandler", + ); + late final _sel_defaultDecimalNumberHandler1 = _registerName1( + "defaultDecimalNumberHandler", + ); ffi.Pointer _objc_msgSend_678( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_678( - obj, - sel, - ); + return __objc_msgSend_678(obj, sel); } late final __objc_msgSend_678Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_678 = __objc_msgSend_678Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_678 = + __objc_msgSend_678Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = _registerName1( - "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); + "initWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); instancetype _objc_msgSend_679( ffi.Pointer obj, ffi.Pointer sel, @@ -19434,90 +24008,128 @@ class PedometerBindings { } late final __objc_msgSend_679Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Short, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_679 = + __objc_msgSend_679Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Short, - ffi.Bool, - ffi.Bool, - ffi.Bool, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_679 = __objc_msgSend_679Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, bool, bool, bool, bool)>(); + int, + int, + bool, + bool, + bool, + bool, + ) + >(); late final _sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1 = _registerName1( - "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:"); + "decimalNumberHandlerWithRoundingMode:scale:raiseOnExactness:raiseOnOverflow:raiseOnUnderflow:raiseOnDivideByZero:", + ); late final _sel_roundingBehavior1 = _registerName1("roundingBehavior"); - late final _sel_setRoundingBehavior_1 = - _registerName1("setRoundingBehavior:"); + late final _sel_setRoundingBehavior_1 = _registerName1( + "setRoundingBehavior:", + ); void _objc_msgSend_680( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_680( - obj, - sel, - value, - ); + return __objc_msgSend_680(obj, sel, value); } late final __objc_msgSend_680Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_680 = __objc_msgSend_680Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_680 = + __objc_msgSend_680Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSScanner1 = _getClass1("NSScanner"); late final _sel_scanLocation1 = _registerName1("scanLocation"); late final _sel_setScanLocation_1 = _registerName1("setScanLocation:"); - late final _sel_charactersToBeSkipped1 = - _registerName1("charactersToBeSkipped"); + late final _sel_charactersToBeSkipped1 = _registerName1( + "charactersToBeSkipped", + ); ffi.Pointer _objc_msgSend_681( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_681( - obj, - sel, - ); + return __objc_msgSend_681(obj, sel); } late final __objc_msgSend_681Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_681 = __objc_msgSend_681Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_681 = + __objc_msgSend_681Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setCharactersToBeSkipped_1 = - _registerName1("setCharactersToBeSkipped:"); + late final _sel_setCharactersToBeSkipped_1 = _registerName1( + "setCharactersToBeSkipped:", + ); void _objc_msgSend_682( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_682( - obj, - sel, - value, - ); + return __objc_msgSend_682(obj, sel, value); } late final __objc_msgSend_682Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_682 = __objc_msgSend_682Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_682 = + __objc_msgSend_682Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_caseSensitive1 = _registerName1("caseSensitive"); late final _sel_setCaseSensitive_1 = _registerName1("setCaseSensitive:"); @@ -19527,20 +24139,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_683( - obj, - sel, - result, - ); + return __objc_msgSend_683(obj, sel, result); } late final __objc_msgSend_683Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_683 = __objc_msgSend_683Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_683 = + __objc_msgSend_683Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanInteger_1 = _registerName1("scanInteger:"); bool _objc_msgSend_684( @@ -19548,20 +24167,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_684( - obj, - sel, - result, - ); + return __objc_msgSend_684(obj, sel, result); } late final __objc_msgSend_684Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_684 = __objc_msgSend_684Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_684 = + __objc_msgSend_684Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanLongLong_1 = _registerName1("scanLongLong:"); bool _objc_msgSend_685( @@ -19569,42 +24195,57 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_685( - obj, - sel, - result, - ); + return __objc_msgSend_685(obj, sel, result); } late final __objc_msgSend_685Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_685 = __objc_msgSend_685Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_scanUnsignedLongLong_1 = - _registerName1("scanUnsignedLongLong:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_685 = + __objc_msgSend_685Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_scanUnsignedLongLong_1 = _registerName1( + "scanUnsignedLongLong:", + ); bool _objc_msgSend_686( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_686( - obj, - sel, - result, - ); + return __objc_msgSend_686(obj, sel, result); } late final __objc_msgSend_686Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_686 = __objc_msgSend_686Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_686 = + __objc_msgSend_686Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanFloat_1 = _registerName1("scanFloat:"); bool _objc_msgSend_687( @@ -19612,20 +24253,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_687( - obj, - sel, - result, - ); + return __objc_msgSend_687(obj, sel, result); } late final __objc_msgSend_687Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_687 = __objc_msgSend_687Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_687 = + __objc_msgSend_687Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanDouble_1 = _registerName1("scanDouble:"); bool _objc_msgSend_688( @@ -19633,20 +24281,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_688( - obj, - sel, - result, - ); + return __objc_msgSend_688(obj, sel, result); } late final __objc_msgSend_688Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_688 = __objc_msgSend_688Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_688 = + __objc_msgSend_688Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanHexInt_1 = _registerName1("scanHexInt:"); bool _objc_msgSend_689( @@ -19654,110 +24309,140 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer result, ) { - return __objc_msgSend_689( - obj, - sel, - result, - ); + return __objc_msgSend_689(obj, sel, result); } late final __objc_msgSend_689Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_689 = __objc_msgSend_689Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_689 = + __objc_msgSend_689Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_scanHexLongLong_1 = _registerName1("scanHexLongLong:"); late final _sel_scanHexFloat_1 = _registerName1("scanHexFloat:"); late final _sel_scanHexDouble_1 = _registerName1("scanHexDouble:"); - late final _sel_scanString_intoString_1 = - _registerName1("scanString:intoString:"); + late final _sel_scanString_intoString_1 = _registerName1( + "scanString:intoString:", + ); bool _objc_msgSend_690( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer string, ffi.Pointer> result, ) { - return __objc_msgSend_690( - obj, - sel, - string, - result, - ); + return __objc_msgSend_690(obj, sel, string, result); } late final __objc_msgSend_690Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_690 = + __objc_msgSend_690Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_690 = __objc_msgSend_690Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_scanCharactersFromSet_intoString_1 = - _registerName1("scanCharactersFromSet:intoString:"); + late final _sel_scanCharactersFromSet_intoString_1 = _registerName1( + "scanCharactersFromSet:intoString:", + ); bool _objc_msgSend_691( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer set1, ffi.Pointer> result, ) { - return __objc_msgSend_691( - obj, - sel, - set1, - result, - ); + return __objc_msgSend_691(obj, sel, set1, result); } late final __objc_msgSend_691Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_691 = + __objc_msgSend_691Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_691 = __objc_msgSend_691Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_scanUpToString_intoString_1 = - _registerName1("scanUpToString:intoString:"); - late final _sel_scanUpToCharactersFromSet_intoString_1 = - _registerName1("scanUpToCharactersFromSet:intoString:"); + ffi.Pointer>, + ) + >(); + + late final _sel_scanUpToString_intoString_1 = _registerName1( + "scanUpToString:intoString:", + ); + late final _sel_scanUpToCharactersFromSet_intoString_1 = _registerName1( + "scanUpToCharactersFromSet:intoString:", + ); late final _sel_isAtEnd1 = _registerName1("isAtEnd"); late final _sel_scannerWithString_1 = _registerName1("scannerWithString:"); - late final _sel_localizedScannerWithString_1 = - _registerName1("localizedScannerWithString:"); + late final _sel_localizedScannerWithString_1 = _registerName1( + "localizedScannerWithString:", + ); late final _sel_scanDecimal_1 = _registerName1("scanDecimal:"); bool _objc_msgSend_692( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer dcm, ) { - return __objc_msgSend_692( - obj, - sel, - dcm, - ); + return __objc_msgSend_692(obj, sel, dcm); } late final __objc_msgSend_692Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_692 = __objc_msgSend_692Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_692 = + __objc_msgSend_692Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSException1 = _getClass1("NSException"); - late final _sel_exceptionWithName_reason_userInfo_1 = - _registerName1("exceptionWithName:reason:userInfo:"); + late final _sel_exceptionWithName_reason_userInfo_1 = _registerName1( + "exceptionWithName:reason:userInfo:", + ); ffi.Pointer _objc_msgSend_693( ffi.Pointer obj, ffi.Pointer sel, @@ -19765,33 +24450,35 @@ class PedometerBindings { ffi.Pointer reason, ffi.Pointer userInfo, ) { - return __objc_msgSend_693( - obj, - sel, - name, - reason, - userInfo, - ); + return __objc_msgSend_693(obj, sel, name, reason, userInfo); } late final __objc_msgSend_693Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_693 = + __objc_msgSend_693Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_693 = __objc_msgSend_693Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_initWithName_reason_userInfo_1 = - _registerName1("initWithName:reason:userInfo:"); + late final _sel_initWithName_reason_userInfo_1 = _registerName1( + "initWithName:reason:userInfo:", + ); instancetype _objc_msgSend_694( ffi.Pointer obj, ffi.Pointer sel, @@ -19799,30 +24486,31 @@ class PedometerBindings { ffi.Pointer aReason, ffi.Pointer aUserInfo, ) { - return __objc_msgSend_694( - obj, - sel, - aName, - aReason, - aUserInfo, - ); + return __objc_msgSend_694(obj, sel, aName, aReason, aUserInfo); } late final __objc_msgSend_694Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_694 = + __objc_msgSend_694Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_694 = __objc_msgSend_694Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_reason1 = _registerName1("reason"); late final _sel_raise1 = _registerName1("raise"); @@ -19833,27 +24521,33 @@ class PedometerBindings { ffi.Pointer name, ffi.Pointer format, ) { - return __objc_msgSend_695( - obj, - sel, - name, - format, - ); + return __objc_msgSend_695(obj, sel, name, format); } late final __objc_msgSend_695Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_695 = + __objc_msgSend_695Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_695 = __objc_msgSend_695Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_raise_format_arguments_1 = - _registerName1("raise:format:arguments:"); + late final _sel_raise_format_arguments_1 = _registerName1( + "raise:format:arguments:", + ); void _objc_msgSend_696( ffi.Pointer obj, ffi.Pointer sel, @@ -19861,30 +24555,31 @@ class PedometerBindings { ffi.Pointer format, ffi.Pointer argList, ) { - return __objc_msgSend_696( - obj, - sel, - name, - format, - argList, - ); + return __objc_msgSend_696(obj, sel, name, format, argList); } late final __objc_msgSend_696Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_696 = + __objc_msgSend_696Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_696 = __objc_msgSend_696Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _class_NSRunLoop1 = _getClass1("NSRunLoop"); late final _sel_currentRunLoop1 = _registerName1("currentRunLoop"); @@ -19892,19 +24587,25 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_697( - obj, - sel, - ); + return __objc_msgSend_697(obj, sel); } late final __objc_msgSend_697Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_697 = __objc_msgSend_697Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_697 = + __objc_msgSend_697Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mainRunLoop1 = _registerName1("mainRunLoop"); late final _sel_currentMode1 = _registerName1("currentMode"); @@ -19913,23 +24614,30 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_698( - obj, - sel, - ); + return __objc_msgSend_698(obj, sel); } late final __objc_msgSend_698Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_698 = __objc_msgSend_698Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__CFRunLoop> Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_698 = + __objc_msgSend_698Ptr + .asFunction< + ffi.Pointer<__CFRunLoop> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSTimer1 = _getClass1("NSTimer"); - late final _sel_timerWithTimeInterval_invocation_repeats_1 = - _registerName1("timerWithTimeInterval:invocation:repeats:"); + late final _sel_timerWithTimeInterval_invocation_repeats_1 = _registerName1( + "timerWithTimeInterval:invocation:repeats:", + ); ffi.Pointer _objc_msgSend_699( ffi.Pointer obj, ffi.Pointer sel, @@ -19937,26 +24645,31 @@ class PedometerBindings { ffi.Pointer invocation, bool yesOrNo, ) { - return __objc_msgSend_699( - obj, - sel, - ti, - invocation, - yesOrNo, - ); + return __objc_msgSend_699(obj, sel, ti, invocation, yesOrNo); } late final __objc_msgSend_699Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_699 = + __objc_msgSend_699Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_699 = __objc_msgSend_699Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, double, ffi.Pointer, bool)>(); + bool, + ) + >(); late final _sel_scheduledTimerWithTimeInterval_invocation_repeats_1 = _registerName1("scheduledTimerWithTimeInterval:invocation:repeats:"); @@ -19983,30 +24696,39 @@ class PedometerBindings { } late final __objc_msgSend_700Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_700 = + __objc_msgSend_700Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_700 = __objc_msgSend_700Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); + bool, + ) + >(); late final _sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1 = _registerName1( - "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:"); - late final _sel_timerWithTimeInterval_repeats_block_1 = - _registerName1("timerWithTimeInterval:repeats:block:"); + "scheduledTimerWithTimeInterval:target:selector:userInfo:repeats:", + ); + late final _sel_timerWithTimeInterval_repeats_block_1 = _registerName1( + "timerWithTimeInterval:repeats:block:", + ); ffi.Pointer _objc_msgSend_701( ffi.Pointer obj, ffi.Pointer sel, @@ -20014,31 +24736,37 @@ class PedometerBindings { bool repeats, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_701( - obj, - sel, - interval, - repeats, - block, - ); + return __objc_msgSend_701(obj, sel, interval, repeats, block); } late final __objc_msgSend_701Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_701 = + __objc_msgSend_701Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_701 = __objc_msgSend_701Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, double, bool, ffi.Pointer<_ObjCBlock>)>(); + double, + bool, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_scheduledTimerWithTimeInterval_repeats_block_1 = _registerName1("scheduledTimerWithTimeInterval:repeats:block:"); - late final _sel_initWithFireDate_interval_repeats_block_1 = - _registerName1("initWithFireDate:interval:repeats:block:"); + late final _sel_initWithFireDate_interval_repeats_block_1 = _registerName1( + "initWithFireDate:interval:repeats:block:", + ); instancetype _objc_msgSend_702( ffi.Pointer obj, ffi.Pointer sel, @@ -20047,32 +24775,38 @@ class PedometerBindings { bool repeats, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_702( - obj, - sel, - date, - interval, - repeats, - block, - ); + return __objc_msgSend_702(obj, sel, date, interval, repeats, block); } late final __objc_msgSend_702Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Bool, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_702 = + __objc_msgSend_702Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Bool, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_702 = __objc_msgSend_702Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, double, bool, ffi.Pointer<_ObjCBlock>)>(); + double, + bool, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_initWithFireDate_interval_target_selector_userInfo_repeats_1 = _registerName1( - "initWithFireDate:interval:target:selector:userInfo:repeats:"); + "initWithFireDate:interval:target:selector:userInfo:repeats:", + ); instancetype _objc_msgSend_703( ffi.Pointer obj, ffi.Pointer sel, @@ -20083,39 +24817,37 @@ class PedometerBindings { ffi.Pointer ui, bool rep, ) { - return __objc_msgSend_703( - obj, - sel, - date, - ti, - t, - s, - ui, - rep, - ); + return __objc_msgSend_703(obj, sel, date, ti, t, s, ui, rep); } late final __objc_msgSend_703Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_703 = + __objc_msgSend_703Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, + double, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_703 = __objc_msgSend_703Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - double, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - bool)>(); + bool, + ) + >(); late final _sel_fire1 = _registerName1("fire"); late final _sel_fireDate1 = _registerName1("fireDate"); @@ -20125,20 +24857,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_704( - obj, - sel, - value, - ); + return __objc_msgSend_704(obj, sel, value); } late final __objc_msgSend_704Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_704 = __objc_msgSend_704Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_704 = + __objc_msgSend_704Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_timeInterval1 = _registerName1("timeInterval"); late final _sel_tolerance1 = _registerName1("tolerance"); @@ -20152,76 +24891,95 @@ class PedometerBindings { ffi.Pointer timer, ffi.Pointer mode, ) { - return __objc_msgSend_705( - obj, - sel, - timer, - mode, - ); + return __objc_msgSend_705(obj, sel, timer, mode); } late final __objc_msgSend_705Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_705 = + __objc_msgSend_705Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_705 = __objc_msgSend_705Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _class_NSPort1 = _getClass1("NSPort"); ffi.Pointer _objc_msgSend_706( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_706( - obj, - sel, - ); + return __objc_msgSend_706(obj, sel); } late final __objc_msgSend_706Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_706 = __objc_msgSend_706Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_706 = + __objc_msgSend_706Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_scheduleInRunLoop_forMode_1 = - _registerName1("scheduleInRunLoop:forMode:"); + late final _sel_scheduleInRunLoop_forMode_1 = _registerName1( + "scheduleInRunLoop:forMode:", + ); void _objc_msgSend_707( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer runLoop, ffi.Pointer mode, ) { - return __objc_msgSend_707( - obj, - sel, - runLoop, - mode, - ); + return __objc_msgSend_707(obj, sel, runLoop, mode); } late final __objc_msgSend_707Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_707 = + __objc_msgSend_707Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_707 = __objc_msgSend_707Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_removeFromRunLoop_forMode_1 = - _registerName1("removeFromRunLoop:forMode:"); + late final _sel_removeFromRunLoop_forMode_1 = _registerName1( + "removeFromRunLoop:forMode:", + ); late final _sel_reservedSpaceLength1 = _registerName1("reservedSpaceLength"); - late final _sel_sendBeforeDate_components_from_reserved_1 = - _registerName1("sendBeforeDate:components:from:reserved:"); + late final _sel_sendBeforeDate_components_from_reserved_1 = _registerName1( + "sendBeforeDate:components:from:reserved:", + ); bool _objc_msgSend_708( ffi.Pointer obj, ffi.Pointer sel, @@ -20241,22 +24999,29 @@ class PedometerBindings { } late final __objc_msgSend_708Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_708 = + __objc_msgSend_708Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_708 = __objc_msgSend_708Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); late final _sel_sendBeforeDate_msgid_components_from_reserved_1 = _registerName1("sendBeforeDate:msgid:components:from:reserved:"); @@ -20281,28 +25046,36 @@ class PedometerBindings { } late final __objc_msgSend_709Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_709 = + __objc_msgSend_709Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_709 = __objc_msgSend_709Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); late final _class_NSConnection1 = _getClass1("NSConnection"); - late final _sel_addConnection_toRunLoop_forMode_1 = - _registerName1("addConnection:toRunLoop:forMode:"); + late final _sel_addConnection_toRunLoop_forMode_1 = _registerName1( + "addConnection:toRunLoop:forMode:", + ); void _objc_msgSend_710( ffi.Pointer obj, ffi.Pointer sel, @@ -20310,33 +25083,35 @@ class PedometerBindings { ffi.Pointer runLoop, ffi.Pointer mode, ) { - return __objc_msgSend_710( - obj, - sel, - conn, - runLoop, - mode, - ); + return __objc_msgSend_710(obj, sel, conn, runLoop, mode); } late final __objc_msgSend_710Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_710 = + __objc_msgSend_710Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_710 = __objc_msgSend_710Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_removeConnection_fromRunLoop_forMode_1 = - _registerName1("removeConnection:fromRunLoop:forMode:"); + late final _sel_removeConnection_fromRunLoop_forMode_1 = _registerName1( + "removeConnection:fromRunLoop:forMode:", + ); late final _sel_addPort_forMode_1 = _registerName1("addPort:forMode:"); void _objc_msgSend_711( ffi.Pointer obj, @@ -20344,53 +25119,64 @@ class PedometerBindings { ffi.Pointer aPort, ffi.Pointer mode, ) { - return __objc_msgSend_711( - obj, - sel, - aPort, - mode, - ); + return __objc_msgSend_711(obj, sel, aPort, mode); } late final __objc_msgSend_711Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_711 = + __objc_msgSend_711Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_711 = __objc_msgSend_711Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_removePort_forMode_1 = _registerName1("removePort:forMode:"); late final _sel_limitDateForMode_1 = _registerName1("limitDateForMode:"); - late final _sel_acceptInputForMode_beforeDate_1 = - _registerName1("acceptInputForMode:beforeDate:"); + late final _sel_acceptInputForMode_beforeDate_1 = _registerName1( + "acceptInputForMode:beforeDate:", + ); void _objc_msgSend_712( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer mode, ffi.Pointer limitDate, ) { - return __objc_msgSend_712( - obj, - sel, - mode, - limitDate, - ); + return __objc_msgSend_712(obj, sel, mode, limitDate); } late final __objc_msgSend_712Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_712 = + __objc_msgSend_712Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_712 = __objc_msgSend_712Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_run1 = _registerName1("run"); late final _sel_runUntilDate_1 = _registerName1("runUntilDate:"); @@ -20401,52 +25187,63 @@ class PedometerBindings { ffi.Pointer mode, ffi.Pointer limitDate, ) { - return __objc_msgSend_713( - obj, - sel, - mode, - limitDate, - ); + return __objc_msgSend_713(obj, sel, mode, limitDate); } late final __objc_msgSend_713Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_713 = + __objc_msgSend_713Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_713 = __objc_msgSend_713Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_configureAsServer1 = _registerName1("configureAsServer"); - late final _sel_performInModes_block_1 = - _registerName1("performInModes:block:"); + late final _sel_performInModes_block_1 = _registerName1( + "performInModes:block:", + ); void _objc_msgSend_714( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer modes, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_714( - obj, - sel, - modes, - block, - ); + return __objc_msgSend_714(obj, sel, modes, block); } late final __objc_msgSend_714Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_714 = + __objc_msgSend_714Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_714 = __objc_msgSend_714Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_performBlock_1 = _registerName1("performBlock:"); late final _sel_performSelector_target_argument_order_modes_1 = @@ -20460,117 +25257,139 @@ class PedometerBindings { int order, ffi.Pointer modes, ) { - return __objc_msgSend_715( - obj, - sel, - aSelector, - target, - arg, - order, - modes, - ); + return __objc_msgSend_715(obj, sel, aSelector, target, arg, order, modes); } late final __objc_msgSend_715Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_715 = + __objc_msgSend_715Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_715 = __objc_msgSend_715Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_cancelPerformSelector_target_argument_1 = - _registerName1("cancelPerformSelector:target:argument:"); - late final _sel_cancelPerformSelectorsWithTarget_1 = - _registerName1("cancelPerformSelectorsWithTarget:"); + late final _sel_cancelPerformSelector_target_argument_1 = _registerName1( + "cancelPerformSelector:target:argument:", + ); + late final _sel_cancelPerformSelectorsWithTarget_1 = _registerName1( + "cancelPerformSelectorsWithTarget:", + ); late final _class_NSFileHandle1 = _getClass1("NSFileHandle"); late final _sel_availableData1 = _registerName1("availableData"); - late final _sel_initWithFileDescriptor_closeOnDealloc_1 = - _registerName1("initWithFileDescriptor:closeOnDealloc:"); + late final _sel_initWithFileDescriptor_closeOnDealloc_1 = _registerName1( + "initWithFileDescriptor:closeOnDealloc:", + ); instancetype _objc_msgSend_716( ffi.Pointer obj, ffi.Pointer sel, int fd, bool closeopt, ) { - return __objc_msgSend_716( - obj, - sel, - fd, - closeopt, - ); + return __objc_msgSend_716(obj, sel, fd, closeopt); } late final __objc_msgSend_716Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_716 = __objc_msgSend_716Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int, bool)>(); - - late final _sel_readDataToEndOfFileAndReturnError_1 = - _registerName1("readDataToEndOfFileAndReturnError:"); + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_716 = + __objc_msgSend_716Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + bool, + ) + >(); + + late final _sel_readDataToEndOfFileAndReturnError_1 = _registerName1( + "readDataToEndOfFileAndReturnError:", + ); ffi.Pointer _objc_msgSend_717( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer> error, ) { - return __objc_msgSend_717( - obj, - sel, - error, - ); + return __objc_msgSend_717(obj, sel, error); } late final __objc_msgSend_717Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_717 = + __objc_msgSend_717Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_717 = __objc_msgSend_717Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_readDataUpToLength_error_1 = - _registerName1("readDataUpToLength:error:"); + late final _sel_readDataUpToLength_error_1 = _registerName1( + "readDataUpToLength:error:", + ); ffi.Pointer _objc_msgSend_718( ffi.Pointer obj, ffi.Pointer sel, int length, ffi.Pointer> error, ) { - return __objc_msgSend_718( - obj, - sel, - length, - error, - ); + return __objc_msgSend_718(obj, sel, length, error); } late final __objc_msgSend_718Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_718 = + __objc_msgSend_718Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_718 = __objc_msgSend_718Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); late final _sel_writeData_error_1 = _registerName1("writeData:error:"); bool _objc_msgSend_719( @@ -20579,24 +25398,29 @@ class PedometerBindings { ffi.Pointer data, ffi.Pointer> error, ) { - return __objc_msgSend_719( - obj, - sel, - data, - error, - ); + return __objc_msgSend_719(obj, sel, data, error); } late final __objc_msgSend_719Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_719 = + __objc_msgSend_719Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_719 = __objc_msgSend_719Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_getOffset_error_1 = _registerName1("getOffset:error:"); bool _objc_msgSend_720( @@ -20605,30 +25429,33 @@ class PedometerBindings { ffi.Pointer offsetInFile, ffi.Pointer> error, ) { - return __objc_msgSend_720( - obj, - sel, - offsetInFile, - error, - ); + return __objc_msgSend_720(obj, sel, offsetInFile, error); } late final __objc_msgSend_720Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_720 = + __objc_msgSend_720Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_720 = __objc_msgSend_720Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_seekToEndReturningOffset_error_1 = - _registerName1("seekToEndReturningOffset:error:"); + late final _sel_seekToEndReturningOffset_error_1 = _registerName1( + "seekToEndReturningOffset:error:", + ); late final _sel_seekToOffset_error_1 = _registerName1("seekToOffset:error:"); bool _objc_msgSend_721( ffi.Pointer obj, @@ -20636,195 +25463,260 @@ class PedometerBindings { int offset, ffi.Pointer> error, ) { - return __objc_msgSend_721( - obj, - sel, - offset, - error, - ); + return __objc_msgSend_721(obj, sel, offset, error); } late final __objc_msgSend_721Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_721 = + __objc_msgSend_721Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_721 = __objc_msgSend_721Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer>)>(); - - late final _sel_truncateAtOffset_error_1 = - _registerName1("truncateAtOffset:error:"); - late final _sel_synchronizeAndReturnError_1 = - _registerName1("synchronizeAndReturnError:"); - late final _sel_closeAndReturnError_1 = - _registerName1("closeAndReturnError:"); - late final _sel_fileHandleWithStandardInput1 = - _registerName1("fileHandleWithStandardInput"); + int, + ffi.Pointer>, + ) + >(); + + late final _sel_truncateAtOffset_error_1 = _registerName1( + "truncateAtOffset:error:", + ); + late final _sel_synchronizeAndReturnError_1 = _registerName1( + "synchronizeAndReturnError:", + ); + late final _sel_closeAndReturnError_1 = _registerName1( + "closeAndReturnError:", + ); + late final _sel_fileHandleWithStandardInput1 = _registerName1( + "fileHandleWithStandardInput", + ); ffi.Pointer _objc_msgSend_722( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_722( - obj, - sel, - ); + return __objc_msgSend_722(obj, sel); } late final __objc_msgSend_722Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_722 = __objc_msgSend_722Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_fileHandleWithStandardOutput1 = - _registerName1("fileHandleWithStandardOutput"); - late final _sel_fileHandleWithStandardError1 = - _registerName1("fileHandleWithStandardError"); - late final _sel_fileHandleWithNullDevice1 = - _registerName1("fileHandleWithNullDevice"); - late final _sel_fileHandleForReadingAtPath_1 = - _registerName1("fileHandleForReadingAtPath:"); - late final _sel_fileHandleForWritingAtPath_1 = - _registerName1("fileHandleForWritingAtPath:"); - late final _sel_fileHandleForUpdatingAtPath_1 = - _registerName1("fileHandleForUpdatingAtPath:"); - late final _sel_fileHandleForReadingFromURL_error_1 = - _registerName1("fileHandleForReadingFromURL:error:"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_722 = + __objc_msgSend_722Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_fileHandleWithStandardOutput1 = _registerName1( + "fileHandleWithStandardOutput", + ); + late final _sel_fileHandleWithStandardError1 = _registerName1( + "fileHandleWithStandardError", + ); + late final _sel_fileHandleWithNullDevice1 = _registerName1( + "fileHandleWithNullDevice", + ); + late final _sel_fileHandleForReadingAtPath_1 = _registerName1( + "fileHandleForReadingAtPath:", + ); + late final _sel_fileHandleForWritingAtPath_1 = _registerName1( + "fileHandleForWritingAtPath:", + ); + late final _sel_fileHandleForUpdatingAtPath_1 = _registerName1( + "fileHandleForUpdatingAtPath:", + ); + late final _sel_fileHandleForReadingFromURL_error_1 = _registerName1( + "fileHandleForReadingFromURL:error:", + ); instancetype _objc_msgSend_723( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ffi.Pointer> error, ) { - return __objc_msgSend_723( - obj, - sel, - url, - error, - ); + return __objc_msgSend_723(obj, sel, url, error); } late final __objc_msgSend_723Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_723 = + __objc_msgSend_723Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_723 = __objc_msgSend_723Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer>)>(); - - late final _sel_fileHandleForWritingToURL_error_1 = - _registerName1("fileHandleForWritingToURL:error:"); - late final _sel_fileHandleForUpdatingURL_error_1 = - _registerName1("fileHandleForUpdatingURL:error:"); - late final _sel_readInBackgroundAndNotifyForModes_1 = - _registerName1("readInBackgroundAndNotifyForModes:"); + ffi.Pointer>, + ) + >(); + + late final _sel_fileHandleForWritingToURL_error_1 = _registerName1( + "fileHandleForWritingToURL:error:", + ); + late final _sel_fileHandleForUpdatingURL_error_1 = _registerName1( + "fileHandleForUpdatingURL:error:", + ); + late final _sel_readInBackgroundAndNotifyForModes_1 = _registerName1( + "readInBackgroundAndNotifyForModes:", + ); void _objc_msgSend_724( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer modes, ) { - return __objc_msgSend_724( - obj, - sel, - modes, - ); + return __objc_msgSend_724(obj, sel, modes); } late final __objc_msgSend_724Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_724 = __objc_msgSend_724Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_readInBackgroundAndNotify1 = - _registerName1("readInBackgroundAndNotify"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_724 = + __objc_msgSend_724Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_readInBackgroundAndNotify1 = _registerName1( + "readInBackgroundAndNotify", + ); late final _sel_readToEndOfFileInBackgroundAndNotifyForModes_1 = _registerName1("readToEndOfFileInBackgroundAndNotifyForModes:"); - late final _sel_readToEndOfFileInBackgroundAndNotify1 = - _registerName1("readToEndOfFileInBackgroundAndNotify"); + late final _sel_readToEndOfFileInBackgroundAndNotify1 = _registerName1( + "readToEndOfFileInBackgroundAndNotify", + ); late final _sel_acceptConnectionInBackgroundAndNotifyForModes_1 = _registerName1("acceptConnectionInBackgroundAndNotifyForModes:"); - late final _sel_acceptConnectionInBackgroundAndNotify1 = - _registerName1("acceptConnectionInBackgroundAndNotify"); - late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = - _registerName1("waitForDataInBackgroundAndNotifyForModes:"); - late final _sel_waitForDataInBackgroundAndNotify1 = - _registerName1("waitForDataInBackgroundAndNotify"); + late final _sel_acceptConnectionInBackgroundAndNotify1 = _registerName1( + "acceptConnectionInBackgroundAndNotify", + ); + late final _sel_waitForDataInBackgroundAndNotifyForModes_1 = _registerName1( + "waitForDataInBackgroundAndNotifyForModes:", + ); + late final _sel_waitForDataInBackgroundAndNotify1 = _registerName1( + "waitForDataInBackgroundAndNotify", + ); late final _sel_readabilityHandler1 = _registerName1("readabilityHandler"); ffi.Pointer<_ObjCBlock> _objc_msgSend_725( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_725( - obj, - sel, - ); + return __objc_msgSend_725(obj, sel); } late final __objc_msgSend_725Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_725 = __objc_msgSend_725Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_725 = + __objc_msgSend_725Ptr + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setReadabilityHandler_1 = - _registerName1("setReadabilityHandler:"); + late final _sel_setReadabilityHandler_1 = _registerName1( + "setReadabilityHandler:", + ); void _objc_msgSend_726( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> value, ) { - return __objc_msgSend_726( - obj, - sel, - value, - ); + return __objc_msgSend_726(obj, sel, value); } late final __objc_msgSend_726Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_726 = __objc_msgSend_726Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_726 = + __objc_msgSend_726Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_writeabilityHandler1 = _registerName1("writeabilityHandler"); - late final _sel_setWriteabilityHandler_1 = - _registerName1("setWriteabilityHandler:"); - late final _sel_initWithFileDescriptor_1 = - _registerName1("initWithFileDescriptor:"); + late final _sel_setWriteabilityHandler_1 = _registerName1( + "setWriteabilityHandler:", + ); + late final _sel_initWithFileDescriptor_1 = _registerName1( + "initWithFileDescriptor:", + ); instancetype _objc_msgSend_727( ffi.Pointer obj, ffi.Pointer sel, int fd, ) { - return __objc_msgSend_727( - obj, - sel, - fd, - ); + return __objc_msgSend_727(obj, sel, fd); } late final __objc_msgSend_727Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_727 = __objc_msgSend_727Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_727 = + __objc_msgSend_727Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_fileDescriptor1 = _registerName1("fileDescriptor"); late final _sel_readDataToEndOfFile1 = _registerName1("readDataToEndOfFile"); @@ -20834,20 +25726,27 @@ class PedometerBindings { ffi.Pointer sel, int length, ) { - return __objc_msgSend_728( - obj, - sel, - length, - ); + return __objc_msgSend_728(obj, sel, length); } late final __objc_msgSend_728Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_728 = __objc_msgSend_728Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_728 = + __objc_msgSend_728Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_writeData_1 = _registerName1("writeData:"); late final _sel_offsetInFile1 = _registerName1("offsetInFile"); @@ -20858,44 +25757,56 @@ class PedometerBindings { ffi.Pointer sel, int offset, ) { - return __objc_msgSend_729( - obj, - sel, - offset, - ); + return __objc_msgSend_729(obj, sel, offset); } late final __objc_msgSend_729Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLongLong)>>('objc_msgSend'); - late final __objc_msgSend_729 = __objc_msgSend_729Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLongLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_729 = + __objc_msgSend_729Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_truncateFileAtOffset_1 = - _registerName1("truncateFileAtOffset:"); + late final _sel_truncateFileAtOffset_1 = _registerName1( + "truncateFileAtOffset:", + ); late final _sel_synchronizeFile1 = _registerName1("synchronizeFile"); late final _sel_closeFile1 = _registerName1("closeFile"); late final _class_NSHTTPCookieStorage1 = _getClass1("NSHTTPCookieStorage"); - late final _sel_sharedHTTPCookieStorage1 = - _registerName1("sharedHTTPCookieStorage"); + late final _sel_sharedHTTPCookieStorage1 = _registerName1( + "sharedHTTPCookieStorage", + ); ffi.Pointer _objc_msgSend_730( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_730( - obj, - sel, - ); + return __objc_msgSend_730(obj, sel); } late final __objc_msgSend_730Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_730 = __objc_msgSend_730Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_730 = + __objc_msgSend_730Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sharedCookieStorageForGroupContainerIdentifier_1 = _registerName1("sharedCookieStorageForGroupContainerIdentifier:"); @@ -20904,20 +25815,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer identifier, ) { - return __objc_msgSend_731( - obj, - sel, - identifier, - ); + return __objc_msgSend_731(obj, sel, identifier); } late final __objc_msgSend_731Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_731 = __objc_msgSend_731Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_731 = + __objc_msgSend_731Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cookies1 = _registerName1("cookies"); late final _class_NSHTTPCookie1 = _getClass1("NSHTTPCookie"); @@ -20927,74 +25845,93 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer properties, ) { - return __objc_msgSend_732( - obj, - sel, - properties, - ); + return __objc_msgSend_732(obj, sel, properties); } late final __objc_msgSend_732Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_732 = __objc_msgSend_732Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_cookieWithProperties_1 = - _registerName1("cookieWithProperties:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_732 = + __objc_msgSend_732Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_cookieWithProperties_1 = _registerName1( + "cookieWithProperties:", + ); ffi.Pointer _objc_msgSend_733( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer properties, ) { - return __objc_msgSend_733( - obj, - sel, - properties, - ); + return __objc_msgSend_733(obj, sel, properties); } late final __objc_msgSend_733Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_733 = __objc_msgSend_733Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestHeaderFieldsWithCookies_1 = - _registerName1("requestHeaderFieldsWithCookies:"); - late final _sel_cookiesWithResponseHeaderFields_forURL_1 = - _registerName1("cookiesWithResponseHeaderFields:forURL:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_733 = + __objc_msgSend_733Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestHeaderFieldsWithCookies_1 = _registerName1( + "requestHeaderFieldsWithCookies:", + ); + late final _sel_cookiesWithResponseHeaderFields_forURL_1 = _registerName1( + "cookiesWithResponseHeaderFields:forURL:", + ); ffi.Pointer _objc_msgSend_734( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer headerFields, ffi.Pointer URL, ) { - return __objc_msgSend_734( - obj, - sel, - headerFields, - URL, - ); + return __objc_msgSend_734(obj, sel, headerFields, URL); } late final __objc_msgSend_734Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_734 = + __objc_msgSend_734Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_734 = __objc_msgSend_734Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_properties1 = _registerName1("properties"); late final _sel_value1 = _registerName1("value"); @@ -21012,27 +25949,36 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer cookie, ) { - return __objc_msgSend_735( - obj, - sel, - cookie, - ); + return __objc_msgSend_735(obj, sel, cookie); } late final __objc_msgSend_735Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_735 = __objc_msgSend_735Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_735 = + __objc_msgSend_735Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_deleteCookie_1 = _registerName1("deleteCookie:"); - late final _sel_removeCookiesSinceDate_1 = - _registerName1("removeCookiesSinceDate:"); + late final _sel_removeCookiesSinceDate_1 = _registerName1( + "removeCookiesSinceDate:", + ); late final _sel_cookiesForURL_1 = _registerName1("cookiesForURL:"); - late final _sel_setCookies_forURL_mainDocumentURL_1 = - _registerName1("setCookies:forURL:mainDocumentURL:"); + late final _sel_setCookies_forURL_mainDocumentURL_1 = _registerName1( + "setCookies:forURL:mainDocumentURL:", + ); void _objc_msgSend_736( ffi.Pointer obj, ffi.Pointer sel, @@ -21040,72 +25986,77 @@ class PedometerBindings { ffi.Pointer URL, ffi.Pointer mainDocumentURL, ) { - return __objc_msgSend_736( - obj, - sel, - cookies, - URL, - mainDocumentURL, - ); + return __objc_msgSend_736(obj, sel, cookies, URL, mainDocumentURL); } late final __objc_msgSend_736Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_736 = + __objc_msgSend_736Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_736 = __objc_msgSend_736Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_cookieAcceptPolicy1 = _registerName1("cookieAcceptPolicy"); - int _objc_msgSend_737( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_737( - obj, - sel, - ); + int _objc_msgSend_737(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_737(obj, sel); } late final __objc_msgSend_737Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_737 = __objc_msgSend_737Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_737 = + __objc_msgSend_737Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setCookieAcceptPolicy_1 = - _registerName1("setCookieAcceptPolicy:"); + late final _sel_setCookieAcceptPolicy_1 = _registerName1( + "setCookieAcceptPolicy:", + ); void _objc_msgSend_738( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_738( - obj, - sel, - value, - ); + return __objc_msgSend_738(obj, sel, value); } late final __objc_msgSend_738Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_738 = __objc_msgSend_738Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_738 = + __objc_msgSend_738Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_sortedCookiesUsingDescriptors_1 = - _registerName1("sortedCookiesUsingDescriptors:"); + late final _sel_sortedCookiesUsingDescriptors_1 = _registerName1( + "sortedCookiesUsingDescriptors:", + ); late final _class_NSURLSessionTask1 = _getClass1("NSURLSessionTask"); late final _sel_taskIdentifier1 = _registerName1("taskIdentifier"); late final _class_NSURLRequest1 = _getClass1("NSURLRequest"); @@ -21115,25 +26066,34 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer URL, ) { - return __objc_msgSend_739( - obj, - sel, - URL, - ); + return __objc_msgSend_739(obj, sel, URL); } late final __objc_msgSend_739Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_739 = __objc_msgSend_739Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_supportsSecureCoding1 = - _registerName1("supportsSecureCoding"); - late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = - _registerName1("requestWithURL:cachePolicy:timeoutInterval:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_739 = + __objc_msgSend_739Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_supportsSecureCoding1 = _registerName1( + "supportsSecureCoding", + ); + late final _sel_requestWithURL_cachePolicy_timeoutInterval_1 = _registerName1( + "requestWithURL:cachePolicy:timeoutInterval:", + ); instancetype _objc_msgSend_740( ffi.Pointer obj, ffi.Pointer sel, @@ -21141,95 +26101,104 @@ class PedometerBindings { int cachePolicy, double timeoutInterval, ) { - return __objc_msgSend_740( - obj, - sel, - URL, - cachePolicy, - timeoutInterval, - ); + return __objc_msgSend_740(obj, sel, URL, cachePolicy, timeoutInterval); } late final __objc_msgSend_740Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_740 = __objc_msgSend_740Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, double)>(); - - late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = - _registerName1("initWithURL:cachePolicy:timeoutInterval:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_740 = + __objc_msgSend_740Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + double, + ) + >(); + + late final _sel_initWithURL_cachePolicy_timeoutInterval_1 = _registerName1( + "initWithURL:cachePolicy:timeoutInterval:", + ); late final _sel_URL1 = _registerName1("URL"); late final _sel_cachePolicy1 = _registerName1("cachePolicy"); - int _objc_msgSend_741( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_741( - obj, - sel, - ); + int _objc_msgSend_741(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_741(obj, sel); } late final __objc_msgSend_741Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_741 = __objc_msgSend_741Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_741 = + __objc_msgSend_741Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_timeoutInterval1 = _registerName1("timeoutInterval"); late final _sel_mainDocumentURL1 = _registerName1("mainDocumentURL"); late final _sel_networkServiceType1 = _registerName1("networkServiceType"); - int _objc_msgSend_742( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_742( - obj, - sel, - ); + int _objc_msgSend_742(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_742(obj, sel); } late final __objc_msgSend_742Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_742 = __objc_msgSend_742Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_allowsCellularAccess1 = - _registerName1("allowsCellularAccess"); - late final _sel_allowsExpensiveNetworkAccess1 = - _registerName1("allowsExpensiveNetworkAccess"); - late final _sel_allowsConstrainedNetworkAccess1 = - _registerName1("allowsConstrainedNetworkAccess"); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_742 = + __objc_msgSend_742Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); + + late final _sel_allowsCellularAccess1 = _registerName1( + "allowsCellularAccess", + ); + late final _sel_allowsExpensiveNetworkAccess1 = _registerName1( + "allowsExpensiveNetworkAccess", + ); + late final _sel_allowsConstrainedNetworkAccess1 = _registerName1( + "allowsConstrainedNetworkAccess", + ); late final _sel_assumesHTTP3Capable1 = _registerName1("assumesHTTP3Capable"); late final _sel_attribution1 = _registerName1("attribution"); - int _objc_msgSend_743( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_743( - obj, - sel, - ); + int _objc_msgSend_743(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_743(obj, sel); } late final __objc_msgSend_743Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_743 = __objc_msgSend_743Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_743 = + __objc_msgSend_743Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_requiresDNSSECValidation1 = - _registerName1("requiresDNSSECValidation"); + late final _sel_requiresDNSSECValidation1 = _registerName1( + "requiresDNSSECValidation", + ); late final _sel_HTTPMethod1 = _registerName1("HTTPMethod"); late final _sel_allHTTPHeaderFields1 = _registerName1("allHTTPHeaderFields"); - late final _sel_valueForHTTPHeaderField_1 = - _registerName1("valueForHTTPHeaderField:"); + late final _sel_valueForHTTPHeaderField_1 = _registerName1( + "valueForHTTPHeaderField:", + ); late final _sel_HTTPBody1 = _registerName1("HTTPBody"); late final _class_NSInputStream1 = _getClass1("NSInputStream"); late final _class_NSStream1 = _getClass1("NSStream"); @@ -21241,42 +26210,45 @@ class PedometerBindings { ffi.Pointer property, ffi.Pointer key, ) { - return __objc_msgSend_744( - obj, - sel, - property, - key, - ); + return __objc_msgSend_744(obj, sel, property, key); } late final __objc_msgSend_744Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_744 = + __objc_msgSend_744Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_744 = __objc_msgSend_744Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_streamStatus1 = _registerName1("streamStatus"); - int _objc_msgSend_745( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_745( - obj, - sel, - ); + int _objc_msgSend_745(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_745(obj, sel); } late final __objc_msgSend_745Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_745 = __objc_msgSend_745Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_745 = + __objc_msgSend_745Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_streamError1 = _registerName1("streamError"); late final _class_NSOutputStream1 = _getClass1("NSOutputStream"); @@ -21287,47 +26259,64 @@ class PedometerBindings { ffi.Pointer buffer, int len, ) { - return __objc_msgSend_746( - obj, - sel, - buffer, - len, - ); + return __objc_msgSend_746(obj, sel, buffer, len); } late final __objc_msgSend_746Ptr = _lookup< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_746 = __objc_msgSend_746Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_746 = + __objc_msgSend_746Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_hasSpaceAvailable1 = _registerName1("hasSpaceAvailable"); late final _sel_initToMemory1 = _registerName1("initToMemory"); - late final _sel_initToBuffer_capacity_1 = - _registerName1("initToBuffer:capacity:"); + late final _sel_initToBuffer_capacity_1 = _registerName1( + "initToBuffer:capacity:", + ); instancetype _objc_msgSend_747( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer buffer, int capacity, ) { - return __objc_msgSend_747( - obj, - sel, - buffer, - capacity, - ); + return __objc_msgSend_747(obj, sel, buffer, capacity); } late final __objc_msgSend_747Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_747 = __objc_msgSend_747Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_747 = + __objc_msgSend_747Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_initWithURL_append_1 = _registerName1("initWithURL:append:"); instancetype _objc_msgSend_748( @@ -21336,32 +26325,45 @@ class PedometerBindings { ffi.Pointer url, bool shouldAppend, ) { - return __objc_msgSend_748( - obj, - sel, - url, - shouldAppend, - ); + return __objc_msgSend_748(obj, sel, url, shouldAppend); } late final __objc_msgSend_748Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_748 = __objc_msgSend_748Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_initToFileAtPath_append_1 = - _registerName1("initToFileAtPath:append:"); - late final _sel_outputStreamToMemory1 = - _registerName1("outputStreamToMemory"); - late final _sel_outputStreamToBuffer_capacity_1 = - _registerName1("outputStreamToBuffer:capacity:"); - late final _sel_outputStreamToFileAtPath_append_1 = - _registerName1("outputStreamToFileAtPath:append:"); - late final _sel_outputStreamWithURL_append_1 = - _registerName1("outputStreamWithURL:append:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_748 = + __objc_msgSend_748Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_initToFileAtPath_append_1 = _registerName1( + "initToFileAtPath:append:", + ); + late final _sel_outputStreamToMemory1 = _registerName1( + "outputStreamToMemory", + ); + late final _sel_outputStreamToBuffer_capacity_1 = _registerName1( + "outputStreamToBuffer:capacity:", + ); + late final _sel_outputStreamToFileAtPath_append_1 = _registerName1( + "outputStreamToFileAtPath:append:", + ); + late final _sel_outputStreamWithURL_append_1 = _registerName1( + "outputStreamWithURL:append:", + ); late final _sel_getStreamsToHostWithName_port_inputStream_outputStream_1 = _registerName1("getStreamsToHostWithName:port:inputStream:outputStream:"); void _objc_msgSend_749( @@ -21383,22 +26385,29 @@ class PedometerBindings { } late final __objc_msgSend_749Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_749 = + __objc_msgSend_749Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_749 = __objc_msgSend_749Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _class_NSHost1 = _getClass1("NSHost"); late final _sel_getStreamsToHost_port_inputStream_outputStream_1 = @@ -21411,33 +26420,33 @@ class PedometerBindings { ffi.Pointer> inputStream, ffi.Pointer> outputStream, ) { - return __objc_msgSend_750( - obj, - sel, - host, - port, - inputStream, - outputStream, - ); + return __objc_msgSend_750(obj, sel, host, port, inputStream, outputStream); } late final __objc_msgSend_750Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_750 = + __objc_msgSend_750Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_750 = __objc_msgSend_750Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1 = _registerName1("getBoundStreamsWithBufferSize:inputStream:outputStream:"); @@ -21448,30 +26457,31 @@ class PedometerBindings { ffi.Pointer> inputStream, ffi.Pointer> outputStream, ) { - return __objc_msgSend_751( - obj, - sel, - bufferSize, - inputStream, - outputStream, - ); + return __objc_msgSend_751(obj, sel, bufferSize, inputStream, outputStream); } late final __objc_msgSend_751Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_751 = + __objc_msgSend_751Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, + int, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_751 = __objc_msgSend_751Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_read_maxLength_1 = _registerName1("read:maxLength:"); late final _sel_getBuffer_length_1 = _registerName1("getBuffer:length:"); @@ -21481,102 +26491,128 @@ class PedometerBindings { ffi.Pointer> buffer, ffi.Pointer len, ) { - return __objc_msgSend_752( - obj, - sel, - buffer, - len, - ); + return __objc_msgSend_752(obj, sel, buffer, len); } late final __objc_msgSend_752Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_752 = + __objc_msgSend_752Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_752 = __objc_msgSend_752Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_hasBytesAvailable1 = _registerName1("hasBytesAvailable"); late final _sel_initWithFileAtPath_1 = _registerName1("initWithFileAtPath:"); - late final _sel_inputStreamWithData_1 = - _registerName1("inputStreamWithData:"); + late final _sel_inputStreamWithData_1 = _registerName1( + "inputStreamWithData:", + ); instancetype _objc_msgSend_753( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer data, ) { - return __objc_msgSend_753( - obj, - sel, - data, - ); + return __objc_msgSend_753(obj, sel, data); } late final __objc_msgSend_753Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_753 = __objc_msgSend_753Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_inputStreamWithFileAtPath_1 = - _registerName1("inputStreamWithFileAtPath:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_753 = + __objc_msgSend_753Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_inputStreamWithFileAtPath_1 = _registerName1( + "inputStreamWithFileAtPath:", + ); late final _sel_inputStreamWithURL_1 = _registerName1("inputStreamWithURL:"); late final _sel_HTTPBodyStream1 = _registerName1("HTTPBodyStream"); ffi.Pointer _objc_msgSend_754( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_754( - obj, - sel, - ); + return __objc_msgSend_754(obj, sel); } late final __objc_msgSend_754Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_754 = __objc_msgSend_754Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_HTTPShouldHandleCookies1 = - _registerName1("HTTPShouldHandleCookies"); - late final _sel_HTTPShouldUsePipelining1 = - _registerName1("HTTPShouldUsePipelining"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_754 = + __objc_msgSend_754Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_HTTPShouldHandleCookies1 = _registerName1( + "HTTPShouldHandleCookies", + ); + late final _sel_HTTPShouldUsePipelining1 = _registerName1( + "HTTPShouldUsePipelining", + ); late final _sel_originalRequest1 = _registerName1("originalRequest"); ffi.Pointer _objc_msgSend_755( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_755( - obj, - sel, - ); + return __objc_msgSend_755(obj, sel); } late final __objc_msgSend_755Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_755 = __objc_msgSend_755Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_755 = + __objc_msgSend_755Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_currentRequest1 = _registerName1("currentRequest"); late final _class_NSURLResponse1 = _getClass1("NSURLResponse"); late final _sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1 = _registerName1( - "initWithURL:MIMEType:expectedContentLength:textEncodingName:"); + "initWithURL:MIMEType:expectedContentLength:textEncodingName:", + ); instancetype _objc_msgSend_756( ffi.Pointer obj, ffi.Pointer sel, @@ -21585,37 +26621,38 @@ class PedometerBindings { int length, ffi.Pointer name, ) { - return __objc_msgSend_756( - obj, - sel, - URL, - MIMEType, - length, - name, - ); + return __objc_msgSend_756(obj, sel, URL, MIMEType, length, name); } late final __objc_msgSend_756Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_756 = + __objc_msgSend_756Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_756 = __objc_msgSend_756Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_MIMEType1 = _registerName1("MIMEType"); - late final _sel_expectedContentLength1 = - _registerName1("expectedContentLength"); + late final _sel_expectedContentLength1 = _registerName1( + "expectedContentLength", + ); late final _sel_textEncodingName1 = _registerName1("textEncodingName"); late final _sel_suggestedFilename1 = _registerName1("suggestedFilename"); late final _sel_response1 = _registerName1("response"); @@ -21623,76 +26660,94 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_757( - obj, - sel, - ); + return __objc_msgSend_757(obj, sel); } late final __objc_msgSend_757Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_757 = __objc_msgSend_757Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_757 = + __objc_msgSend_757Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_progress1 = _registerName1("progress"); ffi.Pointer _objc_msgSend_758( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_758( - obj, - sel, - ); + return __objc_msgSend_758(obj, sel); } late final __objc_msgSend_758Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_758 = __objc_msgSend_758Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_758 = + __objc_msgSend_758Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_earliestBeginDate1 = _registerName1("earliestBeginDate"); - late final _sel_setEarliestBeginDate_1 = - _registerName1("setEarliestBeginDate:"); - late final _sel_countOfBytesClientExpectsToSend1 = - _registerName1("countOfBytesClientExpectsToSend"); - late final _sel_setCountOfBytesClientExpectsToSend_1 = - _registerName1("setCountOfBytesClientExpectsToSend:"); - late final _sel_countOfBytesClientExpectsToReceive1 = - _registerName1("countOfBytesClientExpectsToReceive"); - late final _sel_setCountOfBytesClientExpectsToReceive_1 = - _registerName1("setCountOfBytesClientExpectsToReceive:"); + late final _sel_setEarliestBeginDate_1 = _registerName1( + "setEarliestBeginDate:", + ); + late final _sel_countOfBytesClientExpectsToSend1 = _registerName1( + "countOfBytesClientExpectsToSend", + ); + late final _sel_setCountOfBytesClientExpectsToSend_1 = _registerName1( + "setCountOfBytesClientExpectsToSend:", + ); + late final _sel_countOfBytesClientExpectsToReceive1 = _registerName1( + "countOfBytesClientExpectsToReceive", + ); + late final _sel_setCountOfBytesClientExpectsToReceive_1 = _registerName1( + "setCountOfBytesClientExpectsToReceive:", + ); late final _sel_countOfBytesSent1 = _registerName1("countOfBytesSent"); - late final _sel_countOfBytesReceived1 = - _registerName1("countOfBytesReceived"); - late final _sel_countOfBytesExpectedToSend1 = - _registerName1("countOfBytesExpectedToSend"); - late final _sel_countOfBytesExpectedToReceive1 = - _registerName1("countOfBytesExpectedToReceive"); + late final _sel_countOfBytesReceived1 = _registerName1( + "countOfBytesReceived", + ); + late final _sel_countOfBytesExpectedToSend1 = _registerName1( + "countOfBytesExpectedToSend", + ); + late final _sel_countOfBytesExpectedToReceive1 = _registerName1( + "countOfBytesExpectedToReceive", + ); late final _sel_taskDescription1 = _registerName1("taskDescription"); late final _sel_setTaskDescription_1 = _registerName1("setTaskDescription:"); late final _sel_state1 = _registerName1("state"); - int _objc_msgSend_759( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_759( - obj, - sel, - ); + int _objc_msgSend_759(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_759(obj, sel); } late final __objc_msgSend_759Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_759 = __objc_msgSend_759Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_759 = + __objc_msgSend_759Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_suspend1 = _registerName1("suspend"); late final _sel_priority1 = _registerName1("priority"); @@ -21702,150 +26757,190 @@ class PedometerBindings { ffi.Pointer sel, double value, ) { - return __objc_msgSend_760( - obj, - sel, - value, - ); + return __objc_msgSend_760(obj, sel, value); } late final __objc_msgSend_760Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Float)>>('objc_msgSend'); - late final __objc_msgSend_760 = __objc_msgSend_760Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, double)>(); - - late final _sel_prefersIncrementalDelivery1 = - _registerName1("prefersIncrementalDelivery"); - late final _sel_setPrefersIncrementalDelivery_1 = - _registerName1("setPrefersIncrementalDelivery:"); - late final _sel_storeCookies_forTask_1 = - _registerName1("storeCookies:forTask:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Float, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_760 = + __objc_msgSend_760Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, double) + >(); + + late final _sel_prefersIncrementalDelivery1 = _registerName1( + "prefersIncrementalDelivery", + ); + late final _sel_setPrefersIncrementalDelivery_1 = _registerName1( + "setPrefersIncrementalDelivery:", + ); + late final _sel_storeCookies_forTask_1 = _registerName1( + "storeCookies:forTask:", + ); void _objc_msgSend_761( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer cookies, ffi.Pointer task, ) { - return __objc_msgSend_761( - obj, - sel, - cookies, - task, - ); + return __objc_msgSend_761(obj, sel, cookies, task); } late final __objc_msgSend_761Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_761 = + __objc_msgSend_761Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_761 = __objc_msgSend_761Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_getCookiesForTask_completionHandler_1 = - _registerName1("getCookiesForTask:completionHandler:"); + late final _sel_getCookiesForTask_completionHandler_1 = _registerName1( + "getCookiesForTask:completionHandler:", + ); void _objc_msgSend_762( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer task, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_762( - obj, - sel, - task, - completionHandler, - ); + return __objc_msgSend_762(obj, sel, task, completionHandler); } late final __objc_msgSend_762Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_762 = + __objc_msgSend_762Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_762 = __objc_msgSend_762Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_NSIndexPath1 = _getClass1("NSIndexPath"); late final _sel_indexPathWithIndex_1 = _registerName1("indexPathWithIndex:"); - late final _sel_indexPathWithIndexes_length_1 = - _registerName1("indexPathWithIndexes:length:"); + late final _sel_indexPathWithIndexes_length_1 = _registerName1( + "indexPathWithIndexes:length:", + ); instancetype _objc_msgSend_763( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer indexes, int length, ) { - return __objc_msgSend_763( - obj, - sel, - indexes, - length, - ); + return __objc_msgSend_763(obj, sel, indexes, length); } late final __objc_msgSend_763Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_763 = + __objc_msgSend_763Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_763 = __objc_msgSend_763Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithIndexes_length_1 = - _registerName1("initWithIndexes:length:"); - late final _sel_indexPathByAddingIndex_1 = - _registerName1("indexPathByAddingIndex:"); + int, + ) + >(); + + late final _sel_initWithIndexes_length_1 = _registerName1( + "initWithIndexes:length:", + ); + late final _sel_indexPathByAddingIndex_1 = _registerName1( + "indexPathByAddingIndex:", + ); ffi.Pointer _objc_msgSend_764( ffi.Pointer obj, ffi.Pointer sel, int index, ) { - return __objc_msgSend_764( - obj, - sel, - index, - ); + return __objc_msgSend_764(obj, sel, index); } late final __objc_msgSend_764Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_764 = __objc_msgSend_764Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_764 = + __objc_msgSend_764Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_indexPathByRemovingLastIndex1 = - _registerName1("indexPathByRemovingLastIndex"); + late final _sel_indexPathByRemovingLastIndex1 = _registerName1( + "indexPathByRemovingLastIndex", + ); ffi.Pointer _objc_msgSend_765( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_765( - obj, - sel, - ); + return __objc_msgSend_765(obj, sel); } late final __objc_msgSend_765Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_765 = __objc_msgSend_765Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_765 = + __objc_msgSend_765Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_indexAtPosition_1 = _registerName1("indexAtPosition:"); late final _sel_getIndexes_range_1 = _registerName1("getIndexes:range:"); @@ -21855,41 +26950,56 @@ class PedometerBindings { ffi.Pointer indexes, _NSRange positionRange, ) { - return __objc_msgSend_766( - obj, - sel, - indexes, - positionRange, - ); + return __objc_msgSend_766(obj, sel, indexes, positionRange); } late final __objc_msgSend_766Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_766 = __objc_msgSend_766Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, _NSRange)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_766 = + __objc_msgSend_766Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); int _objc_msgSend_767( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherObject, ) { - return __objc_msgSend_767( - obj, - sel, - otherObject, - ); + return __objc_msgSend_767(obj, sel, otherObject); } late final __objc_msgSend_767Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_767 = __objc_msgSend_767Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_767 = + __objc_msgSend_767Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getIndexes_1 = _registerName1("getIndexes:"); void _objc_msgSend_768( @@ -21897,20 +27007,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer indexes, ) { - return __objc_msgSend_768( - obj, - sel, - indexes, - ); + return __objc_msgSend_768(obj, sel, indexes); } late final __objc_msgSend_768Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_768 = __objc_msgSend_768Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_768 = + __objc_msgSend_768Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSInflectionRule1 = _getClass1("NSInflectionRule"); late final _sel_automaticRule1 = _registerName1("automaticRule"); @@ -21918,80 +27035,88 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_769( - obj, - sel, - ); + return __objc_msgSend_769(obj, sel); } late final __objc_msgSend_769Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_769 = __objc_msgSend_769Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_769 = + __objc_msgSend_769Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_canInflectLanguage_1 = _registerName1("canInflectLanguage:"); - late final _sel_canInflectPreferredLocalization1 = - _registerName1("canInflectPreferredLocalization"); + late final _sel_canInflectPreferredLocalization1 = _registerName1( + "canInflectPreferredLocalization", + ); late final _class_NSMorphology1 = _getClass1("NSMorphology"); late final _sel_grammaticalGender1 = _registerName1("grammaticalGender"); - int _objc_msgSend_770( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_770( - obj, - sel, - ); + int _objc_msgSend_770(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_770(obj, sel); } late final __objc_msgSend_770Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_770 = __objc_msgSend_770Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_770 = + __objc_msgSend_770Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setGrammaticalGender_1 = - _registerName1("setGrammaticalGender:"); + late final _sel_setGrammaticalGender_1 = _registerName1( + "setGrammaticalGender:", + ); void _objc_msgSend_771( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_771( - obj, - sel, - value, - ); + return __objc_msgSend_771(obj, sel, value); } late final __objc_msgSend_771Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_771 = __objc_msgSend_771Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_771 = + __objc_msgSend_771Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_partOfSpeech1 = _registerName1("partOfSpeech"); - int _objc_msgSend_772( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_772( - obj, - sel, - ); + int _objc_msgSend_772(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_772(obj, sel); } late final __objc_msgSend_772Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_772 = __objc_msgSend_772Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_772 = + __objc_msgSend_772Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setPartOfSpeech_1 = _registerName1("setPartOfSpeech:"); void _objc_msgSend_773( @@ -21999,37 +27124,39 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_773( - obj, - sel, - value, - ); + return __objc_msgSend_773(obj, sel, value); } late final __objc_msgSend_773Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_773 = __objc_msgSend_773Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_773 = + __objc_msgSend_773Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_number1 = _registerName1("number"); - int _objc_msgSend_774( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_774( - obj, - sel, - ); + int _objc_msgSend_774(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_774(obj, sel); } late final __objc_msgSend_774Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_774 = __objc_msgSend_774Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_774 = + __objc_msgSend_774Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setNumber_1 = _registerName1("setNumber:"); void _objc_msgSend_775( @@ -22037,37 +27164,39 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_775( - obj, - sel, - value, - ); + return __objc_msgSend_775(obj, sel, value); } late final __objc_msgSend_775Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_775 = __objc_msgSend_775Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_775 = + __objc_msgSend_775Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_grammaticalCase1 = _registerName1("grammaticalCase"); - int _objc_msgSend_776( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_776( - obj, - sel, - ); + int _objc_msgSend_776(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_776(obj, sel); } late final __objc_msgSend_776Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_776 = __objc_msgSend_776Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_776 = + __objc_msgSend_776Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setGrammaticalCase_1 = _registerName1("setGrammaticalCase:"); void _objc_msgSend_777( @@ -22075,37 +27204,39 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_777( - obj, - sel, - value, - ); + return __objc_msgSend_777(obj, sel, value); } late final __objc_msgSend_777Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_777 = __objc_msgSend_777Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_777 = + __objc_msgSend_777Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_determination1 = _registerName1("determination"); - int _objc_msgSend_778( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_778( - obj, - sel, - ); + int _objc_msgSend_778(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_778(obj, sel); } late final __objc_msgSend_778Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_778 = __objc_msgSend_778Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_778 = + __objc_msgSend_778Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setDetermination_1 = _registerName1("setDetermination:"); void _objc_msgSend_779( @@ -22113,76 +27244,81 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_779( - obj, - sel, - value, - ); + return __objc_msgSend_779(obj, sel, value); } late final __objc_msgSend_779Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_779 = __objc_msgSend_779Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_779 = + __objc_msgSend_779Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_grammaticalPerson1 = _registerName1("grammaticalPerson"); - int _objc_msgSend_780( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_780( - obj, - sel, - ); + int _objc_msgSend_780(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_780(obj, sel); } late final __objc_msgSend_780Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_780 = __objc_msgSend_780Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_780 = + __objc_msgSend_780Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setGrammaticalPerson_1 = - _registerName1("setGrammaticalPerson:"); + late final _sel_setGrammaticalPerson_1 = _registerName1( + "setGrammaticalPerson:", + ); void _objc_msgSend_781( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_781( - obj, - sel, - value, - ); + return __objc_msgSend_781(obj, sel, value); } late final __objc_msgSend_781Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_781 = __objc_msgSend_781Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_781 = + __objc_msgSend_781Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_pronounType1 = _registerName1("pronounType"); - int _objc_msgSend_782( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_782( - obj, - sel, - ); + int _objc_msgSend_782(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_782(obj, sel); } late final __objc_msgSend_782Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_782 = __objc_msgSend_782Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_782 = + __objc_msgSend_782Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setPronounType_1 = _registerName1("setPronounType:"); void _objc_msgSend_783( @@ -22190,37 +27326,39 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_783( - obj, - sel, - value, - ); + return __objc_msgSend_783(obj, sel, value); } late final __objc_msgSend_783Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_783 = __objc_msgSend_783Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_783 = + __objc_msgSend_783Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_definiteness1 = _registerName1("definiteness"); - int _objc_msgSend_784( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_784( - obj, - sel, - ); + int _objc_msgSend_784(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_784(obj, sel); } late final __objc_msgSend_784Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_784 = __objc_msgSend_784Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_784 = + __objc_msgSend_784Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setDefiniteness_1 = _registerName1("setDefiniteness:"); void _objc_msgSend_785( @@ -22228,62 +27366,80 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_785( - obj, - sel, - value, - ); + return __objc_msgSend_785(obj, sel, value); } late final __objc_msgSend_785Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_785 = __objc_msgSend_785Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _class_NSMorphologyCustomPronoun1 = - _getClass1("NSMorphologyCustomPronoun"); - late final _sel_isSupportedForLanguage_1 = - _registerName1("isSupportedForLanguage:"); - late final _sel_requiredKeysForLanguage_1 = - _registerName1("requiredKeysForLanguage:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_785 = + __objc_msgSend_785Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); + + late final _class_NSMorphologyCustomPronoun1 = _getClass1( + "NSMorphologyCustomPronoun", + ); + late final _sel_isSupportedForLanguage_1 = _registerName1( + "isSupportedForLanguage:", + ); + late final _sel_requiredKeysForLanguage_1 = _registerName1( + "requiredKeysForLanguage:", + ); late final _sel_subjectForm1 = _registerName1("subjectForm"); late final _sel_setSubjectForm_1 = _registerName1("setSubjectForm:"); late final _sel_objectForm1 = _registerName1("objectForm"); late final _sel_setObjectForm_1 = _registerName1("setObjectForm:"); late final _sel_possessiveForm1 = _registerName1("possessiveForm"); late final _sel_setPossessiveForm_1 = _registerName1("setPossessiveForm:"); - late final _sel_possessiveAdjectiveForm1 = - _registerName1("possessiveAdjectiveForm"); - late final _sel_setPossessiveAdjectiveForm_1 = - _registerName1("setPossessiveAdjectiveForm:"); + late final _sel_possessiveAdjectiveForm1 = _registerName1( + "possessiveAdjectiveForm", + ); + late final _sel_setPossessiveAdjectiveForm_1 = _registerName1( + "setPossessiveAdjectiveForm:", + ); late final _sel_reflexiveForm1 = _registerName1("reflexiveForm"); late final _sel_setReflexiveForm_1 = _registerName1("setReflexiveForm:"); - late final _sel_customPronounForLanguage_1 = - _registerName1("customPronounForLanguage:"); + late final _sel_customPronounForLanguage_1 = _registerName1( + "customPronounForLanguage:", + ); ffi.Pointer _objc_msgSend_786( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer language, ) { - return __objc_msgSend_786( - obj, - sel, - language, - ); + return __objc_msgSend_786(obj, sel, language); } late final __objc_msgSend_786Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_786 = __objc_msgSend_786Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setCustomPronoun_forLanguage_error_1 = - _registerName1("setCustomPronoun:forLanguage:error:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_786 = + __objc_msgSend_786Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setCustomPronoun_forLanguage_error_1 = _registerName1( + "setCustomPronoun:forLanguage:error:", + ); bool _objc_msgSend_787( ffi.Pointer obj, ffi.Pointer sel, @@ -22291,30 +27447,31 @@ class PedometerBindings { ffi.Pointer language, ffi.Pointer> error, ) { - return __objc_msgSend_787( - obj, - sel, - features, - language, - error, - ); + return __objc_msgSend_787(obj, sel, features, language, error); } late final __objc_msgSend_787Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_787 = + __objc_msgSend_787Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_787 = __objc_msgSend_787Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_isUnspecified1 = _registerName1("isUnspecified"); late final _sel_userMorphology1 = _registerName1("userMorphology"); @@ -22322,19 +27479,25 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_788( - obj, - sel, - ); + return __objc_msgSend_788(obj, sel); } late final __objc_msgSend_788Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_788 = __objc_msgSend_788Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_788 = + __objc_msgSend_788Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSOperationQueue1 = _getClass1("NSOperationQueue"); late final _class_NSOperation1 = _getClass1("NSOperation"); @@ -22347,40 +27510,45 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer op, ) { - return __objc_msgSend_789( - obj, - sel, - op, - ); + return __objc_msgSend_789(obj, sel, op); } late final __objc_msgSend_789Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_789 = __objc_msgSend_789Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_789 = + __objc_msgSend_789Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_removeDependency_1 = _registerName1("removeDependency:"); late final _sel_dependencies1 = _registerName1("dependencies"); late final _sel_queuePriority1 = _registerName1("queuePriority"); - int _objc_msgSend_790( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_790( - obj, - sel, - ); + int _objc_msgSend_790(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_790(obj, sel); } late final __objc_msgSend_790Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_790 = __objc_msgSend_790Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_790 = + __objc_msgSend_790Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setQueuePriority_1 = _registerName1("setQueuePriority:"); void _objc_msgSend_791( @@ -22388,55 +27556,71 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_791( - obj, - sel, - value, - ); + return __objc_msgSend_791(obj, sel, value); } late final __objc_msgSend_791Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_791 = __objc_msgSend_791Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_791 = + __objc_msgSend_791Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_completionBlock1 = _registerName1("completionBlock"); late final _sel_setCompletionBlock_1 = _registerName1("setCompletionBlock:"); late final _sel_waitUntilFinished1 = _registerName1("waitUntilFinished"); late final _sel_addOperation_1 = _registerName1("addOperation:"); - late final _sel_addOperations_waitUntilFinished_1 = - _registerName1("addOperations:waitUntilFinished:"); + late final _sel_addOperations_waitUntilFinished_1 = _registerName1( + "addOperations:waitUntilFinished:", + ); void _objc_msgSend_792( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer ops, bool wait, ) { - return __objc_msgSend_792( - obj, - sel, - ops, - wait, - ); + return __objc_msgSend_792(obj, sel, ops, wait); } late final __objc_msgSend_792Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_792 = __objc_msgSend_792Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool)>(); - - late final _sel_addOperationWithBlock_1 = - _registerName1("addOperationWithBlock:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_792 = + __objc_msgSend_792Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + ) + >(); + + late final _sel_addOperationWithBlock_1 = _registerName1( + "addOperationWithBlock:", + ); late final _sel_addBarrierBlock_1 = _registerName1("addBarrierBlock:"); - late final _sel_maxConcurrentOperationCount1 = - _registerName1("maxConcurrentOperationCount"); - late final _sel_setMaxConcurrentOperationCount_1 = - _registerName1("setMaxConcurrentOperationCount:"); + late final _sel_maxConcurrentOperationCount1 = _registerName1( + "maxConcurrentOperationCount", + ); + late final _sel_setMaxConcurrentOperationCount_1 = _registerName1( + "setMaxConcurrentOperationCount:", + ); late final _sel_isSuspended1 = _registerName1("isSuspended"); late final _sel_setSuspended_1 = _registerName1("setSuspended:"); late final _sel_underlyingQueue1 = _registerName1("underlyingQueue"); @@ -22444,19 +27628,25 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_793( - obj, - sel, - ); + return __objc_msgSend_793(obj, sel); } late final __objc_msgSend_793Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_793 = __objc_msgSend_793Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_793 = + __objc_msgSend_793Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setUnderlyingQueue_1 = _registerName1("setUnderlyingQueue:"); void _objc_msgSend_794( @@ -22464,61 +27654,81 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_794( - obj, - sel, - value, - ); + return __objc_msgSend_794(obj, sel, value); } late final __objc_msgSend_794Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_794 = __objc_msgSend_794Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_794 = + __objc_msgSend_794Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_cancelAllOperations1 = _registerName1("cancelAllOperations"); - late final _sel_waitUntilAllOperationsAreFinished1 = - _registerName1("waitUntilAllOperationsAreFinished"); + late final _sel_waitUntilAllOperationsAreFinished1 = _registerName1( + "waitUntilAllOperationsAreFinished", + ); late final _sel_currentQueue1 = _registerName1("currentQueue"); ffi.Pointer _objc_msgSend_795( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_795( - obj, - sel, - ); + return __objc_msgSend_795(obj, sel); } late final __objc_msgSend_795Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_795 = __objc_msgSend_795Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_795 = + __objc_msgSend_795Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_mainQueue1 = _registerName1("mainQueue"); ffi.Pointer _objc_msgSend_796( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_796( - obj, - sel, - ); + return __objc_msgSend_796(obj, sel); } late final __objc_msgSend_796Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_796 = __objc_msgSend_796Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_796 = + __objc_msgSend_796Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_operations1 = _registerName1("operations"); late final _sel_operationCount1 = _registerName1("operationCount"); @@ -22529,624 +27739,775 @@ class PedometerBindings { ffi.Pointer sel, int options, ) { - return __objc_msgSend_797( - obj, - sel, - options, - ); + return __objc_msgSend_797(obj, sel, options); } late final __objc_msgSend_797Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_797 = __objc_msgSend_797Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_797 = + __objc_msgSend_797Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _class_NSPointerFunctions1 = _getClass1("NSPointerFunctions"); - late final _sel_pointerFunctionsWithOptions_1 = - _registerName1("pointerFunctionsWithOptions:"); + late final _sel_pointerFunctionsWithOptions_1 = _registerName1( + "pointerFunctionsWithOptions:", + ); ffi.Pointer _objc_msgSend_798( ffi.Pointer obj, ffi.Pointer sel, int options, ) { - return __objc_msgSend_798( - obj, - sel, - options, - ); + return __objc_msgSend_798(obj, sel, options); } late final __objc_msgSend_798Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_798 = __objc_msgSend_798Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_798 = + __objc_msgSend_798Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_hashFunction1 = _registerName1("hashFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_799( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_799( - obj, - sel, - ); + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_799(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_799(obj, sel); } late final __objc_msgSend_799Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_799 = __objc_msgSend_799Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_799 = + __objc_msgSend_799Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setHashFunction_1 = _registerName1("setHashFunction:"); void _objc_msgSend_800( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + value, ) { - return __objc_msgSend_800( - obj, - sel, - value, - ); + return __objc_msgSend_800(obj, sel, value); } late final __objc_msgSend_800Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_800 = __objc_msgSend_800Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_800 = + __objc_msgSend_800Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); late final _sel_isEqualFunction1 = _registerName1("isEqualFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_801( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_801( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_801(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_801(obj, sel); } late final __objc_msgSend_801Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_801 = __objc_msgSend_801Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_801 = + __objc_msgSend_801Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setIsEqualFunction_1 = _registerName1("setIsEqualFunction:"); void _objc_msgSend_802( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + value, ) { - return __objc_msgSend_802( - obj, - sel, - value, - ); + return __objc_msgSend_802(obj, sel, value); } late final __objc_msgSend_802Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_802 = __objc_msgSend_802Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_802 = + __objc_msgSend_802Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); late final _sel_sizeFunction1 = _registerName1("sizeFunction"); ffi.Pointer< - ffi.NativeFunction)>> - _objc_msgSend_803( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_803( - obj, - sel, - ); + ffi.NativeFunction)> + > + _objc_msgSend_803(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_803(obj, sel); } late final __objc_msgSend_803Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_803 = __objc_msgSend_803Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< - ffi - .NativeFunction)>> - Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction)> + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_803 = + __objc_msgSend_803Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setSizeFunction_1 = _registerName1("setSizeFunction:"); void _objc_msgSend_804( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi - .NativeFunction)>> - value, + ffi.NativeFunction)> + > + value, ) { - return __objc_msgSend_804( - obj, - sel, - value, - ); + return __objc_msgSend_804(obj, sel, value); } late final __objc_msgSend_804Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_804 = + __objc_msgSend_804Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>('objc_msgSend'); - late final __objc_msgSend_804 = __objc_msgSend_804Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>(); + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + >(); late final _sel_descriptionFunction1 = _registerName1("descriptionFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - _objc_msgSend_805( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_805( - obj, - sel, - ); + ffi.NativeFunction Function(ffi.Pointer)> + > + _objc_msgSend_805(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_805(obj, sel); } - late final __objc_msgSend_805Ptr = - _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_805 = __objc_msgSend_805Ptr.asFunction< + late final __objc_msgSend_805Ptr = _lookup< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_805 = + __objc_msgSend_805Ptr + .asFunction< + ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDescriptionFunction_1 = - _registerName1("setDescriptionFunction:"); + ffi.Pointer Function(ffi.Pointer) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); + + late final _sel_setDescriptionFunction_1 = _registerName1( + "setDescriptionFunction:", + ); void _objc_msgSend_806( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value, + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + value, ) { - return __objc_msgSend_806( - obj, - sel, - value, - ); + return __objc_msgSend_806(obj, sel, value); } late final __objc_msgSend_806Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_806 = + __objc_msgSend_806Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer)>>)>>('objc_msgSend'); - late final __objc_msgSend_806 = __objc_msgSend_806Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>>)>(); + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + >, + ) + >(); late final _sel_relinquishFunction1 = _registerName1("relinquishFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - _objc_msgSend_807( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_807( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + _objc_msgSend_807(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_807(obj, sel); } late final __objc_msgSend_807Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_807 = __objc_msgSend_807Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setRelinquishFunction_1 = - _registerName1("setRelinquishFunction:"); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_807 = + __objc_msgSend_807Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); + + late final _sel_setRelinquishFunction_1 = _registerName1( + "setRelinquishFunction:", + ); void _objc_msgSend_808( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value, + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + value, ) { - return __objc_msgSend_808( - obj, - sel, - value, - ); + return __objc_msgSend_808(obj, sel, value); } late final __objc_msgSend_808Ptr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>>( - 'objc_msgSend'); - late final __objc_msgSend_808 = __objc_msgSend_808Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_808 = + __objc_msgSend_808Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>>)>(); + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ) + > + >, + ) + >(); late final _sel_acquireFunction1 = _registerName1("acquireFunction"); ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> _objc_msgSend_809( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_809( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > + _objc_msgSend_809(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_809(obj, sel); } late final __objc_msgSend_809Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - Function(ffi.Pointer, ffi.Pointer)>>( - 'objc_msgSend'); - late final __objc_msgSend_809 = __objc_msgSend_809Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - Function(ffi.Pointer, ffi.Pointer)>(); + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_809 = + __objc_msgSend_809Ptr + .asFunction< + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + > + Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setAcquireFunction_1 = _registerName1("setAcquireFunction:"); void _objc_msgSend_810( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> - value, + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > + value, ) { - return __objc_msgSend_810( - obj, - sel, - value, - ); + return __objc_msgSend_810(obj, sel, value); } late final __objc_msgSend_810Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + >, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_810 = + __objc_msgSend_810Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>>)>>('objc_msgSend'); - late final __objc_msgSend_810 = __objc_msgSend_810Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>>)>(); - - late final _sel_usesStrongWriteBarrier1 = - _registerName1("usesStrongWriteBarrier"); - late final _sel_setUsesStrongWriteBarrier_1 = - _registerName1("setUsesStrongWriteBarrier:"); - late final _sel_usesWeakReadAndWriteBarriers1 = - _registerName1("usesWeakReadAndWriteBarriers"); - late final _sel_setUsesWeakReadAndWriteBarriers_1 = - _registerName1("setUsesWeakReadAndWriteBarriers:"); - late final _sel_initWithPointerFunctions_1 = - _registerName1("initWithPointerFunctions:"); + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function(ffi.Pointer) + > + >, + ffi.Bool, + ) + > + >, + ) + >(); + + late final _sel_usesStrongWriteBarrier1 = _registerName1( + "usesStrongWriteBarrier", + ); + late final _sel_setUsesStrongWriteBarrier_1 = _registerName1( + "setUsesStrongWriteBarrier:", + ); + late final _sel_usesWeakReadAndWriteBarriers1 = _registerName1( + "usesWeakReadAndWriteBarriers", + ); + late final _sel_setUsesWeakReadAndWriteBarriers_1 = _registerName1( + "setUsesWeakReadAndWriteBarriers:", + ); + late final _sel_initWithPointerFunctions_1 = _registerName1( + "initWithPointerFunctions:", + ); instancetype _objc_msgSend_811( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer functions, ) { - return __objc_msgSend_811( - obj, - sel, - functions, - ); + return __objc_msgSend_811(obj, sel, functions); } late final __objc_msgSend_811Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_811 = __objc_msgSend_811Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_pointerArrayWithOptions_1 = - _registerName1("pointerArrayWithOptions:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_811 = + __objc_msgSend_811Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_pointerArrayWithOptions_1 = _registerName1( + "pointerArrayWithOptions:", + ); ffi.Pointer _objc_msgSend_812( ffi.Pointer obj, ffi.Pointer sel, int options, ) { - return __objc_msgSend_812( - obj, - sel, - options, - ); + return __objc_msgSend_812(obj, sel, options); } late final __objc_msgSend_812Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_812 = __objc_msgSend_812Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_812 = + __objc_msgSend_812Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); - late final _sel_pointerArrayWithPointerFunctions_1 = - _registerName1("pointerArrayWithPointerFunctions:"); + late final _sel_pointerArrayWithPointerFunctions_1 = _registerName1( + "pointerArrayWithPointerFunctions:", + ); ffi.Pointer _objc_msgSend_813( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer functions, ) { - return __objc_msgSend_813( - obj, - sel, - functions, - ); + return __objc_msgSend_813(obj, sel, functions); } late final __objc_msgSend_813Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_813 = __objc_msgSend_813Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_813 = + __objc_msgSend_813Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pointerFunctions1 = _registerName1("pointerFunctions"); ffi.Pointer _objc_msgSend_814( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_814( - obj, - sel, - ); + return __objc_msgSend_814(obj, sel); } late final __objc_msgSend_814Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_814 = __objc_msgSend_814Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_814 = + __objc_msgSend_814Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_pointerAtIndex_1 = _registerName1("pointerAtIndex:"); ffi.Pointer _objc_msgSend_815( @@ -23154,97 +28515,131 @@ class PedometerBindings { ffi.Pointer sel, int index, ) { - return __objc_msgSend_815( - obj, - sel, - index, - ); + return __objc_msgSend_815(obj, sel, index); } late final __objc_msgSend_815Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.UnsignedLong)>>('objc_msgSend'); - late final __objc_msgSend_815 = __objc_msgSend_815Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_815 = + __objc_msgSend_815Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_addPointer_1 = _registerName1("addPointer:"); - late final _sel_removePointerAtIndex_1 = - _registerName1("removePointerAtIndex:"); - late final _sel_insertPointer_atIndex_1 = - _registerName1("insertPointer:atIndex:"); - late final _sel_replacePointerAtIndex_withPointer_1 = - _registerName1("replacePointerAtIndex:withPointer:"); + late final _sel_removePointerAtIndex_1 = _registerName1( + "removePointerAtIndex:", + ); + late final _sel_insertPointer_atIndex_1 = _registerName1( + "insertPointer:atIndex:", + ); + late final _sel_replacePointerAtIndex_withPointer_1 = _registerName1( + "replacePointerAtIndex:withPointer:", + ); void _objc_msgSend_816( ffi.Pointer obj, ffi.Pointer sel, int index, ffi.Pointer item, ) { - return __objc_msgSend_816( - obj, - sel, - index, - item, - ); + return __objc_msgSend_816(obj, sel, index, item); } late final __objc_msgSend_816Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_816 = __objc_msgSend_816Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_816 = + __objc_msgSend_816Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_compact1 = _registerName1("compact"); late final _sel_setCount_1 = _registerName1("setCount:"); - late final _sel_pointerArrayWithStrongObjects1 = - _registerName1("pointerArrayWithStrongObjects"); - late final _sel_pointerArrayWithWeakObjects1 = - _registerName1("pointerArrayWithWeakObjects"); - late final _sel_strongObjectsPointerArray1 = - _registerName1("strongObjectsPointerArray"); + late final _sel_pointerArrayWithStrongObjects1 = _registerName1( + "pointerArrayWithStrongObjects", + ); + late final _sel_pointerArrayWithWeakObjects1 = _registerName1( + "pointerArrayWithWeakObjects", + ); + late final _sel_strongObjectsPointerArray1 = _registerName1( + "strongObjectsPointerArray", + ); ffi.Pointer _objc_msgSend_817( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_817( - obj, - sel, - ); + return __objc_msgSend_817(obj, sel); } late final __objc_msgSend_817Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_817 = __objc_msgSend_817Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_817 = + __objc_msgSend_817Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_weakObjectsPointerArray1 = - _registerName1("weakObjectsPointerArray"); + late final _sel_weakObjectsPointerArray1 = _registerName1( + "weakObjectsPointerArray", + ); late final _class_NSProcessInfo1 = _getClass1("NSProcessInfo"); late final _sel_processInfo1 = _registerName1("processInfo"); ffi.Pointer _objc_msgSend_818( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_818( - obj, - sel, - ); + return __objc_msgSend_818(obj, sel); } late final __objc_msgSend_818Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_818 = __objc_msgSend_818Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_818 = + __objc_msgSend_818Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_environment1 = _registerName1("environment"); late final _sel_arguments1 = _registerName1("arguments"); @@ -23252,119 +28647,154 @@ class PedometerBindings { late final _sel_processName1 = _registerName1("processName"); late final _sel_setProcessName_1 = _registerName1("setProcessName:"); late final _sel_processIdentifier1 = _registerName1("processIdentifier"); - late final _sel_globallyUniqueString1 = - _registerName1("globallyUniqueString"); + late final _sel_globallyUniqueString1 = _registerName1( + "globallyUniqueString", + ); late final _sel_operatingSystem1 = _registerName1("operatingSystem"); late final _sel_operatingSystemName1 = _registerName1("operatingSystemName"); - late final _sel_operatingSystemVersionString1 = - _registerName1("operatingSystemVersionString"); - late final _sel_operatingSystemVersion1 = - _registerName1("operatingSystemVersion"); + late final _sel_operatingSystemVersionString1 = _registerName1( + "operatingSystemVersionString", + ); + late final _sel_operatingSystemVersion1 = _registerName1( + "operatingSystemVersion", + ); NSOperatingSystemVersion _objc_msgSend_819( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_819( - obj, - sel, - ); + return __objc_msgSend_819(obj, sel); } late final __objc_msgSend_819Ptr = _lookup< - ffi.NativeFunction< - NSOperatingSystemVersion Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_819 = __objc_msgSend_819Ptr.asFunction< + ffi.NativeFunction< NSOperatingSystemVersion Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_819 = + __objc_msgSend_819Ptr + .asFunction< + NSOperatingSystemVersion Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_819_stret( ffi.Pointer stret, ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_819_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_819_stret(stret, obj, sel); } late final __objc_msgSend_819_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_819_stret = + __objc_msgSend_819_stretPtr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_819_stret = __objc_msgSend_819_stretPtr.asFunction< - void Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_processorCount1 = _registerName1("processorCount"); - late final _sel_activeProcessorCount1 = - _registerName1("activeProcessorCount"); + late final _sel_activeProcessorCount1 = _registerName1( + "activeProcessorCount", + ); late final _sel_physicalMemory1 = _registerName1("physicalMemory"); - late final _sel_isOperatingSystemAtLeastVersion_1 = - _registerName1("isOperatingSystemAtLeastVersion:"); + late final _sel_isOperatingSystemAtLeastVersion_1 = _registerName1( + "isOperatingSystemAtLeastVersion:", + ); bool _objc_msgSend_820( ffi.Pointer obj, ffi.Pointer sel, NSOperatingSystemVersion version, ) { - return __objc_msgSend_820( - obj, - sel, - version, - ); + return __objc_msgSend_820(obj, sel, version); } late final __objc_msgSend_820Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - NSOperatingSystemVersion)>>('objc_msgSend'); - late final __objc_msgSend_820 = __objc_msgSend_820Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - NSOperatingSystemVersion)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_820 = + __objc_msgSend_820Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + NSOperatingSystemVersion, + ) + >(); late final _sel_systemUptime1 = _registerName1("systemUptime"); - late final _sel_disableSuddenTermination1 = - _registerName1("disableSuddenTermination"); - late final _sel_enableSuddenTermination1 = - _registerName1("enableSuddenTermination"); - late final _sel_disableAutomaticTermination_1 = - _registerName1("disableAutomaticTermination:"); - late final _sel_enableAutomaticTermination_1 = - _registerName1("enableAutomaticTermination:"); - late final _sel_automaticTerminationSupportEnabled1 = - _registerName1("automaticTerminationSupportEnabled"); - late final _sel_setAutomaticTerminationSupportEnabled_1 = - _registerName1("setAutomaticTerminationSupportEnabled:"); - late final _sel_beginActivityWithOptions_reason_1 = - _registerName1("beginActivityWithOptions:reason:"); + late final _sel_disableSuddenTermination1 = _registerName1( + "disableSuddenTermination", + ); + late final _sel_enableSuddenTermination1 = _registerName1( + "enableSuddenTermination", + ); + late final _sel_disableAutomaticTermination_1 = _registerName1( + "disableAutomaticTermination:", + ); + late final _sel_enableAutomaticTermination_1 = _registerName1( + "enableAutomaticTermination:", + ); + late final _sel_automaticTerminationSupportEnabled1 = _registerName1( + "automaticTerminationSupportEnabled", + ); + late final _sel_setAutomaticTerminationSupportEnabled_1 = _registerName1( + "setAutomaticTerminationSupportEnabled:", + ); + late final _sel_beginActivityWithOptions_reason_1 = _registerName1( + "beginActivityWithOptions:reason:", + ); ffi.Pointer _objc_msgSend_821( ffi.Pointer obj, ffi.Pointer sel, int options, ffi.Pointer reason, ) { - return __objc_msgSend_821( - obj, - sel, - options, - reason, - ); + return __objc_msgSend_821(obj, sel, options, reason); } late final __objc_msgSend_821Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_821 = + __objc_msgSend_821Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_821 = __objc_msgSend_821Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_endActivity_1 = _registerName1("endActivity:"); late final _sel_performActivityWithOptions_reason_usingBlock_1 = @@ -23376,26 +28806,31 @@ class PedometerBindings { ffi.Pointer reason, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_822( - obj, - sel, - options, - reason, - block, - ); + return __objc_msgSend_822(obj, sel, options, reason, block); } late final __objc_msgSend_822Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_822 = + __objc_msgSend_822Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_822 = __objc_msgSend_822Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_performExpiringActivityWithReason_usingBlock_1 = _registerName1("performExpiringActivityWithReason:usingBlock:"); @@ -23405,67 +28840,69 @@ class PedometerBindings { ffi.Pointer reason, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_823( - obj, - sel, - reason, - block, - ); + return __objc_msgSend_823(obj, sel, reason, block); } late final __objc_msgSend_823Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_823 = + __objc_msgSend_823Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_823 = __objc_msgSend_823Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_userName1 = _registerName1("userName"); late final _sel_fullUserName1 = _registerName1("fullUserName"); late final _sel_thermalState1 = _registerName1("thermalState"); - int _objc_msgSend_824( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_824( - obj, - sel, - ); + int _objc_msgSend_824(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_824(obj, sel); } late final __objc_msgSend_824Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_824 = __objc_msgSend_824Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_824 = + __objc_msgSend_824Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_isLowPowerModeEnabled1 = - _registerName1("isLowPowerModeEnabled"); + late final _sel_isLowPowerModeEnabled1 = _registerName1( + "isLowPowerModeEnabled", + ); late final _sel_isMacCatalystApp1 = _registerName1("isMacCatalystApp"); late final _sel_isiOSAppOnMac1 = _registerName1("isiOSAppOnMac"); late final _class_NSTextCheckingResult1 = _getClass1("NSTextCheckingResult"); late final _sel_resultType1 = _registerName1("resultType"); - int _objc_msgSend_825( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_825( - obj, - sel, - ); + int _objc_msgSend_825(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_825(obj, sel); } late final __objc_msgSend_825Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_825 = __objc_msgSend_825Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_825 = + __objc_msgSend_825Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_range1 = _registerName1("range"); late final _sel_orthography1 = _registerName1("orthography"); @@ -23473,19 +28910,25 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_826( - obj, - sel, - ); + return __objc_msgSend_826(obj, sel); } late final __objc_msgSend_826Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_826 = __objc_msgSend_826Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_826 = + __objc_msgSend_826Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_grammarDetails1 = _registerName1("grammarDetails"); late final _sel_duration1 = _registerName1("duration"); @@ -23493,8 +28936,9 @@ class PedometerBindings { late final _sel_replacementString1 = _registerName1("replacementString"); late final _sel_alternativeStrings1 = _registerName1("alternativeStrings"); late final _class_NSRegularExpression1 = _getClass1("NSRegularExpression"); - late final _sel_regularExpressionWithPattern_options_error_1 = - _registerName1("regularExpressionWithPattern:options:error:"); + late final _sel_regularExpressionWithPattern_options_error_1 = _registerName1( + "regularExpressionWithPattern:options:error:", + ); ffi.Pointer _objc_msgSend_827( ffi.Pointer obj, ffi.Pointer sel, @@ -23502,33 +28946,35 @@ class PedometerBindings { int options, ffi.Pointer> error, ) { - return __objc_msgSend_827( - obj, - sel, - pattern, - options, - error, - ); + return __objc_msgSend_827(obj, sel, pattern, options, error); } late final __objc_msgSend_827Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_827 = + __objc_msgSend_827Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_827 = __objc_msgSend_827Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); - late final _sel_initWithPattern_options_error_1 = - _registerName1("initWithPattern:options:error:"); + late final _sel_initWithPattern_options_error_1 = _registerName1( + "initWithPattern:options:error:", + ); instancetype _objc_msgSend_828( ffi.Pointer obj, ffi.Pointer sel, @@ -23536,54 +28982,55 @@ class PedometerBindings { int options, ffi.Pointer> error, ) { - return __objc_msgSend_828( - obj, - sel, - pattern, - options, - error, - ); + return __objc_msgSend_828(obj, sel, pattern, options, error); } late final __objc_msgSend_828Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_828 = + __objc_msgSend_828Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_828 = __objc_msgSend_828Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); late final _sel_pattern1 = _registerName1("pattern"); late final _sel_options1 = _registerName1("options"); - int _objc_msgSend_829( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_829( - obj, - sel, - ); + int _objc_msgSend_829(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_829(obj, sel); } late final __objc_msgSend_829Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_829 = __objc_msgSend_829Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); - - late final _sel_numberOfCaptureGroups1 = - _registerName1("numberOfCaptureGroups"); - late final _sel_escapedPatternForString_1 = - _registerName1("escapedPatternForString:"); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_829 = + __objc_msgSend_829Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); + + late final _sel_numberOfCaptureGroups1 = _registerName1( + "numberOfCaptureGroups", + ); + late final _sel_escapedPatternForString_1 = _registerName1( + "escapedPatternForString:", + ); late final _sel_enumerateMatchesInString_options_range_usingBlock_1 = _registerName1("enumerateMatchesInString:options:range:usingBlock:"); void _objc_msgSend_830( @@ -23594,31 +29041,37 @@ class PedometerBindings { _NSRange range, ffi.Pointer<_ObjCBlock> block, ) { - return __objc_msgSend_830( - obj, - sel, - string, - options, - range, - block, - ); + return __objc_msgSend_830(obj, sel, string, options, range, block); } late final __objc_msgSend_830Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_830 = + __objc_msgSend_830Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_830 = __objc_msgSend_830Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_matchesInString_options_range_1 = - _registerName1("matchesInString:options:range:"); + late final _sel_matchesInString_options_range_1 = _registerName1( + "matchesInString:options:range:", + ); ffi.Pointer _objc_msgSend_831( ffi.Pointer obj, ffi.Pointer sel, @@ -23626,29 +29079,35 @@ class PedometerBindings { int options, _NSRange range, ) { - return __objc_msgSend_831( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_831(obj, sel, string, options, range); } late final __objc_msgSend_831Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_831 = + __objc_msgSend_831Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_831 = __objc_msgSend_831Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + int, + _NSRange, + ) + >(); - late final _sel_numberOfMatchesInString_options_range_1 = - _registerName1("numberOfMatchesInString:options:range:"); + late final _sel_numberOfMatchesInString_options_range_1 = _registerName1( + "numberOfMatchesInString:options:range:", + ); int _objc_msgSend_832( ffi.Pointer obj, ffi.Pointer sel, @@ -23656,29 +29115,35 @@ class PedometerBindings { int options, _NSRange range, ) { - return __objc_msgSend_832( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_832(obj, sel, string, options, range); } late final __objc_msgSend_832Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_832 = + __objc_msgSend_832Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_832 = __objc_msgSend_832Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + int, + _NSRange, + ) + >(); - late final _sel_firstMatchInString_options_range_1 = - _registerName1("firstMatchInString:options:range:"); + late final _sel_firstMatchInString_options_range_1 = _registerName1( + "firstMatchInString:options:range:", + ); ffi.Pointer _objc_msgSend_833( ffi.Pointer obj, ffi.Pointer sel, @@ -23686,29 +29151,35 @@ class PedometerBindings { int options, _NSRange range, ) { - return __objc_msgSend_833( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_833(obj, sel, string, options, range); } late final __objc_msgSend_833Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_833 = + __objc_msgSend_833Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_833 = __objc_msgSend_833Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + int, + _NSRange, + ) + >(); - late final _sel_rangeOfFirstMatchInString_options_range_1 = - _registerName1("rangeOfFirstMatchInString:options:range:"); + late final _sel_rangeOfFirstMatchInString_options_range_1 = _registerName1( + "rangeOfFirstMatchInString:options:range:", + ); _NSRange _objc_msgSend_834( ffi.Pointer obj, ffi.Pointer sel, @@ -23716,22 +29187,31 @@ class PedometerBindings { int options, _NSRange range, ) { - return __objc_msgSend_834( - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_834(obj, sel, string, options, range); } late final __objc_msgSend_834Ptr = _lookup< - ffi.NativeFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Int32, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_834 = __objc_msgSend_834Ptr.asFunction< - _NSRange Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange)>(); + ffi.NativeFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_834 = + __objc_msgSend_834Ptr + .asFunction< + _NSRange Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + _NSRange, + ) + >(); void _objc_msgSend_834_stret( ffi.Pointer<_NSRange> stret, @@ -23741,67 +29221,73 @@ class PedometerBindings { int options, _NSRange range, ) { - return __objc_msgSend_834_stret( - stret, - obj, - sel, - string, - options, - range, - ); + return __objc_msgSend_834_stret(stret, obj, sel, string, options, range); } late final __objc_msgSend_834_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_NSRange>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_834_stret = + __objc_msgSend_834_stretPtr + .asFunction< + void Function( ffi.Pointer<_NSRange>, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - _NSRange)>>('objc_msgSend_stret'); - late final __objc_msgSend_834_stret = __objc_msgSend_834_stretPtr.asFunction< - void Function(ffi.Pointer<_NSRange>, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int, _NSRange)>(); + int, + _NSRange, + ) + >(); late final _sel_stringByReplacingMatchesInString_options_range_withTemplate_1 = _registerName1( - "stringByReplacingMatchesInString:options:range:withTemplate:"); + "stringByReplacingMatchesInString:options:range:withTemplate:", + ); ffi.Pointer _objc_msgSend_835( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer string, int options, _NSRange range, - ffi.Pointer templ, - ) { - return __objc_msgSend_835( - obj, - sel, - string, - options, - range, - templ, - ); + ffi.Pointer templ, + ) { + return __objc_msgSend_835(obj, sel, string, options, range, templ); } late final __objc_msgSend_835Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_835 = + __objc_msgSend_835Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_835 = __objc_msgSend_835Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - _NSRange, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_replaceMatchesInString_options_range_withTemplate_1 = _registerName1("replaceMatchesInString:options:range:withTemplate:"); @@ -23813,28 +29299,33 @@ class PedometerBindings { _NSRange range, ffi.Pointer templ, ) { - return __objc_msgSend_836( - obj, - sel, - string, - options, - range, - templ, - ); + return __objc_msgSend_836(obj, sel, string, options, range, templ); } late final __objc_msgSend_836Ptr = _lookup< - ffi.NativeFunction< - ffi.UnsignedLong Function( + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_836 = + __objc_msgSend_836Ptr + .asFunction< + int Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_836 = __objc_msgSend_836Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_replacementStringForResult_inString_offset_template_1 = _registerName1("replacementStringForResult:inString:offset:template:"); @@ -23846,80 +29337,95 @@ class PedometerBindings { int offset, ffi.Pointer templ, ) { - return __objc_msgSend_837( - obj, - sel, - result, - string, - offset, - templ, - ); + return __objc_msgSend_837(obj, sel, result, string, offset, templ); } late final __objc_msgSend_837Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_837 = + __objc_msgSend_837Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_837 = __objc_msgSend_837Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_escapedTemplateForString_1 = - _registerName1("escapedTemplateForString:"); + late final _sel_escapedTemplateForString_1 = _registerName1( + "escapedTemplateForString:", + ); late final _sel_regularExpression1 = _registerName1("regularExpression"); ffi.Pointer _objc_msgSend_838( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_838( - obj, - sel, - ); + return __objc_msgSend_838(obj, sel); } late final __objc_msgSend_838Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_838 = __objc_msgSend_838Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_838 = + __objc_msgSend_838Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_phoneNumber1 = _registerName1("phoneNumber"); late final _sel_numberOfRanges1 = _registerName1("numberOfRanges"); late final _sel_rangeAtIndex_1 = _registerName1("rangeAtIndex:"); late final _sel_rangeWithName_1 = _registerName1("rangeWithName:"); - late final _sel_resultByAdjustingRangesWithOffset_1 = - _registerName1("resultByAdjustingRangesWithOffset:"); + late final _sel_resultByAdjustingRangesWithOffset_1 = _registerName1( + "resultByAdjustingRangesWithOffset:", + ); ffi.Pointer _objc_msgSend_839( ffi.Pointer obj, ffi.Pointer sel, int offset, ) { - return __objc_msgSend_839( - obj, - sel, - offset, - ); + return __objc_msgSend_839(obj, sel, offset); } late final __objc_msgSend_839Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_839 = __objc_msgSend_839Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, int)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_839 = + __objc_msgSend_839Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); late final _sel_addressComponents1 = _registerName1("addressComponents"); late final _sel_orthographyCheckingResultWithRange_orthography_1 = @@ -23930,100 +29436,125 @@ class PedometerBindings { _NSRange range, ffi.Pointer orthography, ) { - return __objc_msgSend_840( - obj, - sel, - range, - orthography, - ); + return __objc_msgSend_840(obj, sel, range, orthography); } late final __objc_msgSend_840Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_840 = + __objc_msgSend_840Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_840 = __objc_msgSend_840Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_spellCheckingResultWithRange_1 = - _registerName1("spellCheckingResultWithRange:"); + late final _sel_spellCheckingResultWithRange_1 = _registerName1( + "spellCheckingResultWithRange:", + ); ffi.Pointer _objc_msgSend_841( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ) { - return __objc_msgSend_841( - obj, - sel, - range, - ); + return __objc_msgSend_841(obj, sel, range); } late final __objc_msgSend_841Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange)>>('objc_msgSend'); - late final __objc_msgSend_841 = __objc_msgSend_841Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer, _NSRange)>(); + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_841 = + __objc_msgSend_841Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ) + >(); - late final _sel_grammarCheckingResultWithRange_details_1 = - _registerName1("grammarCheckingResultWithRange:details:"); + late final _sel_grammarCheckingResultWithRange_details_1 = _registerName1( + "grammarCheckingResultWithRange:details:", + ); ffi.Pointer _objc_msgSend_842( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ffi.Pointer details, ) { - return __objc_msgSend_842( - obj, - sel, - range, - details, - ); + return __objc_msgSend_842(obj, sel, range, details); } late final __objc_msgSend_842Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_842 = + __objc_msgSend_842Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_842 = __objc_msgSend_842Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_dateCheckingResultWithRange_date_1 = - _registerName1("dateCheckingResultWithRange:date:"); + late final _sel_dateCheckingResultWithRange_date_1 = _registerName1( + "dateCheckingResultWithRange:date:", + ); ffi.Pointer _objc_msgSend_843( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ffi.Pointer date, ) { - return __objc_msgSend_843( - obj, - sel, - range, - date, - ); + return __objc_msgSend_843(obj, sel, range, date); } late final __objc_msgSend_843Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_843 = + __objc_msgSend_843Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_843 = __objc_msgSend_843Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_dateCheckingResultWithRange_date_timeZone_duration_1 = _registerName1("dateCheckingResultWithRange:date:timeZone:duration:"); @@ -24035,87 +29566,99 @@ class PedometerBindings { ffi.Pointer timeZone, double duration, ) { - return __objc_msgSend_844( - obj, - sel, - range, - date, - timeZone, - duration, - ); + return __objc_msgSend_844(obj, sel, range, date, timeZone, duration); } late final __objc_msgSend_844Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_844 = + __objc_msgSend_844Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, ffi.Pointer, - ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_844 = __objc_msgSend_844Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer, - double)>(); + double, + ) + >(); - late final _sel_addressCheckingResultWithRange_components_1 = - _registerName1("addressCheckingResultWithRange:components:"); + late final _sel_addressCheckingResultWithRange_components_1 = _registerName1( + "addressCheckingResultWithRange:components:", + ); ffi.Pointer _objc_msgSend_845( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ffi.Pointer components, ) { - return __objc_msgSend_845( - obj, - sel, - range, - components, - ); + return __objc_msgSend_845(obj, sel, range, components); } late final __objc_msgSend_845Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_845 = + __objc_msgSend_845Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_845 = __objc_msgSend_845Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_linkCheckingResultWithRange_URL_1 = - _registerName1("linkCheckingResultWithRange:URL:"); + late final _sel_linkCheckingResultWithRange_URL_1 = _registerName1( + "linkCheckingResultWithRange:URL:", + ); ffi.Pointer _objc_msgSend_846( ffi.Pointer obj, ffi.Pointer sel, _NSRange range, ffi.Pointer url, ) { - return __objc_msgSend_846( - obj, - sel, - range, - url, - ); + return __objc_msgSend_846(obj, sel, range, url); } late final __objc_msgSend_846Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_846 = + __objc_msgSend_846Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_846 = __objc_msgSend_846Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_quoteCheckingResultWithRange_replacementString_1 = _registerName1("quoteCheckingResultWithRange:replacementString:"); @@ -24125,24 +29668,29 @@ class PedometerBindings { _NSRange range, ffi.Pointer replacementString, ) { - return __objc_msgSend_847( - obj, - sel, - range, - replacementString, - ); + return __objc_msgSend_847(obj, sel, range, replacementString); } late final __objc_msgSend_847Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_847 = + __objc_msgSend_847Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_847 = __objc_msgSend_847Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, _NSRange, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_dashCheckingResultWithRange_replacementString_1 = _registerName1("dashCheckingResultWithRange:replacementString:"); @@ -24152,7 +29700,8 @@ class PedometerBindings { _registerName1("correctionCheckingResultWithRange:replacementString:"); late final _sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1 = _registerName1( - "correctionCheckingResultWithRange:replacementString:alternativeStrings:"); + "correctionCheckingResultWithRange:replacementString:alternativeStrings:", + ); ffi.Pointer _objc_msgSend_848( ffi.Pointer obj, ffi.Pointer sel, @@ -24170,24 +29719,32 @@ class PedometerBindings { } late final __objc_msgSend_848Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_848 = + __objc_msgSend_848Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, _NSRange, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_848 = __objc_msgSend_848Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - _NSRange, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1 = _registerName1( - "regularExpressionCheckingResultWithRanges:count:regularExpression:"); + "regularExpressionCheckingResultWithRanges:count:regularExpression:", + ); ffi.Pointer _objc_msgSend_849( ffi.Pointer obj, ffi.Pointer sel, @@ -24195,30 +29752,31 @@ class PedometerBindings { int count, ffi.Pointer regularExpression, ) { - return __objc_msgSend_849( - obj, - sel, - ranges, - count, - regularExpression, - ); + return __objc_msgSend_849(obj, sel, ranges, count, regularExpression); } late final __objc_msgSend_849Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_NSRange>, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_849 = + __objc_msgSend_849Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<_NSRange>, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_849 = __objc_msgSend_849Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_NSRange>, - int, - ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); late final _sel_phoneNumberCheckingResultWithRange_phoneNumber_1 = _registerName1("phoneNumberCheckingResultWithRange:phoneNumber:"); @@ -24230,19 +29788,25 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_850( - obj, - sel, - ); + return __objc_msgSend_850(obj, sel); } late final __objc_msgSend_850Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_850 = __objc_msgSend_850Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_850 = + __objc_msgSend_850Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setSharedURLCache_1 = _registerName1("setSharedURLCache:"); void _objc_msgSend_851( @@ -24250,20 +29814,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_851( - obj, - sel, - value, - ); + return __objc_msgSend_851(obj, sel, value); } late final __objc_msgSend_851Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_851 = __objc_msgSend_851Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_851 = + __objc_msgSend_851Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithMemoryCapacity_diskCapacity_diskPath_1 = _registerName1("initWithMemoryCapacity:diskCapacity:diskPath:"); @@ -24274,26 +29845,31 @@ class PedometerBindings { int diskCapacity, ffi.Pointer path, ) { - return __objc_msgSend_852( - obj, - sel, - memoryCapacity, - diskCapacity, - path, - ); + return __objc_msgSend_852(obj, sel, memoryCapacity, diskCapacity, path); } late final __objc_msgSend_852Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_852 = + __objc_msgSend_852Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_852 = __objc_msgSend_852Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, ffi.Pointer)>(); + int, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithMemoryCapacity_diskCapacity_directoryURL_1 = _registerName1("initWithMemoryCapacity:diskCapacity:directoryURL:"); @@ -24314,44 +29890,61 @@ class PedometerBindings { } late final __objc_msgSend_853Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_853 = + __objc_msgSend_853Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_853 = __objc_msgSend_853Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, int, - int, ffi.Pointer)>(); + int, + int, + ffi.Pointer, + ) + >(); late final _class_NSCachedURLResponse1 = _getClass1("NSCachedURLResponse"); - late final _sel_initWithResponse_data_1 = - _registerName1("initWithResponse:data:"); + late final _sel_initWithResponse_data_1 = _registerName1( + "initWithResponse:data:", + ); instancetype _objc_msgSend_854( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer response, ffi.Pointer data, ) { - return __objc_msgSend_854( - obj, - sel, - response, - data, - ); + return __objc_msgSend_854(obj, sel, response, data); } late final __objc_msgSend_854Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_854 = + __objc_msgSend_854Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_854 = __objc_msgSend_854Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_initWithResponse_data_userInfo_storagePolicy_1 = _registerName1("initWithResponse:data:userInfo:storagePolicy:"); @@ -24374,134 +29967,169 @@ class PedometerBindings { } late final __objc_msgSend_855Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_855 = + __objc_msgSend_855Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_855 = __objc_msgSend_855Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); ffi.Pointer _objc_msgSend_856( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_856( - obj, - sel, - ); + return __objc_msgSend_856(obj, sel); } late final __objc_msgSend_856Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_856 = __objc_msgSend_856Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_856 = + __objc_msgSend_856Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_storagePolicy1 = _registerName1("storagePolicy"); - int _objc_msgSend_857( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_857( - obj, - sel, - ); + int _objc_msgSend_857(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_857(obj, sel); } late final __objc_msgSend_857Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_857 = __objc_msgSend_857Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_857 = + __objc_msgSend_857Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_cachedResponseForRequest_1 = - _registerName1("cachedResponseForRequest:"); + late final _sel_cachedResponseForRequest_1 = _registerName1( + "cachedResponseForRequest:", + ); ffi.Pointer _objc_msgSend_858( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ) { - return __objc_msgSend_858( - obj, - sel, - request, - ); + return __objc_msgSend_858(obj, sel, request); } late final __objc_msgSend_858Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_858 = __objc_msgSend_858Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_storeCachedResponse_forRequest_1 = - _registerName1("storeCachedResponse:forRequest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_858 = + __objc_msgSend_858Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_storeCachedResponse_forRequest_1 = _registerName1( + "storeCachedResponse:forRequest:", + ); void _objc_msgSend_859( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer cachedResponse, ffi.Pointer request, ) { - return __objc_msgSend_859( - obj, - sel, - cachedResponse, - request, - ); + return __objc_msgSend_859(obj, sel, cachedResponse, request); } late final __objc_msgSend_859Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_859 = + __objc_msgSend_859Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_859 = __objc_msgSend_859Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_removeCachedResponseForRequest_1 = - _registerName1("removeCachedResponseForRequest:"); + late final _sel_removeCachedResponseForRequest_1 = _registerName1( + "removeCachedResponseForRequest:", + ); void _objc_msgSend_860( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ) { - return __objc_msgSend_860( - obj, - sel, - request, - ); + return __objc_msgSend_860(obj, sel, request); } late final __objc_msgSend_860Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_860 = __objc_msgSend_860Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_removeAllCachedResponses1 = - _registerName1("removeAllCachedResponses"); - late final _sel_removeCachedResponsesSinceDate_1 = - _registerName1("removeCachedResponsesSinceDate:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_860 = + __objc_msgSend_860Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_removeAllCachedResponses1 = _registerName1( + "removeAllCachedResponses", + ); + late final _sel_removeCachedResponsesSinceDate_1 = _registerName1( + "removeCachedResponsesSinceDate:", + ); late final _sel_memoryCapacity1 = _registerName1("memoryCapacity"); late final _sel_setMemoryCapacity_1 = _registerName1("setMemoryCapacity:"); late final _sel_diskCapacity1 = _registerName1("diskCapacity"); @@ -24509,32 +30137,38 @@ class PedometerBindings { late final _sel_currentMemoryUsage1 = _registerName1("currentMemoryUsage"); late final _sel_currentDiskUsage1 = _registerName1("currentDiskUsage"); late final _class_NSURLSessionDataTask1 = _getClass1("NSURLSessionDataTask"); - late final _sel_storeCachedResponse_forDataTask_1 = - _registerName1("storeCachedResponse:forDataTask:"); + late final _sel_storeCachedResponse_forDataTask_1 = _registerName1( + "storeCachedResponse:forDataTask:", + ); void _objc_msgSend_861( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer cachedResponse, ffi.Pointer dataTask, ) { - return __objc_msgSend_861( - obj, - sel, - cachedResponse, - dataTask, - ); + return __objc_msgSend_861(obj, sel, cachedResponse, dataTask); } late final __objc_msgSend_861Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_861 = + __objc_msgSend_861Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_861 = __objc_msgSend_861Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_getCachedResponseForDataTask_completionHandler_1 = _registerName1("getCachedResponseForDataTask:completionHandler:"); @@ -24544,50 +30178,64 @@ class PedometerBindings { ffi.Pointer dataTask, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_862( - obj, - sel, - dataTask, - completionHandler, - ); + return __objc_msgSend_862(obj, sel, dataTask, completionHandler); } late final __objc_msgSend_862Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_862 = + __objc_msgSend_862Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_862 = __objc_msgSend_862Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_removeCachedResponseForDataTask_1 = - _registerName1("removeCachedResponseForDataTask:"); + late final _sel_removeCachedResponseForDataTask_1 = _registerName1( + "removeCachedResponseForDataTask:", + ); void _objc_msgSend_863( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer dataTask, ) { - return __objc_msgSend_863( - obj, - sel, - dataTask, - ); + return __objc_msgSend_863(obj, sel, dataTask); } late final __objc_msgSend_863Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_863 = __objc_msgSend_863Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_863 = + __objc_msgSend_863Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSURLConnection1 = _getClass1("NSURLConnection"); - late final _sel_initWithRequest_delegate_startImmediately_1 = - _registerName1("initWithRequest:delegate:startImmediately:"); + late final _sel_initWithRequest_delegate_startImmediately_1 = _registerName1( + "initWithRequest:delegate:startImmediately:", + ); instancetype _objc_msgSend_864( ffi.Pointer obj, ffi.Pointer sel, @@ -24595,124 +30243,152 @@ class PedometerBindings { ffi.Pointer delegate, bool startImmediately, ) { - return __objc_msgSend_864( - obj, - sel, - request, - delegate, - startImmediately, - ); + return __objc_msgSend_864(obj, sel, request, delegate, startImmediately); } late final __objc_msgSend_864Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_864 = + __objc_msgSend_864Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_864 = __objc_msgSend_864Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, bool)>(); + bool, + ) + >(); - late final _sel_initWithRequest_delegate_1 = - _registerName1("initWithRequest:delegate:"); + late final _sel_initWithRequest_delegate_1 = _registerName1( + "initWithRequest:delegate:", + ); instancetype _objc_msgSend_865( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ffi.Pointer delegate, ) { - return __objc_msgSend_865( - obj, - sel, - request, - delegate, - ); + return __objc_msgSend_865(obj, sel, request, delegate); } late final __objc_msgSend_865Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_865 = + __objc_msgSend_865Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_865 = __objc_msgSend_865Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_connectionWithRequest_delegate_1 = - _registerName1("connectionWithRequest:delegate:"); + late final _sel_connectionWithRequest_delegate_1 = _registerName1( + "connectionWithRequest:delegate:", + ); ffi.Pointer _objc_msgSend_866( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ffi.Pointer delegate, ) { - return __objc_msgSend_866( - obj, - sel, - request, - delegate, - ); + return __objc_msgSend_866(obj, sel, request, delegate); } late final __objc_msgSend_866Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_866 = + __objc_msgSend_866Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_866 = __objc_msgSend_866Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); ffi.Pointer _objc_msgSend_867( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_867( - obj, - sel, - ); + return __objc_msgSend_867(obj, sel); } late final __objc_msgSend_867Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_867 = __objc_msgSend_867Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_867 = + __objc_msgSend_867Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_unscheduleFromRunLoop_forMode_1 = - _registerName1("unscheduleFromRunLoop:forMode:"); + late final _sel_unscheduleFromRunLoop_forMode_1 = _registerName1( + "unscheduleFromRunLoop:forMode:", + ); late final _sel_setDelegateQueue_1 = _registerName1("setDelegateQueue:"); void _objc_msgSend_868( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer queue, ) { - return __objc_msgSend_868( - obj, - sel, - queue, - ); + return __objc_msgSend_868(obj, sel, queue); } late final __objc_msgSend_868Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_868 = __objc_msgSend_868Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_868 = + __objc_msgSend_868Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_canHandleRequest_1 = _registerName1("canHandleRequest:"); bool _objc_msgSend_869( @@ -24720,20 +30396,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer request, ) { - return __objc_msgSend_869( - obj, - sel, - request, - ); + return __objc_msgSend_869(obj, sel, request); } late final __objc_msgSend_869Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_869 = __objc_msgSend_869Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_869 = + __objc_msgSend_869Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sendSynchronousRequest_returningResponse_error_1 = _registerName1("sendSynchronousRequest:returningResponse:error:"); @@ -24744,30 +30427,31 @@ class PedometerBindings { ffi.Pointer> response, ffi.Pointer> error, ) { - return __objc_msgSend_870( - obj, - sel, - request, - response, - error, - ); + return __objc_msgSend_870(obj, sel, request, response, error); } late final __objc_msgSend_870Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_870 = + __objc_msgSend_870Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_870 = __objc_msgSend_870Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_sendAsynchronousRequest_queue_completionHandler_1 = _registerName1("sendAsynchronousRequest:queue:completionHandler:"); @@ -24778,52 +30462,52 @@ class PedometerBindings { ffi.Pointer queue, ffi.Pointer<_ObjCBlock> handler, ) { - return __objc_msgSend_871( - obj, - sel, - request, - queue, - handler, - ); + return __objc_msgSend_871(obj, sel, request, queue, handler); } late final __objc_msgSend_871Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_871 = + __objc_msgSend_871Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_871 = __objc_msgSend_871Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_NSURLCredential1 = _getClass1("NSURLCredential"); late final _sel_persistence1 = _registerName1("persistence"); - int _objc_msgSend_872( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_872( - obj, - sel, - ); + int _objc_msgSend_872(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_872(obj, sel); } late final __objc_msgSend_872Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_872 = __objc_msgSend_872Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_872 = + __objc_msgSend_872Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_initWithUser_password_persistence_1 = - _registerName1("initWithUser:password:persistence:"); + late final _sel_initWithUser_password_persistence_1 = _registerName1( + "initWithUser:password:persistence:", + ); instancetype _objc_msgSend_873( ffi.Pointer obj, ffi.Pointer sel, @@ -24831,29 +30515,35 @@ class PedometerBindings { ffi.Pointer password, int persistence, ) { - return __objc_msgSend_873( - obj, - sel, - user, - password, - persistence, - ); + return __objc_msgSend_873(obj, sel, user, password, persistence); } late final __objc_msgSend_873Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_873 = + __objc_msgSend_873Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_873 = __objc_msgSend_873Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); - late final _sel_credentialWithUser_password_persistence_1 = - _registerName1("credentialWithUser:password:persistence:"); + late final _sel_credentialWithUser_password_persistence_1 = _registerName1( + "credentialWithUser:password:persistence:", + ); ffi.Pointer _objc_msgSend_874( ffi.Pointer obj, ffi.Pointer sel, @@ -24861,34 +30551,36 @@ class PedometerBindings { ffi.Pointer password, int persistence, ) { - return __objc_msgSend_874( - obj, - sel, - user, - password, - persistence, - ); + return __objc_msgSend_874(obj, sel, user, password, persistence); } late final __objc_msgSend_874Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_874 = + __objc_msgSend_874Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_874 = __objc_msgSend_874Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); late final _sel_hasPassword1 = _registerName1("hasPassword"); - late final _sel_initWithIdentity_certificates_persistence_1 = - _registerName1("initWithIdentity:certificates:persistence:"); + late final _sel_initWithIdentity_certificates_persistence_1 = _registerName1( + "initWithIdentity:certificates:persistence:", + ); instancetype _objc_msgSend_875( ffi.Pointer obj, ffi.Pointer sel, @@ -24896,26 +30588,31 @@ class PedometerBindings { ffi.Pointer certArray, int persistence, ) { - return __objc_msgSend_875( - obj, - sel, - identity, - certArray, - persistence, - ); + return __objc_msgSend_875(obj, sel, identity, certArray, persistence); } late final __objc_msgSend_875Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_875 = + __objc_msgSend_875Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecIdentity>, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_875 = __objc_msgSend_875Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecIdentity>, ffi.Pointer, int)>(); + int, + ) + >(); late final _sel_credentialWithIdentity_certificates_persistence_1 = _registerName1("credentialWithIdentity:certificates:persistence:"); @@ -24926,49 +30623,56 @@ class PedometerBindings { ffi.Pointer certArray, int persistence, ) { - return __objc_msgSend_876( - obj, - sel, - identity, - certArray, - persistence, - ); + return __objc_msgSend_876(obj, sel, identity, certArray, persistence); } late final __objc_msgSend_876Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecIdentity>, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_876 = + __objc_msgSend_876Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer<__SecIdentity>, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_876 = __objc_msgSend_876Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<__SecIdentity>, - ffi.Pointer, - int)>(); + int, + ) + >(); late final _sel_identity1 = _registerName1("identity"); ffi.Pointer<__SecIdentity> _objc_msgSend_877( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_877( - obj, - sel, - ); + return __objc_msgSend_877(obj, sel); } late final __objc_msgSend_877Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_877 = __objc_msgSend_877Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__SecIdentity> Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_877 = + __objc_msgSend_877Ptr + .asFunction< + ffi.Pointer<__SecIdentity> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_certificates1 = _registerName1("certificates"); late final _sel_initWithTrust_1 = _registerName1("initWithTrust:"); @@ -24977,20 +30681,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<__SecTrust> trust, ) { - return __objc_msgSend_878( - obj, - sel, - trust, - ); + return __objc_msgSend_878(obj, sel, trust); } late final __objc_msgSend_878Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecTrust>)>>('objc_msgSend'); - late final __objc_msgSend_878 = __objc_msgSend_878Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<__SecTrust>)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_878 = + __objc_msgSend_878Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + >(); late final _sel_credentialForTrust_1 = _registerName1("credentialForTrust:"); ffi.Pointer _objc_msgSend_879( @@ -24998,20 +30709,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<__SecTrust> trust, ) { - return __objc_msgSend_879( - obj, - sel, - trust, - ); + return __objc_msgSend_879(obj, sel, trust); } late final __objc_msgSend_879Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<__SecTrust>)>>('objc_msgSend'); - late final __objc_msgSend_879 = __objc_msgSend_879Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer<__SecTrust>)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_879 = + __objc_msgSend_879Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<__SecTrust>, + ) + >(); late final _class_NSURLProtectionSpace1 = _getClass1("NSURLProtectionSpace"); late final _sel_initWithHost_port_protocol_realm_authenticationMethod_1 = @@ -25037,129 +30755,167 @@ class PedometerBindings { } late final __objc_msgSend_880Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_880 = + __objc_msgSend_880Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, + int, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_880 = __objc_msgSend_880Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_initWithProxyHost_port_type_realm_authenticationMethod_1 = _registerName1("initWithProxyHost:port:type:realm:authenticationMethod:"); late final _sel_realm1 = _registerName1("realm"); - late final _sel_receivesCredentialSecurely1 = - _registerName1("receivesCredentialSecurely"); + late final _sel_receivesCredentialSecurely1 = _registerName1( + "receivesCredentialSecurely", + ); late final _sel_isProxy1 = _registerName1("isProxy"); late final _sel_proxyType1 = _registerName1("proxyType"); late final _sel_protocol1 = _registerName1("protocol"); - late final _sel_authenticationMethod1 = - _registerName1("authenticationMethod"); + late final _sel_authenticationMethod1 = _registerName1( + "authenticationMethod", + ); late final _sel_distinguishedNames1 = _registerName1("distinguishedNames"); late final _sel_serverTrust1 = _registerName1("serverTrust"); ffi.Pointer<__SecTrust> _objc_msgSend_881( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_881( - obj, - sel, - ); + return __objc_msgSend_881(obj, sel); } late final __objc_msgSend_881Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer<__SecTrust> Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_881 = __objc_msgSend_881Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer<__SecTrust> Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLCredentialStorage1 = - _getClass1("NSURLCredentialStorage"); - late final _sel_sharedCredentialStorage1 = - _registerName1("sharedCredentialStorage"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_881 = + __objc_msgSend_881Ptr + .asFunction< + ffi.Pointer<__SecTrust> Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLCredentialStorage1 = _getClass1( + "NSURLCredentialStorage", + ); + late final _sel_sharedCredentialStorage1 = _registerName1( + "sharedCredentialStorage", + ); ffi.Pointer _objc_msgSend_882( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_882( - obj, - sel, - ); + return __objc_msgSend_882(obj, sel); } late final __objc_msgSend_882Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_882 = __objc_msgSend_882Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_882 = + __objc_msgSend_882Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_credentialsForProtectionSpace_1 = - _registerName1("credentialsForProtectionSpace:"); + late final _sel_credentialsForProtectionSpace_1 = _registerName1( + "credentialsForProtectionSpace:", + ); ffi.Pointer _objc_msgSend_883( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer space, ) { - return __objc_msgSend_883( - obj, - sel, - space, - ); + return __objc_msgSend_883(obj, sel, space); } late final __objc_msgSend_883Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_883 = __objc_msgSend_883Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_883 = + __objc_msgSend_883Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_allCredentials1 = _registerName1("allCredentials"); - late final _sel_setCredential_forProtectionSpace_1 = - _registerName1("setCredential:forProtectionSpace:"); + late final _sel_setCredential_forProtectionSpace_1 = _registerName1( + "setCredential:forProtectionSpace:", + ); void _objc_msgSend_884( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer credential, ffi.Pointer space, ) { - return __objc_msgSend_884( - obj, - sel, - credential, - space, - ); + return __objc_msgSend_884(obj, sel, credential, space); } late final __objc_msgSend_884Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_884 = + __objc_msgSend_884Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_884 = __objc_msgSend_884Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_removeCredential_forProtectionSpace_1 = - _registerName1("removeCredential:forProtectionSpace:"); + late final _sel_removeCredential_forProtectionSpace_1 = _registerName1( + "removeCredential:forProtectionSpace:", + ); late final _sel_removeCredential_forProtectionSpace_options_1 = _registerName1("removeCredential:forProtectionSpace:options:"); void _objc_msgSend_885( @@ -25169,58 +30925,69 @@ class PedometerBindings { ffi.Pointer space, ffi.Pointer options, ) { - return __objc_msgSend_885( - obj, - sel, - credential, - space, - options, - ); + return __objc_msgSend_885(obj, sel, credential, space, options); } late final __objc_msgSend_885Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_885 = + __objc_msgSend_885Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_885 = __objc_msgSend_885Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_defaultCredentialForProtectionSpace_1 = - _registerName1("defaultCredentialForProtectionSpace:"); + late final _sel_defaultCredentialForProtectionSpace_1 = _registerName1( + "defaultCredentialForProtectionSpace:", + ); ffi.Pointer _objc_msgSend_886( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer space, ) { - return __objc_msgSend_886( - obj, - sel, - space, - ); + return __objc_msgSend_886(obj, sel, space); } late final __objc_msgSend_886Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_886 = __objc_msgSend_886Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_setDefaultCredential_forProtectionSpace_1 = - _registerName1("setDefaultCredential:forProtectionSpace:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_886 = + __objc_msgSend_886Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setDefaultCredential_forProtectionSpace_1 = _registerName1( + "setDefaultCredential:forProtectionSpace:", + ); late final _sel_getCredentialsForProtectionSpace_task_completionHandler_1 = _registerName1( - "getCredentialsForProtectionSpace:task:completionHandler:"); + "getCredentialsForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_887( ffi.Pointer obj, ffi.Pointer sel, @@ -25238,54 +31005,63 @@ class PedometerBindings { } late final __objc_msgSend_887Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_887 = + __objc_msgSend_887Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_887 = __objc_msgSend_887Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_setCredential_forProtectionSpace_task_1 = - _registerName1("setCredential:forProtectionSpace:task:"); + late final _sel_setCredential_forProtectionSpace_task_1 = _registerName1( + "setCredential:forProtectionSpace:task:", + ); void _objc_msgSend_888( ffi.Pointer obj, ffi.Pointer sel, - ffi.Pointer credential, - ffi.Pointer protectionSpace, - ffi.Pointer task, - ) { - return __objc_msgSend_888( - obj, - sel, - credential, - protectionSpace, - task, - ); + ffi.Pointer credential, + ffi.Pointer protectionSpace, + ffi.Pointer task, + ) { + return __objc_msgSend_888(obj, sel, credential, protectionSpace, task); } late final __objc_msgSend_888Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_888 = + __objc_msgSend_888Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_888 = __objc_msgSend_888Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_removeCredential_forProtectionSpace_options_task_1 = _registerName1("removeCredential:forProtectionSpace:options:task:"); @@ -25308,26 +31084,34 @@ class PedometerBindings { } late final __objc_msgSend_889Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_889 = + __objc_msgSend_889Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_889 = __objc_msgSend_889Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1 = _registerName1( - "getDefaultCredentialForProtectionSpace:task:completionHandler:"); + "getDefaultCredentialForProtectionSpace:task:completionHandler:", + ); void _objc_msgSend_890( ffi.Pointer obj, ffi.Pointer sel, @@ -25335,36 +31119,38 @@ class PedometerBindings { ffi.Pointer task, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_890( - obj, - sel, - space, - task, - completionHandler, - ); + return __objc_msgSend_890(obj, sel, space, task, completionHandler); } late final __objc_msgSend_890Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_890 = + __objc_msgSend_890Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_890 = __objc_msgSend_890Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_setDefaultCredential_forProtectionSpace_task_1 = _registerName1("setDefaultCredential:forProtectionSpace:task:"); late final _class_NSURLProtocol1 = _getClass1("NSURLProtocol"); - late final _sel_initWithRequest_cachedResponse_client_1 = - _registerName1("initWithRequest:cachedResponse:client:"); + late final _sel_initWithRequest_cachedResponse_client_1 = _registerName1( + "initWithRequest:cachedResponse:client:", + ); instancetype _objc_msgSend_891( ffi.Pointer obj, ffi.Pointer sel, @@ -25372,30 +31158,31 @@ class PedometerBindings { ffi.Pointer cachedResponse, ffi.Pointer client, ) { - return __objc_msgSend_891( - obj, - sel, - request, - cachedResponse, - client, - ); + return __objc_msgSend_891(obj, sel, request, cachedResponse, client); } late final __objc_msgSend_891Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_891 = + __objc_msgSend_891Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_891 = __objc_msgSend_891Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_client1 = _registerName1("client"); late final _sel_request1 = _registerName1("request"); @@ -25404,101 +31191,124 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_892( - obj, - sel, - ); + return __objc_msgSend_892(obj, sel); } late final __objc_msgSend_892Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_892 = __objc_msgSend_892Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_892 = + __objc_msgSend_892Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_canInitWithRequest_1 = _registerName1("canInitWithRequest:"); - late final _sel_canonicalRequestForRequest_1 = - _registerName1("canonicalRequestForRequest:"); + late final _sel_canonicalRequestForRequest_1 = _registerName1( + "canonicalRequestForRequest:", + ); ffi.Pointer _objc_msgSend_893( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ) { - return __objc_msgSend_893( - obj, - sel, - request, - ); + return __objc_msgSend_893(obj, sel, request); } late final __objc_msgSend_893Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_893 = __objc_msgSend_893Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_requestIsCacheEquivalent_toRequest_1 = - _registerName1("requestIsCacheEquivalent:toRequest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_893 = + __objc_msgSend_893Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_requestIsCacheEquivalent_toRequest_1 = _registerName1( + "requestIsCacheEquivalent:toRequest:", + ); bool _objc_msgSend_894( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer a, ffi.Pointer b, ) { - return __objc_msgSend_894( - obj, - sel, - a, - b, - ); + return __objc_msgSend_894(obj, sel, a, b); } late final __objc_msgSend_894Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_894 = + __objc_msgSend_894Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_894 = __objc_msgSend_894Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_startLoading1 = _registerName1("startLoading"); late final _sel_stopLoading1 = _registerName1("stopLoading"); - late final _sel_propertyForKey_inRequest_1 = - _registerName1("propertyForKey:inRequest:"); + late final _sel_propertyForKey_inRequest_1 = _registerName1( + "propertyForKey:inRequest:", + ); ffi.Pointer _objc_msgSend_895( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ffi.Pointer request, ) { - return __objc_msgSend_895( - obj, - sel, - key, - request, - ); + return __objc_msgSend_895(obj, sel, key, request); } late final __objc_msgSend_895Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_895 = + __objc_msgSend_895Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_895 = __objc_msgSend_895Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _class_NSMutableURLRequest1 = _getClass1("NSMutableURLRequest"); late final _sel_setURL_1 = _registerName1("setURL:"); @@ -25508,125 +31318,158 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_896( - obj, - sel, - value, - ); + return __objc_msgSend_896(obj, sel, value); } late final __objc_msgSend_896Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_896 = __objc_msgSend_896Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_896 = + __objc_msgSend_896Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_setTimeoutInterval_1 = _registerName1("setTimeoutInterval:"); late final _sel_setMainDocumentURL_1 = _registerName1("setMainDocumentURL:"); - late final _sel_setNetworkServiceType_1 = - _registerName1("setNetworkServiceType:"); + late final _sel_setNetworkServiceType_1 = _registerName1( + "setNetworkServiceType:", + ); void _objc_msgSend_897( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_897( - obj, - sel, - value, - ); + return __objc_msgSend_897(obj, sel, value); } late final __objc_msgSend_897Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_897 = __objc_msgSend_897Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_setAllowsCellularAccess_1 = - _registerName1("setAllowsCellularAccess:"); - late final _sel_setAllowsExpensiveNetworkAccess_1 = - _registerName1("setAllowsExpensiveNetworkAccess:"); - late final _sel_setAllowsConstrainedNetworkAccess_1 = - _registerName1("setAllowsConstrainedNetworkAccess:"); - late final _sel_setAssumesHTTP3Capable_1 = - _registerName1("setAssumesHTTP3Capable:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_897 = + __objc_msgSend_897Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); + + late final _sel_setAllowsCellularAccess_1 = _registerName1( + "setAllowsCellularAccess:", + ); + late final _sel_setAllowsExpensiveNetworkAccess_1 = _registerName1( + "setAllowsExpensiveNetworkAccess:", + ); + late final _sel_setAllowsConstrainedNetworkAccess_1 = _registerName1( + "setAllowsConstrainedNetworkAccess:", + ); + late final _sel_setAssumesHTTP3Capable_1 = _registerName1( + "setAssumesHTTP3Capable:", + ); late final _sel_setAttribution_1 = _registerName1("setAttribution:"); void _objc_msgSend_898( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_898( - obj, - sel, - value, - ); + return __objc_msgSend_898(obj, sel, value); } late final __objc_msgSend_898Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_898 = __objc_msgSend_898Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_898 = + __objc_msgSend_898Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); - late final _sel_setRequiresDNSSECValidation_1 = - _registerName1("setRequiresDNSSECValidation:"); + late final _sel_setRequiresDNSSECValidation_1 = _registerName1( + "setRequiresDNSSECValidation:", + ); late final _sel_setHTTPMethod_1 = _registerName1("setHTTPMethod:"); - late final _sel_setAllHTTPHeaderFields_1 = - _registerName1("setAllHTTPHeaderFields:"); - late final _sel_setValue_forHTTPHeaderField_1 = - _registerName1("setValue:forHTTPHeaderField:"); + late final _sel_setAllHTTPHeaderFields_1 = _registerName1( + "setAllHTTPHeaderFields:", + ); + late final _sel_setValue_forHTTPHeaderField_1 = _registerName1( + "setValue:forHTTPHeaderField:", + ); void _objc_msgSend_899( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ffi.Pointer field, ) { - return __objc_msgSend_899( - obj, - sel, - value, - field, - ); + return __objc_msgSend_899(obj, sel, value, field); } late final __objc_msgSend_899Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_899 = + __objc_msgSend_899Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_899 = __objc_msgSend_899Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_addValue_forHTTPHeaderField_1 = - _registerName1("addValue:forHTTPHeaderField:"); + late final _sel_addValue_forHTTPHeaderField_1 = _registerName1( + "addValue:forHTTPHeaderField:", + ); late final _sel_setHTTPBody_1 = _registerName1("setHTTPBody:"); void _objc_msgSend_900( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_900( - obj, - sel, - value, - ); + return __objc_msgSend_900(obj, sel, value); } late final __objc_msgSend_900Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_900 = __objc_msgSend_900Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_900 = + __objc_msgSend_900Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setHTTPBodyStream_1 = _registerName1("setHTTPBodyStream:"); void _objc_msgSend_901( @@ -25634,27 +31477,37 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_901( - obj, - sel, - value, - ); + return __objc_msgSend_901(obj, sel, value); } late final __objc_msgSend_901Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_901 = __objc_msgSend_901Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_setHTTPShouldHandleCookies_1 = - _registerName1("setHTTPShouldHandleCookies:"); - late final _sel_setHTTPShouldUsePipelining_1 = - _registerName1("setHTTPShouldUsePipelining:"); - late final _sel_setProperty_forKey_inRequest_1 = - _registerName1("setProperty:forKey:inRequest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_901 = + __objc_msgSend_901Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_setHTTPShouldHandleCookies_1 = _registerName1( + "setHTTPShouldHandleCookies:", + ); + late final _sel_setHTTPShouldUsePipelining_1 = _registerName1( + "setHTTPShouldUsePipelining:", + ); + late final _sel_setProperty_forKey_inRequest_1 = _registerName1( + "setProperty:forKey:inRequest:", + ); void _objc_msgSend_902( ffi.Pointer obj, ffi.Pointer sel, @@ -25662,57 +31515,64 @@ class PedometerBindings { ffi.Pointer key, ffi.Pointer request, ) { - return __objc_msgSend_902( - obj, - sel, - value, - key, - request, - ); + return __objc_msgSend_902(obj, sel, value, key, request); } late final __objc_msgSend_902Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_902 = + __objc_msgSend_902Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_902 = __objc_msgSend_902Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_removePropertyForKey_inRequest_1 = - _registerName1("removePropertyForKey:inRequest:"); + late final _sel_removePropertyForKey_inRequest_1 = _registerName1( + "removePropertyForKey:inRequest:", + ); void _objc_msgSend_903( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer key, ffi.Pointer request, ) { - return __objc_msgSend_903( - obj, - sel, - key, - request, - ); + return __objc_msgSend_903(obj, sel, key, request); } late final __objc_msgSend_903Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_903 = + __objc_msgSend_903Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_903 = __objc_msgSend_903Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_registerClass_1 = _registerName1("registerClass:"); late final _sel_unregisterClass_1 = _registerName1("unregisterClass:"); @@ -25722,23 +31582,31 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer task, ) { - return __objc_msgSend_904( - obj, - sel, - task, - ); + return __objc_msgSend_904(obj, sel, task); } late final __objc_msgSend_904Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_904 = __objc_msgSend_904Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_initWithTask_cachedResponse_client_1 = - _registerName1("initWithTask:cachedResponse:client:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_904 = + __objc_msgSend_904Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_initWithTask_cachedResponse_client_1 = _registerName1( + "initWithTask:cachedResponse:client:", + ); instancetype _objc_msgSend_905( ffi.Pointer obj, ffi.Pointer sel, @@ -25746,49 +31614,56 @@ class PedometerBindings { ffi.Pointer cachedResponse, ffi.Pointer client, ) { - return __objc_msgSend_905( - obj, - sel, - task, - cachedResponse, - client, - ); + return __objc_msgSend_905(obj, sel, task, cachedResponse, client); } late final __objc_msgSend_905Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_905 = + __objc_msgSend_905Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_905 = __objc_msgSend_905Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_task1 = _registerName1("task"); ffi.Pointer _objc_msgSend_906( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_906( - obj, - sel, - ); + return __objc_msgSend_906(obj, sel); } late final __objc_msgSend_906Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_906 = __objc_msgSend_906Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_906 = + __objc_msgSend_906Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_NSXMLParser1 = _getClass1("NSXMLParser"); late final _sel_initWithStream_1 = _registerName1("initWithStream:"); @@ -25797,107 +31672,134 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer stream, ) { - return __objc_msgSend_907( - obj, - sel, - stream, - ); + return __objc_msgSend_907(obj, sel, stream); } late final __objc_msgSend_907Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_907 = __objc_msgSend_907Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_shouldProcessNamespaces1 = - _registerName1("shouldProcessNamespaces"); - late final _sel_setShouldProcessNamespaces_1 = - _registerName1("setShouldProcessNamespaces:"); - late final _sel_shouldReportNamespacePrefixes1 = - _registerName1("shouldReportNamespacePrefixes"); - late final _sel_setShouldReportNamespacePrefixes_1 = - _registerName1("setShouldReportNamespacePrefixes:"); - late final _sel_externalEntityResolvingPolicy1 = - _registerName1("externalEntityResolvingPolicy"); - int _objc_msgSend_908( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_908( - obj, - sel, - ); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_907 = + __objc_msgSend_907Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_shouldProcessNamespaces1 = _registerName1( + "shouldProcessNamespaces", + ); + late final _sel_setShouldProcessNamespaces_1 = _registerName1( + "setShouldProcessNamespaces:", + ); + late final _sel_shouldReportNamespacePrefixes1 = _registerName1( + "shouldReportNamespacePrefixes", + ); + late final _sel_setShouldReportNamespacePrefixes_1 = _registerName1( + "setShouldReportNamespacePrefixes:", + ); + late final _sel_externalEntityResolvingPolicy1 = _registerName1( + "externalEntityResolvingPolicy", + ); + int _objc_msgSend_908(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_908(obj, sel); } late final __objc_msgSend_908Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_908 = __objc_msgSend_908Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_908 = + __objc_msgSend_908Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setExternalEntityResolvingPolicy_1 = - _registerName1("setExternalEntityResolvingPolicy:"); + late final _sel_setExternalEntityResolvingPolicy_1 = _registerName1( + "setExternalEntityResolvingPolicy:", + ); void _objc_msgSend_909( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_909( - obj, - sel, - value, - ); + return __objc_msgSend_909(obj, sel, value); } late final __objc_msgSend_909Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_909 = __objc_msgSend_909Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_allowedExternalEntityURLs1 = - _registerName1("allowedExternalEntityURLs"); - late final _sel_setAllowedExternalEntityURLs_1 = - _registerName1("setAllowedExternalEntityURLs:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_909 = + __objc_msgSend_909Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); + + late final _sel_allowedExternalEntityURLs1 = _registerName1( + "allowedExternalEntityURLs", + ); + late final _sel_setAllowedExternalEntityURLs_1 = _registerName1( + "setAllowedExternalEntityURLs:", + ); void _objc_msgSend_910( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_910( - obj, - sel, - value, - ); + return __objc_msgSend_910(obj, sel, value); } late final __objc_msgSend_910Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_910 = __objc_msgSend_910Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_910 = + __objc_msgSend_910Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_parse1 = _registerName1("parse"); late final _sel_abortParsing1 = _registerName1("abortParsing"); late final _sel_parserError1 = _registerName1("parserError"); - late final _sel_shouldResolveExternalEntities1 = - _registerName1("shouldResolveExternalEntities"); - late final _sel_setShouldResolveExternalEntities_1 = - _registerName1("setShouldResolveExternalEntities:"); + late final _sel_shouldResolveExternalEntities1 = _registerName1( + "shouldResolveExternalEntities", + ); + late final _sel_setShouldResolveExternalEntities_1 = _registerName1( + "setShouldResolveExternalEntities:", + ); late final _sel_publicID1 = _registerName1("publicID"); late final _sel_systemID1 = _registerName1("systemID"); late final _sel_lineNumber1 = _registerName1("lineNumber"); late final _sel_columnNumber1 = _registerName1("columnNumber"); late final _class_NSFileWrapper1 = _getClass1("NSFileWrapper"); - late final _sel_initWithURL_options_error_1 = - _registerName1("initWithURL:options:error:"); + late final _sel_initWithURL_options_error_1 = _registerName1( + "initWithURL:options:error:", + ); instancetype _objc_msgSend_911( ffi.Pointer obj, ffi.Pointer sel, @@ -25905,53 +31807,61 @@ class PedometerBindings { int options, ffi.Pointer> outError, ) { - return __objc_msgSend_911( - obj, - sel, - url, - options, - outError, - ); + return __objc_msgSend_911(obj, sel, url, options, outError); } late final __objc_msgSend_911Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_911 = + __objc_msgSend_911Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_911 = __objc_msgSend_911Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); - - late final _sel_initDirectoryWithFileWrappers_1 = - _registerName1("initDirectoryWithFileWrappers:"); - late final _sel_initRegularFileWithContents_1 = - _registerName1("initRegularFileWithContents:"); - late final _sel_initSymbolicLinkWithDestinationURL_1 = - _registerName1("initSymbolicLinkWithDestinationURL:"); - late final _sel_initWithSerializedRepresentation_1 = - _registerName1("initWithSerializedRepresentation:"); + int, + ffi.Pointer>, + ) + >(); + + late final _sel_initDirectoryWithFileWrappers_1 = _registerName1( + "initDirectoryWithFileWrappers:", + ); + late final _sel_initRegularFileWithContents_1 = _registerName1( + "initRegularFileWithContents:", + ); + late final _sel_initSymbolicLinkWithDestinationURL_1 = _registerName1( + "initSymbolicLinkWithDestinationURL:", + ); + late final _sel_initWithSerializedRepresentation_1 = _registerName1( + "initWithSerializedRepresentation:", + ); late final _sel_isDirectory1 = _registerName1("isDirectory"); late final _sel_isRegularFile1 = _registerName1("isRegularFile"); late final _sel_isSymbolicLink1 = _registerName1("isSymbolicLink"); late final _sel_preferredFilename1 = _registerName1("preferredFilename"); - late final _sel_setPreferredFilename_1 = - _registerName1("setPreferredFilename:"); + late final _sel_setPreferredFilename_1 = _registerName1( + "setPreferredFilename:", + ); late final _sel_filename1 = _registerName1("filename"); late final _sel_setFilename_1 = _registerName1("setFilename:"); late final _sel_fileAttributes1 = _registerName1("fileAttributes"); late final _sel_setFileAttributes_1 = _registerName1("setFileAttributes:"); - late final _sel_matchesContentsOfURL_1 = - _registerName1("matchesContentsOfURL:"); - late final _sel_readFromURL_options_error_1 = - _registerName1("readFromURL:options:error:"); + late final _sel_matchesContentsOfURL_1 = _registerName1( + "matchesContentsOfURL:", + ); + late final _sel_readFromURL_options_error_1 = _registerName1( + "readFromURL:options:error:", + ); bool _objc_msgSend_912( ffi.Pointer obj, ffi.Pointer sel, @@ -25959,30 +31869,31 @@ class PedometerBindings { int options, ffi.Pointer> outError, ) { - return __objc_msgSend_912( - obj, - sel, - url, - options, - outError, - ); + return __objc_msgSend_912(obj, sel, url, options, outError); } late final __objc_msgSend_912Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_912 = + __objc_msgSend_912Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_912 = __objc_msgSend_912Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer>)>(); + int, + ffi.Pointer>, + ) + >(); late final _sel_writeToURL_options_originalContentsURL_error_1 = _registerName1("writeToURL:options:originalContentsURL:error:"); @@ -26005,45 +31916,60 @@ class PedometerBindings { } late final __objc_msgSend_913Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_913 = + __objc_msgSend_913Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int32, + int, ffi.Pointer, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_913 = __objc_msgSend_913Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int, - ffi.Pointer, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); - late final _sel_serializedRepresentation1 = - _registerName1("serializedRepresentation"); + late final _sel_serializedRepresentation1 = _registerName1( + "serializedRepresentation", + ); late final _sel_addFileWrapper_1 = _registerName1("addFileWrapper:"); ffi.Pointer _objc_msgSend_914( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer child, ) { - return __objc_msgSend_914( - obj, - sel, - child, - ); + return __objc_msgSend_914(obj, sel, child); } late final __objc_msgSend_914Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_914 = __objc_msgSend_914Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_914 = + __objc_msgSend_914Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addRegularFileWithContents_preferredFilename_1 = _registerName1("addRegularFileWithContents:preferredFilename:"); @@ -26053,27 +31979,29 @@ class PedometerBindings { ffi.Pointer data, ffi.Pointer fileName, ) { - return __objc_msgSend_915( - obj, - sel, - data, - fileName, - ); + return __objc_msgSend_915(obj, sel, data, fileName); } late final __objc_msgSend_915Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_915 = + __objc_msgSend_915Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_915 = __objc_msgSend_915Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_removeFileWrapper_1 = _registerName1("removeFileWrapper:"); void _objc_msgSend_916( @@ -26081,20 +32009,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer child, ) { - return __objc_msgSend_916( - obj, - sel, - child, - ); + return __objc_msgSend_916(obj, sel, child); } late final __objc_msgSend_916Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_916 = __objc_msgSend_916Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_916 = + __objc_msgSend_916Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_fileWrappers1 = _registerName1("fileWrappers"); late final _sel_keyForFileWrapper_1 = _registerName1("keyForFileWrapper:"); @@ -26103,31 +32038,42 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer child, ) { - return __objc_msgSend_917( - obj, - sel, - child, - ); + return __objc_msgSend_917(obj, sel, child); } late final __objc_msgSend_917Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_917 = __objc_msgSend_917Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_917 = + __objc_msgSend_917Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_regularFileContents1 = _registerName1("regularFileContents"); - late final _sel_symbolicLinkDestinationURL1 = - _registerName1("symbolicLinkDestinationURL"); - late final _sel_initSymbolicLinkWithDestination_1 = - _registerName1("initSymbolicLinkWithDestination:"); - late final _sel_needsToBeUpdatedFromPath_1 = - _registerName1("needsToBeUpdatedFromPath:"); + late final _sel_symbolicLinkDestinationURL1 = _registerName1( + "symbolicLinkDestinationURL", + ); + late final _sel_initSymbolicLinkWithDestination_1 = _registerName1( + "initSymbolicLinkWithDestination:", + ); + late final _sel_needsToBeUpdatedFromPath_1 = _registerName1( + "needsToBeUpdatedFromPath:", + ); late final _sel_updateFromPath_1 = _registerName1("updateFromPath:"); - late final _sel_writeToFile_atomically_updateFilenames_1 = - _registerName1("writeToFile:atomically:updateFilenames:"); + late final _sel_writeToFile_atomically_updateFilenames_1 = _registerName1( + "writeToFile:atomically:updateFilenames:", + ); bool _objc_msgSend_918( ffi.Pointer obj, ffi.Pointer sel, @@ -26135,72 +32081,97 @@ class PedometerBindings { bool atomicFlag, bool updateFilenamesFlag, ) { - return __objc_msgSend_918( - obj, - sel, - path, - atomicFlag, - updateFilenamesFlag, - ); + return __objc_msgSend_918(obj, sel, path, atomicFlag, updateFilenamesFlag); } late final __objc_msgSend_918Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Bool, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_918 = __objc_msgSend_918Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, bool, bool)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_918 = + __objc_msgSend_918Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + bool, + bool, + ) + >(); late final _sel_addFileWithPath_1 = _registerName1("addFileWithPath:"); late final _sel_addSymbolicLinkWithDestination_preferredFilename_1 = _registerName1("addSymbolicLinkWithDestination:preferredFilename:"); - late final _sel_symbolicLinkDestination1 = - _registerName1("symbolicLinkDestination"); + late final _sel_symbolicLinkDestination1 = _registerName1( + "symbolicLinkDestination", + ); late final _class_NSURLSession1 = _getClass1("NSURLSession"); late final _sel_sharedSession1 = _registerName1("sharedSession"); ffi.Pointer _objc_msgSend_919( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_919( - obj, - sel, - ); + return __objc_msgSend_919(obj, sel); } late final __objc_msgSend_919Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_919 = __objc_msgSend_919Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionConfiguration1 = - _getClass1("NSURLSessionConfiguration"); - late final _sel_defaultSessionConfiguration1 = - _registerName1("defaultSessionConfiguration"); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_919 = + __objc_msgSend_919Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionConfiguration1 = _getClass1( + "NSURLSessionConfiguration", + ); + late final _sel_defaultSessionConfiguration1 = _registerName1( + "defaultSessionConfiguration", + ); ffi.Pointer _objc_msgSend_920( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_920( - obj, - sel, - ); + return __objc_msgSend_920(obj, sel); } late final __objc_msgSend_920Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_920 = __objc_msgSend_920Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_920 = + __objc_msgSend_920Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_ephemeralSessionConfiguration1 = - _registerName1("ephemeralSessionConfiguration"); + late final _sel_ephemeralSessionConfiguration1 = _registerName1( + "ephemeralSessionConfiguration", + ); late final _sel_backgroundSessionConfigurationWithIdentifier_1 = _registerName1("backgroundSessionConfigurationWithIdentifier:"); ffi.Pointer _objc_msgSend_921( @@ -26208,256 +32179,331 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer identifier, ) { - return __objc_msgSend_921( - obj, - sel, - identifier, - ); + return __objc_msgSend_921(obj, sel, identifier); } late final __objc_msgSend_921Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_921 = __objc_msgSend_921Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_921 = + __objc_msgSend_921Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_identifier1 = _registerName1("identifier"); late final _sel_requestCachePolicy1 = _registerName1("requestCachePolicy"); - late final _sel_setRequestCachePolicy_1 = - _registerName1("setRequestCachePolicy:"); - late final _sel_timeoutIntervalForRequest1 = - _registerName1("timeoutIntervalForRequest"); - late final _sel_setTimeoutIntervalForRequest_1 = - _registerName1("setTimeoutIntervalForRequest:"); - late final _sel_timeoutIntervalForResource1 = - _registerName1("timeoutIntervalForResource"); - late final _sel_setTimeoutIntervalForResource_1 = - _registerName1("setTimeoutIntervalForResource:"); - late final _sel_waitsForConnectivity1 = - _registerName1("waitsForConnectivity"); - late final _sel_setWaitsForConnectivity_1 = - _registerName1("setWaitsForConnectivity:"); + late final _sel_setRequestCachePolicy_1 = _registerName1( + "setRequestCachePolicy:", + ); + late final _sel_timeoutIntervalForRequest1 = _registerName1( + "timeoutIntervalForRequest", + ); + late final _sel_setTimeoutIntervalForRequest_1 = _registerName1( + "setTimeoutIntervalForRequest:", + ); + late final _sel_timeoutIntervalForResource1 = _registerName1( + "timeoutIntervalForResource", + ); + late final _sel_setTimeoutIntervalForResource_1 = _registerName1( + "setTimeoutIntervalForResource:", + ); + late final _sel_waitsForConnectivity1 = _registerName1( + "waitsForConnectivity", + ); + late final _sel_setWaitsForConnectivity_1 = _registerName1( + "setWaitsForConnectivity:", + ); late final _sel_isDiscretionary1 = _registerName1("isDiscretionary"); late final _sel_setDiscretionary_1 = _registerName1("setDiscretionary:"); - late final _sel_sharedContainerIdentifier1 = - _registerName1("sharedContainerIdentifier"); - late final _sel_setSharedContainerIdentifier_1 = - _registerName1("setSharedContainerIdentifier:"); - late final _sel_sessionSendsLaunchEvents1 = - _registerName1("sessionSendsLaunchEvents"); - late final _sel_setSessionSendsLaunchEvents_1 = - _registerName1("setSessionSendsLaunchEvents:"); - late final _sel_connectionProxyDictionary1 = - _registerName1("connectionProxyDictionary"); - late final _sel_setConnectionProxyDictionary_1 = - _registerName1("setConnectionProxyDictionary:"); - late final _sel_TLSMinimumSupportedProtocol1 = - _registerName1("TLSMinimumSupportedProtocol"); - int _objc_msgSend_922( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_922( - obj, - sel, - ); + late final _sel_sharedContainerIdentifier1 = _registerName1( + "sharedContainerIdentifier", + ); + late final _sel_setSharedContainerIdentifier_1 = _registerName1( + "setSharedContainerIdentifier:", + ); + late final _sel_sessionSendsLaunchEvents1 = _registerName1( + "sessionSendsLaunchEvents", + ); + late final _sel_setSessionSendsLaunchEvents_1 = _registerName1( + "setSessionSendsLaunchEvents:", + ); + late final _sel_connectionProxyDictionary1 = _registerName1( + "connectionProxyDictionary", + ); + late final _sel_setConnectionProxyDictionary_1 = _registerName1( + "setConnectionProxyDictionary:", + ); + late final _sel_TLSMinimumSupportedProtocol1 = _registerName1( + "TLSMinimumSupportedProtocol", + ); + int _objc_msgSend_922(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_922(obj, sel); } late final __objc_msgSend_922Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_922 = __objc_msgSend_922Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_922 = + __objc_msgSend_922Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setTLSMinimumSupportedProtocol_1 = - _registerName1("setTLSMinimumSupportedProtocol:"); + late final _sel_setTLSMinimumSupportedProtocol_1 = _registerName1( + "setTLSMinimumSupportedProtocol:", + ); void _objc_msgSend_923( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_923( - obj, - sel, - value, - ); + return __objc_msgSend_923(obj, sel, value); } late final __objc_msgSend_923Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_923 = __objc_msgSend_923Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_TLSMaximumSupportedProtocol1 = - _registerName1("TLSMaximumSupportedProtocol"); - late final _sel_setTLSMaximumSupportedProtocol_1 = - _registerName1("setTLSMaximumSupportedProtocol:"); - late final _sel_TLSMinimumSupportedProtocolVersion1 = - _registerName1("TLSMinimumSupportedProtocolVersion"); - int _objc_msgSend_924( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_924( - obj, - sel, - ); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_923 = + __objc_msgSend_923Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); + + late final _sel_TLSMaximumSupportedProtocol1 = _registerName1( + "TLSMaximumSupportedProtocol", + ); + late final _sel_setTLSMaximumSupportedProtocol_1 = _registerName1( + "setTLSMaximumSupportedProtocol:", + ); + late final _sel_TLSMinimumSupportedProtocolVersion1 = _registerName1( + "TLSMinimumSupportedProtocolVersion", + ); + int _objc_msgSend_924(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_924(obj, sel); } late final __objc_msgSend_924Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_924 = __objc_msgSend_924Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_924 = + __objc_msgSend_924Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setTLSMinimumSupportedProtocolVersion_1 = - _registerName1("setTLSMinimumSupportedProtocolVersion:"); + late final _sel_setTLSMinimumSupportedProtocolVersion_1 = _registerName1( + "setTLSMinimumSupportedProtocolVersion:", + ); void _objc_msgSend_925( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_925( - obj, - sel, - value, - ); + return __objc_msgSend_925(obj, sel, value); } late final __objc_msgSend_925Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_925 = __objc_msgSend_925Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_TLSMaximumSupportedProtocolVersion1 = - _registerName1("TLSMaximumSupportedProtocolVersion"); - late final _sel_setTLSMaximumSupportedProtocolVersion_1 = - _registerName1("setTLSMaximumSupportedProtocolVersion:"); - late final _sel_HTTPShouldSetCookies1 = - _registerName1("HTTPShouldSetCookies"); - late final _sel_setHTTPShouldSetCookies_1 = - _registerName1("setHTTPShouldSetCookies:"); - late final _sel_HTTPCookieAcceptPolicy1 = - _registerName1("HTTPCookieAcceptPolicy"); - late final _sel_setHTTPCookieAcceptPolicy_1 = - _registerName1("setHTTPCookieAcceptPolicy:"); - late final _sel_HTTPAdditionalHeaders1 = - _registerName1("HTTPAdditionalHeaders"); - late final _sel_setHTTPAdditionalHeaders_1 = - _registerName1("setHTTPAdditionalHeaders:"); - late final _sel_HTTPMaximumConnectionsPerHost1 = - _registerName1("HTTPMaximumConnectionsPerHost"); - late final _sel_setHTTPMaximumConnectionsPerHost_1 = - _registerName1("setHTTPMaximumConnectionsPerHost:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_925 = + __objc_msgSend_925Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); + + late final _sel_TLSMaximumSupportedProtocolVersion1 = _registerName1( + "TLSMaximumSupportedProtocolVersion", + ); + late final _sel_setTLSMaximumSupportedProtocolVersion_1 = _registerName1( + "setTLSMaximumSupportedProtocolVersion:", + ); + late final _sel_HTTPShouldSetCookies1 = _registerName1( + "HTTPShouldSetCookies", + ); + late final _sel_setHTTPShouldSetCookies_1 = _registerName1( + "setHTTPShouldSetCookies:", + ); + late final _sel_HTTPCookieAcceptPolicy1 = _registerName1( + "HTTPCookieAcceptPolicy", + ); + late final _sel_setHTTPCookieAcceptPolicy_1 = _registerName1( + "setHTTPCookieAcceptPolicy:", + ); + late final _sel_HTTPAdditionalHeaders1 = _registerName1( + "HTTPAdditionalHeaders", + ); + late final _sel_setHTTPAdditionalHeaders_1 = _registerName1( + "setHTTPAdditionalHeaders:", + ); + late final _sel_HTTPMaximumConnectionsPerHost1 = _registerName1( + "HTTPMaximumConnectionsPerHost", + ); + late final _sel_setHTTPMaximumConnectionsPerHost_1 = _registerName1( + "setHTTPMaximumConnectionsPerHost:", + ); late final _sel_HTTPCookieStorage1 = _registerName1("HTTPCookieStorage"); ffi.Pointer _objc_msgSend_926( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_926( - obj, - sel, - ); + return __objc_msgSend_926(obj, sel); } late final __objc_msgSend_926Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_926 = __objc_msgSend_926Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_926 = + __objc_msgSend_926Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setHTTPCookieStorage_1 = - _registerName1("setHTTPCookieStorage:"); + late final _sel_setHTTPCookieStorage_1 = _registerName1( + "setHTTPCookieStorage:", + ); void _objc_msgSend_927( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_927( - obj, - sel, - value, - ); + return __objc_msgSend_927(obj, sel, value); } late final __objc_msgSend_927Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_927 = __objc_msgSend_927Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_URLCredentialStorage1 = - _registerName1("URLCredentialStorage"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_927 = + __objc_msgSend_927Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_URLCredentialStorage1 = _registerName1( + "URLCredentialStorage", + ); ffi.Pointer _objc_msgSend_928( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_928( - obj, - sel, - ); + return __objc_msgSend_928(obj, sel); } late final __objc_msgSend_928Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_928 = __objc_msgSend_928Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_928 = + __objc_msgSend_928Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_setURLCredentialStorage_1 = - _registerName1("setURLCredentialStorage:"); + late final _sel_setURLCredentialStorage_1 = _registerName1( + "setURLCredentialStorage:", + ); void _objc_msgSend_929( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_929( - obj, - sel, - value, - ); + return __objc_msgSend_929(obj, sel, value); } late final __objc_msgSend_929Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_929 = __objc_msgSend_929Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_929 = + __objc_msgSend_929Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_URLCache1 = _registerName1("URLCache"); ffi.Pointer _objc_msgSend_930( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_930( - obj, - sel, - ); + return __objc_msgSend_930(obj, sel); } late final __objc_msgSend_930Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_930 = __objc_msgSend_930Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_930 = + __objc_msgSend_930Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_setURLCache_1 = _registerName1("setURLCache:"); void _objc_msgSend_931( @@ -26465,25 +32511,34 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_931( - obj, - sel, - value, - ); + return __objc_msgSend_931(obj, sel, value); } late final __objc_msgSend_931Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_931 = __objc_msgSend_931Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_shouldUseExtendedBackgroundIdleMode1 = - _registerName1("shouldUseExtendedBackgroundIdleMode"); - late final _sel_setShouldUseExtendedBackgroundIdleMode_1 = - _registerName1("setShouldUseExtendedBackgroundIdleMode:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_931 = + __objc_msgSend_931Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_shouldUseExtendedBackgroundIdleMode1 = _registerName1( + "shouldUseExtendedBackgroundIdleMode", + ); + late final _sel_setShouldUseExtendedBackgroundIdleMode_1 = _registerName1( + "setShouldUseExtendedBackgroundIdleMode:", + ); late final _sel_protocolClasses1 = _registerName1("protocolClasses"); late final _sel_setProtocolClasses_1 = _registerName1("setProtocolClasses:"); void _objc_msgSend_932( @@ -26491,84 +32546,104 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer value, ) { - return __objc_msgSend_932( - obj, - sel, - value, - ); + return __objc_msgSend_932(obj, sel, value); } late final __objc_msgSend_932Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_932 = __objc_msgSend_932Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_932 = + __objc_msgSend_932Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_multipathServiceType1 = - _registerName1("multipathServiceType"); - int _objc_msgSend_933( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_933( - obj, - sel, - ); + late final _sel_multipathServiceType1 = _registerName1( + "multipathServiceType", + ); + int _objc_msgSend_933(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_933(obj, sel); } late final __objc_msgSend_933Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_933 = __objc_msgSend_933Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_933 = + __objc_msgSend_933Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setMultipathServiceType_1 = - _registerName1("setMultipathServiceType:"); + late final _sel_setMultipathServiceType_1 = _registerName1( + "setMultipathServiceType:", + ); void _objc_msgSend_934( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_934( - obj, - sel, - value, - ); + return __objc_msgSend_934(obj, sel, value); } late final __objc_msgSend_934Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_934 = __objc_msgSend_934Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); - - late final _sel_backgroundSessionConfiguration_1 = - _registerName1("backgroundSessionConfiguration:"); - late final _sel_sessionWithConfiguration_1 = - _registerName1("sessionWithConfiguration:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_934 = + __objc_msgSend_934Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); + + late final _sel_backgroundSessionConfiguration_1 = _registerName1( + "backgroundSessionConfiguration:", + ); + late final _sel_sessionWithConfiguration_1 = _registerName1( + "sessionWithConfiguration:", + ); ffi.Pointer _objc_msgSend_935( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer configuration, ) { - return __objc_msgSend_935( - obj, - sel, - configuration, - ); + return __objc_msgSend_935(obj, sel, configuration); } late final __objc_msgSend_935Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_935 = __objc_msgSend_935Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_935 = + __objc_msgSend_935Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sessionWithConfiguration_delegate_delegateQueue_1 = _registerName1("sessionWithConfiguration:delegate:delegateQueue:"); @@ -26579,108 +32654,137 @@ class PedometerBindings { ffi.Pointer delegate, ffi.Pointer queue, ) { - return __objc_msgSend_936( - obj, - sel, - configuration, - delegate, - queue, - ); + return __objc_msgSend_936(obj, sel, configuration, delegate, queue); } late final __objc_msgSend_936Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_936 = + __objc_msgSend_936Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_936 = __objc_msgSend_936Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_delegateQueue1 = _registerName1("delegateQueue"); late final _sel_configuration1 = _registerName1("configuration"); late final _sel_sessionDescription1 = _registerName1("sessionDescription"); - late final _sel_setSessionDescription_1 = - _registerName1("setSessionDescription:"); - late final _sel_finishTasksAndInvalidate1 = - _registerName1("finishTasksAndInvalidate"); + late final _sel_setSessionDescription_1 = _registerName1( + "setSessionDescription:", + ); + late final _sel_finishTasksAndInvalidate1 = _registerName1( + "finishTasksAndInvalidate", + ); late final _sel_invalidateAndCancel1 = _registerName1("invalidateAndCancel"); - late final _sel_resetWithCompletionHandler_1 = - _registerName1("resetWithCompletionHandler:"); - late final _sel_flushWithCompletionHandler_1 = - _registerName1("flushWithCompletionHandler:"); - late final _sel_getTasksWithCompletionHandler_1 = - _registerName1("getTasksWithCompletionHandler:"); + late final _sel_resetWithCompletionHandler_1 = _registerName1( + "resetWithCompletionHandler:", + ); + late final _sel_flushWithCompletionHandler_1 = _registerName1( + "flushWithCompletionHandler:", + ); + late final _sel_getTasksWithCompletionHandler_1 = _registerName1( + "getTasksWithCompletionHandler:", + ); void _objc_msgSend_937( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_937( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_937(obj, sel, completionHandler); } late final __objc_msgSend_937Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_937 = __objc_msgSend_937Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_getAllTasksWithCompletionHandler_1 = - _registerName1("getAllTasksWithCompletionHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_937 = + __objc_msgSend_937Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_getAllTasksWithCompletionHandler_1 = _registerName1( + "getAllTasksWithCompletionHandler:", + ); void _objc_msgSend_938( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_938( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_938(obj, sel, completionHandler); } late final __objc_msgSend_938Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_938 = __objc_msgSend_938Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_dataTaskWithRequest_1 = - _registerName1("dataTaskWithRequest:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_938 = + __objc_msgSend_938Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_dataTaskWithRequest_1 = _registerName1( + "dataTaskWithRequest:", + ); ffi.Pointer _objc_msgSend_939( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ) { - return __objc_msgSend_939( - obj, - sel, - request, - ); + return __objc_msgSend_939(obj, sel, request); } late final __objc_msgSend_939Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_939 = __objc_msgSend_939Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_939 = + __objc_msgSend_939Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_dataTaskWithURL_1 = _registerName1("dataTaskWithURL:"); ffi.Pointer _objc_msgSend_940( @@ -26688,222 +32792,287 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_940( - obj, - sel, - url, - ); + return __objc_msgSend_940(obj, sel, url); } late final __objc_msgSend_940Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_940 = __objc_msgSend_940Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionUploadTask1 = - _getClass1("NSURLSessionUploadTask"); - late final _sel_cancelByProducingResumeData_1 = - _registerName1("cancelByProducingResumeData:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_940 = + __objc_msgSend_940Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionUploadTask1 = _getClass1( + "NSURLSessionUploadTask", + ); + late final _sel_cancelByProducingResumeData_1 = _registerName1( + "cancelByProducingResumeData:", + ); void _objc_msgSend_941( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_941( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_941(obj, sel, completionHandler); } late final __objc_msgSend_941Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_941 = __objc_msgSend_941Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_uploadTaskWithRequest_fromFile_1 = - _registerName1("uploadTaskWithRequest:fromFile:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_941 = + __objc_msgSend_941Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_uploadTaskWithRequest_fromFile_1 = _registerName1( + "uploadTaskWithRequest:fromFile:", + ); ffi.Pointer _objc_msgSend_942( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ffi.Pointer fileURL, ) { - return __objc_msgSend_942( - obj, - sel, - request, - fileURL, - ); + return __objc_msgSend_942(obj, sel, request, fileURL); } late final __objc_msgSend_942Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_942 = + __objc_msgSend_942Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_942 = __objc_msgSend_942Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_uploadTaskWithRequest_fromData_1 = - _registerName1("uploadTaskWithRequest:fromData:"); + late final _sel_uploadTaskWithRequest_fromData_1 = _registerName1( + "uploadTaskWithRequest:fromData:", + ); ffi.Pointer _objc_msgSend_943( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ffi.Pointer bodyData, ) { - return __objc_msgSend_943( - obj, - sel, - request, - bodyData, - ); + return __objc_msgSend_943(obj, sel, request, bodyData); } late final __objc_msgSend_943Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_943 = + __objc_msgSend_943Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_943 = __objc_msgSend_943Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_uploadTaskWithResumeData_1 = - _registerName1("uploadTaskWithResumeData:"); + late final _sel_uploadTaskWithResumeData_1 = _registerName1( + "uploadTaskWithResumeData:", + ); ffi.Pointer _objc_msgSend_944( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer resumeData, ) { - return __objc_msgSend_944( - obj, - sel, - resumeData, - ); + return __objc_msgSend_944(obj, sel, resumeData); } late final __objc_msgSend_944Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_944 = __objc_msgSend_944Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_uploadTaskWithStreamedRequest_1 = - _registerName1("uploadTaskWithStreamedRequest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_944 = + __objc_msgSend_944Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_uploadTaskWithStreamedRequest_1 = _registerName1( + "uploadTaskWithStreamedRequest:", + ); ffi.Pointer _objc_msgSend_945( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ) { - return __objc_msgSend_945( - obj, - sel, - request, - ); + return __objc_msgSend_945(obj, sel, request); } late final __objc_msgSend_945Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_945 = __objc_msgSend_945Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionDownloadTask1 = - _getClass1("NSURLSessionDownloadTask"); - late final _sel_downloadTaskWithRequest_1 = - _registerName1("downloadTaskWithRequest:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_945 = + __objc_msgSend_945Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionDownloadTask1 = _getClass1( + "NSURLSessionDownloadTask", + ); + late final _sel_downloadTaskWithRequest_1 = _registerName1( + "downloadTaskWithRequest:", + ); ffi.Pointer _objc_msgSend_946( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ) { - return __objc_msgSend_946( - obj, - sel, - request, - ); + return __objc_msgSend_946(obj, sel, request); } late final __objc_msgSend_946Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_946 = __objc_msgSend_946Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_downloadTaskWithURL_1 = - _registerName1("downloadTaskWithURL:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_946 = + __objc_msgSend_946Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithURL_1 = _registerName1( + "downloadTaskWithURL:", + ); ffi.Pointer _objc_msgSend_947( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_947( - obj, - sel, - url, - ); + return __objc_msgSend_947(obj, sel, url); } late final __objc_msgSend_947Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_947 = __objc_msgSend_947Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_downloadTaskWithResumeData_1 = - _registerName1("downloadTaskWithResumeData:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_947 = + __objc_msgSend_947Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_downloadTaskWithResumeData_1 = _registerName1( + "downloadTaskWithResumeData:", + ); ffi.Pointer _objc_msgSend_948( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer resumeData, ) { - return __objc_msgSend_948( - obj, - sel, - resumeData, - ); + return __objc_msgSend_948(obj, sel, resumeData); } late final __objc_msgSend_948Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_948 = __objc_msgSend_948Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _class_NSURLSessionStreamTask1 = - _getClass1("NSURLSessionStreamTask"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_948 = + __objc_msgSend_948Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _class_NSURLSessionStreamTask1 = _getClass1( + "NSURLSessionStreamTask", + ); late final _sel_readDataOfMinLength_maxLength_timeout_completionHandler_1 = _registerName1( - "readDataOfMinLength:maxLength:timeout:completionHandler:"); + "readDataOfMinLength:maxLength:timeout:completionHandler:", + ); void _objc_msgSend_949( ffi.Pointer obj, ffi.Pointer sel, @@ -26923,20 +33092,33 @@ class PedometerBindings { } late final __objc_msgSend_949Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.UnsignedLong, + ffi.UnsignedLong, + ffi.Double, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_949 = + __objc_msgSend_949Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.UnsignedLong, - ffi.UnsignedLong, - ffi.Double, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_949 = __objc_msgSend_949Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, int, - double, ffi.Pointer<_ObjCBlock>)>(); + int, + int, + double, + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_writeData_timeout_completionHandler_1 = - _registerName1("writeData:timeout:completionHandler:"); + late final _sel_writeData_timeout_completionHandler_1 = _registerName1( + "writeData:timeout:completionHandler:", + ); void _objc_msgSend_950( ffi.Pointer obj, ffi.Pointer sel, @@ -26944,64 +33126,78 @@ class PedometerBindings { double timeout, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_950( - obj, - sel, - data, - timeout, - completionHandler, - ); + return __objc_msgSend_950(obj, sel, data, timeout, completionHandler); } late final __objc_msgSend_950Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_950 = + __objc_msgSend_950Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Double, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_950 = __objc_msgSend_950Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, double, ffi.Pointer<_ObjCBlock>)>(); + double, + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_captureStreams1 = _registerName1("captureStreams"); late final _sel_closeWrite1 = _registerName1("closeWrite"); late final _sel_closeRead1 = _registerName1("closeRead"); - late final _sel_startSecureConnection1 = - _registerName1("startSecureConnection"); - late final _sel_stopSecureConnection1 = - _registerName1("stopSecureConnection"); - late final _sel_streamTaskWithHostName_port_1 = - _registerName1("streamTaskWithHostName:port:"); + late final _sel_startSecureConnection1 = _registerName1( + "startSecureConnection", + ); + late final _sel_stopSecureConnection1 = _registerName1( + "stopSecureConnection", + ); + late final _sel_streamTaskWithHostName_port_1 = _registerName1( + "streamTaskWithHostName:port:", + ); ffi.Pointer _objc_msgSend_951( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer hostname, int port, ) { - return __objc_msgSend_951( - obj, - sel, - hostname, - port, - ); + return __objc_msgSend_951(obj, sel, hostname, port); } late final __objc_msgSend_951Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_951 = + __objc_msgSend_951Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long)>>('objc_msgSend'); - late final __objc_msgSend_951 = __objc_msgSend_951Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer, int)>(); + int, + ) + >(); late final _class_NSNetService1 = _getClass1("NSNetService"); - late final _sel_initWithDomain_type_name_port_1 = - _registerName1("initWithDomain:type:name:port:"); + late final _sel_initWithDomain_type_name_port_1 = _registerName1( + "initWithDomain:type:name:port:", + ); instancetype _objc_msgSend_952( ffi.Pointer obj, ffi.Pointer sel, @@ -27010,36 +33206,37 @@ class PedometerBindings { ffi.Pointer name, int port, ) { - return __objc_msgSend_952( - obj, - sel, - domain, - type, - name, - port, - ); + return __objc_msgSend_952(obj, sel, domain, type, name, port); } late final __objc_msgSend_952Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Int, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_952 = + __objc_msgSend_952Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Int)>>('objc_msgSend'); - late final __objc_msgSend_952 = __objc_msgSend_952Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - int)>(); + int, + ) + >(); - late final _sel_initWithDomain_type_name_1 = - _registerName1("initWithDomain:type:name:"); + late final _sel_initWithDomain_type_name_1 = _registerName1( + "initWithDomain:type:name:", + ); instancetype _objc_msgSend_953( ffi.Pointer obj, ffi.Pointer sel, @@ -27047,34 +33244,36 @@ class PedometerBindings { ffi.Pointer type, ffi.Pointer name, ) { - return __objc_msgSend_953( - obj, - sel, - domain, - type, - name, - ); + return __objc_msgSend_953(obj, sel, domain, type, name); } late final __objc_msgSend_953Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_953 = + __objc_msgSend_953Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_953 = __objc_msgSend_953Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_includesPeerToPeer1 = _registerName1("includesPeerToPeer"); - late final _sel_setIncludesPeerToPeer_1 = - _registerName1("setIncludesPeerToPeer:"); + late final _sel_setIncludesPeerToPeer_1 = _registerName1( + "setIncludesPeerToPeer:", + ); late final _sel_type1 = _registerName1("type"); late final _sel_addresses1 = _registerName1("addresses"); late final _sel_publishWithOptions_1 = _registerName1("publishWithOptions:"); @@ -27083,96 +33282,119 @@ class PedometerBindings { ffi.Pointer sel, int options, ) { - return __objc_msgSend_954( - obj, - sel, - options, - ); + return __objc_msgSend_954(obj, sel, options); } late final __objc_msgSend_954Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_954 = __objc_msgSend_954Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_954 = + __objc_msgSend_954Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_resolve1 = _registerName1("resolve"); late final _sel_stop1 = _registerName1("stop"); - late final _sel_dictionaryFromTXTRecordData_1 = - _registerName1("dictionaryFromTXTRecordData:"); + late final _sel_dictionaryFromTXTRecordData_1 = _registerName1( + "dictionaryFromTXTRecordData:", + ); ffi.Pointer _objc_msgSend_955( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer txtData, ) { - return __objc_msgSend_955( - obj, - sel, - txtData, - ); + return __objc_msgSend_955(obj, sel, txtData); } late final __objc_msgSend_955Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_955 = __objc_msgSend_955Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dataFromTXTRecordDictionary_1 = - _registerName1("dataFromTXTRecordDictionary:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_955 = + __objc_msgSend_955Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataFromTXTRecordDictionary_1 = _registerName1( + "dataFromTXTRecordDictionary:", + ); ffi.Pointer _objc_msgSend_956( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer txtDictionary, ) { - return __objc_msgSend_956( - obj, - sel, - txtDictionary, - ); + return __objc_msgSend_956(obj, sel, txtDictionary); } late final __objc_msgSend_956Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_956 = __objc_msgSend_956Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_956 = + __objc_msgSend_956Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_resolveWithTimeout_1 = _registerName1("resolveWithTimeout:"); - late final _sel_getInputStream_outputStream_1 = - _registerName1("getInputStream:outputStream:"); + late final _sel_getInputStream_outputStream_1 = _registerName1( + "getInputStream:outputStream:", + ); bool _objc_msgSend_957( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer> inputStream, ffi.Pointer> outputStream, ) { - return __objc_msgSend_957( - obj, - sel, - inputStream, - outputStream, - ); + return __objc_msgSend_957(obj, sel, inputStream, outputStream); } late final __objc_msgSend_957Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function( + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer>, + ffi.Pointer>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_957 = + __objc_msgSend_957Ptr + .asFunction< + bool Function( ffi.Pointer, ffi.Pointer, ffi.Pointer>, - ffi.Pointer>)>>('objc_msgSend'); - late final __objc_msgSend_957 = __objc_msgSend_957Ptr.asFunction< - bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer>, - ffi.Pointer>)>(); + ffi.Pointer>, + ) + >(); late final _sel_setTXTRecordData_1 = _registerName1("setTXTRecordData:"); bool _objc_msgSend_958( @@ -27180,317 +33402,387 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer recordData, ) { - return __objc_msgSend_958( - obj, - sel, - recordData, - ); + return __objc_msgSend_958(obj, sel, recordData); } late final __objc_msgSend_958Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_958 = __objc_msgSend_958Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_958 = + __objc_msgSend_958Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_TXTRecordData1 = _registerName1("TXTRecordData"); late final _sel_startMonitoring1 = _registerName1("startMonitoring"); late final _sel_stopMonitoring1 = _registerName1("stopMonitoring"); - late final _sel_streamTaskWithNetService_1 = - _registerName1("streamTaskWithNetService:"); + late final _sel_streamTaskWithNetService_1 = _registerName1( + "streamTaskWithNetService:", + ); ffi.Pointer _objc_msgSend_959( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer service, ) { - return __objc_msgSend_959( - obj, - sel, - service, - ); + return __objc_msgSend_959(obj, sel, service); } late final __objc_msgSend_959Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_959 = __objc_msgSend_959Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_959 = + __objc_msgSend_959Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _class_NSURLSessionWebSocketTask1 = - _getClass1("NSURLSessionWebSocketTask"); - late final _class_NSURLSessionWebSocketMessage1 = - _getClass1("NSURLSessionWebSocketMessage"); - int _objc_msgSend_960( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_960( - obj, - sel, - ); + late final _class_NSURLSessionWebSocketTask1 = _getClass1( + "NSURLSessionWebSocketTask", + ); + late final _class_NSURLSessionWebSocketMessage1 = _getClass1( + "NSURLSessionWebSocketMessage", + ); + int _objc_msgSend_960(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_960(obj, sel); } late final __objc_msgSend_960Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_960 = __objc_msgSend_960Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_960 = + __objc_msgSend_960Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_sendMessage_completionHandler_1 = - _registerName1("sendMessage:completionHandler:"); + late final _sel_sendMessage_completionHandler_1 = _registerName1( + "sendMessage:completionHandler:", + ); void _objc_msgSend_961( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer message, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_961( - obj, - sel, - message, - completionHandler, - ); + return __objc_msgSend_961(obj, sel, message, completionHandler); } late final __objc_msgSend_961Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_961 = + __objc_msgSend_961Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_961 = __objc_msgSend_961Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_receiveMessageWithCompletionHandler_1 = - _registerName1("receiveMessageWithCompletionHandler:"); + late final _sel_receiveMessageWithCompletionHandler_1 = _registerName1( + "receiveMessageWithCompletionHandler:", + ); void _objc_msgSend_962( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_962( - obj, - sel, - completionHandler, - ); + return __objc_msgSend_962(obj, sel, completionHandler); } late final __objc_msgSend_962Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_962 = __objc_msgSend_962Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_sendPingWithPongReceiveHandler_1 = - _registerName1("sendPingWithPongReceiveHandler:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_962 = + __objc_msgSend_962Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_sendPingWithPongReceiveHandler_1 = _registerName1( + "sendPingWithPongReceiveHandler:", + ); void _objc_msgSend_963( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> pongReceiveHandler, ) { - return __objc_msgSend_963( - obj, - sel, - pongReceiveHandler, - ); + return __objc_msgSend_963(obj, sel, pongReceiveHandler); } late final __objc_msgSend_963Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_963 = __objc_msgSend_963Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_cancelWithCloseCode_reason_1 = - _registerName1("cancelWithCloseCode:reason:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_963 = + __objc_msgSend_963Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_cancelWithCloseCode_reason_1 = _registerName1( + "cancelWithCloseCode:reason:", + ); void _objc_msgSend_964( ffi.Pointer obj, ffi.Pointer sel, int closeCode, ffi.Pointer reason, ) { - return __objc_msgSend_964( - obj, - sel, - closeCode, - reason, - ); + return __objc_msgSend_964(obj, sel, closeCode, reason); } late final __objc_msgSend_964Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_964 = __objc_msgSend_964Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_964 = + __objc_msgSend_964Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + int, + ffi.Pointer, + ) + >(); late final _sel_maximumMessageSize1 = _registerName1("maximumMessageSize"); - late final _sel_setMaximumMessageSize_1 = - _registerName1("setMaximumMessageSize:"); + late final _sel_setMaximumMessageSize_1 = _registerName1( + "setMaximumMessageSize:", + ); late final _sel_closeCode1 = _registerName1("closeCode"); - int _objc_msgSend_965( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_965( - obj, - sel, - ); + int _objc_msgSend_965(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_965(obj, sel); } late final __objc_msgSend_965Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_965 = __objc_msgSend_965Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_965 = + __objc_msgSend_965Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_closeReason1 = _registerName1("closeReason"); - late final _sel_webSocketTaskWithURL_1 = - _registerName1("webSocketTaskWithURL:"); + late final _sel_webSocketTaskWithURL_1 = _registerName1( + "webSocketTaskWithURL:", + ); ffi.Pointer _objc_msgSend_966( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ) { - return __objc_msgSend_966( - obj, - sel, - url, - ); + return __objc_msgSend_966(obj, sel, url); } late final __objc_msgSend_966Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_966 = __objc_msgSend_966Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_webSocketTaskWithURL_protocols_1 = - _registerName1("webSocketTaskWithURL:protocols:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_966 = + __objc_msgSend_966Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_webSocketTaskWithURL_protocols_1 = _registerName1( + "webSocketTaskWithURL:protocols:", + ); ffi.Pointer _objc_msgSend_967( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ffi.Pointer protocols, ) { - return __objc_msgSend_967( - obj, - sel, - url, - protocols, - ); + return __objc_msgSend_967(obj, sel, url, protocols); } late final __objc_msgSend_967Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_967 = + __objc_msgSend_967Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_967 = __objc_msgSend_967Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_webSocketTaskWithRequest_1 = - _registerName1("webSocketTaskWithRequest:"); + late final _sel_webSocketTaskWithRequest_1 = _registerName1( + "webSocketTaskWithRequest:", + ); ffi.Pointer _objc_msgSend_968( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ) { - return __objc_msgSend_968( - obj, - sel, - request, - ); + return __objc_msgSend_968(obj, sel, request); } late final __objc_msgSend_968Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_968 = __objc_msgSend_968Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_dataTaskWithRequest_completionHandler_1 = - _registerName1("dataTaskWithRequest:completionHandler:"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_968 = + __objc_msgSend_968Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_dataTaskWithRequest_completionHandler_1 = _registerName1( + "dataTaskWithRequest:completionHandler:", + ); ffi.Pointer _objc_msgSend_969( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_969( - obj, - sel, - request, - completionHandler, - ); + return __objc_msgSend_969(obj, sel, request, completionHandler); } late final __objc_msgSend_969Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_969 = + __objc_msgSend_969Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_969 = __objc_msgSend_969Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_dataTaskWithURL_completionHandler_1 = - _registerName1("dataTaskWithURL:completionHandler:"); + late final _sel_dataTaskWithURL_completionHandler_1 = _registerName1( + "dataTaskWithURL:completionHandler:", + ); ffi.Pointer _objc_msgSend_970( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_970( - obj, - sel, - url, - completionHandler, - ); + return __objc_msgSend_970(obj, sel, url, completionHandler); } late final __objc_msgSend_970Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_970 = + __objc_msgSend_970Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_970 = __objc_msgSend_970Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_uploadTaskWithRequest_fromFile_completionHandler_1 = _registerName1("uploadTaskWithRequest:fromFile:completionHandler:"); @@ -27501,30 +33793,31 @@ class PedometerBindings { ffi.Pointer fileURL, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_971( - obj, - sel, - request, - fileURL, - completionHandler, - ); + return __objc_msgSend_971(obj, sel, request, fileURL, completionHandler); } late final __objc_msgSend_971Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_971 = + __objc_msgSend_971Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_971 = __objc_msgSend_971Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_uploadTaskWithRequest_fromData_completionHandler_1 = _registerName1("uploadTaskWithRequest:fromData:completionHandler:"); @@ -27535,120 +33828,130 @@ class PedometerBindings { ffi.Pointer bodyData, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_972( - obj, - sel, - request, - bodyData, - completionHandler, - ); + return __objc_msgSend_972(obj, sel, request, bodyData, completionHandler); } late final __objc_msgSend_972Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_972 = + __objc_msgSend_972Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_972 = __objc_msgSend_972Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_uploadTaskWithResumeData_completionHandler_1 = - _registerName1("uploadTaskWithResumeData:completionHandler:"); + late final _sel_uploadTaskWithResumeData_completionHandler_1 = _registerName1( + "uploadTaskWithResumeData:completionHandler:", + ); ffi.Pointer _objc_msgSend_973( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer resumeData, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_973( - obj, - sel, - resumeData, - completionHandler, - ); + return __objc_msgSend_973(obj, sel, resumeData, completionHandler); } late final __objc_msgSend_973Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_973 = + __objc_msgSend_973Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_973 = __objc_msgSend_973Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_downloadTaskWithRequest_completionHandler_1 = - _registerName1("downloadTaskWithRequest:completionHandler:"); + late final _sel_downloadTaskWithRequest_completionHandler_1 = _registerName1( + "downloadTaskWithRequest:completionHandler:", + ); ffi.Pointer _objc_msgSend_974( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer request, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_974( - obj, - sel, - request, - completionHandler, - ); + return __objc_msgSend_974(obj, sel, request, completionHandler); } late final __objc_msgSend_974Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_974 = + __objc_msgSend_974Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_974 = __objc_msgSend_974Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_downloadTaskWithURL_completionHandler_1 = - _registerName1("downloadTaskWithURL:completionHandler:"); + late final _sel_downloadTaskWithURL_completionHandler_1 = _registerName1( + "downloadTaskWithURL:completionHandler:", + ); ffi.Pointer _objc_msgSend_975( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer url, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_975( - obj, - sel, - url, - completionHandler, - ); + return __objc_msgSend_975(obj, sel, url, completionHandler); } late final __objc_msgSend_975Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_975 = + __objc_msgSend_975Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_975 = __objc_msgSend_975Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_downloadTaskWithResumeData_completionHandler_1 = _registerName1("downloadTaskWithResumeData:completionHandler:"); @@ -27658,55 +33961,58 @@ class PedometerBindings { ffi.Pointer resumeData, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_976( - obj, - sel, - resumeData, - completionHandler, - ); + return __objc_msgSend_976(obj, sel, resumeData, completionHandler); } late final __objc_msgSend_976Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_976 = + __objc_msgSend_976Ptr + .asFunction< + ffi.Pointer Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_976 = __objc_msgSend_976Ptr.asFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _class_CMPedometer1 = _getClass1("CMPedometer"); - late final _sel_isStepCountingAvailable1 = - _registerName1("isStepCountingAvailable"); + late final _sel_isStepCountingAvailable1 = _registerName1( + "isStepCountingAvailable", + ); late final _sel_isDistanceAvailable1 = _registerName1("isDistanceAvailable"); - late final _sel_isFloorCountingAvailable1 = - _registerName1("isFloorCountingAvailable"); + late final _sel_isFloorCountingAvailable1 = _registerName1( + "isFloorCountingAvailable", + ); late final _sel_isPaceAvailable1 = _registerName1("isPaceAvailable"); late final _sel_isCadenceAvailable1 = _registerName1("isCadenceAvailable"); - late final _sel_isPedometerEventTrackingAvailable1 = - _registerName1("isPedometerEventTrackingAvailable"); + late final _sel_isPedometerEventTrackingAvailable1 = _registerName1( + "isPedometerEventTrackingAvailable", + ); late final _sel_authorizationStatus1 = _registerName1("authorizationStatus"); - int _objc_msgSend_977( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_977( - obj, - sel, - ); + int _objc_msgSend_977(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_977(obj, sel); } late final __objc_msgSend_977Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_977 = __objc_msgSend_977Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_977 = + __objc_msgSend_977Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _class_CMPedometerData1 = _getClass1("CMPedometerData"); late final _sel_startDate1 = _registerName1("startDate"); @@ -27727,172 +34033,187 @@ class PedometerBindings { ffi.Pointer end, ffi.Pointer<_ObjCBlock> handler, ) { - return __objc_msgSend_978( - obj, - sel, - start, - end, - handler, - ); + return __objc_msgSend_978(obj, sel, start, end, handler); } late final __objc_msgSend_978Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_978 = + __objc_msgSend_978Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_978 = __objc_msgSend_978Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_startPedometerUpdatesFromDate_withHandler_1 = - _registerName1("startPedometerUpdatesFromDate:withHandler:"); + late final _sel_startPedometerUpdatesFromDate_withHandler_1 = _registerName1( + "startPedometerUpdatesFromDate:withHandler:", + ); void _objc_msgSend_979( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer start, ffi.Pointer<_ObjCBlock> handler, ) { - return __objc_msgSend_979( - obj, - sel, - start, - handler, - ); + return __objc_msgSend_979(obj, sel, start, handler); } late final __objc_msgSend_979Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_979 = + __objc_msgSend_979Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_979 = __objc_msgSend_979Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_stopPedometerUpdates1 = - _registerName1("stopPedometerUpdates"); + late final _sel_stopPedometerUpdates1 = _registerName1( + "stopPedometerUpdates", + ); late final _class_CMPedometerEvent1 = _getClass1("CMPedometerEvent"); - int _objc_msgSend_980( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_980( - obj, - sel, - ); + int _objc_msgSend_980(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_980(obj, sel); } late final __objc_msgSend_980Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_980 = __objc_msgSend_980Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_980 = + __objc_msgSend_980Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_startPedometerEventUpdatesWithHandler_1 = - _registerName1("startPedometerEventUpdatesWithHandler:"); + late final _sel_startPedometerEventUpdatesWithHandler_1 = _registerName1( + "startPedometerEventUpdatesWithHandler:", + ); void _objc_msgSend_981( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer<_ObjCBlock> handler, ) { - return __objc_msgSend_981( - obj, - sel, - handler, - ); + return __objc_msgSend_981(obj, sel, handler); } late final __objc_msgSend_981Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_981 = __objc_msgSend_981Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_stopPedometerEventUpdates1 = - _registerName1("stopPedometerEventUpdates"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_981 = + __objc_msgSend_981Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_stopPedometerEventUpdates1 = _registerName1( + "stopPedometerEventUpdates", + ); late final _class_CLLocationManager1 = _getClass1("CLLocationManager"); - late final _sel_locationServicesEnabled1 = - _registerName1("locationServicesEnabled"); + late final _sel_locationServicesEnabled1 = _registerName1( + "locationServicesEnabled", + ); late final _sel_headingAvailable1 = _registerName1("headingAvailable"); late final _sel_significantLocationChangeMonitoringAvailable1 = _registerName1("significantLocationChangeMonitoringAvailable"); - late final _sel_isMonitoringAvailableForClass_1 = - _registerName1("isMonitoringAvailableForClass:"); - late final _sel_regionMonitoringAvailable1 = - _registerName1("regionMonitoringAvailable"); - late final _sel_regionMonitoringEnabled1 = - _registerName1("regionMonitoringEnabled"); + late final _sel_isMonitoringAvailableForClass_1 = _registerName1( + "isMonitoringAvailableForClass:", + ); + late final _sel_regionMonitoringAvailable1 = _registerName1( + "regionMonitoringAvailable", + ); + late final _sel_regionMonitoringEnabled1 = _registerName1( + "regionMonitoringEnabled", + ); late final _sel_isRangingAvailable1 = _registerName1("isRangingAvailable"); - int _objc_msgSend_982( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_982( - obj, - sel, - ); + int _objc_msgSend_982(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_982(obj, sel); } late final __objc_msgSend_982Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_982 = __objc_msgSend_982Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_982 = + __objc_msgSend_982Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_accuracyAuthorization1 = - _registerName1("accuracyAuthorization"); - int _objc_msgSend_983( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_983( - obj, - sel, - ); + late final _sel_accuracyAuthorization1 = _registerName1( + "accuracyAuthorization", + ); + int _objc_msgSend_983(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_983(obj, sel); } late final __objc_msgSend_983Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_983 = __objc_msgSend_983Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_983 = + __objc_msgSend_983Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_isAuthorizedForWidgetUpdates1 = - _registerName1("isAuthorizedForWidgetUpdates"); + late final _sel_isAuthorizedForWidgetUpdates1 = _registerName1( + "isAuthorizedForWidgetUpdates", + ); late final _sel_purpose1 = _registerName1("purpose"); late final _sel_setPurpose_1 = _registerName1("setPurpose:"); late final _sel_activityType1 = _registerName1("activityType"); - int _objc_msgSend_984( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_984( - obj, - sel, - ); + int _objc_msgSend_984(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_984(obj, sel); } late final __objc_msgSend_984Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_984 = __objc_msgSend_984Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_984 = + __objc_msgSend_984Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); late final _sel_setActivityType_1 = _registerName1("setActivityType:"); void _objc_msgSend_985( @@ -27900,64 +34221,84 @@ class PedometerBindings { ffi.Pointer sel, int value, ) { - return __objc_msgSend_985( - obj, - sel, - value, - ); + return __objc_msgSend_985(obj, sel, value); } late final __objc_msgSend_985Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_985 = __objc_msgSend_985Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_985 = + __objc_msgSend_985Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _sel_distanceFilter1 = _registerName1("distanceFilter"); late final _sel_setDistanceFilter_1 = _registerName1("setDistanceFilter:"); late final _sel_desiredAccuracy1 = _registerName1("desiredAccuracy"); late final _sel_setDesiredAccuracy_1 = _registerName1("setDesiredAccuracy:"); - late final _sel_pausesLocationUpdatesAutomatically1 = - _registerName1("pausesLocationUpdatesAutomatically"); - late final _sel_setPausesLocationUpdatesAutomatically_1 = - _registerName1("setPausesLocationUpdatesAutomatically:"); - late final _sel_allowsBackgroundLocationUpdates1 = - _registerName1("allowsBackgroundLocationUpdates"); - late final _sel_setAllowsBackgroundLocationUpdates_1 = - _registerName1("setAllowsBackgroundLocationUpdates:"); - late final _sel_showsBackgroundLocationIndicator1 = - _registerName1("showsBackgroundLocationIndicator"); - late final _sel_setShowsBackgroundLocationIndicator_1 = - _registerName1("setShowsBackgroundLocationIndicator:"); + late final _sel_pausesLocationUpdatesAutomatically1 = _registerName1( + "pausesLocationUpdatesAutomatically", + ); + late final _sel_setPausesLocationUpdatesAutomatically_1 = _registerName1( + "setPausesLocationUpdatesAutomatically:", + ); + late final _sel_allowsBackgroundLocationUpdates1 = _registerName1( + "allowsBackgroundLocationUpdates", + ); + late final _sel_setAllowsBackgroundLocationUpdates_1 = _registerName1( + "setAllowsBackgroundLocationUpdates:", + ); + late final _sel_showsBackgroundLocationIndicator1 = _registerName1( + "showsBackgroundLocationIndicator", + ); + late final _sel_setShowsBackgroundLocationIndicator_1 = _registerName1( + "setShowsBackgroundLocationIndicator:", + ); late final _class_CLLocation1 = _getClass1("CLLocation"); - late final _sel_initWithLatitude_longitude_1 = - _registerName1("initWithLatitude:longitude:"); + late final _sel_initWithLatitude_longitude_1 = _registerName1( + "initWithLatitude:longitude:", + ); instancetype _objc_msgSend_986( ffi.Pointer obj, ffi.Pointer sel, double latitude, double longitude, ) { - return __objc_msgSend_986( - obj, - sel, - latitude, - longitude, - ); + return __objc_msgSend_986(obj, sel, latitude, longitude); } late final __objc_msgSend_986Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_986 = __objc_msgSend_986Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, double, double)>(); + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_986 = + __objc_msgSend_986Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + double, + double, + ) + >(); late final _sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_timestamp_1 = _registerName1( - "initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:"); + "initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:timestamp:", + ); instancetype _objc_msgSend_987( ffi.Pointer obj, ffi.Pointer sel, @@ -27979,28 +34320,36 @@ class PedometerBindings { } late final __objc_msgSend_987Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_987 = + __objc_msgSend_987Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, CLLocationCoordinate2D, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_987 = __objc_msgSend_987Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - double, - double, - ffi.Pointer)>(); + double, + double, + double, + ffi.Pointer, + ) + >(); late final _sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_speed_timestamp_1 = _registerName1( - "initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:"); + "initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:speed:timestamp:", + ); instancetype _objc_msgSend_988( ffi.Pointer obj, ffi.Pointer sel, @@ -28026,32 +34375,40 @@ class PedometerBindings { } late final __objc_msgSend_988Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_988 = + __objc_msgSend_988Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, CLLocationCoordinate2D, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_988 = __objc_msgSend_988Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - double, - double, - double, - double, - ffi.Pointer)>(); + double, + double, + double, + double, + double, + ffi.Pointer, + ) + >(); late final _sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_1 = _registerName1( - "initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:"); + "initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:", + ); instancetype _objc_msgSend_989( ffi.Pointer obj, ffi.Pointer sel, @@ -28081,67 +34438,87 @@ class PedometerBindings { } late final __objc_msgSend_989Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_989 = + __objc_msgSend_989Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, CLLocationCoordinate2D, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_989 = __objc_msgSend_989Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - double, - double, - double, - double, - double, - double, - ffi.Pointer)>(); - - late final _class_CLLocationSourceInformation1 = - _getClass1("CLLocationSourceInformation"); + double, + double, + double, + double, + double, + double, + double, + ffi.Pointer, + ) + >(); + + late final _class_CLLocationSourceInformation1 = _getClass1( + "CLLocationSourceInformation", + ); late final _sel_initWithSoftwareSimulationState_andExternalAccessoryState_1 = _registerName1( - "initWithSoftwareSimulationState:andExternalAccessoryState:"); + "initWithSoftwareSimulationState:andExternalAccessoryState:", + ); instancetype _objc_msgSend_990( ffi.Pointer obj, ffi.Pointer sel, bool isSoftware, bool isAccessory, ) { - return __objc_msgSend_990( - obj, - sel, - isSoftware, - isAccessory, - ); + return __objc_msgSend_990(obj, sel, isSoftware, isAccessory); } late final __objc_msgSend_990Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Bool, ffi.Bool)>>('objc_msgSend'); - late final __objc_msgSend_990 = __objc_msgSend_990Ptr.asFunction< + ffi.NativeFunction< instancetype Function( - ffi.Pointer, ffi.Pointer, bool, bool)>(); - - late final _sel_isSimulatedBySoftware1 = - _registerName1("isSimulatedBySoftware"); - late final _sel_isProducedByAccessory1 = - _registerName1("isProducedByAccessory"); + ffi.Pointer, + ffi.Pointer, + ffi.Bool, + ffi.Bool, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_990 = + __objc_msgSend_990Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + bool, + bool, + ) + >(); + + late final _sel_isSimulatedBySoftware1 = _registerName1( + "isSimulatedBySoftware", + ); + late final _sel_isProducedByAccessory1 = _registerName1( + "isProducedByAccessory", + ); late final _sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_sourceInfo_1 = _registerName1( - "initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:sourceInfo:"); + "initWithCoordinate:altitude:horizontalAccuracy:verticalAccuracy:course:courseAccuracy:speed:speedAccuracy:timestamp:sourceInfo:", + ); instancetype _objc_msgSend_991( ffi.Pointer obj, ffi.Pointer sel, @@ -28173,75 +34550,93 @@ class PedometerBindings { } late final __objc_msgSend_991Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Double, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_991 = + __objc_msgSend_991Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, CLLocationCoordinate2D, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Double, - ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_991 = __objc_msgSend_991Ptr.asFunction< - instancetype Function( - ffi.Pointer, - ffi.Pointer, - CLLocationCoordinate2D, - double, - double, - double, - double, - double, - double, - double, - ffi.Pointer, - ffi.Pointer)>(); + double, + double, + double, + double, + double, + double, + double, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_coordinate1 = _registerName1("coordinate"); CLLocationCoordinate2D _objc_msgSend_992( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_992( - obj, - sel, - ); + return __objc_msgSend_992(obj, sel); } late final __objc_msgSend_992Ptr = _lookup< - ffi.NativeFunction< - CLLocationCoordinate2D Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_992 = __objc_msgSend_992Ptr.asFunction< + ffi.NativeFunction< CLLocationCoordinate2D Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_992 = + __objc_msgSend_992Ptr + .asFunction< + CLLocationCoordinate2D Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); void _objc_msgSend_992_stret( ffi.Pointer stret, ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_992_stret( - stret, - obj, - sel, - ); + return __objc_msgSend_992_stret(stret, obj, sel); } late final __objc_msgSend_992_stretPtr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_stret'); + late final __objc_msgSend_992_stret = + __objc_msgSend_992_stretPtr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_stret'); - late final __objc_msgSend_992_stret = __objc_msgSend_992_stretPtr.asFunction< - void Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); late final _sel_altitude1 = _registerName1("altitude"); late final _sel_ellipsoidalAltitude1 = _registerName1("ellipsoidalAltitude"); @@ -28259,38 +34654,50 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_993( - obj, - sel, - ); + return __objc_msgSend_993(obj, sel); } late final __objc_msgSend_993Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_993 = __objc_msgSend_993Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_993 = + __objc_msgSend_993Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_sourceInformation1 = _registerName1("sourceInformation"); ffi.Pointer _objc_msgSend_994( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_994( - obj, - sel, - ); + return __objc_msgSend_994(obj, sel); } late final __objc_msgSend_994Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_994 = __objc_msgSend_994Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_994 = + __objc_msgSend_994Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getDistanceFrom_1 = _registerName1("getDistanceFrom:"); double _objc_msgSend_995( @@ -28298,102 +34705,126 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer location, ) { - return __objc_msgSend_995( - obj, - sel, - location, - ); + return __objc_msgSend_995(obj, sel, location); } late final __objc_msgSend_995Ptr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_995 = __objc_msgSend_995Ptr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_995 = + __objc_msgSend_995Ptr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); double _objc_msgSend_995_fpret( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer location, ) { - return __objc_msgSend_995_fpret( - obj, - sel, - location, - ); + return __objc_msgSend_995_fpret(obj, sel, location); } late final __objc_msgSend_995_fpretPtr = _lookup< - ffi.NativeFunction< - ffi.Double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend_fpret'); - late final __objc_msgSend_995_fpret = __objc_msgSend_995_fpretPtr.asFunction< - double Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_distanceFromLocation_1 = - _registerName1("distanceFromLocation:"); + ffi.NativeFunction< + ffi.Double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend_fpret'); + late final __objc_msgSend_995_fpret = + __objc_msgSend_995_fpretPtr + .asFunction< + double Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_distanceFromLocation_1 = _registerName1( + "distanceFromLocation:", + ); late final _sel_location1 = _registerName1("location"); ffi.Pointer _objc_msgSend_996( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_996( - obj, - sel, - ); + return __objc_msgSend_996(obj, sel); } late final __objc_msgSend_996Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_996 = __objc_msgSend_996Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_996 = + __objc_msgSend_996Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_headingFilter1 = _registerName1("headingFilter"); late final _sel_setHeadingFilter_1 = _registerName1("setHeadingFilter:"); late final _sel_headingOrientation1 = _registerName1("headingOrientation"); - int _objc_msgSend_997( - ffi.Pointer obj, - ffi.Pointer sel, - ) { - return __objc_msgSend_997( - obj, - sel, - ); + int _objc_msgSend_997(ffi.Pointer obj, ffi.Pointer sel) { + return __objc_msgSend_997(obj, sel); } late final __objc_msgSend_997Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_997 = __objc_msgSend_997Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function(ffi.Pointer, ffi.Pointer) + > + >('objc_msgSend'); + late final __objc_msgSend_997 = + __objc_msgSend_997Ptr + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >(); - late final _sel_setHeadingOrientation_1 = - _registerName1("setHeadingOrientation:"); + late final _sel_setHeadingOrientation_1 = _registerName1( + "setHeadingOrientation:", + ); void _objc_msgSend_998( ffi.Pointer obj, ffi.Pointer sel, int value, ) { - return __objc_msgSend_998( - obj, - sel, - value, - ); + return __objc_msgSend_998(obj, sel, value); } late final __objc_msgSend_998Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Int32)>>('objc_msgSend'); - late final __objc_msgSend_998 = __objc_msgSend_998Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, int)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Int32, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_998 = + __objc_msgSend_998Ptr + .asFunction< + void Function(ffi.Pointer, ffi.Pointer, int) + >(); late final _class_CLHeading1 = _getClass1("CLHeading"); late final _sel_magneticHeading1 = _registerName1("magneticHeading"); @@ -28407,75 +34838,98 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_999( - obj, - sel, - ); + return __objc_msgSend_999(obj, sel); } late final __objc_msgSend_999Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_999 = __objc_msgSend_999Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_999 = + __objc_msgSend_999Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); - late final _sel_maximumRegionMonitoringDistance1 = - _registerName1("maximumRegionMonitoringDistance"); + late final _sel_maximumRegionMonitoringDistance1 = _registerName1( + "maximumRegionMonitoringDistance", + ); late final _sel_monitoredRegions1 = _registerName1("monitoredRegions"); late final _sel_rangedRegions1 = _registerName1("rangedRegions"); - late final _sel_rangedBeaconConstraints1 = - _registerName1("rangedBeaconConstraints"); - late final _sel_requestWhenInUseAuthorization1 = - _registerName1("requestWhenInUseAuthorization"); - late final _sel_requestAlwaysAuthorization1 = - _registerName1("requestAlwaysAuthorization"); + late final _sel_rangedBeaconConstraints1 = _registerName1( + "rangedBeaconConstraints", + ); + late final _sel_requestWhenInUseAuthorization1 = _registerName1( + "requestWhenInUseAuthorization", + ); + late final _sel_requestAlwaysAuthorization1 = _registerName1( + "requestAlwaysAuthorization", + ); late final _sel_requestTemporaryFullAccuracyAuthorizationWithPurposeKey_completion_1 = _registerName1( - "requestTemporaryFullAccuracyAuthorizationWithPurposeKey:completion:"); + "requestTemporaryFullAccuracyAuthorizationWithPurposeKey:completion:", + ); void _objc_msgSend_1000( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer purposeKey, ffi.Pointer<_ObjCBlock> completion, ) { - return __objc_msgSend_1000( - obj, - sel, - purposeKey, - completion, - ); + return __objc_msgSend_1000(obj, sel, purposeKey, completion); } late final __objc_msgSend_1000Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1000 = + __objc_msgSend_1000Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1000 = __objc_msgSend_1000Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_requestTemporaryFullAccuracyAuthorizationWithPurposeKey_1 = _registerName1( - "requestTemporaryFullAccuracyAuthorizationWithPurposeKey:"); - late final _sel_startUpdatingLocation1 = - _registerName1("startUpdatingLocation"); - late final _sel_stopUpdatingLocation1 = - _registerName1("stopUpdatingLocation"); + "requestTemporaryFullAccuracyAuthorizationWithPurposeKey:", + ); + late final _sel_startUpdatingLocation1 = _registerName1( + "startUpdatingLocation", + ); + late final _sel_stopUpdatingLocation1 = _registerName1( + "stopUpdatingLocation", + ); late final _sel_requestLocation1 = _registerName1("requestLocation"); - late final _sel_startUpdatingHeading1 = - _registerName1("startUpdatingHeading"); + late final _sel_startUpdatingHeading1 = _registerName1( + "startUpdatingHeading", + ); late final _sel_stopUpdatingHeading1 = _registerName1("stopUpdatingHeading"); - late final _sel_dismissHeadingCalibrationDisplay1 = - _registerName1("dismissHeadingCalibrationDisplay"); - late final _sel_startMonitoringSignificantLocationChanges1 = - _registerName1("startMonitoringSignificantLocationChanges"); - late final _sel_stopMonitoringSignificantLocationChanges1 = - _registerName1("stopMonitoringSignificantLocationChanges"); + late final _sel_dismissHeadingCalibrationDisplay1 = _registerName1( + "dismissHeadingCalibrationDisplay", + ); + late final _sel_startMonitoringSignificantLocationChanges1 = _registerName1( + "startMonitoringSignificantLocationChanges", + ); + late final _sel_stopMonitoringSignificantLocationChanges1 = _registerName1( + "stopMonitoringSignificantLocationChanges", + ); late final _sel_startMonitoringLocationPushesWithCompletion_1 = _registerName1("startMonitoringLocationPushesWithCompletion:"); void _objc_msgSend_1001( @@ -28483,23 +34937,31 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer<_ObjCBlock> completion, ) { - return __objc_msgSend_1001( - obj, - sel, - completion, - ); + return __objc_msgSend_1001(obj, sel, completion); } late final __objc_msgSend_1001Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1001 = __objc_msgSend_1001Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_stopMonitoringLocationPushes1 = - _registerName1("stopMonitoringLocationPushes"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1001 = + __objc_msgSend_1001Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_stopMonitoringLocationPushes1 = _registerName1( + "stopMonitoringLocationPushes", + ); late final _class_CLRegion1 = _getClass1("CLRegion"); late final _sel_initCircularRegionWithCenter_radius_identifier_1 = _registerName1("initCircularRegionWithCenter:radius:identifier:"); @@ -28510,26 +34972,31 @@ class PedometerBindings { double radius, ffi.Pointer identifier, ) { - return __objc_msgSend_1002( - obj, - sel, - center, - radius, - identifier, - ); + return __objc_msgSend_1002(obj, sel, center, radius, identifier); } late final __objc_msgSend_1002Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ffi.Double, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1002 = + __objc_msgSend_1002Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, CLLocationCoordinate2D, - ffi.Double, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1002 = __objc_msgSend_1002Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - CLLocationCoordinate2D, double, ffi.Pointer)>(); + double, + ffi.Pointer, + ) + >(); late final _sel_center1 = _registerName1("center"); late final _sel_radius1 = _registerName1("radius"); @@ -28543,71 +35010,97 @@ class PedometerBindings { ffi.Pointer sel, CLLocationCoordinate2D coordinate, ) { - return __objc_msgSend_1003( - obj, - sel, - coordinate, - ); + return __objc_msgSend_1003(obj, sel, coordinate); } late final __objc_msgSend_1003Ptr = _lookup< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer, ffi.Pointer, - CLLocationCoordinate2D)>>('objc_msgSend'); - late final __objc_msgSend_1003 = __objc_msgSend_1003Ptr.asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - CLLocationCoordinate2D)>(); - - late final _sel_startMonitoringForRegion_desiredAccuracy_1 = - _registerName1("startMonitoringForRegion:desiredAccuracy:"); + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1003 = + __objc_msgSend_1003Ptr + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + CLLocationCoordinate2D, + ) + >(); + + late final _sel_startMonitoringForRegion_desiredAccuracy_1 = _registerName1( + "startMonitoringForRegion:desiredAccuracy:", + ); void _objc_msgSend_1004( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer region, double accuracy, ) { - return __objc_msgSend_1004( - obj, - sel, - region, - accuracy, - ); + return __objc_msgSend_1004(obj, sel, region, accuracy); } late final __objc_msgSend_1004Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_1004 = __objc_msgSend_1004Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, double)>(); - - late final _sel_stopMonitoringForRegion_1 = - _registerName1("stopMonitoringForRegion:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1004 = + __objc_msgSend_1004Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + double, + ) + >(); + + late final _sel_stopMonitoringForRegion_1 = _registerName1( + "stopMonitoringForRegion:", + ); void _objc_msgSend_1005( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer region, ) { - return __objc_msgSend_1005( - obj, - sel, - region, - ); + return __objc_msgSend_1005(obj, sel, region); } late final __objc_msgSend_1005Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1005 = __objc_msgSend_1005Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_startMonitoringForRegion_1 = - _registerName1("startMonitoringForRegion:"); - late final _sel_requestStateForRegion_1 = - _registerName1("requestStateForRegion:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1005 = + __objc_msgSend_1005Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_startMonitoringForRegion_1 = _registerName1( + "startMonitoringForRegion:", + ); + late final _sel_requestStateForRegion_1 = _registerName1( + "requestStateForRegion:", + ); late final _class_CLBeaconRegion1 = _getClass1("CLBeaconRegion"); late final _class_NSUUID1 = _getClass1("NSUUID"); late final _sel_UUID1 = _registerName1("UUID"); @@ -28618,20 +35111,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer bytes, ) { - return __objc_msgSend_1006( - obj, - sel, - bytes, - ); + return __objc_msgSend_1006(obj, sel, bytes); } late final __objc_msgSend_1006Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1006 = __objc_msgSend_1006Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1006 = + __objc_msgSend_1006Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_getUUIDBytes_1 = _registerName1("getUUIDBytes:"); void _objc_msgSend_1007( @@ -28639,73 +35139,95 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer uuid, ) { - return __objc_msgSend_1007( - obj, - sel, - uuid, - ); + return __objc_msgSend_1007(obj, sel, uuid); } late final __objc_msgSend_1007Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1007 = __objc_msgSend_1007Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1007 = + __objc_msgSend_1007Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); int _objc_msgSend_1008( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer otherUUID, ) { - return __objc_msgSend_1008( - obj, - sel, - otherUUID, - ); + return __objc_msgSend_1008(obj, sel, otherUUID); } late final __objc_msgSend_1008Ptr = _lookup< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1008 = __objc_msgSend_1008Ptr.asFunction< - int Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1008 = + __objc_msgSend_1008Ptr + .asFunction< + int Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_UUIDString1 = _registerName1("UUIDString"); - late final _sel_initWithUUID_identifier_1 = - _registerName1("initWithUUID:identifier:"); + late final _sel_initWithUUID_identifier_1 = _registerName1( + "initWithUUID:identifier:", + ); instancetype _objc_msgSend_1009( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer uuid, ffi.Pointer identifier, ) { - return __objc_msgSend_1009( - obj, - sel, - uuid, - identifier, - ); + return __objc_msgSend_1009(obj, sel, uuid, identifier); } late final __objc_msgSend_1009Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1009 = + __objc_msgSend_1009Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1009 = __objc_msgSend_1009Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_initWithProximityUUID_identifier_1 = - _registerName1("initWithProximityUUID:identifier:"); - late final _sel_initWithUUID_major_identifier_1 = - _registerName1("initWithUUID:major:identifier:"); + late final _sel_initWithProximityUUID_identifier_1 = _registerName1( + "initWithProximityUUID:identifier:", + ); + late final _sel_initWithUUID_major_identifier_1 = _registerName1( + "initWithUUID:major:identifier:", + ); instancetype _objc_msgSend_1010( ffi.Pointer obj, ffi.Pointer sel, @@ -28713,31 +35235,38 @@ class PedometerBindings { int major, ffi.Pointer identifier, ) { - return __objc_msgSend_1010( - obj, - sel, - uuid, - major, - identifier, - ); + return __objc_msgSend_1010(obj, sel, uuid, major, identifier); } late final __objc_msgSend_1010Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Uint16, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1010 = + __objc_msgSend_1010Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Uint16, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1010 = __objc_msgSend_1010Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer)>(); + int, + ffi.Pointer, + ) + >(); - late final _sel_initWithProximityUUID_major_identifier_1 = - _registerName1("initWithProximityUUID:major:identifier:"); - late final _sel_initWithUUID_major_minor_identifier_1 = - _registerName1("initWithUUID:major:minor:identifier:"); + late final _sel_initWithProximityUUID_major_identifier_1 = _registerName1( + "initWithProximityUUID:major:identifier:", + ); + late final _sel_initWithUUID_major_minor_identifier_1 = _registerName1( + "initWithUUID:major:minor:identifier:", + ); instancetype _objc_msgSend_1011( ffi.Pointer obj, ffi.Pointer sel, @@ -28746,53 +35275,66 @@ class PedometerBindings { int minor, ffi.Pointer identifier, ) { - return __objc_msgSend_1011( - obj, - sel, - uuid, - major, - minor, - identifier, - ); + return __objc_msgSend_1011(obj, sel, uuid, major, minor, identifier); } late final __objc_msgSend_1011Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Uint16, + ffi.Uint16, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1011 = + __objc_msgSend_1011Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Uint16, - ffi.Uint16, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1011 = __objc_msgSend_1011Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int, ffi.Pointer)>(); + int, + int, + ffi.Pointer, + ) + >(); late final _sel_initWithProximityUUID_major_minor_identifier_1 = _registerName1("initWithProximityUUID:major:minor:identifier:"); - late final _class_CLBeaconIdentityConstraint1 = - _getClass1("CLBeaconIdentityConstraint"); - late final _class_CLBeaconIdentityCondition1 = - _getClass1("CLBeaconIdentityCondition"); + late final _class_CLBeaconIdentityConstraint1 = _getClass1( + "CLBeaconIdentityConstraint", + ); + late final _class_CLBeaconIdentityCondition1 = _getClass1( + "CLBeaconIdentityCondition", + ); late final _class_CLCondition1 = _getClass1("CLCondition"); ffi.Pointer _objc_msgSend_1012( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1012( - obj, - sel, - ); + return __objc_msgSend_1012(obj, sel); } late final __objc_msgSend_1012Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1012 = __objc_msgSend_1012Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1012 = + __objc_msgSend_1012Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_major1 = _registerName1("major"); late final _sel_minor1 = _registerName1("minor"); @@ -28802,20 +35344,27 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer uuid, ) { - return __objc_msgSend_1013( - obj, - sel, - uuid, - ); + return __objc_msgSend_1013(obj, sel, uuid); } late final __objc_msgSend_1013Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1013 = __objc_msgSend_1013Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1013 = + __objc_msgSend_1013Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_initWithUUID_major_1 = _registerName1("initWithUUID:major:"); instancetype _objc_msgSend_1014( @@ -28824,24 +35373,33 @@ class PedometerBindings { ffi.Pointer uuid, int major, ) { - return __objc_msgSend_1014( - obj, - sel, - uuid, - major, - ); + return __objc_msgSend_1014(obj, sel, uuid, major); } late final __objc_msgSend_1014Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Uint16)>>('objc_msgSend'); - late final __objc_msgSend_1014 = __objc_msgSend_1014Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int)>(); - - late final _sel_initWithUUID_major_minor_1 = - _registerName1("initWithUUID:major:minor:"); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Uint16, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1014 = + __objc_msgSend_1014Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + int, + ) + >(); + + late final _sel_initWithUUID_major_minor_1 = _registerName1( + "initWithUUID:major:minor:", + ); instancetype _objc_msgSend_1015( ffi.Pointer obj, ffi.Pointer sel, @@ -28849,26 +35407,31 @@ class PedometerBindings { int major, int minor, ) { - return __objc_msgSend_1015( - obj, - sel, - uuid, - major, - minor, - ); + return __objc_msgSend_1015(obj, sel, uuid, major, minor); } late final __objc_msgSend_1015Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Uint16, + ffi.Uint16, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1015 = + __objc_msgSend_1015Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Uint16, - ffi.Uint16)>>('objc_msgSend'); - late final __objc_msgSend_1015 = __objc_msgSend_1015Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, int)>(); + int, + int, + ) + >(); late final _sel_initWithBeaconIdentityConstraint_identifier_1 = _registerName1("initWithBeaconIdentityConstraint:identifier:"); @@ -28878,120 +35441,160 @@ class PedometerBindings { ffi.Pointer beaconIdentityConstraint, ffi.Pointer identifier, ) { - return __objc_msgSend_1016( - obj, - sel, - beaconIdentityConstraint, - identifier, - ); + return __objc_msgSend_1016(obj, sel, beaconIdentityConstraint, identifier); } late final __objc_msgSend_1016Ptr = _lookup< - ffi.NativeFunction< - instancetype Function( + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1016 = + __objc_msgSend_1016Ptr + .asFunction< + instancetype Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1016 = __objc_msgSend_1016Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ) + >(); - late final _sel_peripheralDataWithMeasuredPower_1 = - _registerName1("peripheralDataWithMeasuredPower:"); + late final _sel_peripheralDataWithMeasuredPower_1 = _registerName1( + "peripheralDataWithMeasuredPower:", + ); ffi.Pointer _objc_msgSend_1017( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer measuredPower, ) { - return __objc_msgSend_1017( - obj, - sel, - measuredPower, - ); + return __objc_msgSend_1017(obj, sel, measuredPower); } late final __objc_msgSend_1017Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1017 = __objc_msgSend_1017Ptr.asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>(); - - late final _sel_beaconIdentityConstraint1 = - _registerName1("beaconIdentityConstraint"); + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1017 = + __objc_msgSend_1017Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_beaconIdentityConstraint1 = _registerName1( + "beaconIdentityConstraint", + ); ffi.Pointer _objc_msgSend_1018( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1018( - obj, - sel, - ); + return __objc_msgSend_1018(obj, sel); } late final __objc_msgSend_1018Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1018 = __objc_msgSend_1018Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1018 = + __objc_msgSend_1018Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_proximityUUID1 = _registerName1("proximityUUID"); - late final _sel_notifyEntryStateOnDisplay1 = - _registerName1("notifyEntryStateOnDisplay"); - late final _sel_setNotifyEntryStateOnDisplay_1 = - _registerName1("setNotifyEntryStateOnDisplay:"); - late final _sel_startRangingBeaconsInRegion_1 = - _registerName1("startRangingBeaconsInRegion:"); + late final _sel_notifyEntryStateOnDisplay1 = _registerName1( + "notifyEntryStateOnDisplay", + ); + late final _sel_setNotifyEntryStateOnDisplay_1 = _registerName1( + "setNotifyEntryStateOnDisplay:", + ); + late final _sel_startRangingBeaconsInRegion_1 = _registerName1( + "startRangingBeaconsInRegion:", + ); void _objc_msgSend_1019( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer region, ) { - return __objc_msgSend_1019( - obj, - sel, - region, - ); + return __objc_msgSend_1019(obj, sel, region); } late final __objc_msgSend_1019Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1019 = __objc_msgSend_1019Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_stopRangingBeaconsInRegion_1 = - _registerName1("stopRangingBeaconsInRegion:"); - late final _sel_startRangingBeaconsSatisfyingConstraint_1 = - _registerName1("startRangingBeaconsSatisfyingConstraint:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1019 = + __objc_msgSend_1019Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stopRangingBeaconsInRegion_1 = _registerName1( + "stopRangingBeaconsInRegion:", + ); + late final _sel_startRangingBeaconsSatisfyingConstraint_1 = _registerName1( + "startRangingBeaconsSatisfyingConstraint:", + ); void _objc_msgSend_1020( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer constraint, ) { - return __objc_msgSend_1020( - obj, - sel, - constraint, - ); + return __objc_msgSend_1020(obj, sel, constraint); } late final __objc_msgSend_1020Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1020 = __objc_msgSend_1020Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); - - late final _sel_stopRangingBeaconsSatisfyingConstraint_1 = - _registerName1("stopRangingBeaconsSatisfyingConstraint:"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1020 = + __objc_msgSend_1020Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); + + late final _sel_stopRangingBeaconsSatisfyingConstraint_1 = _registerName1( + "stopRangingBeaconsSatisfyingConstraint:", + ); late final _sel_allowDeferredLocationUpdatesUntilTraveled_timeout_1 = _registerName1("allowDeferredLocationUpdatesUntilTraveled:timeout:"); void _objc_msgSend_1021( @@ -29000,29 +35603,40 @@ class PedometerBindings { double distance, double timeout, ) { - return __objc_msgSend_1021( - obj, - sel, - distance, - timeout, - ); + return __objc_msgSend_1021(obj, sel, distance, timeout); } late final __objc_msgSend_1021Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer, ffi.Pointer, - ffi.Double, ffi.Double)>>('objc_msgSend'); - late final __objc_msgSend_1021 = __objc_msgSend_1021Ptr.asFunction< - void Function( - ffi.Pointer, ffi.Pointer, double, double)>(); - - late final _sel_disallowDeferredLocationUpdates1 = - _registerName1("disallowDeferredLocationUpdates"); - late final _sel_deferredLocationUpdatesAvailable1 = - _registerName1("deferredLocationUpdatesAvailable"); + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Double, + ffi.Double, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1021 = + __objc_msgSend_1021Ptr + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + double, + double, + ) + >(); + + late final _sel_disallowDeferredLocationUpdates1 = _registerName1( + "disallowDeferredLocationUpdates", + ); + late final _sel_deferredLocationUpdatesAvailable1 = _registerName1( + "deferredLocationUpdatesAvailable", + ); late final _sel_requestHistoricalLocationsWithPurposeKey_sampleCount_completionHandler_1 = _registerName1( - "requestHistoricalLocationsWithPurposeKey:sampleCount:completionHandler:"); + "requestHistoricalLocationsWithPurposeKey:sampleCount:completionHandler:", + ); void _objc_msgSend_1022( ffi.Pointer obj, ffi.Pointer sel, @@ -29030,31 +35644,38 @@ class PedometerBindings { int sampleCount, ffi.Pointer<_ObjCBlock> handler, ) { - return __objc_msgSend_1022( - obj, - sel, - purposeKey, - sampleCount, - handler, - ); + return __objc_msgSend_1022(obj, sel, purposeKey, sampleCount, handler); } late final __objc_msgSend_1022Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Long, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1022 = + __objc_msgSend_1022Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Long, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1022 = __objc_msgSend_1022Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, int, ffi.Pointer<_ObjCBlock>)>(); - - late final _sel_startMonitoringVisits1 = - _registerName1("startMonitoringVisits"); - late final _sel_stopMonitoringVisits1 = - _registerName1("stopMonitoringVisits"); + int, + ffi.Pointer<_ObjCBlock>, + ) + >(); + + late final _sel_startMonitoringVisits1 = _registerName1( + "startMonitoringVisits", + ); + late final _sel_stopMonitoringVisits1 = _registerName1( + "stopMonitoringVisits", + ); late final _class_CLPlacemark1 = _getClass1("CLPlacemark"); late final _sel_initWithPlacemark_1 = _registerName1("initWithPlacemark:"); instancetype _objc_msgSend_1023( @@ -29062,39 +35683,52 @@ class PedometerBindings { ffi.Pointer sel, ffi.Pointer placemark, ) { - return __objc_msgSend_1023( - obj, - sel, - placemark, - ); + return __objc_msgSend_1023(obj, sel, placemark); } late final __objc_msgSend_1023Ptr = _lookup< - ffi.NativeFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1023 = __objc_msgSend_1023Ptr.asFunction< - instancetype Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>(); + ffi.NativeFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1023 = + __objc_msgSend_1023Ptr + .asFunction< + instancetype Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_region1 = _registerName1("region"); ffi.Pointer _objc_msgSend_1024( ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1024( - obj, - sel, - ); + return __objc_msgSend_1024(obj, sel); } late final __objc_msgSend_1024Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1024 = __objc_msgSend_1024Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1024 = + __objc_msgSend_1024Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _sel_addressDictionary1 = _registerName1("addressDictionary"); late final _sel_thoroughfare1 = _registerName1("thoroughfare"); @@ -29102,8 +35736,9 @@ class PedometerBindings { late final _sel_locality1 = _registerName1("locality"); late final _sel_subLocality1 = _registerName1("subLocality"); late final _sel_administrativeArea1 = _registerName1("administrativeArea"); - late final _sel_subAdministrativeArea1 = - _registerName1("subAdministrativeArea"); + late final _sel_subAdministrativeArea1 = _registerName1( + "subAdministrativeArea", + ); late final _sel_postalCode1 = _registerName1("postalCode"); late final _sel_ISOcountryCode1 = _registerName1("ISOcountryCode"); late final _sel_country1 = _registerName1("country"); @@ -29116,52 +35751,65 @@ class PedometerBindings { ffi.Pointer obj, ffi.Pointer sel, ) { - return __objc_msgSend_1025( - obj, - sel, - ); + return __objc_msgSend_1025(obj, sel); } late final __objc_msgSend_1025Ptr = _lookup< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>>('objc_msgSend'); - late final __objc_msgSend_1025 = __objc_msgSend_1025Ptr.asFunction< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer, ffi.Pointer)>(); + ffi.Pointer, + ffi.Pointer, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1025 = + __objc_msgSend_1025Ptr + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >(); late final _class_CLGeocoder1 = _getClass1("CLGeocoder"); late final _sel_isGeocoding1 = _registerName1("isGeocoding"); - late final _sel_reverseGeocodeLocation_completionHandler_1 = - _registerName1("reverseGeocodeLocation:completionHandler:"); + late final _sel_reverseGeocodeLocation_completionHandler_1 = _registerName1( + "reverseGeocodeLocation:completionHandler:", + ); void _objc_msgSend_1026( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer location, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_1026( - obj, - sel, - location, - completionHandler, - ); + return __objc_msgSend_1026(obj, sel, location, completionHandler); } late final __objc_msgSend_1026Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1026 = + __objc_msgSend_1026Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1026 = __objc_msgSend_1026Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_reverseGeocodeLocation_preferredLocale_completionHandler_1 = _registerName1( - "reverseGeocodeLocation:preferredLocale:completionHandler:"); + "reverseGeocodeLocation:preferredLocale:completionHandler:", + ); void _objc_msgSend_1027( ffi.Pointer obj, ffi.Pointer sel, @@ -29169,57 +35817,64 @@ class PedometerBindings { ffi.Pointer locale, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_1027( - obj, - sel, - location, - locale, - completionHandler, - ); + return __objc_msgSend_1027(obj, sel, location, locale, completionHandler); } late final __objc_msgSend_1027Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1027 = + __objc_msgSend_1027Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1027 = __objc_msgSend_1027Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_geocodeAddressDictionary_completionHandler_1 = - _registerName1("geocodeAddressDictionary:completionHandler:"); + late final _sel_geocodeAddressDictionary_completionHandler_1 = _registerName1( + "geocodeAddressDictionary:completionHandler:", + ); void _objc_msgSend_1028( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer addressDictionary, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_1028( - obj, - sel, - addressDictionary, - completionHandler, - ); + return __objc_msgSend_1028(obj, sel, addressDictionary, completionHandler); } late final __objc_msgSend_1028Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1028 = + __objc_msgSend_1028Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1028 = __objc_msgSend_1028Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_geocodeAddressString_inRegion_completionHandler_1 = _registerName1("geocodeAddressString:inRegion:completionHandler:"); @@ -29240,24 +35895,32 @@ class PedometerBindings { } late final __objc_msgSend_1029Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1029 = + __objc_msgSend_1029Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1029 = __objc_msgSend_1029Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_geocodeAddressString_inRegion_preferredLocale_completionHandler_1 = _registerName1( - "geocodeAddressString:inRegion:preferredLocale:completionHandler:"); + "geocodeAddressString:inRegion:preferredLocale:completionHandler:", + ); void _objc_msgSend_1030( ffi.Pointer obj, ffi.Pointer sel, @@ -29277,77 +35940,96 @@ class PedometerBindings { } late final __objc_msgSend_1030Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1030 = + __objc_msgSend_1030Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1030 = __objc_msgSend_1030Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); - late final _sel_geocodeAddressString_completionHandler_1 = - _registerName1("geocodeAddressString:completionHandler:"); + late final _sel_geocodeAddressString_completionHandler_1 = _registerName1( + "geocodeAddressString:completionHandler:", + ); void _objc_msgSend_1031( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer addressString, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_1031( - obj, - sel, - addressString, - completionHandler, - ); + return __objc_msgSend_1031(obj, sel, addressString, completionHandler); } late final __objc_msgSend_1031Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1031 = + __objc_msgSend_1031Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1031 = __objc_msgSend_1031Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_cancelGeocode1 = _registerName1("cancelGeocode"); - late final _sel_geocodePostalAddress_completionHandler_1 = - _registerName1("geocodePostalAddress:completionHandler:"); + late final _sel_geocodePostalAddress_completionHandler_1 = _registerName1( + "geocodePostalAddress:completionHandler:", + ); void _objc_msgSend_1032( ffi.Pointer obj, ffi.Pointer sel, ffi.Pointer postalAddress, ffi.Pointer<_ObjCBlock> completionHandler, ) { - return __objc_msgSend_1032( - obj, - sel, - postalAddress, - completionHandler, - ); + return __objc_msgSend_1032(obj, sel, postalAddress, completionHandler); } late final __objc_msgSend_1032Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1032 = + __objc_msgSend_1032Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1032 = __objc_msgSend_1032Ptr.asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer, ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); late final _sel_geocodePostalAddress_preferredLocale_completionHandler_1 = _registerName1("geocodePostalAddress:preferredLocale:completionHandler:"); @@ -29368,39 +36050,49 @@ class PedometerBindings { } late final __objc_msgSend_1033Ptr = _lookup< - ffi.NativeFunction< - ffi.Void Function( + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer<_ObjCBlock>, + ) + > + >('objc_msgSend'); + late final __objc_msgSend_1033 = + __objc_msgSend_1033Ptr + .asFunction< + void Function( ffi.Pointer, ffi.Pointer, ffi.Pointer, ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>>('objc_msgSend'); - late final __objc_msgSend_1033 = __objc_msgSend_1033Ptr.asFunction< - void Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer<_ObjCBlock>)>(); + ffi.Pointer<_ObjCBlock>, + ) + >(); ObjCBlock_ffiVoid_CMPedometerData_NSError wrapCallback( ObjCBlock_ffiVoid_CMPedometerData_NSError callback, ) { return ObjCBlock_ffiVoid_CMPedometerData_NSError._( - _wrapCallback( - callback._id, - ), - this, - retain: true, - release: true); + _wrapCallback(callback._id), + this, + retain: true, + release: true, + ); } late final _wrapCallbackPtr = _lookup< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>)>>('wrapCallback'); - late final _wrapCallback = _wrapCallbackPtr - .asFunction Function(ffi.Pointer<_ObjCBlock>)>(); + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function(ffi.Pointer<_ObjCBlock>) + > + >('wrapCallback'); + late final _wrapCallback = + _wrapCallbackPtr + .asFunction< + ffi.Pointer<_ObjCBlock> Function(ffi.Pointer<_ObjCBlock>) + >(); } class _ObjCWrapper implements ffi.Finalizable { @@ -29408,9 +36100,12 @@ class _ObjCWrapper implements ffi.Finalizable { final PedometerBindings _lib; bool _pendingRelease; - _ObjCWrapper._(this._id, this._lib, - {bool retain = false, bool release = false}) - : _pendingRelease = release { + _ObjCWrapper._( + this._id, + this._lib, { + bool retain = false, + bool release = false, + }) : _pendingRelease = release { if (retain) { _lib._objc_retain(_id.cast()); } @@ -29428,7 +36123,8 @@ class _ObjCWrapper implements ffi.Finalizable { _lib._objc_releaseFinalizer2.detach(this); } else { throw StateError( - 'Released an ObjC object that was unowned or already released.'); + 'Released an ObjC object that was unowned or already released.', + ); } } @@ -29450,9 +36146,12 @@ class _ObjCWrapper implements ffi.Finalizable { } class NSObject extends _ObjCWrapper { - NSObject._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSObject._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSObject] that points to the same underlying object as [other]. static NSObject castFrom(T other) { @@ -29461,15 +36160,21 @@ class NSObject extends _ObjCWrapper { /// Returns a [NSObject] that wraps the given raw object pointer. static NSObject castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSObject._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSObject]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSObject1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSObject1, + ); } static void load(PedometerBindings _lib) { @@ -29491,9 +36196,14 @@ class NSObject extends _ObjCWrapper { } static NSObject allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_allocWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } @@ -29521,40 +36231,64 @@ class NSObject extends _ObjCWrapper { } static NSObject copyWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_copyWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_copyWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static NSObject mutableCopyWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSObject1, _lib._sel_mutableCopyWithZone_1, zone); + _lib._class_NSObject1, + _lib._sel_mutableCopyWithZone_1, + zone, + ); return NSObject._(_ret, _lib, retain: false, release: true); } static bool instancesRespondToSelector_( - PedometerBindings _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_4(_lib._class_NSObject1, - _lib._sel_instancesRespondToSelector_1, aSelector); + PedometerBindings _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_4( + _lib._class_NSObject1, + _lib._sel_instancesRespondToSelector_1, + aSelector, + ); } static bool conformsToProtocol_(PedometerBindings _lib, Protocol protocol) { return _lib._objc_msgSend_5( - _lib._class_NSObject1, _lib._sel_conformsToProtocol_1, protocol._id); + _lib._class_NSObject1, + _lib._sel_conformsToProtocol_1, + protocol._id, + ); } ffi.Pointer> methodForSelector_( - ffi.Pointer aSelector) { + ffi.Pointer aSelector, + ) { return _lib._objc_msgSend_6(_id, _lib._sel_methodForSelector_1, aSelector); } static ffi.Pointer> - instanceMethodForSelector_( - PedometerBindings _lib, ffi.Pointer aSelector) { - return _lib._objc_msgSend_6(_lib._class_NSObject1, - _lib._sel_instanceMethodForSelector_1, aSelector); + instanceMethodForSelector_( + PedometerBindings _lib, + ffi.Pointer aSelector, + ) { + return _lib._objc_msgSend_6( + _lib._class_NSObject1, + _lib._sel_instanceMethodForSelector_1, + aSelector, + ); } void doesNotRecognizeSelector_(ffi.Pointer aSelector) { @@ -29563,26 +36297,41 @@ class NSObject extends _ObjCWrapper { NSObject forwardingTargetForSelector_(ffi.Pointer aSelector) { final _ret = _lib._objc_msgSend_8( - _id, _lib._sel_forwardingTargetForSelector_1, aSelector); + _id, + _lib._sel_forwardingTargetForSelector_1, + aSelector, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void forwardInvocation_(NSInvocation anInvocation) { _lib._objc_msgSend_377( - _id, _lib._sel_forwardInvocation_1, anInvocation._id); + _id, + _lib._sel_forwardInvocation_1, + anInvocation._id, + ); } NSMethodSignature methodSignatureForSelector_( - ffi.Pointer aSelector) { + ffi.Pointer aSelector, + ) { final _ret = _lib._objc_msgSend_378( - _id, _lib._sel_methodSignatureForSelector_1, aSelector); + _id, + _lib._sel_methodSignatureForSelector_1, + aSelector, + ); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } static NSMethodSignature instanceMethodSignatureForSelector_( - PedometerBindings _lib, ffi.Pointer aSelector) { - final _ret = _lib._objc_msgSend_378(_lib._class_NSObject1, - _lib._sel_instanceMethodSignatureForSelector_1, aSelector); + PedometerBindings _lib, + ffi.Pointer aSelector, + ) { + final _ret = _lib._objc_msgSend_378( + _lib._class_NSObject1, + _lib._sel_instanceMethodSignatureForSelector_1, + aSelector, + ); return NSMethodSignature._(_ret, _lib, retain: true, release: true); } @@ -29596,19 +36345,32 @@ class NSObject extends _ObjCWrapper { static bool isSubclassOfClass_(PedometerBindings _lib, NSObject aClass) { return _lib._objc_msgSend_0( - _lib._class_NSObject1, _lib._sel_isSubclassOfClass_1, aClass._id); + _lib._class_NSObject1, + _lib._sel_isSubclassOfClass_1, + aClass._id, + ); } static bool resolveClassMethod_( - PedometerBindings _lib, ffi.Pointer sel) { + PedometerBindings _lib, + ffi.Pointer sel, + ) { return _lib._objc_msgSend_4( - _lib._class_NSObject1, _lib._sel_resolveClassMethod_1, sel); + _lib._class_NSObject1, + _lib._sel_resolveClassMethod_1, + sel, + ); } static bool resolveInstanceMethod_( - PedometerBindings _lib, ffi.Pointer sel) { + PedometerBindings _lib, + ffi.Pointer sel, + ) { return _lib._objc_msgSend_4( - _lib._class_NSObject1, _lib._sel_resolveInstanceMethod_1, sel); + _lib._class_NSObject1, + _lib._sel_resolveInstanceMethod_1, + sel, + ); } static int hash(PedometerBindings _lib) { @@ -29616,8 +36378,10 @@ class NSObject extends _ObjCWrapper { } static NSObject superclass(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSObject1, _lib._sel_superclass1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSObject1, + _lib._sel_superclass1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -29627,14 +36391,18 @@ class NSObject extends _ObjCWrapper { } static NSString description(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_21(_lib._class_NSObject1, _lib._sel_description1); + final _ret = _lib._objc_msgSend_21( + _lib._class_NSObject1, + _lib._sel_description1, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString debugDescription(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_21( - _lib._class_NSObject1, _lib._sel_debugDescription1); + _lib._class_NSObject1, + _lib._sel_debugDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -29644,7 +36412,10 @@ class NSObject extends _ObjCWrapper { static void setVersion_(PedometerBindings _lib, int aVersion) { _lib._objc_msgSend_379( - _lib._class_NSObject1, _lib._sel_setVersion_1, aVersion); + _lib._class_NSObject1, + _lib._sel_setVersion_1, + aVersion, + ); } NSObject get classForCoder { @@ -29654,15 +36425,21 @@ class NSObject extends _ObjCWrapper { NSObject? replacementObjectForCoder_(NSCoder coder) { final _ret = _lib._objc_msgSend_47( - _id, _lib._sel_replacementObjectForCoder_1, coder._id); + _id, + _lib._sel_replacementObjectForCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? awakeAfterUsingCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_awakeAfterUsingCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_awakeAfterUsingCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); @@ -29670,121 +36447,167 @@ class NSObject extends _ObjCWrapper { static void poseAsClass_(PedometerBindings _lib, NSObject aClass) { _lib._objc_msgSend_15( - _lib._class_NSObject1, _lib._sel_poseAsClass_1, aClass._id); + _lib._class_NSObject1, + _lib._sel_poseAsClass_1, + aClass._id, + ); } NSObject get autoContentAccessingProxy { - final _ret = - _lib._objc_msgSend_2(_id, _lib._sel_autoContentAccessingProxy1); + final _ret = _lib._objc_msgSend_2( + _id, + _lib._sel_autoContentAccessingProxy1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void - attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( - NSError error, - int recoveryOptionIndex, - NSObject? delegate, - ffi.Pointer didRecoverSelector, - ffi.Pointer contextInfo) { + attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_( + NSError error, + int recoveryOptionIndex, + NSObject? delegate, + ffi.Pointer didRecoverSelector, + ffi.Pointer contextInfo, + ) { _lib._objc_msgSend_380( - _id, - _lib._sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1, - error._id, - recoveryOptionIndex, - delegate?._id ?? ffi.nullptr, - didRecoverSelector, - contextInfo); + _id, + _lib._sel_attemptRecoveryFromError_optionIndex_delegate_didRecoverSelector_contextInfo_1, + error._id, + recoveryOptionIndex, + delegate?._id ?? ffi.nullptr, + didRecoverSelector, + contextInfo, + ); } bool attemptRecoveryFromError_optionIndex_( - NSError error, int recoveryOptionIndex) { + NSError error, + int recoveryOptionIndex, + ) { return _lib._objc_msgSend_381( - _id, - _lib._sel_attemptRecoveryFromError_optionIndex_1, - error._id, - recoveryOptionIndex); + _id, + _lib._sel_attemptRecoveryFromError_optionIndex_1, + error._id, + recoveryOptionIndex, + ); } void performSelector_withObject_afterDelay_inModes_( - ffi.Pointer aSelector, - NSObject? anArgument, - double delay, - NSArray modes) { + ffi.Pointer aSelector, + NSObject? anArgument, + double delay, + NSArray modes, + ) { _lib._objc_msgSend_382( - _id, - _lib._sel_performSelector_withObject_afterDelay_inModes_1, - aSelector, - anArgument?._id ?? ffi.nullptr, - delay, - modes._id); + _id, + _lib._sel_performSelector_withObject_afterDelay_inModes_1, + aSelector, + anArgument?._id ?? ffi.nullptr, + delay, + modes._id, + ); } void performSelector_withObject_afterDelay_( - ffi.Pointer aSelector, NSObject? anArgument, double delay) { + ffi.Pointer aSelector, + NSObject? anArgument, + double delay, + ) { _lib._objc_msgSend_383( - _id, - _lib._sel_performSelector_withObject_afterDelay_1, - aSelector, - anArgument?._id ?? ffi.nullptr, - delay); + _id, + _lib._sel_performSelector_withObject_afterDelay_1, + aSelector, + anArgument?._id ?? ffi.nullptr, + delay, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSObject1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSObject1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSObject1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } void URL_resourceDataDidBecomeAvailable_(NSURL sender, NSData newBytes) { - _lib._objc_msgSend_384(_id, _lib._sel_URL_resourceDataDidBecomeAvailable_1, - sender._id, newBytes._id); + _lib._objc_msgSend_384( + _id, + _lib._sel_URL_resourceDataDidBecomeAvailable_1, + sender._id, + newBytes._id, + ); } void URLResourceDidFinishLoading_(NSURL sender) { _lib._objc_msgSend_385( - _id, _lib._sel_URLResourceDidFinishLoading_1, sender._id); + _id, + _lib._sel_URLResourceDidFinishLoading_1, + sender._id, + ); } void URLResourceDidCancelLoading_(NSURL sender) { _lib._objc_msgSend_385( - _id, _lib._sel_URLResourceDidCancelLoading_1, sender._id); + _id, + _lib._sel_URLResourceDidCancelLoading_1, + sender._id, + ); } void URL_resourceDidFailLoadingWithReason_(NSURL sender, NSString reason) { _lib._objc_msgSend_386( - _id, - _lib._sel_URL_resourceDidFailLoadingWithReason_1, - sender._id, - reason._id); + _id, + _lib._sel_URL_resourceDidFailLoadingWithReason_1, + sender._id, + reason._id, + ); } bool fileManager_shouldProceedAfterError_( - NSFileManager fm, NSDictionary errorInfo) { - return _lib._objc_msgSend_424(_id, - _lib._sel_fileManager_shouldProceedAfterError_1, fm._id, errorInfo._id); + NSFileManager fm, + NSDictionary errorInfo, + ) { + return _lib._objc_msgSend_424( + _id, + _lib._sel_fileManager_shouldProceedAfterError_1, + fm._id, + errorInfo._id, + ); } void fileManager_willProcessPath_(NSFileManager fm, NSString path) { _lib._objc_msgSend_425( - _id, _lib._sel_fileManager_willProcessPath_1, fm._id, path._id); + _id, + _lib._sel_fileManager_willProcessPath_1, + fm._id, + path._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSObject1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSObject1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } NSObject? valueForKey_(NSString key) { @@ -29796,87 +36619,133 @@ class NSObject extends _ObjCWrapper { void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_127( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + _id, + _lib._sel_setValue_forKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } - bool validateValue_forKey_error_(ffi.Pointer> ioValue, - NSString inKey, ffi.Pointer> outError) { - return _lib._objc_msgSend_195(_id, _lib._sel_validateValue_forKey_error_1, - ioValue, inKey._id, outError); + bool validateValue_forKey_error_( + ffi.Pointer> ioValue, + NSString inKey, + ffi.Pointer> outError, + ) { + return _lib._objc_msgSend_195( + _id, + _lib._sel_validateValue_forKey_error_1, + ioValue, + inKey._id, + outError, + ); } NSMutableArray mutableArrayValueForKey_(NSString key) { final _ret = _lib._objc_msgSend_445( - _id, _lib._sel_mutableArrayValueForKey_1, key._id); + _id, + _lib._sel_mutableArrayValueForKey_1, + key._id, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKey_(NSString key) { final _ret = _lib._objc_msgSend_463( - _id, _lib._sel_mutableOrderedSetValueForKey_1, key._id); + _id, + _lib._sel_mutableOrderedSetValueForKey_1, + key._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } NSMutableSet mutableSetValueForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_464(_id, _lib._sel_mutableSetValueForKey_1, key._id); + final _ret = _lib._objc_msgSend_464( + _id, + _lib._sel_mutableSetValueForKey_1, + key._id, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } NSObject? valueForKeyPath_(NSString keyPath) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_valueForKeyPath_1, keyPath._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_valueForKeyPath_1, + keyPath._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void setValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_127(_id, _lib._sel_setValue_forKeyPath_1, - value?._id ?? ffi.nullptr, keyPath._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_setValue_forKeyPath_1, + value?._id ?? ffi.nullptr, + keyPath._id, + ); } bool validateValue_forKeyPath_error_( - ffi.Pointer> ioValue, - NSString inKeyPath, - ffi.Pointer> outError) { + ffi.Pointer> ioValue, + NSString inKeyPath, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_195( - _id, - _lib._sel_validateValue_forKeyPath_error_1, - ioValue, - inKeyPath._id, - outError); + _id, + _lib._sel_validateValue_forKeyPath_error_1, + ioValue, + inKeyPath._id, + outError, + ); } NSMutableArray mutableArrayValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_445( - _id, _lib._sel_mutableArrayValueForKeyPath_1, keyPath._id); + _id, + _lib._sel_mutableArrayValueForKeyPath_1, + keyPath._id, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableOrderedSet mutableOrderedSetValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_463( - _id, _lib._sel_mutableOrderedSetValueForKeyPath_1, keyPath._id); + _id, + _lib._sel_mutableOrderedSetValueForKeyPath_1, + keyPath._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } NSMutableSet mutableSetValueForKeyPath_(NSString keyPath) { final _ret = _lib._objc_msgSend_464( - _id, _lib._sel_mutableSetValueForKeyPath_1, keyPath._id); + _id, + _lib._sel_mutableSetValueForKeyPath_1, + keyPath._id, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } NSObject? valueForUndefinedKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_valueForUndefinedKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_valueForUndefinedKey_1, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void setValue_forUndefinedKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_setValue_forUndefinedKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_setValue_forUndefinedKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } void setNilValueForKey_(NSString key) { @@ -29885,54 +36754,84 @@ class NSObject extends _ObjCWrapper { NSDictionary dictionaryWithValuesForKeys_(NSArray keys) { final _ret = _lib._objc_msgSend_465( - _id, _lib._sel_dictionaryWithValuesForKeys_1, keys._id); + _id, + _lib._sel_dictionaryWithValuesForKeys_1, + keys._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } void setValuesForKeysWithDictionary_(NSDictionary keyedValues) { _lib._objc_msgSend_466( - _id, _lib._sel_setValuesForKeysWithDictionary_1, keyedValues._id); + _id, + _lib._sel_setValuesForKeysWithDictionary_1, + keyedValues._id, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSObject1, _lib._sel_useStoredAccessor1); + _lib._class_NSObject1, + _lib._sel_useStoredAccessor1, + ); } NSObject? storedValueForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_storedValueForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_storedValueForKey_1, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void takeStoredValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_takeStoredValue_forKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_takeStoredValue_forKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } void takeValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_127( - _id, _lib._sel_takeValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + _id, + _lib._sel_takeValue_forKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } void takeValue_forKeyPath_(NSObject? value, NSString keyPath) { - _lib._objc_msgSend_127(_id, _lib._sel_takeValue_forKeyPath_1, - value?._id ?? ffi.nullptr, keyPath._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_takeValue_forKeyPath_1, + value?._id ?? ffi.nullptr, + keyPath._id, + ); } NSObject? handleQueryWithUnboundKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_handleQueryWithUnboundKey_1, key._id); + _id, + _lib._sel_handleQueryWithUnboundKey_1, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void handleTakeValue_forUnboundKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_handleTakeValue_forUnboundKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_handleTakeValue_forUnboundKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } void unableToSetNilForKey_(NSString key) { @@ -29940,47 +36839,75 @@ class NSObject extends _ObjCWrapper { } NSDictionary valuesForKeys_(NSArray keys) { - final _ret = - _lib._objc_msgSend_465(_id, _lib._sel_valuesForKeys_1, keys._id); + final _ret = _lib._objc_msgSend_465( + _id, + _lib._sel_valuesForKeys_1, + keys._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } void takeValuesFromDictionary_(NSDictionary properties) { _lib._objc_msgSend_466( - _id, _lib._sel_takeValuesFromDictionary_1, properties._id); + _id, + _lib._sel_takeValuesFromDictionary_1, + properties._id, + ); } - void observeValueForKeyPath_ofObject_change_context_(NSString? keyPath, - NSObject? object, NSDictionary? change, ffi.Pointer context) { + void observeValueForKeyPath_ofObject_change_context_( + NSString? keyPath, + NSObject? object, + NSDictionary? change, + ffi.Pointer context, + ) { _lib._objc_msgSend_467( - _id, - _lib._sel_observeValueForKeyPath_ofObject_change_context_1, - keyPath?._id ?? ffi.nullptr, - object?._id ?? ffi.nullptr, - change?._id ?? ffi.nullptr, - context); + _id, + _lib._sel_observeValueForKeyPath_ofObject_change_context_1, + keyPath?._id ?? ffi.nullptr, + object?._id ?? ffi.nullptr, + change?._id ?? ffi.nullptr, + context, + ); } - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_131( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + _id, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer._id, + keyPath._id, + options, + context, + ); } void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_132(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_132( + _id, + _lib._sel_removeObserver_forKeyPath_context_1, + observer._id, + keyPath._id, + context, + ); } void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_133( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + _id, + _lib._sel_removeObserver_forKeyPath_1, + observer._id, + keyPath._id, + ); } void willChangeValueForKey_(NSString key) { @@ -29992,48 +36919,82 @@ class NSObject extends _ObjCWrapper { } void willChange_valuesAtIndexes_forKey_( - int changeKind, NSIndexSet indexes, NSString key) { - _lib._objc_msgSend_468(_id, _lib._sel_willChange_valuesAtIndexes_forKey_1, - changeKind, indexes._id, key._id); + int changeKind, + NSIndexSet indexes, + NSString key, + ) { + _lib._objc_msgSend_468( + _id, + _lib._sel_willChange_valuesAtIndexes_forKey_1, + changeKind, + indexes._id, + key._id, + ); } void didChange_valuesAtIndexes_forKey_( - int changeKind, NSIndexSet indexes, NSString key) { - _lib._objc_msgSend_468(_id, _lib._sel_didChange_valuesAtIndexes_forKey_1, - changeKind, indexes._id, key._id); + int changeKind, + NSIndexSet indexes, + NSString key, + ) { + _lib._objc_msgSend_468( + _id, + _lib._sel_didChange_valuesAtIndexes_forKey_1, + changeKind, + indexes._id, + key._id, + ); } void willChangeValueForKey_withSetMutation_usingObjects_( - NSString key, int mutationKind, NSSet objects) { + NSString key, + int mutationKind, + NSSet objects, + ) { _lib._objc_msgSend_469( - _id, - _lib._sel_willChangeValueForKey_withSetMutation_usingObjects_1, - key._id, - mutationKind, - objects._id); + _id, + _lib._sel_willChangeValueForKey_withSetMutation_usingObjects_1, + key._id, + mutationKind, + objects._id, + ); } void didChangeValueForKey_withSetMutation_usingObjects_( - NSString key, int mutationKind, NSSet objects) { + NSString key, + int mutationKind, + NSSet objects, + ) { _lib._objc_msgSend_469( - _id, - _lib._sel_didChangeValueForKey_withSetMutation_usingObjects_1, - key._id, - mutationKind, - objects._id); + _id, + _lib._sel_didChangeValueForKey_withSetMutation_usingObjects_1, + key._id, + mutationKind, + objects._id, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSObject1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSObject1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSObject1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSObject1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } ffi.Pointer get observationInfo { @@ -30045,12 +37006,16 @@ class NSObject extends _ObjCWrapper { } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSObject1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSObject1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } NSObject? get classForKeyedArchiver { @@ -30062,7 +37027,10 @@ class NSObject extends _ObjCWrapper { NSObject? replacementObjectForKeyedArchiver_(NSKeyedArchiver archiver) { final _ret = _lib._objc_msgSend_484( - _id, _lib._sel_replacementObjectForKeyedArchiver_1, archiver._id); + _id, + _lib._sel_replacementObjectForKeyedArchiver_1, + archiver._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -30070,74 +37038,94 @@ class NSObject extends _ObjCWrapper { static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSObject1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSObject1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSObject1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSObject1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void performSelectorOnMainThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSObject? arg, - bool wait, - NSArray? array) { + ffi.Pointer aSelector, + NSObject? arg, + bool wait, + NSArray? array, + ) { _lib._objc_msgSend_485( - _id, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1, - aSelector, - arg?._id ?? ffi.nullptr, - wait, - array?._id ?? ffi.nullptr); + _id, + _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_modes_1, + aSelector, + arg?._id ?? ffi.nullptr, + wait, + array?._id ?? ffi.nullptr, + ); } void performSelectorOnMainThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, NSObject? arg, bool wait) { + ffi.Pointer aSelector, + NSObject? arg, + bool wait, + ) { _lib._objc_msgSend_486( - _id, - _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_1, - aSelector, - arg?._id ?? ffi.nullptr, - wait); + _id, + _lib._sel_performSelectorOnMainThread_withObject_waitUntilDone_1, + aSelector, + arg?._id ?? ffi.nullptr, + wait, + ); } void performSelector_onThread_withObject_waitUntilDone_modes_( - ffi.Pointer aSelector, - NSThread thr, - NSObject? arg, - bool wait, - NSArray? array) { + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait, + NSArray? array, + ) { _lib._objc_msgSend_504( - _id, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_modes_1, - aSelector, - thr._id, - arg?._id ?? ffi.nullptr, - wait, - array?._id ?? ffi.nullptr); + _id, + _lib._sel_performSelector_onThread_withObject_waitUntilDone_modes_1, + aSelector, + thr._id, + arg?._id ?? ffi.nullptr, + wait, + array?._id ?? ffi.nullptr, + ); } void performSelector_onThread_withObject_waitUntilDone_( - ffi.Pointer aSelector, NSThread thr, NSObject? arg, bool wait) { + ffi.Pointer aSelector, + NSThread thr, + NSObject? arg, + bool wait, + ) { _lib._objc_msgSend_505( - _id, - _lib._sel_performSelector_onThread_withObject_waitUntilDone_1, - aSelector, - thr._id, - arg?._id ?? ffi.nullptr, - wait); + _id, + _lib._sel_performSelector_onThread_withObject_waitUntilDone_1, + aSelector, + thr._id, + arg?._id ?? ffi.nullptr, + wait, + ); } void performSelectorInBackground_withObject_( - ffi.Pointer aSelector, NSObject? arg) { + ffi.Pointer aSelector, + NSObject? arg, + ) { _lib._objc_msgSend_82( - _id, - _lib._sel_performSelectorInBackground_withObject_1, - aSelector, - arg?._id ?? ffi.nullptr); + _id, + _lib._sel_performSelectorInBackground_withObject_1, + aSelector, + arg?._id ?? ffi.nullptr, + ); } } @@ -30151,9 +37139,12 @@ typedef Dartinstancetype = NSObject; final class _NSZone extends ffi.Opaque {} class Protocol extends _ObjCWrapper { - Protocol._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + Protocol._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [Protocol] that points to the same underlying object as [other]. static Protocol castFrom(T other) { @@ -30162,22 +37153,31 @@ class Protocol extends _ObjCWrapper { /// Returns a [Protocol] that wraps the given raw object pointer. static Protocol castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return Protocol._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [Protocol]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_Protocol1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_Protocol1, + ); } } class NSInvocation extends NSObject { - NSInvocation._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInvocation._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSInvocation] that points to the same underlying object as [other]. static NSInvocation castFrom(T other) { @@ -30186,21 +37186,32 @@ class NSInvocation extends NSObject { /// Returns a [NSInvocation] that wraps the given raw object pointer. static NSInvocation castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInvocation._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInvocation]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSInvocation1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSInvocation1, + ); } static NSInvocation invocationWithMethodSignature_( - PedometerBindings _lib, NSMethodSignature sig) { - final _ret = _lib._objc_msgSend_370(_lib._class_NSInvocation1, - _lib._sel_invocationWithMethodSignature_1, sig._id); + PedometerBindings _lib, + NSMethodSignature sig, + ) { + final _ret = _lib._objc_msgSend_370( + _lib._class_NSInvocation1, + _lib._sel_invocationWithMethodSignature_1, + sig._id, + ); return NSInvocation._(_ret, _lib, retain: true, release: true); } @@ -30226,7 +37237,10 @@ class NSInvocation extends NSObject { set target(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setTarget_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTarget_1, + value?._id ?? ffi.nullptr, + ); } ffi.Pointer get selector { @@ -30247,12 +37261,20 @@ class NSInvocation extends NSObject { void getArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { _lib._objc_msgSend_375( - _id, _lib._sel_getArgument_atIndex_1, argumentLocation, idx); + _id, + _lib._sel_getArgument_atIndex_1, + argumentLocation, + idx, + ); } void setArgument_atIndex_(ffi.Pointer argumentLocation, int idx) { _lib._objc_msgSend_375( - _id, _lib._sel_setArgument_atIndex_1, argumentLocation, idx); + _id, + _lib._sel_setArgument_atIndex_1, + argumentLocation, + idx, + ); } void invoke() { @@ -30264,7 +37286,8 @@ class NSInvocation extends NSObject { } void invokeUsingIMP_( - ffi.Pointer> imp) { + ffi.Pointer> imp, + ) { _lib._objc_msgSend_376(_id, _lib._sel_invokeUsingIMP_1, imp); } @@ -30275,116 +37298,172 @@ class NSInvocation extends NSObject { } static NSInvocation new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInvocation1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInvocation1, + _lib._sel_new1, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static NSInvocation allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInvocation1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInvocation1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static NSInvocation alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInvocation1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInvocation1, + _lib._sel_alloc1, + ); return NSInvocation._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInvocation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInvocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInvocation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSInvocation1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInvocation1, _lib._sel_useStoredAccessor1); + _lib._class_NSInvocation1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSInvocation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSInvocation1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSInvocation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSInvocation1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSInvocation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInvocation1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSInvocation1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSInvocation1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInvocation1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInvocation1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMethodSignature extends NSObject { - NSMethodSignature._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMethodSignature._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMethodSignature] that points to the same underlying object as [other]. static NSMethodSignature castFrom(T other) { - return NSMethodSignature._(other._id, other._lib, - retain: true, release: true); + return NSMethodSignature._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSMethodSignature] that wraps the given raw object pointer. static NSMethodSignature castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMethodSignature._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMethodSignature]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMethodSignature1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMethodSignature1, + ); } static NSMethodSignature? signatureWithObjCTypes_( - PedometerBindings _lib, ffi.Pointer types) { - final _ret = _lib._objc_msgSend_9(_lib._class_NSMethodSignature1, - _lib._sel_signatureWithObjCTypes_1, types); + PedometerBindings _lib, + ffi.Pointer types, + ) { + final _ret = _lib._objc_msgSend_9( + _lib._class_NSMethodSignature1, + _lib._sel_signatureWithObjCTypes_1, + types, + ); return _ret.address == 0 ? null : NSMethodSignature._(_ret, _lib, retain: true, release: true); @@ -30421,93 +37500,134 @@ class NSMethodSignature extends NSObject { } static NSMethodSignature new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMethodSignature1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMethodSignature1, + _lib._sel_new1, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static NSMethodSignature allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMethodSignature1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMethodSignature1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static NSMethodSignature alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMethodSignature1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMethodSignature1, + _lib._sel_alloc1, + ); return NSMethodSignature._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMethodSignature1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMethodSignature1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMethodSignature1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMethodSignature1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMethodSignature1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMethodSignature1, _lib._sel_useStoredAccessor1); + _lib._class_NSMethodSignature1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMethodSignature1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMethodSignature1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMethodSignature1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMethodSignature1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMethodSignature1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMethodSignature1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSMethodSignature1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSMethodSignature1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMethodSignature1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMethodSignature1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } /// Immutable Set class NSSet extends NSObject { - NSSet._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSSet._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSSet] that points to the same underlying object as [other]. static NSSet castFrom(T other) { @@ -30516,15 +37636,21 @@ class NSSet extends NSObject { /// Returns a [NSSet] that wraps the given raw object pointer. static NSSet castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSSet]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSSet1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSSet1, + ); } int get count { @@ -30550,15 +37676,24 @@ class NSSet extends NSObject { } NSSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_58( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + _id, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSSet._(_ret, _lib, retain: true, release: true); @@ -30587,7 +37722,10 @@ class NSSet extends NSObject { NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_62( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + _id, + _lib._sel_descriptionWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -30605,57 +37743,90 @@ class NSSet extends NSObject { void makeObjectsPerformSelector_(ffi.Pointer aSelector) { _lib._objc_msgSend_7( - _id, _lib._sel_makeObjectsPerformSelector_1, aSelector); + _id, + _lib._sel_makeObjectsPerformSelector_1, + aSelector, + ); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, NSObject? argument) { + ffi.Pointer aSelector, + NSObject? argument, + ) { _lib._objc_msgSend_82( - _id, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?._id ?? ffi.nullptr); + _id, + _lib._sel_makeObjectsPerformSelector_withObject_1, + aSelector, + argument?._id ?? ffi.nullptr, + ); } NSSet setByAddingObject_(NSObject anObject) { final _ret = _lib._objc_msgSend_360( - _id, _lib._sel_setByAddingObject_1, anObject._id); + _id, + _lib._sel_setByAddingObject_1, + anObject._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet setByAddingObjectsFromSet_(NSSet other) { final _ret = _lib._objc_msgSend_361( - _id, _lib._sel_setByAddingObjectsFromSet_1, other._id); + _id, + _lib._sel_setByAddingObjectsFromSet_1, + other._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet setByAddingObjectsFromArray_(NSArray other) { final _ret = _lib._objc_msgSend_362( - _id, _lib._sel_setByAddingObjectsFromArray_1, other._id); + _id, + _lib._sel_setByAddingObjectsFromArray_1, + other._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } void enumerateObjectsUsingBlock_(ObjCBlock_ffiVoid_ObjCObject_bool block) { _lib._objc_msgSend_363( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + _id, + _lib._sel_enumerateObjectsUsingBlock_1, + block._id, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_bool block) { - _lib._objc_msgSend_364(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_ObjCObject_bool block, + ) { + _lib._objc_msgSend_364( + _id, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block._id, + ); } NSSet objectsPassingTest_(ObjCBlock_bool_ObjCObject_bool predicate) { final _ret = _lib._objc_msgSend_365( - _id, _lib._sel_objectsPassingTest_1, predicate._id); + _id, + _lib._sel_objectsPassingTest_1, + predicate._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet objectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_bool predicate) { + int opts, + ObjCBlock_bool_ObjCObject_bool predicate, + ) { final _ret = _lib._objc_msgSend_366( - _id, _lib._sel_objectsWithOptions_passingTest_1, opts, predicate._id); + _id, + _lib._sel_objectsWithOptions_passingTest_1, + opts, + predicate._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -30666,38 +37837,60 @@ class NSSet extends NSObject { static NSSet setWithObject_(PedometerBindings _lib, NSObject object) { final _ret = _lib._objc_msgSend_116( - _lib._class_NSSet1, _lib._sel_setWithObject_1, object._id); + _lib._class_NSSet1, + _lib._sel_setWithObject_1, + object._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } - static NSSet setWithObjects_count_(PedometerBindings _lib, - ffi.Pointer> objects, int cnt) { + static NSSet setWithObjects_count_( + PedometerBindings _lib, + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_58( - _lib._class_NSSet1, _lib._sel_setWithObjects_count_1, objects, cnt); + _lib._class_NSSet1, + _lib._sel_setWithObjects_count_1, + objects, + cnt, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithObjects_(PedometerBindings _lib, NSObject firstObj) { final _ret = _lib._objc_msgSend_116( - _lib._class_NSSet1, _lib._sel_setWithObjects_1, firstObj._id); + _lib._class_NSSet1, + _lib._sel_setWithObjects_1, + firstObj._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithSet_(PedometerBindings _lib, NSSet set) { final _ret = _lib._objc_msgSend_367( - _lib._class_NSSet1, _lib._sel_setWithSet_1, set._id); + _lib._class_NSSet1, + _lib._sel_setWithSet_1, + set._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static NSSet setWithArray_(PedometerBindings _lib, NSArray array) { final _ret = _lib._objc_msgSend_117( - _lib._class_NSSet1, _lib._sel_setWithArray_1, array._id); + _lib._class_NSSet1, + _lib._sel_setWithArray_1, + array._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } NSSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObjects_1, + firstObj._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -30708,13 +37901,20 @@ class NSSet extends NSObject { NSSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_368( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + _id, + _lib._sel_initWithSet_copyItems_1, + set._id, + flag, + ); return NSSet._(_ret, _lib, retain: false, release: true); } NSSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_117(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_117( + _id, + _lib._sel_initWithArray_1, + array._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -30726,43 +37926,70 @@ class NSSet extends NSObject { @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_127( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + _id, + _lib._sel_setValue_forKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_131( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + _id, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer._id, + keyPath._id, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_132(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_132( + _id, + _lib._sel_removeObserver_forKeyPath_context_1, + observer._id, + keyPath._id, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_133( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + _id, + _lib._sel_removeObserver_forKeyPath_1, + observer._id, + keyPath._id, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_60( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + _id, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSSet filteredSetUsingPredicate_(NSPredicate predicate) { final _ret = _lib._objc_msgSend_369( - _id, _lib._sel_filteredSetUsingPredicate_1, predicate._id); + _id, + _lib._sel_filteredSetUsingPredicate_1, + predicate._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -30772,9 +37999,14 @@ class NSSet extends NSObject { } static NSSet allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSSet._(_ret, _lib, retain: false, release: true); } @@ -30784,73 +38016,105 @@ class NSSet extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSEnumerator extends NSObject { - NSEnumerator._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSEnumerator._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSEnumerator] that points to the same underlying object as [other]. static NSEnumerator castFrom(T other) { @@ -30859,15 +38123,21 @@ class NSEnumerator extends NSObject { /// Returns a [NSEnumerator] that wraps the given raw object pointer. static NSEnumerator castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSEnumerator._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSEnumerator]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSEnumerator1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSEnumerator1, + ); } NSObject? nextObject() { @@ -30889,92 +38159,133 @@ class NSEnumerator extends NSObject { } static NSEnumerator new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSEnumerator1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSEnumerator1, + _lib._sel_new1, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static NSEnumerator allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSEnumerator1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSEnumerator1, + _lib._sel_allocWithZone_1, + zone, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static NSEnumerator alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSEnumerator1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSEnumerator1, + _lib._sel_alloc1, + ); return NSEnumerator._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSEnumerator1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSEnumerator1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSEnumerator1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSEnumerator1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSEnumerator1, _lib._sel_useStoredAccessor1); + _lib._class_NSEnumerator1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSEnumerator1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSEnumerator1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSEnumerator1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSEnumerator1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSEnumerator1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSEnumerator1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSEnumerator1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSEnumerator1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSEnumerator1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSEnumerator1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSString extends NSObject { - NSString._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSString._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSString] that points to the same underlying object as [other]. static NSString castFrom(T other) { @@ -30983,15 +38294,21 @@ class NSString extends NSObject { /// Returns a [NSString] that wraps the given raw object pointer. static NSString castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSString]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSString1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSString1, + ); } factory NSString(PedometerBindings _lib, String str) { @@ -31003,8 +38320,9 @@ class NSString extends NSObject { @override String toString() { - final data = - dataUsingEncoding_(0x94000100 /* NSUTF16LittleEndianStringEncoding */); + final data = dataUsingEncoding_( + 0x94000100 /* NSUTF16LittleEndianStringEncoding */, + ); return data!.bytes.cast().toDartString(length: length); } @@ -31023,16 +38341,22 @@ class NSString extends NSObject { } NSString? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString substringFromIndex_(int from) { - final _ret = - _lib._objc_msgSend_269(_id, _lib._sel_substringFromIndex_1, from); + final _ret = _lib._objc_msgSend_269( + _id, + _lib._sel_substringFromIndex_1, + from, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -31042,13 +38366,18 @@ class NSString extends NSObject { } NSString substringWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_270(_id, _lib._sel_substringWithRange_1, range); + final _ret = _lib._objc_msgSend_270( + _id, + _lib._sel_substringWithRange_1, + range, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getCharacters_range_( - ffi.Pointer buffer, _NSRange range) { + ffi.Pointer buffer, + _NSRange range, + ) { _lib._objc_msgSend_271(_id, _lib._sel_getCharacters_range_1, buffer, range); } @@ -31058,39 +38387,73 @@ class NSString extends NSObject { int compare_options_(NSString string, int mask) { return _lib._objc_msgSend_273( - _id, _lib._sel_compare_options_1, string._id, mask); + _id, + _lib._sel_compare_options_1, + string._id, + mask, + ); } int compare_options_range_( - NSString string, int mask, _NSRange rangeOfReceiverToCompare) { - return _lib._objc_msgSend_274(_id, _lib._sel_compare_options_range_1, - string._id, mask, rangeOfReceiverToCompare); + NSString string, + int mask, + _NSRange rangeOfReceiverToCompare, + ) { + return _lib._objc_msgSend_274( + _id, + _lib._sel_compare_options_range_1, + string._id, + mask, + rangeOfReceiverToCompare, + ); } - int compare_options_range_locale_(NSString string, int mask, - _NSRange rangeOfReceiverToCompare, NSObject? locale) { - return _lib._objc_msgSend_275(_id, _lib._sel_compare_options_range_locale_1, - string._id, mask, rangeOfReceiverToCompare, locale?._id ?? ffi.nullptr); + int compare_options_range_locale_( + NSString string, + int mask, + _NSRange rangeOfReceiverToCompare, + NSObject? locale, + ) { + return _lib._objc_msgSend_275( + _id, + _lib._sel_compare_options_range_locale_1, + string._id, + mask, + rangeOfReceiverToCompare, + locale?._id ?? ffi.nullptr, + ); } int caseInsensitiveCompare_(NSString string) { return _lib._objc_msgSend_272( - _id, _lib._sel_caseInsensitiveCompare_1, string._id); + _id, + _lib._sel_caseInsensitiveCompare_1, + string._id, + ); } int localizedCompare_(NSString string) { return _lib._objc_msgSend_272( - _id, _lib._sel_localizedCompare_1, string._id); + _id, + _lib._sel_localizedCompare_1, + string._id, + ); } int localizedCaseInsensitiveCompare_(NSString string) { return _lib._objc_msgSend_272( - _id, _lib._sel_localizedCaseInsensitiveCompare_1, string._id); + _id, + _lib._sel_localizedCaseInsensitiveCompare_1, + string._id, + ); } int localizedStandardCompare_(NSString string) { return _lib._objc_msgSend_272( - _id, _lib._sel_localizedStandardCompare_1, string._id); + _id, + _lib._sel_localizedStandardCompare_1, + string._id, + ); } bool isEqualToString_(NSString aString) { @@ -31107,7 +38470,11 @@ class NSString extends NSObject { NSString commonPrefixWithString_options_(NSString str, int mask) { final _ret = _lib._objc_msgSend_276( - _id, _lib._sel_commonPrefixWithString_options_1, str._id, mask); + _id, + _lib._sel_commonPrefixWithString_options_1, + str._id, + mask, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -31117,145 +38484,239 @@ class NSString extends NSObject { bool localizedCaseInsensitiveContainsString_(NSString str) { return _lib._objc_msgSend_56( - _id, _lib._sel_localizedCaseInsensitiveContainsString_1, str._id); + _id, + _lib._sel_localizedCaseInsensitiveContainsString_1, + str._id, + ); } bool localizedStandardContainsString_(NSString str) { return _lib._objc_msgSend_56( - _id, _lib._sel_localizedStandardContainsString_1, str._id); + _id, + _lib._sel_localizedStandardContainsString_1, + str._id, + ); } void localizedStandardRangeOfString_( - ffi.Pointer<_NSRange> stret, NSString str) { + ffi.Pointer<_NSRange> stret, + NSString str, + ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_277_stret( - stret, _id, _lib._sel_localizedStandardRangeOfString_1, str._id) + stret, + _id, + _lib._sel_localizedStandardRangeOfString_1, + str._id, + ) : stret.ref = _lib._objc_msgSend_277( - _id, _lib._sel_localizedStandardRangeOfString_1, str._id); + _id, + _lib._sel_localizedStandardRangeOfString_1, + str._id, + ); } void rangeOfString_(ffi.Pointer<_NSRange> stret, NSString searchString) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_277_stret( - stret, _id, _lib._sel_rangeOfString_1, searchString._id) + stret, + _id, + _lib._sel_rangeOfString_1, + searchString._id, + ) : stret.ref = _lib._objc_msgSend_277( - _id, _lib._sel_rangeOfString_1, searchString._id); + _id, + _lib._sel_rangeOfString_1, + searchString._id, + ); } void rangeOfString_options_( - ffi.Pointer<_NSRange> stret, NSString searchString, int mask) { + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + ) { _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_278_stret(stret, _id, - _lib._sel_rangeOfString_options_1, searchString._id, mask) + ? _lib._objc_msgSend_278_stret( + stret, + _id, + _lib._sel_rangeOfString_options_1, + searchString._id, + mask, + ) : stret.ref = _lib._objc_msgSend_278( - _id, _lib._sel_rangeOfString_options_1, searchString._id, mask); + _id, + _lib._sel_rangeOfString_options_1, + searchString._id, + mask, + ); } - void rangeOfString_options_range_(ffi.Pointer<_NSRange> stret, - NSString searchString, int mask, _NSRange rangeOfReceiverToSearch) { + void rangeOfString_options_range_( + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + _NSRange rangeOfReceiverToSearch, + ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_279_stret( - stret, - _id, - _lib._sel_rangeOfString_options_range_1, - searchString._id, - mask, - rangeOfReceiverToSearch) + stret, + _id, + _lib._sel_rangeOfString_options_range_1, + searchString._id, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_279( - _id, - _lib._sel_rangeOfString_options_range_1, - searchString._id, - mask, - rangeOfReceiverToSearch); + _id, + _lib._sel_rangeOfString_options_range_1, + searchString._id, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfString_options_range_locale_( - ffi.Pointer<_NSRange> stret, - NSString searchString, - int mask, - _NSRange rangeOfReceiverToSearch, - NSLocale? locale) { + ffi.Pointer<_NSRange> stret, + NSString searchString, + int mask, + _NSRange rangeOfReceiverToSearch, + NSLocale? locale, + ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_298_stret( - stret, - _id, - _lib._sel_rangeOfString_options_range_locale_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - locale?._id ?? ffi.nullptr) + stret, + _id, + _lib._sel_rangeOfString_options_range_locale_1, + searchString._id, + mask, + rangeOfReceiverToSearch, + locale?._id ?? ffi.nullptr, + ) : stret.ref = _lib._objc_msgSend_298( - _id, - _lib._sel_rangeOfString_options_range_locale_1, - searchString._id, - mask, - rangeOfReceiverToSearch, - locale?._id ?? ffi.nullptr); + _id, + _lib._sel_rangeOfString_options_range_locale_1, + searchString._id, + mask, + rangeOfReceiverToSearch, + locale?._id ?? ffi.nullptr, + ); } void rangeOfCharacterFromSet_( - ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet) { + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_299_stret( - stret, _id, _lib._sel_rangeOfCharacterFromSet_1, searchSet._id) + stret, + _id, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet._id, + ) : stret.ref = _lib._objc_msgSend_299( - _id, _lib._sel_rangeOfCharacterFromSet_1, searchSet._id); + _id, + _lib._sel_rangeOfCharacterFromSet_1, + searchSet._id, + ); } void rangeOfCharacterFromSet_options_( - ffi.Pointer<_NSRange> stret, NSCharacterSet searchSet, int mask) { + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + int mask, + ) { _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_300_stret(stret, _id, - _lib._sel_rangeOfCharacterFromSet_options_1, searchSet._id, mask) - : stret.ref = _lib._objc_msgSend_300(_id, - _lib._sel_rangeOfCharacterFromSet_options_1, searchSet._id, mask); - } - - void rangeOfCharacterFromSet_options_range_(ffi.Pointer<_NSRange> stret, - NSCharacterSet searchSet, int mask, _NSRange rangeOfReceiverToSearch) { + ? _lib._objc_msgSend_300_stret( + stret, + _id, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet._id, + mask, + ) + : stret.ref = _lib._objc_msgSend_300( + _id, + _lib._sel_rangeOfCharacterFromSet_options_1, + searchSet._id, + mask, + ); + } + + void rangeOfCharacterFromSet_options_range_( + ffi.Pointer<_NSRange> stret, + NSCharacterSet searchSet, + int mask, + _NSRange rangeOfReceiverToSearch, + ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_301_stret( - stret, - _id, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet._id, - mask, - rangeOfReceiverToSearch) + stret, + _id, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet._id, + mask, + rangeOfReceiverToSearch, + ) : stret.ref = _lib._objc_msgSend_301( - _id, - _lib._sel_rangeOfCharacterFromSet_options_range_1, - searchSet._id, - mask, - rangeOfReceiverToSearch); + _id, + _lib._sel_rangeOfCharacterFromSet_options_range_1, + searchSet._id, + mask, + rangeOfReceiverToSearch, + ); } void rangeOfComposedCharacterSequenceAtIndex_( - ffi.Pointer<_NSRange> stret, int index) { + ffi.Pointer<_NSRange> stret, + int index, + ) { _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_302_stret(stret, _id, - _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, index) + ? _lib._objc_msgSend_302_stret( + stret, + _id, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ) : stret.ref = _lib._objc_msgSend_302( - _id, _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, index); + _id, + _lib._sel_rangeOfComposedCharacterSequenceAtIndex_1, + index, + ); } void rangeOfComposedCharacterSequencesForRange_( - ffi.Pointer<_NSRange> stret, _NSRange range) { + ffi.Pointer<_NSRange> stret, + _NSRange range, + ) { _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_303_stret(stret, _id, - _lib._sel_rangeOfComposedCharacterSequencesForRange_1, range) + ? _lib._objc_msgSend_303_stret( + stret, + _id, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_303( - _id, _lib._sel_rangeOfComposedCharacterSequencesForRange_1, range); + _id, + _lib._sel_rangeOfComposedCharacterSequencesForRange_1, + range, + ); } NSString stringByAppendingString_(NSString aString) { final _ret = _lib._objc_msgSend_61( - _id, _lib._sel_stringByAppendingString_1, aString._id); + _id, + _lib._sel_stringByAppendingString_1, + aString._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByAppendingFormat_(NSString format) { final _ret = _lib._objc_msgSend_61( - _id, _lib._sel_stringByAppendingFormat_1, format._id); + _id, + _lib._sel_stringByAppendingFormat_1, + format._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -31303,98 +38764,138 @@ class NSString extends NSObject { } NSString get localizedUppercaseString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedUppercaseString1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_localizedUppercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get localizedLowercaseString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedLowercaseString1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_localizedLowercaseString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get localizedCapitalizedString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedCapitalizedString1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_localizedCapitalizedString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString uppercaseStringWithLocale_(NSLocale? locale) { final _ret = _lib._objc_msgSend_304( - _id, _lib._sel_uppercaseStringWithLocale_1, locale?._id ?? ffi.nullptr); + _id, + _lib._sel_uppercaseStringWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString lowercaseStringWithLocale_(NSLocale? locale) { final _ret = _lib._objc_msgSend_304( - _id, _lib._sel_lowercaseStringWithLocale_1, locale?._id ?? ffi.nullptr); + _id, + _lib._sel_lowercaseStringWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString capitalizedStringWithLocale_(NSLocale? locale) { - final _ret = _lib._objc_msgSend_304(_id, - _lib._sel_capitalizedStringWithLocale_1, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_304( + _id, + _lib._sel_capitalizedStringWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getLineStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer lineEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range) { + ffi.Pointer startPtr, + ffi.Pointer lineEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range, + ) { _lib._objc_msgSend_305( - _id, - _lib._sel_getLineStart_end_contentsEnd_forRange_1, - startPtr, - lineEndPtr, - contentsEndPtr, - range); + _id, + _lib._sel_getLineStart_end_contentsEnd_forRange_1, + startPtr, + lineEndPtr, + contentsEndPtr, + range, + ); } void lineRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_303_stret( - stret, _id, _lib._sel_lineRangeForRange_1, range) - : stret.ref = - _lib._objc_msgSend_303(_id, _lib._sel_lineRangeForRange_1, range); + stret, + _id, + _lib._sel_lineRangeForRange_1, + range, + ) + : stret.ref = _lib._objc_msgSend_303( + _id, + _lib._sel_lineRangeForRange_1, + range, + ); } void getParagraphStart_end_contentsEnd_forRange_( - ffi.Pointer startPtr, - ffi.Pointer parEndPtr, - ffi.Pointer contentsEndPtr, - _NSRange range) { + ffi.Pointer startPtr, + ffi.Pointer parEndPtr, + ffi.Pointer contentsEndPtr, + _NSRange range, + ) { _lib._objc_msgSend_305( - _id, - _lib._sel_getParagraphStart_end_contentsEnd_forRange_1, - startPtr, - parEndPtr, - contentsEndPtr, - range); + _id, + _lib._sel_getParagraphStart_end_contentsEnd_forRange_1, + startPtr, + parEndPtr, + contentsEndPtr, + range, + ); } void paragraphRangeForRange_(ffi.Pointer<_NSRange> stret, _NSRange range) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_303_stret( - stret, _id, _lib._sel_paragraphRangeForRange_1, range) + stret, + _id, + _lib._sel_paragraphRangeForRange_1, + range, + ) : stret.ref = _lib._objc_msgSend_303( - _id, _lib._sel_paragraphRangeForRange_1, range); + _id, + _lib._sel_paragraphRangeForRange_1, + range, + ); } - void enumerateSubstringsInRange_options_usingBlock_(_NSRange range, int opts, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + void enumerateSubstringsInRange_options_usingBlock_( + _NSRange range, + int opts, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, + ) { _lib._objc_msgSend_306( - _id, - _lib._sel_enumerateSubstringsInRange_options_usingBlock_1, - range, - opts, - block._id); + _id, + _lib._sel_enumerateSubstringsInRange_options_usingBlock_1, + range, + opts, + block._id, + ); } void enumerateLinesUsingBlock_(ObjCBlock_ffiVoid_NSString_bool block) { _lib._objc_msgSend_307( - _id, _lib._sel_enumerateLinesUsingBlock_1, block._id); + _id, + _lib._sel_enumerateLinesUsingBlock_1, + block._id, + ); } ffi.Pointer get UTF8String { @@ -31410,16 +38911,23 @@ class NSString extends NSObject { } NSData? dataUsingEncoding_allowLossyConversion_(int encoding, bool lossy) { - final _ret = _lib._objc_msgSend_308(_id, - _lib._sel_dataUsingEncoding_allowLossyConversion_1, encoding, lossy); + final _ret = _lib._objc_msgSend_308( + _id, + _lib._sel_dataUsingEncoding_allowLossyConversion_1, + encoding, + lossy, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? dataUsingEncoding_(int encoding) { - final _ret = - _lib._objc_msgSend_309(_id, _lib._sel_dataUsingEncoding_1, encoding); + final _ret = _lib._objc_msgSend_309( + _id, + _lib._sel_dataUsingEncoding_1, + encoding, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -31427,201 +38935,272 @@ class NSString extends NSObject { bool canBeConvertedToEncoding_(int encoding) { return _lib._objc_msgSend_89( - _id, _lib._sel_canBeConvertedToEncoding_1, encoding); + _id, + _lib._sel_canBeConvertedToEncoding_1, + encoding, + ); } ffi.Pointer cStringUsingEncoding_(int encoding) { return _lib._objc_msgSend_11( - _id, _lib._sel_cStringUsingEncoding_1, encoding); + _id, + _lib._sel_cStringUsingEncoding_1, + encoding, + ); } bool getCString_maxLength_encoding_( - ffi.Pointer buffer, int maxBufferCount, int encoding) { + ffi.Pointer buffer, + int maxBufferCount, + int encoding, + ) { return _lib._objc_msgSend_310( - _id, - _lib._sel_getCString_maxLength_encoding_1, - buffer, - maxBufferCount, - encoding); + _id, + _lib._sel_getCString_maxLength_encoding_1, + buffer, + maxBufferCount, + encoding, + ); } bool getBytes_maxLength_usedLength_encoding_options_range_remainingRange_( - ffi.Pointer buffer, - int maxBufferCount, - ffi.Pointer usedBufferCount, - int encoding, - int options, - _NSRange range, - ffi.Pointer<_NSRange> leftover) { + ffi.Pointer buffer, + int maxBufferCount, + ffi.Pointer usedBufferCount, + int encoding, + int options, + _NSRange range, + ffi.Pointer<_NSRange> leftover, + ) { return _lib._objc_msgSend_311( - _id, - _lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1, - buffer, - maxBufferCount, - usedBufferCount, - encoding, - options, - range, - leftover); + _id, + _lib._sel_getBytes_maxLength_usedLength_encoding_options_range_remainingRange_1, + buffer, + maxBufferCount, + usedBufferCount, + encoding, + options, + range, + leftover, + ); } int maximumLengthOfBytesUsingEncoding_(int enc) { return _lib._objc_msgSend_86( - _id, _lib._sel_maximumLengthOfBytesUsingEncoding_1, enc); + _id, + _lib._sel_maximumLengthOfBytesUsingEncoding_1, + enc, + ); } int lengthOfBytesUsingEncoding_(int enc) { return _lib._objc_msgSend_86( - _id, _lib._sel_lengthOfBytesUsingEncoding_1, enc); + _id, + _lib._sel_lengthOfBytesUsingEncoding_1, + enc, + ); } static ffi.Pointer getAvailableStringEncodings( - PedometerBindings _lib) { + PedometerBindings _lib, + ) { return _lib._objc_msgSend_312( - _lib._class_NSString1, _lib._sel_availableStringEncodings1); + _lib._class_NSString1, + _lib._sel_availableStringEncodings1, + ); } static NSString localizedNameOfStringEncoding_( - PedometerBindings _lib, int encoding) { - final _ret = _lib._objc_msgSend_269(_lib._class_NSString1, - _lib._sel_localizedNameOfStringEncoding_1, encoding); + PedometerBindings _lib, + int encoding, + ) { + final _ret = _lib._objc_msgSend_269( + _lib._class_NSString1, + _lib._sel_localizedNameOfStringEncoding_1, + encoding, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int getDefaultCStringEncoding(PedometerBindings _lib) { return _lib._objc_msgSend_10( - _lib._class_NSString1, _lib._sel_defaultCStringEncoding1); + _lib._class_NSString1, + _lib._sel_defaultCStringEncoding1, + ); } NSString get decomposedStringWithCanonicalMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_decomposedStringWithCanonicalMapping1); + _id, + _lib._sel_decomposedStringWithCanonicalMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get precomposedStringWithCanonicalMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_precomposedStringWithCanonicalMapping1); + _id, + _lib._sel_precomposedStringWithCanonicalMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get decomposedStringWithCompatibilityMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_decomposedStringWithCompatibilityMapping1); + _id, + _lib._sel_decomposedStringWithCompatibilityMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get precomposedStringWithCompatibilityMapping { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_precomposedStringWithCompatibilityMapping1); + _id, + _lib._sel_precomposedStringWithCompatibilityMapping1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray componentsSeparatedByString_(NSString separator) { final _ret = _lib._objc_msgSend_313( - _id, _lib._sel_componentsSeparatedByString_1, separator._id); + _id, + _lib._sel_componentsSeparatedByString_1, + separator._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray componentsSeparatedByCharactersInSet_(NSCharacterSet separator) { final _ret = _lib._objc_msgSend_314( - _id, _lib._sel_componentsSeparatedByCharactersInSet_1, separator._id); + _id, + _lib._sel_componentsSeparatedByCharactersInSet_1, + separator._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString stringByTrimmingCharactersInSet_(NSCharacterSet set) { final _ret = _lib._objc_msgSend_315( - _id, _lib._sel_stringByTrimmingCharactersInSet_1, set._id); + _id, + _lib._sel_stringByTrimmingCharactersInSet_1, + set._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByPaddingToLength_withString_startingAtIndex_( - int newLength, NSString padString, int padIndex) { + int newLength, + NSString padString, + int padIndex, + ) { final _ret = _lib._objc_msgSend_316( - _id, - _lib._sel_stringByPaddingToLength_withString_startingAtIndex_1, - newLength, - padString._id, - padIndex); + _id, + _lib._sel_stringByPaddingToLength_withString_startingAtIndex_1, + newLength, + padString._id, + padIndex, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByFoldingWithOptions_locale_(int options, NSLocale? locale) { final _ret = _lib._objc_msgSend_317( - _id, - _lib._sel_stringByFoldingWithOptions_locale_1, - options, - locale?._id ?? ffi.nullptr); + _id, + _lib._sel_stringByFoldingWithOptions_locale_1, + options, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_options_range_( - NSString target, - NSString replacement, - int options, - _NSRange searchRange) { + NSString target, + NSString replacement, + int options, + _NSRange searchRange, + ) { final _ret = _lib._objc_msgSend_318( - _id, - _lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1, - target._id, - replacement._id, - options, - searchRange); + _id, + _lib._sel_stringByReplacingOccurrencesOfString_withString_options_range_1, + target._id, + replacement._id, + options, + searchRange, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingOccurrencesOfString_withString_( - NSString target, NSString replacement) { + NSString target, + NSString replacement, + ) { final _ret = _lib._objc_msgSend_319( - _id, - _lib._sel_stringByReplacingOccurrencesOfString_withString_1, - target._id, - replacement._id); + _id, + _lib._sel_stringByReplacingOccurrencesOfString_withString_1, + target._id, + replacement._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByReplacingCharactersInRange_withString_( - _NSRange range, NSString replacement) { + _NSRange range, + NSString replacement, + ) { final _ret = _lib._objc_msgSend_320( - _id, - _lib._sel_stringByReplacingCharactersInRange_withString_1, - range, - replacement._id); + _id, + _lib._sel_stringByReplacingCharactersInRange_withString_1, + range, + replacement._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? stringByApplyingTransform_reverse_( - NSString transform, bool reverse) { - final _ret = _lib._objc_msgSend_321(_id, - _lib._sel_stringByApplyingTransform_reverse_1, transform._id, reverse); + NSString transform, + bool reverse, + ) { + final _ret = _lib._objc_msgSend_321( + _id, + _lib._sel_stringByApplyingTransform_reverse_1, + transform._id, + reverse, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - bool writeToURL_atomically_encoding_error_(NSURL url, bool useAuxiliaryFile, - int enc, ffi.Pointer> error) { + bool writeToURL_atomically_encoding_error_( + NSURL url, + bool useAuxiliaryFile, + int enc, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_322( - _id, - _lib._sel_writeToURL_atomically_encoding_error_1, - url._id, - useAuxiliaryFile, - enc, - error); + _id, + _lib._sel_writeToURL_atomically_encoding_error_1, + url._id, + useAuxiliaryFile, + enc, + error, + ); } bool writeToFile_atomically_encoding_error_( - NSString path, - bool useAuxiliaryFile, - int enc, - ffi.Pointer> error) { + NSString path, + bool useAuxiliaryFile, + int enc, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_323( - _id, - _lib._sel_writeToFile_atomically_encoding_error_1, - path._id, - useAuxiliaryFile, - enc, - error); + _id, + _lib._sel_writeToFile_atomically_encoding_error_1, + path._id, + useAuxiliaryFile, + enc, + error, + ); } NSString get description { @@ -31634,144 +39213,187 @@ class NSString extends NSObject { } NSString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, int length, bool freeBuffer) { + ffi.Pointer characters, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_324( - _id, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer); + _id, + _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, + characters, + length, + freeBuffer, + ); return NSString._(_ret, _lib, retain: false, release: true); } NSString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_325( - _id, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithCharactersNoCopy_length_deallocator_1, + chars, + len, + deallocator?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: false, release: true); } NSString initWithCharacters_length_( - ffi.Pointer characters, int length) { + ffi.Pointer characters, + int length, + ) { final _ret = _lib._objc_msgSend_326( - _id, _lib._sel_initWithCharacters_length_1, characters, length); + _id, + _lib._sel_initWithCharacters_length_1, + characters, + length, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithUTF8String_(ffi.Pointer nullTerminatedCString) { final _ret = _lib._objc_msgSend_327( - _id, _lib._sel_initWithUTF8String_1, nullTerminatedCString); + _id, + _lib._sel_initWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString initWithString_(NSString aString) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, aString._id); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initWithString_1, + aString._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_(NSString format) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithFormat_1, format._id); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initWithFormat_1, + format._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_arguments_( - NSString format, ffi.Pointer argList) { + NSString format, + ffi.Pointer argList, + ) { final _ret = _lib._objc_msgSend_328( - _id, _lib._sel_initWithFormat_arguments_1, format._id, argList); + _id, + _lib._sel_initWithFormat_arguments_1, + format._id, + argList, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_329(_id, _lib._sel_initWithFormat_locale_1, - format._id, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_329( + _id, + _lib._sel_initWithFormat_locale_1, + format._id, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString initWithFormat_locale_arguments_( - NSString format, NSObject? locale, ffi.Pointer argList) { + NSString format, + NSObject? locale, + ffi.Pointer argList, + ) { final _ret = _lib._objc_msgSend_330( - _id, - _lib._sel_initWithFormat_locale_arguments_1, - format._id, - locale?._id ?? ffi.nullptr, - argList); + _id, + _lib._sel_initWithFormat_locale_arguments_1, + format._id, + locale?._id ?? ffi.nullptr, + argList, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_331( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _id, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, + format._id, + validFormatSpecifiers._id, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_332( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, + format._id, + validFormatSpecifiers._id, + locale?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer argList, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_333( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format._id, - validFormatSpecifiers._id, - argList, - error); + _id, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, + format._id, + validFormatSpecifiers._id, + argList, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_334( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - argList, - error); + _id, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, + format._id, + validFormatSpecifiers._id, + locale?._id ?? ffi.nullptr, + argList, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -31779,47 +39401,66 @@ class NSString extends NSObject { NSString? initWithData_encoding_(NSData data, int encoding) { final _ret = _lib._objc_msgSend_335( - _id, _lib._sel_initWithData_encoding_1, data._id, encoding); + _id, + _lib._sel_initWithData_encoding_1, + data._id, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithBytes_length_encoding_( - ffi.Pointer bytes, int len, int encoding) { + ffi.Pointer bytes, + int len, + int encoding, + ) { final _ret = _lib._objc_msgSend_336( - _id, _lib._sel_initWithBytes_length_encoding_1, bytes, len, encoding); + _id, + _lib._sel_initWithBytes_length_encoding_1, + bytes, + len, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + ffi.Pointer bytes, + int len, + int encoding, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_337( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer); + _id, + _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, + bytes, + len, + encoding, + freeBuffer, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: false, release: true); } NSString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_338( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, + bytes, + len, + encoding, + deallocator?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: false, release: true); @@ -31832,21 +39473,36 @@ class NSString extends NSObject { static NSString stringWithString_(PedometerBindings _lib, NSString string) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, _lib._sel_stringWithString_1, string._id); + _lib._class_NSString1, + _lib._sel_stringWithString_1, + string._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } - static NSString stringWithCharacters_length_(PedometerBindings _lib, - ffi.Pointer characters, int length) { - final _ret = _lib._objc_msgSend_326(_lib._class_NSString1, - _lib._sel_stringWithCharacters_length_1, characters, length); + static NSString stringWithCharacters_length_( + PedometerBindings _lib, + ffi.Pointer characters, + int length, + ) { + final _ret = _lib._objc_msgSend_326( + _lib._class_NSString1, + _lib._sel_stringWithCharacters_length_1, + characters, + length, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithUTF8String_( - PedometerBindings _lib, ffi.Pointer nullTerminatedCString) { - final _ret = _lib._objc_msgSend_327(_lib._class_NSString1, - _lib._sel_stringWithUTF8String_1, nullTerminatedCString); + PedometerBindings _lib, + ffi.Pointer nullTerminatedCString, + ) { + final _ret = _lib._objc_msgSend_327( + _lib._class_NSString1, + _lib._sel_stringWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -31854,198 +39510,249 @@ class NSString extends NSObject { static NSString stringWithFormat_(PedometerBindings _lib, NSString format) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSString1, _lib._sel_stringWithFormat_1, format._id); + _lib._class_NSString1, + _lib._sel_stringWithFormat_1, + format._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString localizedStringWithFormat_( - PedometerBindings _lib, NSString format) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSString1, - _lib._sel_localizedStringWithFormat_1, format._id); + PedometerBindings _lib, + NSString format, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSString1, + _lib._sel_localizedStringWithFormat_1, + format._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithValidatedFormat_validFormatSpecifiers_error_( - PedometerBindings _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + PedometerBindings _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_331( - _lib._class_NSString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSString1, + _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, + format._id, + validFormatSpecifiers._id, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - PedometerBindings _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + PedometerBindings _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_331( - _lib._class_NSString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSString1, + _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, + format._id, + validFormatSpecifiers._id, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, int encoding) { - final _ret = _lib._objc_msgSend_339(_id, - _lib._sel_initWithCString_encoding_1, nullTerminatedCString, encoding); + ffi.Pointer nullTerminatedCString, + int encoding, + ) { + final _ret = _lib._objc_msgSend_339( + _id, + _lib._sel_initWithCString_encoding_1, + nullTerminatedCString, + encoding, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithCString_encoding_( - PedometerBindings _lib, ffi.Pointer cString, int enc) { - final _ret = _lib._objc_msgSend_339(_lib._class_NSString1, - _lib._sel_stringWithCString_encoding_1, cString, enc); + PedometerBindings _lib, + ffi.Pointer cString, + int enc, + ) { + final _ret = _lib._objc_msgSend_339( + _lib._class_NSString1, + _lib._sel_stringWithCString_encoding_1, + cString, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfURL_encoding_error_( - NSURL url, int enc, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_340(_id, - _lib._sel_initWithContentsOfURL_encoding_error_1, url._id, enc, error); + NSURL url, + int enc, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_340( + _id, + _lib._sel_initWithContentsOfURL_encoding_error_1, + url._id, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfFile_encoding_error_( - NSString path, int enc, ffi.Pointer> error) { + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_341( - _id, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + _id, + _lib._sel_initWithContentsOfFile_encoding_error_1, + path._id, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithContentsOfURL_encoding_error_( - PedometerBindings _lib, - NSURL url, - int enc, - ffi.Pointer> error) { + PedometerBindings _lib, + NSURL url, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_340( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_encoding_error_1, + url._id, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithContentsOfFile_encoding_error_( - PedometerBindings _lib, - NSString path, - int enc, - ffi.Pointer> error) { + PedometerBindings _lib, + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_341( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_encoding_error_1, + path._id, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_342( - _id, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + _id, + _lib._sel_initWithContentsOfURL_usedEncoding_error_1, + url._id, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_343( - _id, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + _id, + _lib._sel_initWithContentsOfFile_usedEncoding_error_1, + path._id, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithContentsOfURL_usedEncoding_error_( - PedometerBindings _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + PedometerBindings _lib, + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_342( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, + url._id, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSString? stringWithContentsOfFile_usedEncoding_error_( - PedometerBindings _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + PedometerBindings _lib, + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_343( - _lib._class_NSString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, + path._id, + enc, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - PedometerBindings _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion) { + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + PedometerBindings _lib, + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion, + ) { return _lib._objc_msgSend_344( - _lib._class_NSString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data._id, - opts?._id ?? ffi.nullptr, - string, - usedLossyConversion); + _lib._class_NSString1, + _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, + data._id, + opts?._id ?? ffi.nullptr, + string, + usedLossyConversion, + ); } NSObject propertyList() { @@ -32055,7 +39762,9 @@ class NSString extends NSObject { NSDictionary? propertyListFromStringsFileFormat() { final _ret = _lib._objc_msgSend_345( - _id, _lib._sel_propertyListFromStringsFileFormat1); + _id, + _lib._sel_propertyListFromStringsFileFormat1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -32079,50 +39788,78 @@ class NSString extends NSObject { void getCString_maxLength_(ffi.Pointer bytes, int maxLength) { _lib._objc_msgSend_346( - _id, _lib._sel_getCString_maxLength_1, bytes, maxLength); + _id, + _lib._sel_getCString_maxLength_1, + bytes, + maxLength, + ); } - void getCString_maxLength_range_remainingRange_(ffi.Pointer bytes, - int maxLength, _NSRange aRange, ffi.Pointer<_NSRange> leftoverRange) { + void getCString_maxLength_range_remainingRange_( + ffi.Pointer bytes, + int maxLength, + _NSRange aRange, + ffi.Pointer<_NSRange> leftoverRange, + ) { _lib._objc_msgSend_347( - _id, - _lib._sel_getCString_maxLength_range_remainingRange_1, - bytes, - maxLength, - aRange, - leftoverRange); + _id, + _lib._sel_getCString_maxLength_range_remainingRange_1, + bytes, + maxLength, + aRange, + leftoverRange, + ); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + _id, + _lib._sel_writeToFile_atomically_1, + path._id, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_126( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + _id, + _lib._sel_writeToURL_atomically_1, + url._id, + atomically, + ); } NSObject? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + _id, + _lib._sel_initWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_223(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_223( + _id, + _lib._sel_initWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithContentsOfFile_( - PedometerBindings _lib, NSString path) { + PedometerBindings _lib, + NSString path, + ) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSString1, _lib._sel_stringWithContentsOfFile_1, path._id); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -32130,20 +39867,27 @@ class NSString extends NSObject { static NSObject? stringWithContentsOfURL_(PedometerBindings _lib, NSURL url) { final _ret = _lib._objc_msgSend_223( - _lib._class_NSString1, _lib._sel_stringWithContentsOfURL_1, url._id); + _lib._class_NSString1, + _lib._sel_stringWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithCStringNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool freeBuffer) { + ffi.Pointer bytes, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_348( - _id, - _lib._sel_initWithCStringNoCopy_length_freeWhenDone_1, - bytes, - length, - freeBuffer); + _id, + _lib._sel_initWithCStringNoCopy_length_freeWhenDone_1, + bytes, + length, + freeBuffer, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: false, release: true); @@ -32151,33 +39895,52 @@ class NSString extends NSObject { NSObject? initWithCString_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_339( - _id, _lib._sel_initWithCString_length_1, bytes, length); + _id, + _lib._sel_initWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? initWithCString_(ffi.Pointer bytes) { - final _ret = - _lib._objc_msgSend_327(_id, _lib._sel_initWithCString_1, bytes); + final _ret = _lib._objc_msgSend_327( + _id, + _lib._sel_initWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_length_( - PedometerBindings _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_339(_lib._class_NSString1, - _lib._sel_stringWithCString_length_1, bytes, length); + PedometerBindings _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_339( + _lib._class_NSString1, + _lib._sel_stringWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_( - PedometerBindings _lib, ffi.Pointer bytes) { + PedometerBindings _lib, + ffi.Pointer bytes, + ) { final _ret = _lib._objc_msgSend_327( - _lib._class_NSString1, _lib._sel_stringWithCString_1, bytes); + _lib._class_NSString1, + _lib._sel_stringWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -32189,14 +39952,22 @@ class NSString extends NSObject { NSString variantFittingPresentationWidth_(int width) { final _ret = _lib._objc_msgSend_350( - _id, _lib._sel_variantFittingPresentationWidth_1, width); + _id, + _lib._sel_variantFittingPresentationWidth_1, + width, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString pathWithComponents_( - PedometerBindings _lib, NSArray components) { + PedometerBindings _lib, + NSArray components, + ) { final _ret = _lib._objc_msgSend_351( - _lib._class_NSString1, _lib._sel_pathWithComponents_1, components._id); + _lib._class_NSString1, + _lib._sel_pathWithComponents_1, + components._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -32216,13 +39987,18 @@ class NSString extends NSObject { NSString get stringByDeletingLastPathComponent { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_stringByDeletingLastPathComponent1); + _id, + _lib._sel_stringByDeletingLastPathComponent1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString stringByAppendingPathComponent_(NSString str) { final _ret = _lib._objc_msgSend_61( - _id, _lib._sel_stringByAppendingPathComponent_1, str._id); + _id, + _lib._sel_stringByAppendingPathComponent_1, + str._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -32232,14 +40008,19 @@ class NSString extends NSObject { } NSString get stringByDeletingPathExtension { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByDeletingPathExtension1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_stringByDeletingPathExtension1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString? stringByAppendingPathExtension_(NSString str) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_stringByAppendingPathExtension_1, str._id); + _id, + _lib._sel_stringByAppendingPathExtension_1, + str._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -32247,46 +40028,59 @@ class NSString extends NSObject { NSString get stringByAbbreviatingWithTildeInPath { final _ret = _lib._objc_msgSend_21( - _id, _lib._sel_stringByAbbreviatingWithTildeInPath1); + _id, + _lib._sel_stringByAbbreviatingWithTildeInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByExpandingTildeInPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByExpandingTildeInPath1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_stringByExpandingTildeInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByStandardizingPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByStandardizingPath1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_stringByStandardizingPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get stringByResolvingSymlinksInPath { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_stringByResolvingSymlinksInPath1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_stringByResolvingSymlinksInPath1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray stringsByAppendingPaths_(NSArray paths) { final _ret = _lib._objc_msgSend_60( - _id, _lib._sel_stringsByAppendingPaths_1, paths._id); + _id, + _lib._sel_stringsByAppendingPaths_1, + paths._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_( - ffi.Pointer> outputName, - bool flag, - ffi.Pointer> outputArray, - NSArray? filterTypes) { + ffi.Pointer> outputName, + bool flag, + ffi.Pointer> outputArray, + NSArray? filterTypes, + ) { return _lib._objc_msgSend_352( - _id, - _lib._sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1, - outputName, - flag, - outputArray, - filterTypes?._id ?? ffi.nullptr); + _id, + _lib._sel_completePathIntoString_caseSensitive_matchesIntoArray_filterTypes_1, + outputName, + flag, + outputArray, + filterTypes?._id ?? ffi.nullptr, + ); } ffi.Pointer get fileSystemRepresentation { @@ -32294,25 +40088,35 @@ class NSString extends NSObject { } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer cname, int max) { + ffi.Pointer cname, + int max, + ) { return _lib._objc_msgSend_194( - _id, _lib._sel_getFileSystemRepresentation_maxLength_1, cname, max); + _id, + _lib._sel_getFileSystemRepresentation_maxLength_1, + cname, + max, + ); } NSString? stringByAddingPercentEncodingWithAllowedCharacters_( - NSCharacterSet allowedCharacters) { + NSCharacterSet allowedCharacters, + ) { final _ret = _lib._objc_msgSend_353( - _id, - _lib._sel_stringByAddingPercentEncodingWithAllowedCharacters_1, - allowedCharacters._id); + _id, + _lib._sel_stringByAddingPercentEncodingWithAllowedCharacters_1, + allowedCharacters._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSString? get stringByRemovingPercentEncoding { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_stringByRemovingPercentEncoding1); + final _ret = _lib._objc_msgSend_44( + _id, + _lib._sel_stringByRemovingPercentEncoding1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -32320,7 +40124,10 @@ class NSString extends NSObject { NSString? stringByAddingPercentEscapesUsingEncoding_(int enc) { final _ret = _lib._objc_msgSend_354( - _id, _lib._sel_stringByAddingPercentEscapesUsingEncoding_1, enc); + _id, + _lib._sel_stringByAddingPercentEscapesUsingEncoding_1, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -32328,43 +40135,50 @@ class NSString extends NSObject { NSString? stringByReplacingPercentEscapesUsingEncoding_(int enc) { final _ret = _lib._objc_msgSend_354( - _id, _lib._sel_stringByReplacingPercentEscapesUsingEncoding_1, enc); + _id, + _lib._sel_stringByReplacingPercentEscapesUsingEncoding_1, + enc, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray linguisticTagsInRange_scheme_options_orthography_tokenRanges_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ffi.Pointer> tokenRanges) { + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ffi.Pointer> tokenRanges, + ) { final _ret = _lib._objc_msgSend_357( - _id, - _lib._sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1, - range, - scheme._id, - options, - orthography?._id ?? ffi.nullptr, - tokenRanges); + _id, + _lib._sel_linguisticTagsInRange_scheme_options_orthography_tokenRanges_1, + range, + scheme._id, + options, + orthography?._id ?? ffi.nullptr, + tokenRanges, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_( - _NSRange range, - NSString scheme, - int options, - NSOrthography? orthography, - ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block) { + _NSRange range, + NSString scheme, + int options, + NSOrthography? orthography, + ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool block, + ) { _lib._objc_msgSend_358( - _id, - _lib._sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1, - range, - scheme._id, - options, - orthography?._id ?? ffi.nullptr, - block._id); + _id, + _lib._sel_enumerateLinguisticTagsInRange_scheme_options_orthography_usingBlock_1, + range, + scheme._id, + options, + orthography?._id ?? ffi.nullptr, + block._id, + ); } static NSString new1(PedometerBindings _lib) { @@ -32373,9 +40187,14 @@ class NSString extends NSObject { } static NSString allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSString._(_ret, _lib, retain: false, release: true); } @@ -32385,65 +40204,94 @@ class NSString extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSString1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSString1, _lib._sel_useStoredAccessor1); + _lib._class_NSString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSString1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -32453,9 +40301,12 @@ extension StringToNSString on String { } class NSCoder extends NSObject { - NSCoder._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCoder._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSCoder] that points to the same underlying object as [other]. static NSCoder castFrom(T other) { @@ -32464,21 +40315,33 @@ class NSCoder extends NSObject { /// Returns a [NSCoder] that wraps the given raw object pointer. static NSCoder castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCoder._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCoder]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSCoder1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSCoder1, + ); } void encodeValueOfObjCType_at_( - ffi.Pointer type, ffi.Pointer addr) { + ffi.Pointer type, + ffi.Pointer addr, + ) { _lib._objc_msgSend_19( - _id, _lib._sel_encodeValueOfObjCType_at_1, type, addr); + _id, + _lib._sel_encodeValueOfObjCType_at_1, + type, + addr, + ); } void encodeDataObject_(NSData data) { @@ -32493,19 +40356,33 @@ class NSCoder extends NSObject { } void decodeValueOfObjCType_at_size_( - ffi.Pointer type, ffi.Pointer data, int size) { + ffi.Pointer type, + ffi.Pointer data, + int size, + ) { _lib._objc_msgSend_233( - _id, _lib._sel_decodeValueOfObjCType_at_size_1, type, data, size); + _id, + _lib._sel_decodeValueOfObjCType_at_size_1, + type, + data, + size, + ); } int versionForClassName_(NSString className) { return _lib._objc_msgSend_234( - _id, _lib._sel_versionForClassName_1, className._id); + _id, + _lib._sel_versionForClassName_1, + className._id, + ); } void encodeObject_(NSObject? object) { _lib._objc_msgSend_235( - _id, _lib._sel_encodeObject_1, object?._id ?? ffi.nullptr); + _id, + _lib._sel_encodeObject_1, + object?._id ?? ffi.nullptr, + ); } void encodeRootObject_(NSObject rootObject) { @@ -32514,17 +40391,26 @@ class NSCoder extends NSObject { void encodeBycopyObject_(NSObject? anObject) { _lib._objc_msgSend_235( - _id, _lib._sel_encodeBycopyObject_1, anObject?._id ?? ffi.nullptr); + _id, + _lib._sel_encodeBycopyObject_1, + anObject?._id ?? ffi.nullptr, + ); } void encodeByrefObject_(NSObject? anObject) { _lib._objc_msgSend_235( - _id, _lib._sel_encodeByrefObject_1, anObject?._id ?? ffi.nullptr); + _id, + _lib._sel_encodeByrefObject_1, + anObject?._id ?? ffi.nullptr, + ); } void encodeConditionalObject_(NSObject? object) { _lib._objc_msgSend_235( - _id, _lib._sel_encodeConditionalObject_1, object?._id ?? ffi.nullptr); + _id, + _lib._sel_encodeConditionalObject_1, + object?._id ?? ffi.nullptr, + ); } void encodeValuesOfObjCTypes_(ffi.Pointer types) { @@ -32532,14 +40418,26 @@ class NSCoder extends NSObject { } void encodeArrayOfObjCType_count_at_( - ffi.Pointer type, int count, ffi.Pointer array) { + ffi.Pointer type, + int count, + ffi.Pointer array, + ) { _lib._objc_msgSend_237( - _id, _lib._sel_encodeArrayOfObjCType_count_at_1, type, count, array); + _id, + _lib._sel_encodeArrayOfObjCType_count_at_1, + type, + count, + array, + ); } void encodeBytes_length_(ffi.Pointer byteaddr, int length) { _lib._objc_msgSend_22( - _id, _lib._sel_encodeBytes_length_1, byteaddr, length); + _id, + _lib._sel_encodeBytes_length_1, + byteaddr, + length, + ); } NSObject? decodeObject() { @@ -32550,9 +40448,13 @@ class NSCoder extends NSObject { } NSObject? decodeTopLevelObjectAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_238( - _id, _lib._sel_decodeTopLevelObjectAndReturnError_1, error); + _id, + _lib._sel_decodeTopLevelObjectAndReturnError_1, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -32563,20 +40465,35 @@ class NSCoder extends NSObject { } void decodeArrayOfObjCType_count_at_( - ffi.Pointer itemType, int count, ffi.Pointer array) { - _lib._objc_msgSend_237(_id, _lib._sel_decodeArrayOfObjCType_count_at_1, - itemType, count, array); + ffi.Pointer itemType, + int count, + ffi.Pointer array, + ) { + _lib._objc_msgSend_237( + _id, + _lib._sel_decodeArrayOfObjCType_count_at_1, + itemType, + count, + array, + ); } ffi.Pointer decodeBytesWithReturnedLength_( - ffi.Pointer lengthp) { + ffi.Pointer lengthp, + ) { return _lib._objc_msgSend_239( - _id, _lib._sel_decodeBytesWithReturnedLength_1, lengthp); + _id, + _lib._sel_decodeBytesWithReturnedLength_1, + lengthp, + ); } void encodePropertyList_(NSObject aPropertyList) { _lib._objc_msgSend_15( - _id, _lib._sel_encodePropertyList_1, aPropertyList._id); + _id, + _lib._sel_encodePropertyList_1, + aPropertyList._id, + ); } NSObject? decodePropertyList() { @@ -32603,13 +40520,21 @@ class NSCoder extends NSObject { } void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_encodeObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_encodeObject_forKey_1, + object?._id ?? ffi.nullptr, + key._id, + ); } void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_encodeConditionalObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_encodeConditionalObject_forKey_1, + object?._id ?? ffi.nullptr, + key._id, + ); } void encodeBool_forKey_(bool value, NSString key) { @@ -32634,13 +40559,25 @@ class NSCoder extends NSObject { void encodeDouble_forKey_(double value, NSString key) { _lib._objc_msgSend_247( - _id, _lib._sel_encodeDouble_forKey_1, value, key._id); + _id, + _lib._sel_encodeDouble_forKey_1, + value, + key._id, + ); } void encodeBytes_length_forKey_( - ffi.Pointer bytes, int length, NSString key) { + ffi.Pointer bytes, + int length, + NSString key, + ) { _lib._objc_msgSend_248( - _id, _lib._sel_encodeBytes_length_forKey_1, bytes, length, key._id); + _id, + _lib._sel_encodeBytes_length_forKey_1, + bytes, + length, + key._id, + ); } bool containsValueForKey_(NSString key) { @@ -32648,17 +40585,26 @@ class NSCoder extends NSObject { } NSObject? decodeObjectForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_decodeObjectForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_decodeObjectForKey_1, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? decodeTopLevelObjectForKey_error_( - NSString key, ffi.Pointer> error) { + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_249( - _id, _lib._sel_decodeTopLevelObjectForKey_error_1, key._id, error); + _id, + _lib._sel_decodeTopLevelObjectForKey_error_1, + key._id, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -32683,31 +40629,50 @@ class NSCoder extends NSObject { double decodeFloatForKey_(NSString key) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_253_fpret( - _id, _lib._sel_decodeFloatForKey_1, key._id) + _id, + _lib._sel_decodeFloatForKey_1, + key._id, + ) : _lib._objc_msgSend_253(_id, _lib._sel_decodeFloatForKey_1, key._id); } double decodeDoubleForKey_(NSString key) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_254_fpret( - _id, _lib._sel_decodeDoubleForKey_1, key._id) + _id, + _lib._sel_decodeDoubleForKey_1, + key._id, + ) : _lib._objc_msgSend_254(_id, _lib._sel_decodeDoubleForKey_1, key._id); } ffi.Pointer decodeBytesForKey_returnedLength_( - NSString key, ffi.Pointer lengthp) { + NSString key, + ffi.Pointer lengthp, + ) { return _lib._objc_msgSend_255( - _id, _lib._sel_decodeBytesForKey_returnedLength_1, key._id, lengthp); + _id, + _lib._sel_decodeBytesForKey_returnedLength_1, + key._id, + lengthp, + ); } void encodeInteger_forKey_(int value, NSString key) { _lib._objc_msgSend_256( - _id, _lib._sel_encodeInteger_forKey_1, value, key._id); + _id, + _lib._sel_encodeInteger_forKey_1, + value, + key._id, + ); } int decodeIntegerForKey_(NSString key) { return _lib._objc_msgSend_234( - _id, _lib._sel_decodeIntegerForKey_1, key._id); + _id, + _lib._sel_decodeIntegerForKey_1, + key._id, + ); } bool get requiresSecureCoding { @@ -32716,20 +40681,28 @@ class NSCoder extends NSObject { NSObject? decodeObjectOfClass_forKey_(NSObject aClass, NSString key) { final _ret = _lib._objc_msgSend_257( - _id, _lib._sel_decodeObjectOfClass_forKey_1, aClass._id, key._id); + _id, + _lib._sel_decodeObjectOfClass_forKey_1, + aClass._id, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClass_forKey_error_(NSObject aClass, - NSString key, ffi.Pointer> error) { + NSObject? decodeTopLevelObjectOfClass_forKey_error_( + NSObject aClass, + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_258( - _id, - _lib._sel_decodeTopLevelObjectOfClass_forKey_error_1, - aClass._id, - key._id, - error); + _id, + _lib._sel_decodeTopLevelObjectOfClass_forKey_error_1, + aClass._id, + key._id, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -32742,7 +40715,11 @@ class NSCoder extends NSObject { /// Returns \c nil if the object for \c key is not of the expected types, or cannot be decoded, and sets the \c error on the decoder. NSArray? decodeArrayOfObjectsOfClass_forKey_(NSObject cls, NSString key) { final _ret = _lib._objc_msgSend_259( - _id, _lib._sel_decodeArrayOfObjectsOfClass_forKey_1, cls._id, key._id); + _id, + _lib._sel_decodeArrayOfObjectsOfClass_forKey_1, + cls._id, + key._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -32754,13 +40731,17 @@ class NSCoder extends NSObject { /// /// Returns \c nil if the object for \c key is not of the expected types, or cannot be decoded, and sets the \c error on the decoder. NSDictionary? decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_( - NSObject keyCls, NSObject objectCls, NSString key) { + NSObject keyCls, + NSObject objectCls, + NSString key, + ) { final _ret = _lib._objc_msgSend_260( - _id, - _lib._sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1, - keyCls._id, - objectCls._id, - key._id); + _id, + _lib._sel_decodeDictionaryWithKeysOfClass_objectsOfClass_forKey_1, + keyCls._id, + objectCls._id, + key._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -32768,23 +40749,28 @@ class NSCoder extends NSObject { NSObject? decodeObjectOfClasses_forKey_(NSSet? classes, NSString key) { final _ret = _lib._objc_msgSend_261( - _id, - _lib._sel_decodeObjectOfClasses_forKey_1, - classes?._id ?? ffi.nullptr, - key._id); + _id, + _lib._sel_decodeObjectOfClasses_forKey_1, + classes?._id ?? ffi.nullptr, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - NSObject? decodeTopLevelObjectOfClasses_forKey_error_(NSSet? classes, - NSString key, ffi.Pointer> error) { + NSObject? decodeTopLevelObjectOfClasses_forKey_error_( + NSSet? classes, + NSString key, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_262( - _id, - _lib._sel_decodeTopLevelObjectOfClasses_forKey_error_1, - classes?._id ?? ffi.nullptr, - key._id, - error); + _id, + _lib._sel_decodeTopLevelObjectOfClasses_forKey_error_1, + classes?._id ?? ffi.nullptr, + key._id, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -32796,8 +40782,12 @@ class NSCoder extends NSObject { /// /// Returns \c nil if the object for \c key is not of the expected types, or cannot be decoded, and sets the \c error on the decoder. NSArray? decodeArrayOfObjectsOfClasses_forKey_(NSSet classes, NSString key) { - final _ret = _lib._objc_msgSend_263(_id, - _lib._sel_decodeArrayOfObjectsOfClasses_forKey_1, classes._id, key._id); + final _ret = _lib._objc_msgSend_263( + _id, + _lib._sel_decodeArrayOfObjectsOfClasses_forKey_1, + classes._id, + key._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -32809,13 +40799,17 @@ class NSCoder extends NSObject { /// /// Returns \c nil if the object for \c key is not of the expected types, or cannot be decoded, and sets the \c error on the decoder. NSDictionary? decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_( - NSSet keyClasses, NSSet objectClasses, NSString key) { + NSSet keyClasses, + NSSet objectClasses, + NSString key, + ) { final _ret = _lib._objc_msgSend_264( - _id, - _lib._sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1, - keyClasses._id, - objectClasses._id, - key._id); + _id, + _lib._sel_decodeDictionaryWithKeysOfClasses_objectsOfClasses_forKey_1, + keyClasses._id, + objectClasses._id, + key._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -32823,7 +40817,10 @@ class NSCoder extends NSObject { NSObject? decodePropertyListForKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_decodePropertyListForKey_1, key._id); + _id, + _lib._sel_decodePropertyListForKey_1, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -32907,9 +40904,15 @@ class NSCoder extends NSObject { } void decodeValueOfObjCType_at_( - ffi.Pointer type, ffi.Pointer data) { + ffi.Pointer type, + ffi.Pointer data, + ) { _lib._objc_msgSend_19( - _id, _lib._sel_decodeValueOfObjCType_at_1, type, data); + _id, + _lib._sel_decodeValueOfObjCType_at_1, + type, + data, + ); } @override @@ -32924,9 +40927,14 @@ class NSCoder extends NSObject { } static NSCoder allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCoder1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCoder1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCoder._(_ret, _lib, retain: false, release: true); } @@ -32936,74 +40944,106 @@ class NSCoder extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCoder1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSCoder1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCoder1, _lib._sel_useStoredAccessor1); + _lib._class_NSCoder1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSCoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSCoder1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSCoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSCoder1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSCoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCoder1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSCoder1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCoder1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCoder1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCoder1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } /// Immutable Data class NSData extends NSObject { - NSData._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSData._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSData] that points to the same underlying object as [other]. static NSData castFrom(T other) { @@ -33012,15 +41052,21 @@ class NSData extends NSObject { /// Returns a [NSData] that wraps the given raw object pointer. static NSData castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSData._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSData]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSData1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSData1, + ); } int get length { @@ -33049,55 +41095,92 @@ class NSData extends NSObject { } NSData subdataWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_25(_id, _lib._sel_subdataWithRange_1, range); + final _ret = _lib._objc_msgSend_25( + _id, + _lib._sel_subdataWithRange_1, + range, + ); return NSData._(_ret, _lib, retain: true, release: true); } bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + _id, + _lib._sel_writeToFile_atomically_1, + path._id, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_126( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + _id, + _lib._sel_writeToURL_atomically_1, + url._id, + atomically, + ); } - bool writeToFile_options_error_(NSString path, int writeOptionsMask, - ffi.Pointer> errorPtr) { - return _lib._objc_msgSend_215(_id, _lib._sel_writeToFile_options_error_1, - path._id, writeOptionsMask, errorPtr); + bool writeToFile_options_error_( + NSString path, + int writeOptionsMask, + ffi.Pointer> errorPtr, + ) { + return _lib._objc_msgSend_215( + _id, + _lib._sel_writeToFile_options_error_1, + path._id, + writeOptionsMask, + errorPtr, + ); } - bool writeToURL_options_error_(NSURL url, int writeOptionsMask, - ffi.Pointer> errorPtr) { - return _lib._objc_msgSend_216(_id, _lib._sel_writeToURL_options_error_1, - url._id, writeOptionsMask, errorPtr); + bool writeToURL_options_error_( + NSURL url, + int writeOptionsMask, + ffi.Pointer> errorPtr, + ) { + return _lib._objc_msgSend_216( + _id, + _lib._sel_writeToURL_options_error_1, + url._id, + writeOptionsMask, + errorPtr, + ); } - void rangeOfData_options_range_(ffi.Pointer<_NSRange> stret, - NSData dataToFind, int mask, _NSRange searchRange) { + void rangeOfData_options_range_( + ffi.Pointer<_NSRange> stret, + NSData dataToFind, + int mask, + _NSRange searchRange, + ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_217_stret( - stret, - _id, - _lib._sel_rangeOfData_options_range_1, - dataToFind._id, - mask, - searchRange) + stret, + _id, + _lib._sel_rangeOfData_options_range_1, + dataToFind._id, + mask, + searchRange, + ) : stret.ref = _lib._objc_msgSend_217( - _id, - _lib._sel_rangeOfData_options_range_1, - dataToFind._id, - mask, - searchRange); + _id, + _lib._sel_rangeOfData_options_range_1, + dataToFind._id, + mask, + searchRange, + ); } void enumerateByteRangesUsingBlock_( - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block) { + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool block, + ) { _lib._objc_msgSend_218( - _id, _lib._sel_enumerateByteRangesUsingBlock_1, block._id); + _id, + _lib._sel_enumerateByteRangesUsingBlock_1, + block._id, + ); } static NSData data(PedometerBindings _lib) { @@ -33106,62 +41189,94 @@ class NSData extends NSObject { } static NSData dataWithBytes_length_( - PedometerBindings _lib, ffi.Pointer bytes, int length) { + PedometerBindings _lib, + ffi.Pointer bytes, + int length, + ) { final _ret = _lib._objc_msgSend_219( - _lib._class_NSData1, _lib._sel_dataWithBytes_length_1, bytes, length); + _lib._class_NSData1, + _lib._sel_dataWithBytes_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } static NSData dataWithBytesNoCopy_length_( - PedometerBindings _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_219(_lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_1, bytes, length); + PedometerBindings _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_219( + _lib._class_NSData1, + _lib._sel_dataWithBytesNoCopy_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: false, release: true); } static NSData dataWithBytesNoCopy_length_freeWhenDone_( - PedometerBindings _lib, ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_220(_lib._class_NSData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + PedometerBindings _lib, + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_220( + _lib._class_NSData1, + _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSData._(_ret, _lib, retain: false, release: true); } static NSData? dataWithContentsOfFile_options_error_( - PedometerBindings _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr) { + PedometerBindings _lib, + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_221( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfFile_options_error_1, + path._id, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } static NSData? dataWithContentsOfURL_options_error_( - PedometerBindings _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr) { + PedometerBindings _lib, + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_222( - _lib._class_NSData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfURL_options_error_1, + url._id, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } static NSData? dataWithContentsOfFile_( - PedometerBindings _lib, NSString path) { + PedometerBindings _lib, + NSString path, + ) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSData1, _lib._sel_dataWithContentsOfFile_1, path._id); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -33169,7 +41284,10 @@ class NSData extends NSObject { static NSData? dataWithContentsOfURL_(PedometerBindings _lib, NSURL url) { final _ret = _lib._objc_msgSend_223( - _lib._class_NSData1, _lib._sel_dataWithContentsOfURL_1, url._id); + _lib._class_NSData1, + _lib._sel_dataWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -33177,55 +41295,83 @@ class NSData extends NSObject { NSData initWithBytes_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_219( - _id, _lib._sel_initWithBytes_length_1, bytes, length); + _id, + _lib._sel_initWithBytes_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData initWithBytesNoCopy_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_219( - _id, _lib._sel_initWithBytesNoCopy_length_1, bytes, length); + _id, + _lib._sel_initWithBytesNoCopy_length_1, + bytes, + length, + ); return NSData._(_ret, _lib, retain: false, release: true); } NSData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_220(_id, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_220( + _id, + _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSData._(_ret, _lib, retain: false, release: true); } - NSData initWithBytesNoCopy_length_deallocator_(ffi.Pointer bytes, - int length, ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + NSData initWithBytesNoCopy_length_deallocator_( + ffi.Pointer bytes, + int length, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_224( - _id, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithBytesNoCopy_length_deallocator_1, + bytes, + length, + deallocator?._id ?? ffi.nullptr, + ); return NSData._(_ret, _lib, retain: false, release: true); } - NSData? initWithContentsOfFile_options_error_(NSString path, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSData? initWithContentsOfFile_options_error_( + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_221( - _id, - _lib._sel_initWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + _id, + _lib._sel_initWithContentsOfFile_options_error_1, + path._id, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } - NSData? initWithContentsOfURL_options_error_(NSURL url, int readOptionsMask, - ffi.Pointer> errorPtr) { + NSData? initWithContentsOfURL_options_error_( + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_222( - _id, - _lib._sel_initWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + _id, + _lib._sel_initWithContentsOfURL_options_error_1, + url._id, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -33233,39 +41379,54 @@ class NSData extends NSObject { NSData? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + _id, + _lib._sel_initWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_223(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_223( + _id, + _lib._sel_initWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_225(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_225( + _id, + _lib._sel_initWithData_1, + data._id, + ); return NSData._(_ret, _lib, retain: true, release: true); } static NSData dataWithData_(PedometerBindings _lib, NSData data) { final _ret = _lib._objc_msgSend_225( - _lib._class_NSData1, _lib._sel_dataWithData_1, data._id); + _lib._class_NSData1, + _lib._sel_dataWithData_1, + data._id, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData? initWithBase64EncodedString_options_( - NSString base64String, int options) { + NSString base64String, + int options, + ) { final _ret = _lib._objc_msgSend_226( - _id, - _lib._sel_initWithBase64EncodedString_options_1, - base64String._id, - options); + _id, + _lib._sel_initWithBase64EncodedString_options_1, + base64String._id, + options, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -33273,13 +41434,20 @@ class NSData extends NSObject { NSString base64EncodedStringWithOptions_(int options) { final _ret = _lib._objc_msgSend_227( - _id, _lib._sel_base64EncodedStringWithOptions_1, options); + _id, + _lib._sel_base64EncodedStringWithOptions_1, + options, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSData? initWithBase64EncodedData_options_(NSData base64Data, int options) { - final _ret = _lib._objc_msgSend_228(_id, - _lib._sel_initWithBase64EncodedData_options_1, base64Data._id, options); + final _ret = _lib._objc_msgSend_228( + _id, + _lib._sel_initWithBase64EncodedData_options_1, + base64Data._id, + options, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -33287,23 +41455,38 @@ class NSData extends NSObject { NSData base64EncodedDataWithOptions_(int options) { final _ret = _lib._objc_msgSend_229( - _id, _lib._sel_base64EncodedDataWithOptions_1, options); + _id, + _lib._sel_base64EncodedDataWithOptions_1, + options, + ); return NSData._(_ret, _lib, retain: true, release: true); } NSData? decompressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_230(_id, - _lib._sel_decompressedDataUsingAlgorithm_error_1, algorithm, error); + int algorithm, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_230( + _id, + _lib._sel_decompressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? compressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_230( - _id, _lib._sel_compressedDataUsingAlgorithm_error_1, algorithm, error); + _id, + _lib._sel_compressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -33314,9 +41497,14 @@ class NSData extends NSObject { } static NSObject? dataWithContentsOfMappedFile_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSData1, - _lib._sel_dataWithContentsOfMappedFile_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSData1, + _lib._sel_dataWithContentsOfMappedFile_1, + path._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -33324,7 +41512,10 @@ class NSData extends NSObject { NSObject? initWithContentsOfMappedFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfMappedFile_1, path._id); + _id, + _lib._sel_initWithContentsOfMappedFile_1, + path._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -33332,7 +41523,10 @@ class NSData extends NSObject { NSObject? initWithBase64Encoding_(NSString base64String) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithBase64Encoding_1, base64String._id); + _id, + _lib._sel_initWithBase64Encoding_1, + base64String._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -33355,9 +41549,14 @@ class NSData extends NSObject { } static NSData allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSData1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSData1, + _lib._sel_allocWithZone_1, + zone, + ); return NSData._(_ret, _lib, retain: false, release: true); } @@ -33367,65 +41566,94 @@ class NSData extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSData1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSData1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSData1, _lib._sel_useStoredAccessor1); + _lib._class_NSData1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSData1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSData1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSData1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSData1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSData1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSData1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSData1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -33439,9 +41667,12 @@ final class _NSRange extends ffi.Struct { } class NSURL extends NSObject { - NSURL._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURL._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURL] that points to the same underlying object as [other]. static NSURL castFrom(T other) { @@ -33450,124 +41681,174 @@ class NSURL extends NSObject { /// Returns a [NSURL] that wraps the given raw object pointer. static NSURL castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURL._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURL]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURL1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURL1, + ); } NSURL? initWithScheme_host_path_( - NSString scheme, NSString? host, NSString path) { + NSString scheme, + NSString? host, + NSString path, + ) { final _ret = _lib._objc_msgSend_27( - _id, - _lib._sel_initWithScheme_host_path_1, - scheme._id, - host?._id ?? ffi.nullptr, - path._id); + _id, + _lib._sel_initWithScheme_host_path_1, + scheme._id, + host?._id ?? ffi.nullptr, + path._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_relativeToURL_( - NSString path, bool isDir, NSURL? baseURL) { + NSString path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_28( - _id, - _lib._sel_initFileURLWithPath_isDirectory_relativeToURL_1, - path._id, - isDir, - baseURL?._id ?? ffi.nullptr); + _id, + _lib._sel_initFileURLWithPath_isDirectory_relativeToURL_1, + path._id, + isDir, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_relativeToURL_(NSString path, NSURL? baseURL) { final _ret = _lib._objc_msgSend_29( - _id, - _lib._sel_initFileURLWithPath_relativeToURL_1, - path._id, - baseURL?._id ?? ffi.nullptr); + _id, + _lib._sel_initFileURLWithPath_relativeToURL_1, + path._id, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_isDirectory_(NSString path, bool isDir) { final _ret = _lib._objc_msgSend_30( - _id, _lib._sel_initFileURLWithPath_isDirectory_1, path._id, isDir); + _id, + _lib._sel_initFileURLWithPath_isDirectory_1, + path._id, + isDir, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithPath_(NSString path) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initFileURLWithPath_1, path._id); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initFileURLWithPath_1, + path._id, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_isDirectory_relativeToURL_( - PedometerBindings _lib, NSString path, bool isDir, NSURL? baseURL) { + PedometerBindings _lib, + NSString path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_32( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_relativeToURL_1, - path._id, - isDir, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_isDirectory_relativeToURL_1, + path._id, + isDir, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_relativeToURL_( - PedometerBindings _lib, NSString path, NSURL? baseURL) { + PedometerBindings _lib, + NSString path, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_33( - _lib._class_NSURL1, - _lib._sel_fileURLWithPath_relativeToURL_1, - path._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_relativeToURL_1, + path._id, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_isDirectory_( - PedometerBindings _lib, NSString path, bool isDir) { - final _ret = _lib._objc_msgSend_34(_lib._class_NSURL1, - _lib._sel_fileURLWithPath_isDirectory_1, path._id, isDir); + PedometerBindings _lib, + NSString path, + bool isDir, + ) { + final _ret = _lib._objc_msgSend_34( + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_isDirectory_1, + path._id, + isDir, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithPath_(PedometerBindings _lib, NSString path) { final _ret = _lib._objc_msgSend_35( - _lib._class_NSURL1, _lib._sel_fileURLWithPath_1, path._id); + _lib._class_NSURL1, + _lib._sel_fileURLWithPath_1, + path._id, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - ffi.Pointer path, bool isDir, NSURL? baseURL) { + ffi.Pointer path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_36( - _id, - _lib._sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?._id ?? ffi.nullptr); + _id, + _lib._sel_initFileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, + path, + isDir, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_( - PedometerBindings _lib, - ffi.Pointer path, - bool isDir, - NSURL? baseURL) { + PedometerBindings _lib, + ffi.Pointer path, + bool isDir, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_37( - _lib._class_NSURL1, - _lib._sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, - path, - isDir, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_fileURLWithFileSystemRepresentation_isDirectory_relativeToURL_1, + path, + isDir, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL? initWithString_(NSString URLString) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithString_1, URLString._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_initWithString_1, + URLString._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -33575,10 +41856,11 @@ class NSURL extends NSObject { NSURL? initWithString_relativeToURL_(NSString URLString, NSURL? baseURL) { final _ret = _lib._objc_msgSend_39( - _id, - _lib._sel_initWithString_relativeToURL_1, - URLString._id, - baseURL?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithString_relativeToURL_1, + URLString._id, + baseURL?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -33586,19 +41868,26 @@ class NSURL extends NSObject { static NSURL? URLWithString_(PedometerBindings _lib, NSString URLString) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSURL1, _lib._sel_URLWithString_1, URLString._id); + _lib._class_NSURL1, + _lib._sel_URLWithString_1, + URLString._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSURL? URLWithString_relativeToURL_( - PedometerBindings _lib, NSString URLString, NSURL? baseURL) { + PedometerBindings _lib, + NSString URLString, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_39( - _lib._class_NSURL1, - _lib._sel_URLWithString_relativeToURL_1, - URLString._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_URLWithString_relativeToURL_1, + URLString._id, + baseURL?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -33613,12 +41902,15 @@ class NSURL extends NSObject { /// - Parameter encodingInvalidCharacters: True if `NSURL` should try to encode an invalid URL string, false otherwise. /// - Returns: An `NSURL` instance for a valid URL, or `nil` if the URL is invalid. NSURL? initWithString_encodingInvalidCharacters_( - NSString URLString, bool encodingInvalidCharacters) { + NSString URLString, + bool encodingInvalidCharacters, + ) { final _ret = _lib._objc_msgSend_40( - _id, - _lib._sel_initWithString_encodingInvalidCharacters_1, - URLString._id, - encodingInvalidCharacters); + _id, + _lib._sel_initWithString_encodingInvalidCharacters_1, + URLString._id, + encodingInvalidCharacters, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -33632,13 +41924,17 @@ class NSURL extends NSObject { /// - Parameter URLString: The URL string. /// - Parameter encodingInvalidCharacters: True if `NSURL` should try to encode an invalid URL string, false otherwise. /// - Returns: An `NSURL` instance for a valid URL, or `nil` if the URL is invalid. - static NSURL? URLWithString_encodingInvalidCharacters_(PedometerBindings _lib, - NSString URLString, bool encodingInvalidCharacters) { + static NSURL? URLWithString_encodingInvalidCharacters_( + PedometerBindings _lib, + NSString URLString, + bool encodingInvalidCharacters, + ) { final _ret = _lib._objc_msgSend_40( - _lib._class_NSURL1, - _lib._sel_URLWithString_encodingInvalidCharacters_1, - URLString._id, - encodingInvalidCharacters); + _lib._class_NSURL1, + _lib._sel_URLWithString_encodingInvalidCharacters_1, + URLString._id, + encodingInvalidCharacters, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -33646,40 +41942,52 @@ class NSURL extends NSObject { NSURL initWithDataRepresentation_relativeToURL_(NSData data, NSURL? baseURL) { final _ret = _lib._objc_msgSend_41( - _id, - _lib._sel_initWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithDataRepresentation_relativeToURL_1, + data._id, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL URLWithDataRepresentation_relativeToURL_( - PedometerBindings _lib, NSData data, NSURL? baseURL) { + PedometerBindings _lib, + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_URLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_URLWithDataRepresentation_relativeToURL_1, + data._id, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } NSURL initAbsoluteURLWithDataRepresentation_relativeToURL_( - NSData data, NSURL? baseURL) { + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_41( - _id, - _lib._sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + _id, + _lib._sel_initAbsoluteURLWithDataRepresentation_relativeToURL_1, + data._id, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } static NSURL absoluteURLWithDataRepresentation_relativeToURL_( - PedometerBindings _lib, NSData data, NSURL? baseURL) { + PedometerBindings _lib, + NSData data, + NSURL? baseURL, + ) { final _ret = _lib._objc_msgSend_42( - _lib._class_NSURL1, - _lib._sel_absoluteURLWithDataRepresentation_relativeToURL_1, - data._id, - baseURL?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_absoluteURLWithDataRepresentation_relativeToURL_1, + data._id, + baseURL?._id ?? ffi.nullptr, + ); return NSURL._(_ret, _lib, retain: true, release: true); } @@ -33796,12 +42104,15 @@ class NSURL extends NSObject { } bool getFileSystemRepresentation_maxLength_( - ffi.Pointer buffer, int maxBufferLength) { + ffi.Pointer buffer, + int maxBufferLength, + ) { return _lib._objc_msgSend_194( - _id, - _lib._sel_getFileSystemRepresentation_maxLength_1, - buffer, - maxBufferLength); + _id, + _lib._sel_getFileSystemRepresentation_maxLength_1, + buffer, + maxBufferLength, + ); } ffi.Pointer get fileSystemRepresentation { @@ -33838,41 +42149,66 @@ class NSURL extends NSObject { } bool getResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error) { + ffi.Pointer> value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_195( - _id, _lib._sel_getResourceValue_forKey_error_1, value, key._id, error); + _id, + _lib._sel_getResourceValue_forKey_error_1, + value, + key._id, + error, + ); } NSObject? resourceValuesForKeys_error_( - NSArray keys, ffi.Pointer> error) { + NSArray keys, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_196( - _id, _lib._sel_resourceValuesForKeys_error_1, keys._id, error); + _id, + _lib._sel_resourceValuesForKeys_error_1, + keys._id, + error, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } - bool setResourceValue_forKey_error_(NSObject? value, NSString key, - ffi.Pointer> error) { + bool setResourceValue_forKey_error_( + NSObject? value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_197( - _id, - _lib._sel_setResourceValue_forKey_error_1, - value?._id ?? ffi.nullptr, - key._id, - error); + _id, + _lib._sel_setResourceValue_forKey_error_1, + value?._id ?? ffi.nullptr, + key._id, + error, + ); } bool setResourceValues_error_( - NSObject keyedValues, ffi.Pointer> error) { + NSObject keyedValues, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_198( - _id, _lib._sel_setResourceValues_error_1, keyedValues._id, error); + _id, + _lib._sel_setResourceValues_error_1, + keyedValues._id, + error, + ); } void removeCachedResourceValueForKey_(NSString key) { _lib._objc_msgSend_199( - _id, _lib._sel_removeCachedResourceValueForKey_1, key._id); + _id, + _lib._sel_removeCachedResourceValueForKey_1, + key._id, + ); } void removeAllCachedResourceValues() { @@ -33880,119 +42216,141 @@ class NSURL extends NSObject { } void setTemporaryResourceValue_forKey_(NSObject? value, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_setTemporaryResourceValue_forKey_1, - value?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_setTemporaryResourceValue_forKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } NSData? - bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( - int options, - NSArray? keys, - NSURL? relativeURL, - ffi.Pointer> error) { + bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_( + int options, + NSArray? keys, + NSURL? relativeURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_200( - _id, - _lib._sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1, - options, - keys?._id ?? ffi.nullptr, - relativeURL?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_bookmarkDataWithOptions_includingResourceValuesForKeys_relativeToURL_error_1, + options, + keys?._id ?? ffi.nullptr, + relativeURL?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSURL? - initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error) { + initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_201( - _id, - _lib._sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData._id, - options, - relativeURL?._id ?? ffi.nullptr, - isStale, - error); + _id, + _lib._sel_initByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, + bookmarkData._id, + options, + relativeURL?._id ?? ffi.nullptr, + isStale, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSURL? - URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( - PedometerBindings _lib, - NSData bookmarkData, - int options, - NSURL? relativeURL, - ffi.Pointer isStale, - ffi.Pointer> error) { + URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_( + PedometerBindings _lib, + NSData bookmarkData, + int options, + NSURL? relativeURL, + ffi.Pointer isStale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_201( - _lib._class_NSURL1, - _lib._sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, - bookmarkData._id, - options, - relativeURL?._id ?? ffi.nullptr, - isStale, - error); + _lib._class_NSURL1, + _lib._sel_URLByResolvingBookmarkData_options_relativeToURL_bookmarkDataIsStale_error_1, + bookmarkData._id, + options, + relativeURL?._id ?? ffi.nullptr, + isStale, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSObject? resourceValuesForKeys_fromBookmarkData_( - PedometerBindings _lib, NSArray keys, NSData bookmarkData) { + PedometerBindings _lib, + NSArray keys, + NSData bookmarkData, + ) { final _ret = _lib._objc_msgSend_202( - _lib._class_NSURL1, - _lib._sel_resourceValuesForKeys_fromBookmarkData_1, - keys._id, - bookmarkData._id); + _lib._class_NSURL1, + _lib._sel_resourceValuesForKeys_fromBookmarkData_1, + keys._id, + bookmarkData._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static bool writeBookmarkData_toURL_options_error_( - PedometerBindings _lib, - NSData bookmarkData, - NSURL bookmarkFileURL, - int options, - ffi.Pointer> error) { + PedometerBindings _lib, + NSData bookmarkData, + NSURL bookmarkFileURL, + int options, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_203( - _lib._class_NSURL1, - _lib._sel_writeBookmarkData_toURL_options_error_1, - bookmarkData._id, - bookmarkFileURL._id, - options, - error); + _lib._class_NSURL1, + _lib._sel_writeBookmarkData_toURL_options_error_1, + bookmarkData._id, + bookmarkFileURL._id, + options, + error, + ); } - static NSData? bookmarkDataWithContentsOfURL_error_(PedometerBindings _lib, - NSURL bookmarkFileURL, ffi.Pointer> error) { + static NSData? bookmarkDataWithContentsOfURL_error_( + PedometerBindings _lib, + NSURL bookmarkFileURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_204( - _lib._class_NSURL1, - _lib._sel_bookmarkDataWithContentsOfURL_error_1, - bookmarkFileURL._id, - error); + _lib._class_NSURL1, + _lib._sel_bookmarkDataWithContentsOfURL_error_1, + bookmarkFileURL._id, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } static NSURL? URLByResolvingAliasFileAtURL_options_error_( - PedometerBindings _lib, - NSURL url, - int options, - ffi.Pointer> error) { + PedometerBindings _lib, + NSURL url, + int options, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_205( - _lib._class_NSURL1, - _lib._sel_URLByResolvingAliasFileAtURL_options_error_1, - url._id, - options, - error); + _lib._class_NSURL1, + _lib._sel_URLByResolvingAliasFileAtURL_options_error_1, + url._id, + options, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -34000,7 +42358,9 @@ class NSURL extends NSObject { bool startAccessingSecurityScopedResource() { return _lib._objc_msgSend_12( - _id, _lib._sel_startAccessingSecurityScopedResource1); + _id, + _lib._sel_startAccessingSecurityScopedResource1, + ); } void stopAccessingSecurityScopedResource() { @@ -34008,36 +42368,53 @@ class NSURL extends NSObject { } bool getPromisedItemResourceValue_forKey_error_( - ffi.Pointer> value, - NSString key, - ffi.Pointer> error) { + ffi.Pointer> value, + NSString key, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_195( - _id, - _lib._sel_getPromisedItemResourceValue_forKey_error_1, - value, - key._id, - error); + _id, + _lib._sel_getPromisedItemResourceValue_forKey_error_1, + value, + key._id, + error, + ); } NSDictionary? promisedItemResourceValuesForKeys_error_( - NSArray keys, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_206(_id, - _lib._sel_promisedItemResourceValuesForKeys_error_1, keys._id, error); + NSArray keys, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_206( + _id, + _lib._sel_promisedItemResourceValuesForKeys_error_1, + keys._id, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } bool checkPromisedItemIsReachableAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { return _lib._objc_msgSend_207( - _id, _lib._sel_checkPromisedItemIsReachableAndReturnError_1, error); + _id, + _lib._sel_checkPromisedItemIsReachableAndReturnError_1, + error, + ); } static NSURL? fileURLWithPathComponents_( - PedometerBindings _lib, NSArray components) { - final _ret = _lib._objc_msgSend_208(_lib._class_NSURL1, - _lib._sel_fileURLWithPathComponents_1, components._id); + PedometerBindings _lib, + NSArray components, + ) { + final _ret = _lib._objc_msgSend_208( + _lib._class_NSURL1, + _lib._sel_fileURLWithPathComponents_1, + components._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -34066,27 +42443,35 @@ class NSURL extends NSObject { NSURL? URLByAppendingPathComponent_(NSString pathComponent) { final _ret = _lib._objc_msgSend_209( - _id, _lib._sel_URLByAppendingPathComponent_1, pathComponent._id); + _id, + _lib._sel_URLByAppendingPathComponent_1, + pathComponent._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLByAppendingPathComponent_isDirectory_( - NSString pathComponent, bool isDirectory) { + NSString pathComponent, + bool isDirectory, + ) { final _ret = _lib._objc_msgSend_210( - _id, - _lib._sel_URLByAppendingPathComponent_isDirectory_1, - pathComponent._id, - isDirectory); + _id, + _lib._sel_URLByAppendingPathComponent_isDirectory_1, + pathComponent._id, + isDirectory, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get URLByDeletingLastPathComponent { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByDeletingLastPathComponent1); + final _ret = _lib._objc_msgSend_45( + _id, + _lib._sel_URLByDeletingLastPathComponent1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -34094,24 +42479,33 @@ class NSURL extends NSObject { NSURL? URLByAppendingPathExtension_(NSString pathExtension) { final _ret = _lib._objc_msgSend_209( - _id, _lib._sel_URLByAppendingPathExtension_1, pathExtension._id); + _id, + _lib._sel_URLByAppendingPathExtension_1, + pathExtension._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? get URLByDeletingPathExtension { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByDeletingPathExtension1); + final _ret = _lib._objc_msgSend_45( + _id, + _lib._sel_URLByDeletingPathExtension1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool checkResourceIsReachableAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { return _lib._objc_msgSend_207( - _id, _lib._sel_checkResourceIsReachableAndReturnError_1, error); + _id, + _lib._sel_checkResourceIsReachableAndReturnError_1, + error, + ); } NSURL? get URLByStandardizingPath { @@ -34122,8 +42516,10 @@ class NSURL extends NSObject { } NSURL? get URLByResolvingSymlinksInPath { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_URLByResolvingSymlinksInPath1); + final _ret = _lib._objc_msgSend_45( + _id, + _lib._sel_URLByResolvingSymlinksInPath1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -34131,24 +42527,33 @@ class NSURL extends NSObject { NSData? resourceDataUsingCache_(bool shouldUseCache) { final _ret = _lib._objc_msgSend_211( - _id, _lib._sel_resourceDataUsingCache_1, shouldUseCache); + _id, + _lib._sel_resourceDataUsingCache_1, + shouldUseCache, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } void loadResourceDataNotifyingClient_usingCache_( - NSObject client, bool shouldUseCache) { + NSObject client, + bool shouldUseCache, + ) { _lib._objc_msgSend_212( - _id, - _lib._sel_loadResourceDataNotifyingClient_usingCache_1, - client._id, - shouldUseCache); + _id, + _lib._sel_loadResourceDataNotifyingClient_usingCache_1, + client._id, + shouldUseCache, + ); } NSObject? propertyForKey_(NSString propertyKey) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_propertyForKey_1, propertyKey._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_propertyForKey_1, + propertyKey._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -34160,12 +42565,19 @@ class NSURL extends NSObject { bool setProperty_forKey_(NSObject property, NSString propertyKey) { return _lib._objc_msgSend_213( - _id, _lib._sel_setProperty_forKey_1, property._id, propertyKey._id); + _id, + _lib._sel_setProperty_forKey_1, + property._id, + propertyKey._id, + ); } NSObject URLHandleUsingCache_(bool shouldUseCache) { final _ret = _lib._objc_msgSend_214( - _id, _lib._sel_URLHandleUsingCache_1, shouldUseCache); + _id, + _lib._sel_URLHandleUsingCache_1, + shouldUseCache, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -34181,9 +42593,14 @@ class NSURL extends NSObject { } static NSURL allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURL1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURL1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURL._(_ret, _lib, retain: false, release: true); } @@ -34193,73 +42610,105 @@ class NSURL extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURL1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURL1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURL1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURL1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURL1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURL1, _lib._sel_useStoredAccessor1); + _lib._class_NSURL1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURL1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURL1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURL1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURL1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURL1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURL1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSURL1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURL1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURL1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURL1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSNumber extends NSValue { - NSNumber._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNumber._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSNumber] that points to the same underlying object as [other]. static NSNumber castFrom(T other) { @@ -34268,21 +42717,30 @@ class NSNumber extends NSValue { /// Returns a [NSNumber] that wraps the given raw object pointer. static NSNumber castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNumber._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumber]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSNumber1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSNumber1, + ); } @override NSNumber? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -34294,8 +42752,11 @@ class NSNumber extends NSValue { } NSNumber initWithUnsignedChar_(int value) { - final _ret = - _lib._objc_msgSend_173(_id, _lib._sel_initWithUnsignedChar_1, value); + final _ret = _lib._objc_msgSend_173( + _id, + _lib._sel_initWithUnsignedChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } @@ -34305,8 +42766,11 @@ class NSNumber extends NSValue { } NSNumber initWithUnsignedShort_(int value) { - final _ret = - _lib._objc_msgSend_175(_id, _lib._sel_initWithUnsignedShort_1, value); + final _ret = _lib._objc_msgSend_175( + _id, + _lib._sel_initWithUnsignedShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } @@ -34316,8 +42780,11 @@ class NSNumber extends NSValue { } NSNumber initWithUnsignedInt_(int value) { - final _ret = - _lib._objc_msgSend_177(_id, _lib._sel_initWithUnsignedInt_1, value); + final _ret = _lib._objc_msgSend_177( + _id, + _lib._sel_initWithUnsignedInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } @@ -34327,20 +42794,29 @@ class NSNumber extends NSValue { } NSNumber initWithUnsignedLong_(int value) { - final _ret = - _lib._objc_msgSend_179(_id, _lib._sel_initWithUnsignedLong_1, value); + final _ret = _lib._objc_msgSend_179( + _id, + _lib._sel_initWithUnsignedLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithLongLong_(int value) { - final _ret = - _lib._objc_msgSend_180(_id, _lib._sel_initWithLongLong_1, value); + final _ret = _lib._objc_msgSend_180( + _id, + _lib._sel_initWithLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedLongLong_(int value) { final _ret = _lib._objc_msgSend_181( - _id, _lib._sel_initWithUnsignedLongLong_1, value); + _id, + _lib._sel_initWithUnsignedLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } @@ -34360,14 +42836,20 @@ class NSNumber extends NSValue { } NSNumber initWithInteger_(int value) { - final _ret = - _lib._objc_msgSend_178(_id, _lib._sel_initWithInteger_1, value); + final _ret = _lib._objc_msgSend_178( + _id, + _lib._sel_initWithInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } NSNumber initWithUnsignedInteger_(int value) { - final _ret = - _lib._objc_msgSend_179(_id, _lib._sel_initWithUnsignedInteger_1, value); + final _ret = _lib._objc_msgSend_179( + _id, + _lib._sel_initWithUnsignedInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } @@ -34450,141 +42932,226 @@ class NSNumber extends NSValue { NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_62( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + _id, + _lib._sel_descriptionWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithChar_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_172( - _lib._class_NSNumber1, _lib._sel_numberWithChar_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedChar_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_173( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedChar_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedChar_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithShort_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_174( - _lib._class_NSNumber1, _lib._sel_numberWithShort_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedShort_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_175( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedShort_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedShort_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithInt_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_176( - _lib._class_NSNumber1, _lib._sel_numberWithInt_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedInt_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_177( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedInt_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedInt_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithLong_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_178( - _lib._class_NSNumber1, _lib._sel_numberWithLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedLong_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_179( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithLongLong_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_180( - _lib._class_NSNumber1, _lib._sel_numberWithLongLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedLongLong_( - PedometerBindings _lib, int value) { + PedometerBindings _lib, + int value, + ) { final _ret = _lib._objc_msgSend_181( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedLongLong_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedLongLong_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithFloat_(PedometerBindings _lib, double value) { final _ret = _lib._objc_msgSend_182( - _lib._class_NSNumber1, _lib._sel_numberWithFloat_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithFloat_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithDouble_(PedometerBindings _lib, double value) { final _ret = _lib._objc_msgSend_183( - _lib._class_NSNumber1, _lib._sel_numberWithDouble_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithDouble_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithBool_(PedometerBindings _lib, bool value) { final _ret = _lib._objc_msgSend_184( - _lib._class_NSNumber1, _lib._sel_numberWithBool_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithBool_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithInteger_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_178( - _lib._class_NSNumber1, _lib._sel_numberWithInteger_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } static NSNumber numberWithUnsignedInteger_( - PedometerBindings _lib, int value) { + PedometerBindings _lib, + int value, + ) { final _ret = _lib._objc_msgSend_179( - _lib._class_NSNumber1, _lib._sel_numberWithUnsignedInteger_1, value); + _lib._class_NSNumber1, + _lib._sel_numberWithUnsignedInteger_1, + value, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } @override NSNumber initWithBytes_objCType_( - ffi.Pointer value, ffi.Pointer type) { + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_46( - _id, _lib._sel_initWithBytes_objCType_1, value, type); + _id, + _lib._sel_initWithBytes_objCType_1, + value, + type, + ); return NSNumber._(_ret, _lib, retain: true, release: true); } - static NSValue valueWithBytes_objCType_(PedometerBindings _lib, - ffi.Pointer value, ffi.Pointer type) { - final _ret = _lib._objc_msgSend_48(_lib._class_NSNumber1, - _lib._sel_valueWithBytes_objCType_1, value, type); + static NSValue valueWithBytes_objCType_( + PedometerBindings _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { + final _ret = _lib._objc_msgSend_48( + _lib._class_NSNumber1, + _lib._sel_valueWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } - static NSValue value_withObjCType_(PedometerBindings _lib, - ffi.Pointer value, ffi.Pointer type) { + static NSValue value_withObjCType_( + PedometerBindings _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSNumber1, _lib._sel_value_withObjCType_1, value, type); + _lib._class_NSNumber1, + _lib._sel_value_withObjCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithNonretainedObject_( - PedometerBindings _lib, NSObject? anObject) { - final _ret = _lib._objc_msgSend_49(_lib._class_NSNumber1, - _lib._sel_valueWithNonretainedObject_1, anObject?._id ?? ffi.nullptr); + PedometerBindings _lib, + NSObject? anObject, + ) { + final _ret = _lib._objc_msgSend_49( + _lib._class_NSNumber1, + _lib._sel_valueWithNonretainedObject_1, + anObject?._id ?? ffi.nullptr, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithPointer_( - PedometerBindings _lib, ffi.Pointer pointer) { + PedometerBindings _lib, + ffi.Pointer pointer, + ) { final _ret = _lib._objc_msgSend_50( - _lib._class_NSNumber1, _lib._sel_valueWithPointer_1, pointer); + _lib._class_NSNumber1, + _lib._sel_valueWithPointer_1, + pointer, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithRange_(PedometerBindings _lib, _NSRange range) { final _ret = _lib._objc_msgSend_53( - _lib._class_NSNumber1, _lib._sel_valueWithRange_1, range); + _lib._class_NSNumber1, + _lib._sel_valueWithRange_1, + range, + ); return NSValue._(_ret, _lib, retain: true, release: true); } @@ -34600,9 +43167,14 @@ class NSNumber extends NSValue { } static NSNumber allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumber1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNumber1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNumber._(_ret, _lib, retain: false, release: true); } @@ -34612,73 +43184,105 @@ class NSNumber extends NSValue { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNumber1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNumber1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNumber1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumber1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSNumber1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumber1, _lib._sel_useStoredAccessor1); + _lib._class_NSNumber1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSNumber1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSNumber1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSNumber1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSNumber1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSNumber1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNumber1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSNumber1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNumber1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumber1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNumber1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSValue extends NSObject { - NSValue._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSValue._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSValue] that points to the same underlying object as [other]. static NSValue castFrom(T other) { @@ -34687,15 +43291,21 @@ class NSValue extends NSObject { /// Returns a [NSValue] that wraps the given raw object pointer. static NSValue castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSValue._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSValue]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSValue1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSValue1, + ); } void getValue_size_(ffi.Pointer value, int size) { @@ -34707,38 +43317,66 @@ class NSValue extends NSObject { } NSValue initWithBytes_objCType_( - ffi.Pointer value, ffi.Pointer type) { + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_46( - _id, _lib._sel_initWithBytes_objCType_1, value, type); + _id, + _lib._sel_initWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } NSValue? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSValue._(_ret, _lib, retain: true, release: true); } - static NSValue valueWithBytes_objCType_(PedometerBindings _lib, - ffi.Pointer value, ffi.Pointer type) { + static NSValue valueWithBytes_objCType_( + PedometerBindings _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, _lib._sel_valueWithBytes_objCType_1, value, type); + _lib._class_NSValue1, + _lib._sel_valueWithBytes_objCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } - static NSValue value_withObjCType_(PedometerBindings _lib, - ffi.Pointer value, ffi.Pointer type) { + static NSValue value_withObjCType_( + PedometerBindings _lib, + ffi.Pointer value, + ffi.Pointer type, + ) { final _ret = _lib._objc_msgSend_48( - _lib._class_NSValue1, _lib._sel_value_withObjCType_1, value, type); + _lib._class_NSValue1, + _lib._sel_value_withObjCType_1, + value, + type, + ); return NSValue._(_ret, _lib, retain: true, release: true); } static NSValue valueWithNonretainedObject_( - PedometerBindings _lib, NSObject? anObject) { - final _ret = _lib._objc_msgSend_49(_lib._class_NSValue1, - _lib._sel_valueWithNonretainedObject_1, anObject?._id ?? ffi.nullptr); + PedometerBindings _lib, + NSObject? anObject, + ) { + final _ret = _lib._objc_msgSend_49( + _lib._class_NSValue1, + _lib._sel_valueWithNonretainedObject_1, + anObject?._id ?? ffi.nullptr, + ); return NSValue._(_ret, _lib, retain: true, release: true); } @@ -34750,9 +43388,14 @@ class NSValue extends NSObject { } static NSValue valueWithPointer_( - PedometerBindings _lib, ffi.Pointer pointer) { + PedometerBindings _lib, + ffi.Pointer pointer, + ) { final _ret = _lib._objc_msgSend_50( - _lib._class_NSValue1, _lib._sel_valueWithPointer_1, pointer); + _lib._class_NSValue1, + _lib._sel_valueWithPointer_1, + pointer, + ); return NSValue._(_ret, _lib, retain: true, release: true); } @@ -34770,7 +43413,10 @@ class NSValue extends NSObject { static NSValue valueWithRange_(PedometerBindings _lib, _NSRange range) { final _ret = _lib._objc_msgSend_53( - _lib._class_NSValue1, _lib._sel_valueWithRange_1, range); + _lib._class_NSValue1, + _lib._sel_valueWithRange_1, + range, + ); return NSValue._(_ret, _lib, retain: true, release: true); } @@ -34792,9 +43438,14 @@ class NSValue extends NSObject { } static NSValue allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSValue1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSValue1, + _lib._sel_allocWithZone_1, + zone, + ); return NSValue._(_ret, _lib, retain: false, release: true); } @@ -34804,74 +43455,106 @@ class NSValue extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSValue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSValue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSValue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSValue1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSValue1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSValue1, _lib._sel_useStoredAccessor1); + _lib._class_NSValue1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSValue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSValue1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSValue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSValue1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSValue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSValue1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSValue1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSValue1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSValue1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSValue1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } /// Immutable Array class NSArray extends NSObject { - NSArray._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSArray._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSArray] that points to the same underlying object as [other]. static NSArray castFrom(T other) { @@ -34880,15 +43563,21 @@ class NSArray extends NSObject { /// Returns a [NSArray] that wraps the given raw object pointer. static NSArray castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSArray]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSArray1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSArray1, + ); } int get count { @@ -34907,15 +43596,24 @@ class NSArray extends NSObject { } NSArray initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_58( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + _id, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -34923,19 +43621,28 @@ class NSArray extends NSObject { NSArray arrayByAddingObject_(NSObject anObject) { final _ret = _lib._objc_msgSend_59( - _id, _lib._sel_arrayByAddingObject_1, anObject._id); + _id, + _lib._sel_arrayByAddingObject_1, + anObject._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray arrayByAddingObjectsFromArray_(NSArray otherArray) { final _ret = _lib._objc_msgSend_60( - _id, _lib._sel_arrayByAddingObjectsFromArray_1, otherArray._id); + _id, + _lib._sel_arrayByAddingObjectsFromArray_1, + otherArray._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString componentsJoinedByString_(NSString separator) { final _ret = _lib._objc_msgSend_61( - _id, _lib._sel_componentsJoinedByString_1, separator._id); + _id, + _lib._sel_componentsJoinedByString_1, + separator._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -34950,29 +43657,38 @@ class NSArray extends NSObject { NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_62( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + _id, + _lib._sel_descriptionWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_63( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + _id, + _lib._sel_descriptionWithLocale_indent_1, + locale?._id ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSObject? firstObjectCommonWithArray_(NSArray otherArray) { final _ret = _lib._objc_msgSend_64( - _id, _lib._sel_firstObjectCommonWithArray_1, otherArray._id); + _id, + _lib._sel_firstObjectCommonWithArray_1, + otherArray._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, _NSRange range) { + ffi.Pointer> objects, + _NSRange range, + ) { _lib._objc_msgSend_65(_id, _lib._sel_getObjects_range_1, objects, range); } @@ -34982,22 +43698,36 @@ class NSArray extends NSObject { int indexOfObject_inRange_(NSObject anObject, _NSRange range) { return _lib._objc_msgSend_67( - _id, _lib._sel_indexOfObject_inRange_1, anObject._id, range); + _id, + _lib._sel_indexOfObject_inRange_1, + anObject._id, + range, + ); } int indexOfObjectIdenticalTo_(NSObject anObject) { return _lib._objc_msgSend_66( - _id, _lib._sel_indexOfObjectIdenticalTo_1, anObject._id); + _id, + _lib._sel_indexOfObjectIdenticalTo_1, + anObject._id, + ); } int indexOfObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { return _lib._objc_msgSend_67( - _id, _lib._sel_indexOfObjectIdenticalTo_inRange_1, anObject._id, range); + _id, + _lib._sel_indexOfObjectIdenticalTo_inRange_1, + anObject._id, + range, + ); } bool isEqualToArray_(NSArray otherArray) { return _lib._objc_msgSend_68( - _id, _lib._sel_isEqualToArray_1, otherArray._id); + _id, + _lib._sel_isEqualToArray_1, + otherArray._id, + ); } NSObject? get firstObject { @@ -35030,176 +43760,268 @@ class NSArray extends NSObject { } NSArray sortedArrayUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, - ffi.Pointer context) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > + comparator, + ffi.Pointer context, + ) { final _ret = _lib._objc_msgSend_70( - _id, _lib._sel_sortedArrayUsingFunction_context_1, comparator, context); + _id, + _lib._sel_sortedArrayUsingFunction_context_1, + comparator, + context, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingFunction_context_hint_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - comparator, - ffi.Pointer context, - NSData? hint) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > + comparator, + ffi.Pointer context, + NSData? hint, + ) { final _ret = _lib._objc_msgSend_71( - _id, - _lib._sel_sortedArrayUsingFunction_context_hint_1, - comparator, - context, - hint?._id ?? ffi.nullptr); + _id, + _lib._sel_sortedArrayUsingFunction_context_hint_1, + comparator, + context, + hint?._id ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingSelector_(ffi.Pointer comparator) { final _ret = _lib._objc_msgSend_72( - _id, _lib._sel_sortedArrayUsingSelector_1, comparator); + _id, + _lib._sel_sortedArrayUsingSelector_1, + comparator, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray subarrayWithRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_73(_id, _lib._sel_subarrayWithRange_1, range); + final _ret = _lib._objc_msgSend_73( + _id, + _lib._sel_subarrayWithRange_1, + range, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool writeToURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_81( - _id, _lib._sel_writeToURL_error_1, url._id, error); + _id, + _lib._sel_writeToURL_error_1, + url._id, + error, + ); } void makeObjectsPerformSelector_(ffi.Pointer aSelector) { _lib._objc_msgSend_7( - _id, _lib._sel_makeObjectsPerformSelector_1, aSelector); + _id, + _lib._sel_makeObjectsPerformSelector_1, + aSelector, + ); } void makeObjectsPerformSelector_withObject_( - ffi.Pointer aSelector, NSObject? argument) { + ffi.Pointer aSelector, + NSObject? argument, + ) { _lib._objc_msgSend_82( - _id, - _lib._sel_makeObjectsPerformSelector_withObject_1, - aSelector, - argument?._id ?? ffi.nullptr); + _id, + _lib._sel_makeObjectsPerformSelector_withObject_1, + aSelector, + argument?._id ?? ffi.nullptr, + ); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = - _lib._objc_msgSend_103(_id, _lib._sel_objectsAtIndexes_1, indexes._id); + final _ret = _lib._objc_msgSend_103( + _id, + _lib._sel_objectsAtIndexes_1, + indexes._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = - _lib._objc_msgSend_57(_id, _lib._sel_objectAtIndexedSubscript_1, idx); + final _ret = _lib._objc_msgSend_57( + _id, + _lib._sel_objectAtIndexedSubscript_1, + idx, + ); return NSObject._(_ret, _lib, retain: true, release: true); } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_104( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + _id, + _lib._sel_enumerateObjectsUsingBlock_1, + block._id, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_105(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_105( + _id, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block._id, + ); } - void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + void enumerateObjectsAtIndexes_options_usingBlock_( + NSIndexSet s, + int opts, + ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_106( - _id, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s._id, - opts, - block._id); + _id, + _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, + s._id, + opts, + block._id, + ); } int indexOfObjectPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_107( - _id, _lib._sel_indexOfObjectPassingTest_1, predicate._id); + _id, + _lib._sel_indexOfObjectPassingTest_1, + predicate._id, + ); } int indexOfObjectWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { - return _lib._objc_msgSend_108(_id, - _lib._sel_indexOfObjectWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { + return _lib._objc_msgSend_108( + _id, + _lib._sel_indexOfObjectWithOptions_passingTest_1, + opts, + predicate._id, + ); } - int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int indexOfObjectAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_109( - _id, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + _id, + _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, + s._id, + opts, + predicate._id, + ); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_110( - _id, _lib._sel_indexesOfObjectsPassingTest_1, predicate._id); + _id, + _lib._sel_indexesOfObjectsPassingTest_1, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_111( - _id, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate._id); + _id, + _lib._sel_indexesOfObjectsWithOptions_passingTest_1, + opts, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_112( - _id, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + _id, + _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, + s._id, + opts, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_113( - _id, _lib._sel_sortedArrayUsingComparator_1, cmptr._id); + _id, + _lib._sel_sortedArrayUsingComparator_1, + cmptr._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - final _ret = _lib._objc_msgSend_114(_id, - _lib._sel_sortedArrayWithOptions_usingComparator_1, opts, cmptr._id); + int opts, + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { + final _ret = _lib._objc_msgSend_114( + _id, + _lib._sel_sortedArrayWithOptions_usingComparator_1, + opts, + cmptr._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject obj, - _NSRange r, - int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmp) { + NSObject obj, + _NSRange r, + int opts, + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmp, + ) { return _lib._objc_msgSend_115( - _id, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - obj._id, - r, - opts, - cmp._id); + _id, + _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, + obj._id, + r, + opts, + cmp._id, + ); } static NSArray array(PedometerBindings _lib) { @@ -35209,91 +44031,144 @@ class NSArray extends NSObject { static NSArray arrayWithObject_(PedometerBindings _lib, NSObject anObject) { final _ret = _lib._objc_msgSend_116( - _lib._class_NSArray1, _lib._sel_arrayWithObject_1, anObject._id); + _lib._class_NSArray1, + _lib._sel_arrayWithObject_1, + anObject._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - static NSArray arrayWithObjects_count_(PedometerBindings _lib, - ffi.Pointer> objects, int cnt) { + static NSArray arrayWithObjects_count_( + PedometerBindings _lib, + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_58( - _lib._class_NSArray1, _lib._sel_arrayWithObjects_count_1, objects, cnt); + _lib._class_NSArray1, + _lib._sel_arrayWithObjects_count_1, + objects, + cnt, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray arrayWithObjects_(PedometerBindings _lib, NSObject firstObj) { final _ret = _lib._objc_msgSend_116( - _lib._class_NSArray1, _lib._sel_arrayWithObjects_1, firstObj._id); + _lib._class_NSArray1, + _lib._sel_arrayWithObjects_1, + firstObj._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray arrayWithArray_(PedometerBindings _lib, NSArray array) { final _ret = _lib._objc_msgSend_117( - _lib._class_NSArray1, _lib._sel_arrayWithArray_1, array._id); + _lib._class_NSArray1, + _lib._sel_arrayWithArray_1, + array._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObjects_1, + firstObj._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_117(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_117( + _id, + _lib._sel_initWithArray_1, + array._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray initWithArray_copyItems_(NSArray array, bool flag) { final _ret = _lib._objc_msgSend_118( - _id, _lib._sel_initWithArray_copyItems_1, array._id, flag); + _id, + _lib._sel_initWithArray_copyItems_1, + array._id, + flag, + ); return NSArray._(_ret, _lib, retain: false, release: true); } NSArray? initWithContentsOfURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_119( - _id, _lib._sel_initWithContentsOfURL_error_1, url._id, error); + _id, + _lib._sel_initWithContentsOfURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } - static NSArray? arrayWithContentsOfURL_error_(PedometerBindings _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_119(_lib._class_NSArray1, - _lib._sel_arrayWithContentsOfURL_error_1, url._id, error); + static NSArray? arrayWithContentsOfURL_error_( + PedometerBindings _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_119( + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_withOptions_usingEquivalenceTest_( - NSArray other, int options, ObjCBlock_bool_ObjCObject_ObjCObject block) { + NSArray other, + int options, + ObjCBlock_bool_ObjCObject_ObjCObject block, + ) { final _ret = _lib._objc_msgSend_120( - _id, - _lib._sel_differenceFromArray_withOptions_usingEquivalenceTest_1, - other._id, - options, - block._id); + _id, + _lib._sel_differenceFromArray_withOptions_usingEquivalenceTest_1, + other._id, + options, + block._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_withOptions_(NSArray other, int options) { final _ret = _lib._objc_msgSend_121( - _id, _lib._sel_differenceFromArray_withOptions_1, other._id, options); + _id, + _lib._sel_differenceFromArray_withOptions_1, + other._id, + options, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromArray_(NSArray other) { - final _ret = - _lib._objc_msgSend_117(_id, _lib._sel_differenceFromArray_1, other._id); + final _ret = _lib._objc_msgSend_117( + _id, + _lib._sel_differenceFromArray_1, + other._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSArray? arrayByApplyingDifference_(NSObject difference) { final _ret = _lib._objc_msgSend_122( - _id, _lib._sel_arrayByApplyingDifference_1, difference._id); + _id, + _lib._sel_arrayByApplyingDifference_1, + difference._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -35304,9 +44179,14 @@ class NSArray extends NSObject { } static NSArray? arrayWithContentsOfFile_( - PedometerBindings _lib, NSString path) { + PedometerBindings _lib, + NSString path, + ) { final _ret = _lib._objc_msgSend_124( - _lib._class_NSArray1, _lib._sel_arrayWithContentsOfFile_1, path._id); + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -35314,7 +44194,10 @@ class NSArray extends NSObject { static NSArray? arrayWithContentsOfURL_(PedometerBindings _lib, NSURL url) { final _ret = _lib._objc_msgSend_125( - _lib._class_NSArray1, _lib._sel_arrayWithContentsOfURL_1, url._id); + _lib._class_NSArray1, + _lib._sel_arrayWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -35322,15 +44205,21 @@ class NSArray extends NSObject { NSArray? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_124( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + _id, + _lib._sel_initWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_125( + _id, + _lib._sel_initWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -35338,17 +44227,28 @@ class NSArray extends NSObject { bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + _id, + _lib._sel_writeToFile_atomically_1, + path._id, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_126( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + _id, + _lib._sel_writeToURL_atomically_1, + url._id, + atomically, + ); } NSArray pathsMatchingExtensions_(NSArray filterTypes) { final _ret = _lib._objc_msgSend_60( - _id, _lib._sel_pathsMatchingExtensions_1, filterTypes._id); + _id, + _lib._sel_pathsMatchingExtensions_1, + filterTypes._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -35360,83 +44260,118 @@ class NSArray extends NSObject { @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_127( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + _id, + _lib._sel_setValue_forKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } void addObserver_toObjectsAtIndexes_forKeyPath_options_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - int options, - ffi.Pointer context) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_128( - _id, - _lib._sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1, - observer._id, - indexes._id, - keyPath._id, - options, - context); + _id, + _lib._sel_addObserver_toObjectsAtIndexes_forKeyPath_options_context_1, + observer._id, + indexes._id, + keyPath._id, + options, + context, + ); } void removeObserver_fromObjectsAtIndexes_forKeyPath_context_( - NSObject observer, - NSIndexSet indexes, - NSString keyPath, - ffi.Pointer context) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + ffi.Pointer context, + ) { _lib._objc_msgSend_129( - _id, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1, - observer._id, - indexes._id, - keyPath._id, - context); + _id, + _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_context_1, + observer._id, + indexes._id, + keyPath._id, + context, + ); } void removeObserver_fromObjectsAtIndexes_forKeyPath_( - NSObject observer, NSIndexSet indexes, NSString keyPath) { + NSObject observer, + NSIndexSet indexes, + NSString keyPath, + ) { _lib._objc_msgSend_130( - _id, - _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1, - observer._id, - indexes._id, - keyPath._id); + _id, + _lib._sel_removeObserver_fromObjectsAtIndexes_forKeyPath_1, + observer._id, + indexes._id, + keyPath._id, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_131( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + _id, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer._id, + keyPath._id, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_132(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_132( + _id, + _lib._sel_removeObserver_forKeyPath_context_1, + observer._id, + keyPath._id, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_133( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + _id, + _lib._sel_removeObserver_forKeyPath_1, + observer._id, + keyPath._id, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_60( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + _id, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray filteredArrayUsingPredicate_(NSPredicate predicate) { final _ret = _lib._objc_msgSend_171( - _id, _lib._sel_filteredArrayUsingPredicate_1, predicate._id); + _id, + _lib._sel_filteredArrayUsingPredicate_1, + predicate._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -35446,9 +44381,14 @@ class NSArray extends NSObject { } static NSArray allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSArray._(_ret, _lib, retain: false, release: true); } @@ -35458,73 +44398,105 @@ class NSArray extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArray1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSError extends NSObject { - NSError._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSError._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSError] that points to the same underlying object as [other]. static NSError castFrom(T other) { @@ -35533,36 +44505,51 @@ class NSError extends NSObject { /// Returns a [NSError] that wraps the given raw object pointer. static NSError castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSError._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSError]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSError1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSError1, + ); } NSError initWithDomain_code_userInfo_( - NSString domain, int code, NSObject? dict) { + NSString domain, + int code, + NSObject? dict, + ) { final _ret = _lib._objc_msgSend_74( - _id, - _lib._sel_initWithDomain_code_userInfo_1, - domain._id, - code, - dict?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithDomain_code_userInfo_1, + domain._id, + code, + dict?._id ?? ffi.nullptr, + ); return NSError._(_ret, _lib, retain: true, release: true); } static NSError errorWithDomain_code_userInfo_( - PedometerBindings _lib, NSString domain, int code, NSObject? dict) { + PedometerBindings _lib, + NSString domain, + int code, + NSObject? dict, + ) { final _ret = _lib._objc_msgSend_74( - _lib._class_NSError1, - _lib._sel_errorWithDomain_code_userInfo_1, - domain._id, - code, - dict?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_errorWithDomain_code_userInfo_1, + domain._id, + code, + dict?._id ?? ffi.nullptr, + ); return NSError._(_ret, _lib, retain: true, release: true); } @@ -35593,16 +44580,20 @@ class NSError extends NSObject { } NSString? get localizedRecoverySuggestion { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_localizedRecoverySuggestion1); + final _ret = _lib._objc_msgSend_44( + _id, + _lib._sel_localizedRecoverySuggestion1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray? get localizedRecoveryOptions { - final _ret = - _lib._objc_msgSend_76(_id, _lib._sel_localizedRecoveryOptions1); + final _ret = _lib._objc_msgSend_76( + _id, + _lib._sel_localizedRecoveryOptions1, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -35628,31 +44619,39 @@ class NSError extends NSObject { } static void setUserInfoValueProviderForDomain_provider_( - PedometerBindings _lib, - NSString errorDomain, - ObjCBlock_ObjCObject_NSError_NSString? provider) { + PedometerBindings _lib, + NSString errorDomain, + ObjCBlock_ObjCObject_NSError_NSString? provider, + ) { _lib._objc_msgSend_78( - _lib._class_NSError1, - _lib._sel_setUserInfoValueProviderForDomain_provider_1, - errorDomain._id, - provider?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_setUserInfoValueProviderForDomain_provider_1, + errorDomain._id, + provider?._id ?? ffi.nullptr, + ); } static ObjCBlock_ObjCObject_NSError_NSString? userInfoValueProviderForDomain_( - PedometerBindings _lib, - NSError err, - NSString userInfoKey, - NSString errorDomain) { + PedometerBindings _lib, + NSError err, + NSString userInfoKey, + NSString errorDomain, + ) { final _ret = _lib._objc_msgSend_79( - _lib._class_NSError1, - _lib._sel_userInfoValueProviderForDomain_1, - err._id, - userInfoKey._id, - errorDomain._id); + _lib._class_NSError1, + _lib._sel_userInfoValueProviderForDomain_1, + err._id, + userInfoKey._id, + errorDomain._id, + ); return _ret.address == 0 ? null - : ObjCBlock_ObjCObject_NSError_NSString._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_ObjCObject_NSError_NSString._( + _ret, + _lib, + retain: true, + release: true, + ); } @override @@ -35667,9 +44666,14 @@ class NSError extends NSObject { } static NSError allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSError1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSError1, + _lib._sel_allocWithZone_1, + zone, + ); return NSError._(_ret, _lib, retain: false, release: true); } @@ -35679,65 +44683,94 @@ class NSError extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSError1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSError1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSError1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSError1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSError1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSError1, _lib._sel_useStoredAccessor1); + _lib._class_NSError1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSError1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSError1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSError1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSError1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSError1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSError1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSError1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSError1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSError1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSError1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -35747,9 +44780,12 @@ class _ObjCBlockBase implements ffi.Finalizable { final PedometerBindings _lib; bool _pendingRelease; - _ObjCBlockBase._(this._id, this._lib, - {bool retain = false, bool release = false}) - : _pendingRelease = release { + _ObjCBlockBase._( + this._id, + this._lib, { + bool retain = false, + bool release = false, + }) : _pendingRelease = release { if (retain) { _lib._Block_copy(_id.cast()); } @@ -35767,7 +44803,8 @@ class _ObjCBlockBase implements ffi.Finalizable { _lib._objc_releaseFinalizer11.detach(this); } else { throw StateError( - 'Released an ObjC block that was unowned or already released.'); + 'Released an ObjC block that was unowned or already released.', + ); } } @@ -35789,43 +44826,62 @@ class _ObjCBlockBase implements ffi.Finalizable { } ffi.Pointer _ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - ffi.Pointer Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); -final _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry = Function( - ffi.Pointer, ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1); +final _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry = + < + int, + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ObjCObject_NSError_NSString_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ObjCObject_NSError_NSString_registerClosure( - ffi.Pointer Function( - ffi.Pointer, ffi.Pointer) - fn) { + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_ObjCObject_NSError_NSString_closureRegistryIndex; _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } ffi.Pointer - _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[ - block.ref.target.address]!(arg0, arg1); +_ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ObjCObject_NSError_NSString_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { ObjCBlock_ObjCObject_NSError_NSString._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -35833,23 +44889,30 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ObjCObject_NSError_NSString.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ObjCObject_NSError_NSString_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -35858,43 +44921,76 @@ class ObjCBlock_ObjCObject_NSError_NSString extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ObjCObject_NSError_NSString.fromFunction( - PedometerBindings lib, NSObject? Function(NSError, NSString) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline) - .cast(), - _ObjCBlock_ObjCObject_NSError_NSString_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSError._(arg0, lib, retain: true, release: true), NSString._(arg1, lib, retain: true, release: true)) - ?._retainAndReturnId() ?? - ffi.nullptr)), - lib); + PedometerBindings lib, + NSObject? Function(NSError, NSString) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ObjCObject_NSError_NSString_closureTrampoline, + ).cast(), + _ObjCBlock_ObjCObject_NSError_NSString_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn( + NSError._(arg0, lib, retain: true, release: true), + NSString._(arg1, lib, retain: true, release: true), + )?._retainAndReturnId() ?? + ffi.nullptr, + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; - NSObject? call(NSError arg0, NSString arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< + NSObject? call(NSError arg0, NSString arg1) => + _id.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>() - (_id, arg0._id, arg1._id) - .address == - 0 - ? null - : NSObject._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, ffi.Pointer arg1)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>()(_id, arg0._id, arg1._id), - _lib, - retain: false, - release: true); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id) + .address == + 0 + ? null + : NSObject._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id), + _lib, + retain: false, + release: true, + ); } final class _ObjCBlockDesc extends ffi.Struct { @@ -35928,9 +45024,12 @@ final class _ObjCBlock extends ffi.Struct { } class NSIndexSet extends NSObject { - NSIndexSet._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSIndexSet._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSIndexSet] that points to the same underlying object as [other]. static NSIndexSet castFrom(T other) { @@ -35939,45 +45038,67 @@ class NSIndexSet extends NSObject { /// Returns a [NSIndexSet] that wraps the given raw object pointer. static NSIndexSet castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSIndexSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexSet]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSIndexSet1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSIndexSet1, + ); } static NSIndexSet indexSet(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexSet1, _lib._sel_indexSet1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexSet1, + _lib._sel_indexSet1, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } static NSIndexSet indexSetWithIndex_(PedometerBindings _lib, int value) { final _ret = _lib._objc_msgSend_57( - _lib._class_NSIndexSet1, _lib._sel_indexSetWithIndex_1, value); + _lib._class_NSIndexSet1, + _lib._sel_indexSetWithIndex_1, + value, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } static NSIndexSet indexSetWithIndexesInRange_( - PedometerBindings _lib, _NSRange range) { + PedometerBindings _lib, + _NSRange range, + ) { final _ret = _lib._objc_msgSend_83( - _lib._class_NSIndexSet1, _lib._sel_indexSetWithIndexesInRange_1, range); + _lib._class_NSIndexSet1, + _lib._sel_indexSetWithIndexesInRange_1, + range, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet initWithIndexesInRange_(_NSRange range) { - final _ret = - _lib._objc_msgSend_83(_id, _lib._sel_initWithIndexesInRange_1, range); + final _ret = _lib._objc_msgSend_83( + _id, + _lib._sel_initWithIndexesInRange_1, + range, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet initWithIndexSet_(NSIndexSet indexSet) { - final _ret = - _lib._objc_msgSend_84(_id, _lib._sel_initWithIndexSet_1, indexSet._id); + final _ret = _lib._objc_msgSend_84( + _id, + _lib._sel_initWithIndexSet_1, + indexSet._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } @@ -35988,7 +45109,10 @@ class NSIndexSet extends NSObject { bool isEqualToIndexSet_(NSIndexSet indexSet) { return _lib._objc_msgSend_85( - _id, _lib._sel_isEqualToIndexSet_1, indexSet._id); + _id, + _lib._sel_isEqualToIndexSet_1, + indexSet._id, + ); } int get count { @@ -36013,24 +45137,32 @@ class NSIndexSet extends NSObject { int indexGreaterThanOrEqualToIndex_(int value) { return _lib._objc_msgSend_86( - _id, _lib._sel_indexGreaterThanOrEqualToIndex_1, value); + _id, + _lib._sel_indexGreaterThanOrEqualToIndex_1, + value, + ); } int indexLessThanOrEqualToIndex_(int value) { return _lib._objc_msgSend_86( - _id, _lib._sel_indexLessThanOrEqualToIndex_1, value); + _id, + _lib._sel_indexLessThanOrEqualToIndex_1, + value, + ); } int getIndexes_maxCount_inIndexRange_( - ffi.Pointer indexBuffer, - int bufferSize, - ffi.Pointer<_NSRange> range) { + ffi.Pointer indexBuffer, + int bufferSize, + ffi.Pointer<_NSRange> range, + ) { return _lib._objc_msgSend_87( - _id, - _lib._sel_getIndexes_maxCount_inIndexRange_1, - indexBuffer, - bufferSize, - range); + _id, + _lib._sel_getIndexes_maxCount_inIndexRange_1, + indexBuffer, + bufferSize, + range, + ); } int countOfIndexesInRange_(_NSRange range) { @@ -36043,106 +45175,169 @@ class NSIndexSet extends NSObject { bool containsIndexesInRange_(_NSRange range) { return _lib._objc_msgSend_90( - _id, _lib._sel_containsIndexesInRange_1, range); + _id, + _lib._sel_containsIndexesInRange_1, + range, + ); } bool containsIndexes_(NSIndexSet indexSet) { return _lib._objc_msgSend_85( - _id, _lib._sel_containsIndexes_1, indexSet._id); + _id, + _lib._sel_containsIndexes_1, + indexSet._id, + ); } bool intersectsIndexesInRange_(_NSRange range) { return _lib._objc_msgSend_90( - _id, _lib._sel_intersectsIndexesInRange_1, range); + _id, + _lib._sel_intersectsIndexesInRange_1, + range, + ); } void enumerateIndexesUsingBlock_( - ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_91( - _id, _lib._sel_enumerateIndexesUsingBlock_1, block._id); + _id, + _lib._sel_enumerateIndexesUsingBlock_1, + block._id, + ); } void enumerateIndexesWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_92(_id, - _lib._sel_enumerateIndexesWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_92( + _id, + _lib._sel_enumerateIndexesWithOptions_usingBlock_1, + opts, + block._id, + ); } void enumerateIndexesInRange_options_usingBlock_( - _NSRange range, int opts, ObjCBlock_ffiVoid_ffiUnsignedLong_bool block) { + _NSRange range, + int opts, + ObjCBlock_ffiVoid_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_93( - _id, - _lib._sel_enumerateIndexesInRange_options_usingBlock_1, - range, - opts, - block._id); + _id, + _lib._sel_enumerateIndexesInRange_options_usingBlock_1, + range, + opts, + block._id, + ); } int indexPassingTest_(ObjCBlock_bool_ffiUnsignedLong_bool predicate) { return _lib._objc_msgSend_94( - _id, _lib._sel_indexPassingTest_1, predicate._id); + _id, + _lib._sel_indexPassingTest_1, + predicate._id, + ); } int indexWithOptions_passingTest_( - int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_95( - _id, _lib._sel_indexWithOptions_passingTest_1, opts, predicate._id); + _id, + _lib._sel_indexWithOptions_passingTest_1, + opts, + predicate._id, + ); } int indexInRange_options_passingTest_( - _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + _NSRange range, + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_96( - _id, - _lib._sel_indexInRange_options_passingTest_1, - range, - opts, - predicate._id); + _id, + _lib._sel_indexInRange_options_passingTest_1, + range, + opts, + predicate._id, + ); } NSIndexSet indexesPassingTest_( - ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_97( - _id, _lib._sel_indexesPassingTest_1, predicate._id); + _id, + _lib._sel_indexesPassingTest_1, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesWithOptions_passingTest_( - int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_98( - _id, _lib._sel_indexesWithOptions_passingTest_1, opts, predicate._id); + _id, + _lib._sel_indexesWithOptions_passingTest_1, + opts, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesInRange_options_passingTest_( - _NSRange range, int opts, ObjCBlock_bool_ffiUnsignedLong_bool predicate) { + _NSRange range, + int opts, + ObjCBlock_bool_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_99( - _id, - _lib._sel_indexesInRange_options_passingTest_1, - range, - opts, - predicate._id); + _id, + _lib._sel_indexesInRange_options_passingTest_1, + range, + opts, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } void enumerateRangesUsingBlock_(ObjCBlock_ffiVoid_NSRange_bool block) { _lib._objc_msgSend_100( - _id, _lib._sel_enumerateRangesUsingBlock_1, block._id); + _id, + _lib._sel_enumerateRangesUsingBlock_1, + block._id, + ); } void enumerateRangesWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_NSRange_bool block) { - _lib._objc_msgSend_101(_id, - _lib._sel_enumerateRangesWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_NSRange_bool block, + ) { + _lib._objc_msgSend_101( + _id, + _lib._sel_enumerateRangesWithOptions_usingBlock_1, + opts, + block._id, + ); } void enumerateRangesInRange_options_usingBlock_( - _NSRange range, int opts, ObjCBlock_ffiVoid_NSRange_bool block) { + _NSRange range, + int opts, + ObjCBlock_ffiVoid_NSRange_bool block, + ) { _lib._objc_msgSend_102( - _id, - _lib._sel_enumerateRangesInRange_options_usingBlock_1, - range, - opts, - block._id); + _id, + _lib._sel_enumerateRangesInRange_options_usingBlock_1, + range, + opts, + block._id, + ); } @override @@ -36157,110 +45352,156 @@ class NSIndexSet extends NSObject { } static NSIndexSet allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSIndexSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSIndexSet._(_ret, _lib, retain: false, release: true); } static NSIndexSet alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexSet1, + _lib._sel_alloc1, + ); return NSIndexSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSIndexSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSIndexSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSIndexSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSIndexSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSIndexSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSIndexSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSIndexSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSIndexSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSIndexSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSIndexSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSIndexSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSIndexSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSIndexSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSIndexSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() - .asFunction)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + int arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - void Function(int, ffi.Pointer) fn) { + void Function(int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + int arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -36268,21 +45509,27 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiUnsignedLong_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -36291,17 +45538,26 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.fromFunction( - PedometerBindings lib, void Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + PedometerBindings lib, + void Function(int, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -36314,33 +45570,49 @@ class ObjCBlock_ffiVoid_ffiUnsignedLong_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedLong_bool.listener( - PedometerBindings lib, void Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + PedometerBindings lib, + void Function(int, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.UnsignedLong, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(int arg0, ffi.Pointer arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, int, - ffi.Pointer)>()(_id, arg0, arg1); + void Function(ffi.Pointer<_ObjCBlock>, int, ffi.Pointer) + >()(_id, arg0, arg1); } abstract class NSEnumerationOptions { @@ -36349,33 +45621,43 @@ abstract class NSEnumerationOptions { } bool _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() - .asFunction)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + int arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry = )>{}; int _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( - bool Function(int, ffi.Pointer) fn) { + bool Function(int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, int arg0, ffi.Pointer arg1) => - _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + int arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { ObjCBlock_bool_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -36383,22 +45665,30 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.UnsignedLong arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function(ffi.UnsignedLong arg0, ffi.Pointer arg1) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -36407,62 +45697,82 @@ class ObjCBlock_bool_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ffiUnsignedLong_bool.fromFunction( - PedometerBindings lib, bool Function(int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock>, - ffi.UnsignedLong, ffi.Pointer)>( - _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, - false) - .cast(), - _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( - (int arg0, ffi.Pointer arg1) => fn(arg0, arg1))), - lib); + PedometerBindings lib, + bool Function(int, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ffiUnsignedLong_bool_registerClosure( + (int arg0, ffi.Pointer arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; bool call(int arg0, ffi.Pointer arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock> block, - ffi.UnsignedLong arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock> block, + ffi.UnsignedLong arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, int, - ffi.Pointer)>()(_id, arg0, arg1); + bool Function(ffi.Pointer<_ObjCBlock>, int, ffi.Pointer) + >()(_id, arg0, arg1); } void _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - _NSRange arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>>() - .asFunction< - void Function(_NSRange, ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + _NSRange arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) + > + >() + .asFunction)>()(arg0, arg1); final _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - void Function(_NSRange, ffi.Pointer) fn) { + void Function(_NSRange, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - _NSRange arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + _NSRange arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSRange_bool_closureRegistry[block.ref.target.address]!( + arg0, + arg1, +); class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -36470,20 +45780,27 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(_NSRange arg0, ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(_NSRange arg0, ffi.Pointer arg1) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -36492,18 +45809,24 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSRange_bool.fromFunction( - PedometerBindings lib, void Function(_NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - (_NSRange arg0, ffi.Pointer arg1) => - fn(arg0, arg1))), - lib); + PedometerBindings lib, + void Function(_NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( + (_NSRange arg0, ffi.Pointer arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -36516,54 +45839,71 @@ class ObjCBlock_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSRange_bool.listener( - PedometerBindings lib, void Function(_NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( - (_NSRange arg0, ffi.Pointer arg1) => - fn(arg0, arg1))), - lib); + PedometerBindings lib, + void Function(_NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + _NSRange, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSRange_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSRange_bool_registerClosure( + (_NSRange arg0, ffi.Pointer arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, _NSRange, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, _NSRange, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(_NSRange arg0, ffi.Pointer arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, _NSRange arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + _NSRange arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, _NSRange, - ffi.Pointer)>()(_id, arg0, arg1); + void Function(ffi.Pointer<_ObjCBlock>, _NSRange, ffi.Pointer) + >()(_id, arg0, arg1); } void _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry = , int, ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( + void Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; @@ -36571,18 +45911,22 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -36590,24 +45934,34 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -36616,23 +45970,35 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.fromFunction( - PedometerBindings lib, - void Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + PedometerBindings lib, + void Function(NSObject, int, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -36645,65 +46011,94 @@ class ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool.listener( - PedometerBindings lib, - void Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), - arg1, arg2))), - lib); + PedometerBindings lib, + void Function(NSObject, int, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call(NSObject arg0, int arg1, ffi.Pointer arg2) => _id + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, int arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int, ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + int, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1, arg2); } bool _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); final _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry = , int, ffi.Pointer)>{}; int _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( - bool Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( + bool Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistryIndex; _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[id] = fn; @@ -36711,18 +46106,22 @@ ffi.Pointer } bool _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -36730,26 +46129,35 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -36758,58 +46166,85 @@ class ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool.fromFunction( - PedometerBindings lib, - bool Function(NSObject, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + PedometerBindings lib, + bool Function(NSObject, int, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; - bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int, ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + bool call(NSObject arg0, int arg1, ffi.Pointer arg2) => _id + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + int, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1, arg2); } int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - int Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + int Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( - int Function(ffi.Pointer, ffi.Pointer) fn) { +_ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( + int Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistryIndex; _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[id] = fn; @@ -36817,18 +46252,22 @@ ffi.Pointer } int _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject extends _ObjCBlockBase { ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -36836,24 +46275,33 @@ class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Int32 Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline, - 0) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_fnPtrTrampoline, + 0, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -36862,30 +46310,49 @@ class ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject.fromFunction( - PedometerBindings lib, int Function(NSObject, NSObject) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Int32 Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline, 0) - .cast(), - _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + int Function(NSObject, NSObject) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Int32 Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_closureTrampoline, + 0, + ).cast(), + _ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; int call(NSObject arg0, NSObject arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Int32 Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Int32 Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - int Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + int Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id); } abstract class NSComparisonResult { @@ -36921,39 +46388,48 @@ abstract class NSOrderedCollectionDifferenceCalculationOptions { } bool _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_ObjCObject_ObjCObject_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistryIndex; _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_ObjCObject_ObjCObject_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_ObjCObject._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -36961,24 +46437,33 @@ class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_ObjCObject.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ObjCObject_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -36987,33 +46472,49 @@ class ObjCBlock_bool_ObjCObject_ObjCObject extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_ObjCObject.fromFunction( - PedometerBindings lib, bool Function(NSObject, NSObject) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline, - false) - .cast(), - _ObjCBlock_bool_ObjCObject_ObjCObject_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), NSObject._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + bool Function(NSObject, NSObject) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ObjCObject_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ObjCObject_ObjCObject_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, NSObject arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id); } abstract class NSKeyValueObservingOptions { @@ -37024,9 +46525,12 @@ abstract class NSKeyValueObservingOptions { } class NSPredicate extends NSObject { - NSPredicate._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPredicate._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSPredicate] that points to the same underlying object as [other]. static NSPredicate castFrom(T other) { @@ -37035,48 +46539,72 @@ class NSPredicate extends NSObject { /// Returns a [NSPredicate] that wraps the given raw object pointer. static NSPredicate castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPredicate._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPredicate]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSPredicate1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSPredicate1, + ); } static NSPredicate predicateWithFormat_argumentArray_( - PedometerBindings _lib, NSString predicateFormat, NSArray? arguments) { + PedometerBindings _lib, + NSString predicateFormat, + NSArray? arguments, + ) { final _ret = _lib._objc_msgSend_134( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_argumentArray_1, - predicateFormat._id, - arguments?._id ?? ffi.nullptr); + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_argumentArray_1, + predicateFormat._id, + arguments?._id ?? ffi.nullptr, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate predicateWithFormat_( - PedometerBindings _lib, NSString predicateFormat) { - final _ret = _lib._objc_msgSend_135(_lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_1, predicateFormat._id); + PedometerBindings _lib, + NSString predicateFormat, + ) { + final _ret = _lib._objc_msgSend_135( + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_1, + predicateFormat._id, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } - static NSPredicate predicateWithFormat_arguments_(PedometerBindings _lib, - NSString predicateFormat, ffi.Pointer argList) { + static NSPredicate predicateWithFormat_arguments_( + PedometerBindings _lib, + NSString predicateFormat, + ffi.Pointer argList, + ) { final _ret = _lib._objc_msgSend_136( - _lib._class_NSPredicate1, - _lib._sel_predicateWithFormat_arguments_1, - predicateFormat._id, - argList); + _lib._class_NSPredicate1, + _lib._sel_predicateWithFormat_arguments_1, + predicateFormat._id, + argList, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate? predicateFromMetadataQueryString_( - PedometerBindings _lib, NSString queryString) { - final _ret = _lib._objc_msgSend_137(_lib._class_NSPredicate1, - _lib._sel_predicateFromMetadataQueryString_1, queryString._id); + PedometerBindings _lib, + NSString queryString, + ) { + final _ret = _lib._objc_msgSend_137( + _lib._class_NSPredicate1, + _lib._sel_predicateFromMetadataQueryString_1, + queryString._id, + ); return _ret.address == 0 ? null : NSPredicate._(_ret, _lib, retain: true, release: true); @@ -37084,14 +46612,22 @@ class NSPredicate extends NSObject { static NSPredicate predicateWithValue_(PedometerBindings _lib, bool value) { final _ret = _lib._objc_msgSend_138( - _lib._class_NSPredicate1, _lib._sel_predicateWithValue_1, value); + _lib._class_NSPredicate1, + _lib._sel_predicateWithValue_1, + value, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } static NSPredicate predicateWithBlock_( - PedometerBindings _lib, ObjCBlock_bool_ObjCObject_NSDictionary block) { + PedometerBindings _lib, + ObjCBlock_bool_ObjCObject_NSDictionary block, + ) { final _ret = _lib._objc_msgSend_168( - _lib._class_NSPredicate1, _lib._sel_predicateWithBlock_1, block._id); + _lib._class_NSPredicate1, + _lib._sel_predicateWithBlock_1, + block._id, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } @@ -37102,22 +46638,31 @@ class NSPredicate extends NSObject { NSPredicate predicateWithSubstitutionVariables_(NSDictionary variables) { final _ret = _lib._objc_msgSend_151( - _id, _lib._sel_predicateWithSubstitutionVariables_1, variables._id); + _id, + _lib._sel_predicateWithSubstitutionVariables_1, + variables._id, + ); return NSPredicate._(_ret, _lib, retain: true, release: true); } bool evaluateWithObject_(NSObject? object) { return _lib._objc_msgSend_169( - _id, _lib._sel_evaluateWithObject_1, object?._id ?? ffi.nullptr); + _id, + _lib._sel_evaluateWithObject_1, + object?._id ?? ffi.nullptr, + ); } bool evaluateWithObject_substitutionVariables_( - NSObject? object, NSDictionary? bindings) { + NSObject? object, + NSDictionary? bindings, + ) { return _lib._objc_msgSend_170( - _id, - _lib._sel_evaluateWithObject_substitutionVariables_1, - object?._id ?? ffi.nullptr, - bindings?._id ?? ffi.nullptr); + _id, + _lib._sel_evaluateWithObject_substitutionVariables_1, + object?._id ?? ffi.nullptr, + bindings?._id ?? ffi.nullptr, + ); } void allowEvaluation() { @@ -37136,116 +46681,161 @@ class NSPredicate extends NSObject { } static NSPredicate allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPredicate1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPredicate1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPredicate._(_ret, _lib, retain: false, release: true); } static NSPredicate alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPredicate1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPredicate1, + _lib._sel_alloc1, + ); return NSPredicate._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPredicate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPredicate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPredicate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSPredicate1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPredicate1, _lib._sel_useStoredAccessor1); + _lib._class_NSPredicate1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSPredicate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSPredicate1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSPredicate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSPredicate1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSPredicate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPredicate1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSPredicate1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPredicate1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPredicate1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPredicate1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } bool _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_ObjCObject_NSDictionary_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistryIndex; _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_ObjCObject_NSDictionary_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_NSDictionary._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -37253,24 +46843,33 @@ class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_NSDictionary.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_NSDictionary_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -37279,40 +46878,63 @@ class ObjCBlock_bool_ObjCObject_NSDictionary extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_NSDictionary.fromFunction( - PedometerBindings lib, bool Function(NSObject?, NSDictionary?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSDictionary._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + bool Function(NSObject?, NSDictionary?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_NSDictionary_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ObjCObject_NSDictionary_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSDictionary._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject? arg0, NSDictionary? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } /// Immutable Dictionary class NSDictionary extends NSObject { - NSDictionary._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDictionary._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSDictionary] that points to the same underlying object as [other]. static NSDictionary castFrom(T other) { @@ -37321,15 +46943,21 @@ class NSDictionary extends NSObject { /// Returns a [NSDictionary] that wraps the given raw object pointer. static NSDictionary castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDictionary._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDictionary]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSDictionary1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSDictionary1, + ); } int get count { @@ -37355,17 +46983,26 @@ class NSDictionary extends NSObject { } NSDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { final _ret = _lib._objc_msgSend_139( - _id, _lib._sel_initWithObjects_forKeys_count_1, objects, keys, cnt); + _id, + _lib._sel_initWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -37377,8 +47014,11 @@ class NSDictionary extends NSObject { } NSArray allKeysForObject_(NSObject anObject) { - final _ret = - _lib._objc_msgSend_59(_id, _lib._sel_allKeysForObject_1, anObject._id); + final _ret = _lib._objc_msgSend_59( + _id, + _lib._sel_allKeysForObject_1, + anObject._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -37393,29 +47033,38 @@ class NSDictionary extends NSObject { } NSString get descriptionInStringsFileFormat { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_descriptionInStringsFileFormat1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_descriptionInStringsFileFormat1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_62( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + _id, + _lib._sel_descriptionWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_63( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + _id, + _lib._sel_descriptionWithLocale_indent_1, + locale?._id ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool isEqualToDictionary_(NSDictionary otherDictionary) { return _lib._objc_msgSend_140( - _id, _lib._sel_isEqualToDictionary_1, otherDictionary._id); + _id, + _lib._sel_isEqualToDictionary_1, + otherDictionary._id, + ); } NSEnumerator objectEnumerator() { @@ -37425,101 +47074,161 @@ class NSDictionary extends NSObject { NSArray objectsForKeys_notFoundMarker_(NSArray keys, NSObject marker) { final _ret = _lib._objc_msgSend_141( - _id, _lib._sel_objectsForKeys_notFoundMarker_1, keys._id, marker._id); + _id, + _lib._sel_objectsForKeys_notFoundMarker_1, + keys._id, + marker._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool writeToURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_81( - _id, _lib._sel_writeToURL_error_1, url._id, error); + _id, + _lib._sel_writeToURL_error_1, + url._id, + error, + ); } NSArray keysSortedByValueUsingSelector_(ffi.Pointer comparator) { final _ret = _lib._objc_msgSend_72( - _id, _lib._sel_keysSortedByValueUsingSelector_1, comparator); + _id, + _lib._sel_keysSortedByValueUsingSelector_1, + comparator, + ); return NSArray._(_ret, _lib, retain: true, release: true); } - void getObjects_andKeys_count_(ffi.Pointer> objects, - ffi.Pointer> keys, int count) { + void getObjects_andKeys_count_( + ffi.Pointer> objects, + ffi.Pointer> keys, + int count, + ) { _lib._objc_msgSend_142( - _id, _lib._sel_getObjects_andKeys_count_1, objects, keys, count); + _id, + _lib._sel_getObjects_andKeys_count_1, + objects, + keys, + count, + ); } NSObject? objectForKeyedSubscript_(NSObject key) { final _ret = _lib._objc_msgSend_16( - _id, _lib._sel_objectForKeyedSubscript_1, key._id); + _id, + _lib._sel_objectForKeyedSubscript_1, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } void enumerateKeysAndObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool block) { + ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool block, + ) { _lib._objc_msgSend_143( - _id, _lib._sel_enumerateKeysAndObjectsUsingBlock_1, block._id); + _id, + _lib._sel_enumerateKeysAndObjectsUsingBlock_1, + block._id, + ); } void enumerateKeysAndObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool block) { + int opts, + ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool block, + ) { _lib._objc_msgSend_144( - _id, - _lib._sel_enumerateKeysAndObjectsWithOptions_usingBlock_1, - opts, - block._id); + _id, + _lib._sel_enumerateKeysAndObjectsWithOptions_usingBlock_1, + opts, + block._id, + ); } NSArray keysSortedByValueUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_113( - _id, _lib._sel_keysSortedByValueUsingComparator_1, cmptr._id); + _id, + _lib._sel_keysSortedByValueUsingComparator_1, + cmptr._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray keysSortedByValueWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_114( - _id, - _lib._sel_keysSortedByValueWithOptions_usingComparator_1, - opts, - cmptr._id); + _id, + _lib._sel_keysSortedByValueWithOptions_usingComparator_1, + opts, + cmptr._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSObject keysOfEntriesPassingTest_( - ObjCBlock_bool_ObjCObject_ObjCObject_bool predicate) { + ObjCBlock_bool_ObjCObject_ObjCObject_bool predicate, + ) { final _ret = _lib._objc_msgSend_145( - _id, _lib._sel_keysOfEntriesPassingTest_1, predicate._id); + _id, + _lib._sel_keysOfEntriesPassingTest_1, + predicate._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject keysOfEntriesWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ObjCObject_bool predicate) { - final _ret = _lib._objc_msgSend_146(_id, - _lib._sel_keysOfEntriesWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_ObjCObject_ObjCObject_bool predicate, + ) { + final _ret = _lib._objc_msgSend_146( + _id, + _lib._sel_keysOfEntriesWithOptions_passingTest_1, + opts, + predicate._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } /// This method is unsafe because it could potentially cause buffer overruns. You should use -getObjects:andKeys:count: - void getObjects_andKeys_(ffi.Pointer> objects, - ffi.Pointer> keys) { + void getObjects_andKeys_( + ffi.Pointer> objects, + ffi.Pointer> keys, + ) { _lib._objc_msgSend_147(_id, _lib._sel_getObjects_andKeys_1, objects, keys); } static NSDictionary? dictionaryWithContentsOfFile_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_148(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_148( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_( - PedometerBindings _lib, NSURL url) { - final _ret = _lib._objc_msgSend_149(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, url._id); + PedometerBindings _lib, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_149( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -37527,15 +47236,21 @@ class NSDictionary extends NSObject { NSDictionary? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_148( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + _id, + _lib._sel_initWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_149(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_149( + _id, + _lib._sel_initWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -37543,98 +47258,165 @@ class NSDictionary extends NSObject { bool writeToFile_atomically_(NSString path, bool useAuxiliaryFile) { return _lib._objc_msgSend_26( - _id, _lib._sel_writeToFile_atomically_1, path._id, useAuxiliaryFile); + _id, + _lib._sel_writeToFile_atomically_1, + path._id, + useAuxiliaryFile, + ); } bool writeToURL_atomically_(NSURL url, bool atomically) { return _lib._objc_msgSend_126( - _id, _lib._sel_writeToURL_atomically_1, url._id, atomically); + _id, + _lib._sel_writeToURL_atomically_1, + url._id, + atomically, + ); } static NSDictionary dictionary(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_dictionary1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_dictionary1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObject_forKey_( - PedometerBindings _lib, NSObject object, NSObject key) { - final _ret = _lib._objc_msgSend_150(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, object._id, key._id); + PedometerBindings _lib, + NSObject object, + NSObject key, + ) { + final _ret = _lib._objc_msgSend_150( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObject_forKey_1, + object._id, + key._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_count_( - PedometerBindings _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { - final _ret = _lib._objc_msgSend_139(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, objects, keys, cnt); + PedometerBindings _lib, + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { + final _ret = _lib._objc_msgSend_139( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjectsAndKeys_( - PedometerBindings _lib, NSObject firstObject) { - final _ret = _lib._objc_msgSend_116(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, firstObject._id); + PedometerBindings _lib, + NSObject firstObject, + ) { + final _ret = _lib._objc_msgSend_116( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjectsAndKeys_1, + firstObject._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithDictionary_( - PedometerBindings _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_151(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithDictionary_1, dict._id); + PedometerBindings _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_151( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithDictionary_1, + dict._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary dictionaryWithObjects_forKeys_( - PedometerBindings _lib, NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_152(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, objects._id, keys._id); + PedometerBindings _lib, + NSArray objects, + NSArray keys, + ) { + final _ret = _lib._objc_msgSend_152( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_1, + objects._id, + keys._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithObjectsAndKeys_(NSObject firstObject) { final _ret = _lib._objc_msgSend_116( - _id, _lib._sel_initWithObjectsAndKeys_1, firstObject._id); + _id, + _lib._sel_initWithObjectsAndKeys_1, + firstObject._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithDictionary_(NSDictionary otherDictionary) { final _ret = _lib._objc_msgSend_151( - _id, _lib._sel_initWithDictionary_1, otherDictionary._id); + _id, + _lib._sel_initWithDictionary_1, + otherDictionary._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, bool flag) { - final _ret = _lib._objc_msgSend_153(_id, - _lib._sel_initWithDictionary_copyItems_1, otherDictionary._id, flag); + NSDictionary otherDictionary, + bool flag, + ) { + final _ret = _lib._objc_msgSend_153( + _id, + _lib._sel_initWithDictionary_copyItems_1, + otherDictionary._id, + flag, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } NSDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { final _ret = _lib._objc_msgSend_152( - _id, _lib._sel_initWithObjects_forKeys_1, objects._id, keys._id); + _id, + _lib._sel_initWithObjects_forKeys_1, + objects._id, + keys._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? initWithContentsOfURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_154( - _id, _lib._sel_initWithContentsOfURL_error_1, url._id, error); + _id, + _lib._sel_initWithContentsOfURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_error_( - PedometerBindings _lib, - NSURL url, - ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_154(_lib._class_NSDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, url._id, error); + PedometerBindings _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_154( + _lib._class_NSDictionary1, + _lib._sel_dictionaryWithContentsOfURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -37642,20 +47424,25 @@ class NSDictionary extends NSObject { static NSObject sharedKeySetForKeys_(PedometerBindings _lib, NSArray keys) { final _ret = _lib._objc_msgSend_117( - _lib._class_NSDictionary1, _lib._sel_sharedKeySetForKeys_1, keys._id); + _lib._class_NSDictionary1, + _lib._sel_sharedKeySetForKeys_1, + keys._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } int countByEnumeratingWithState_objects_count_( - ffi.Pointer state, - ffi.Pointer> buffer, - int len) { + ffi.Pointer state, + ffi.Pointer> buffer, + int len, + ) { return _lib._objc_msgSend_155( - _id, - _lib._sel_countByEnumeratingWithState_objects_count_1, - state, - buffer, - len); + _id, + _lib._sel_countByEnumeratingWithState_objects_count_1, + state, + buffer, + len, + ); } int fileSize() { @@ -37688,8 +47475,10 @@ class NSDictionary extends NSObject { } NSString? fileGroupOwnerAccountName() { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_fileGroupOwnerAccountName1); + final _ret = _lib._objc_msgSend_44( + _id, + _lib._sel_fileGroupOwnerAccountName1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -37738,8 +47527,10 @@ class NSDictionary extends NSObject { } NSNumber? fileGroupOwnerAccountID() { - final _ret = - _lib._objc_msgSend_167(_id, _lib._sel_fileGroupOwnerAccountID1); + final _ret = _lib._objc_msgSend_167( + _id, + _lib._sel_fileGroupOwnerAccountID1, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); @@ -37754,112 +47545,167 @@ class NSDictionary extends NSObject { } static NSDictionary new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_new1, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static NSDictionary allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDictionary1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDictionary1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static NSDictionary alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDictionary1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDictionary1, + _lib._sel_alloc1, + ); return NSDictionary._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSDictionary1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDictionary1, _lib._sel_useStoredAccessor1); + _lib._class_NSDictionary1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSDictionary1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSDictionary1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDictionary1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSDictionary1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSDictionary1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDictionary1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDictionary1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[id] = fn; @@ -37867,18 +47713,22 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -37886,26 +47736,34 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -37914,24 +47772,35 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.fromFunction( - PedometerBindings lib, - void Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2))), - lib); + PedometerBindings lib, + void Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -37943,93 +47812,133 @@ class ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.listener(PedometerBindings lib, - void Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => - fn( - NSObject._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - arg2))), - lib); + ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool.listener( + PedometerBindings lib, + void Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ObjCObject_ObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => _id + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2); + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id, arg2); } bool _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry = + < + int, + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( + bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistryIndex; _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -38037,27 +47946,35 @@ class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_ObjCObject_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ObjCObject_bool_fnPtrTrampoline, + false, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -38065,40 +47982,60 @@ class ObjCBlock_bool_ObjCObject_ObjCObject_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_bool_ObjCObject_ObjCObject_bool.fromFunction(PedometerBindings lib, - bool Function(NSObject, NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn(NSObject._(arg0, lib, retain: true, release: true), NSObject._(arg1, lib, retain: true, release: true), arg2))), - lib); - static ffi.Pointer? _dartFuncTrampoline; - - bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - bool Function( + ObjCBlock_bool_ObjCObject_ObjCObject_bool.fromFunction( + PedometerBindings lib, + bool Function(NSObject, NSObject, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2); + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_ObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ObjCObject_ObjCObject_bool_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSObject._(arg0, lib, retain: true, release: true), + NSObject._(arg1, lib, retain: true, release: true), + arg2, + ), + ), + ), + lib, + ); + static ffi.Pointer? _dartFuncTrampoline; + + bool call(NSObject arg0, NSObject arg1, ffi.Pointer arg2) => _id + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id, arg2); } final class NSFastEnumerationState extends ffi.Struct { @@ -38114,9 +48051,12 @@ final class NSFastEnumerationState extends ffi.Struct { } class NSDate extends NSObject { - NSDate._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDate._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSDate] that points to the same underlying object as [other]. static NSDate castFrom(T other) { @@ -38125,23 +48065,33 @@ class NSDate extends NSObject { /// Returns a [NSDate] that wraps the given raw object pointer. static NSDate castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDate._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDate]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSDate1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSDate1, + ); } double get timeIntervalSinceReferenceDate { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_157_fpret( - _id, _lib._sel_timeIntervalSinceReferenceDate1) + _id, + _lib._sel_timeIntervalSinceReferenceDate1, + ) : _lib._objc_msgSend_157( - _id, _lib._sel_timeIntervalSinceReferenceDate1); + _id, + _lib._sel_timeIntervalSinceReferenceDate1, + ); } @override @@ -38152,13 +48102,19 @@ class NSDate extends NSObject { NSDate initWithTimeIntervalSinceReferenceDate_(double ti) { final _ret = _lib._objc_msgSend_158( - _id, _lib._sel_initWithTimeIntervalSinceReferenceDate_1, ti); + _id, + _lib._sel_initWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -38167,9 +48123,15 @@ class NSDate extends NSObject { double timeIntervalSinceDate_(NSDate anotherDate) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_159_fpret( - _id, _lib._sel_timeIntervalSinceDate_1, anotherDate._id) + _id, + _lib._sel_timeIntervalSinceDate_1, + anotherDate._id, + ) : _lib._objc_msgSend_159( - _id, _lib._sel_timeIntervalSinceDate_1, anotherDate._id); + _id, + _lib._sel_timeIntervalSinceDate_1, + anotherDate._id, + ); } double get timeIntervalSinceNow { @@ -38185,26 +48147,38 @@ class NSDate extends NSObject { } NSObject addTimeInterval_(double seconds) { - final _ret = - _lib._objc_msgSend_158(_id, _lib._sel_addTimeInterval_1, seconds); + final _ret = _lib._objc_msgSend_158( + _id, + _lib._sel_addTimeInterval_1, + seconds, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSDate dateByAddingTimeInterval_(double ti) { - final _ret = - _lib._objc_msgSend_158(_id, _lib._sel_dateByAddingTimeInterval_1, ti); + final _ret = _lib._objc_msgSend_158( + _id, + _lib._sel_dateByAddingTimeInterval_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate earlierDate_(NSDate anotherDate) { - final _ret = - _lib._objc_msgSend_160(_id, _lib._sel_earlierDate_1, anotherDate._id); + final _ret = _lib._objc_msgSend_160( + _id, + _lib._sel_earlierDate_1, + anotherDate._id, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate laterDate_(NSDate anotherDate) { - final _ret = - _lib._objc_msgSend_160(_id, _lib._sel_laterDate_1, anotherDate._id); + final _ret = _lib._objc_msgSend_160( + _id, + _lib._sel_laterDate_1, + anotherDate._id, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @@ -38214,7 +48188,10 @@ class NSDate extends NSObject { bool isEqualToDate_(NSDate otherDate) { return _lib._objc_msgSend_162( - _id, _lib._sel_isEqualToDate_1, otherDate._id); + _id, + _lib._sel_isEqualToDate_1, + otherDate._id, + ); } NSString get description { @@ -38224,7 +48201,10 @@ class NSDate extends NSObject { NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_62( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + _id, + _lib._sel_descriptionWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -38234,42 +48214,68 @@ class NSDate extends NSObject { } static NSDate dateWithTimeIntervalSinceNow_( - PedometerBindings _lib, double secs) { + PedometerBindings _lib, + double secs, + ) { final _ret = _lib._objc_msgSend_158( - _lib._class_NSDate1, _lib._sel_dateWithTimeIntervalSinceNow_1, secs); + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSinceNow_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeIntervalSinceReferenceDate_( - PedometerBindings _lib, double ti) { - final _ret = _lib._objc_msgSend_158(_lib._class_NSDate1, - _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, ti); + PedometerBindings _lib, + double ti, + ) { + final _ret = _lib._objc_msgSend_158( + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSinceReferenceDate_1, + ti, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeIntervalSince1970_( - PedometerBindings _lib, double secs) { + PedometerBindings _lib, + double secs, + ) { final _ret = _lib._objc_msgSend_158( - _lib._class_NSDate1, _lib._sel_dateWithTimeIntervalSince1970_1, secs); + _lib._class_NSDate1, + _lib._sel_dateWithTimeIntervalSince1970_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate dateWithTimeInterval_sinceDate_( - PedometerBindings _lib, double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_163(_lib._class_NSDate1, - _lib._sel_dateWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + PedometerBindings _lib, + double secsToBeAdded, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_163( + _lib._class_NSDate1, + _lib._sel_dateWithTimeInterval_sinceDate_1, + secsToBeAdded, + date._id, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate getDistantFuture(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_164(_lib._class_NSDate1, _lib._sel_distantFuture1); + final _ret = _lib._objc_msgSend_164( + _lib._class_NSDate1, + _lib._sel_distantFuture1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } static NSDate getDistantPast(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_164(_lib._class_NSDate1, _lib._sel_distantPast1); + final _ret = _lib._objc_msgSend_164( + _lib._class_NSDate1, + _lib._sel_distantPast1, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @@ -38280,19 +48286,29 @@ class NSDate extends NSObject { NSDate initWithTimeIntervalSinceNow_(double secs) { final _ret = _lib._objc_msgSend_158( - _id, _lib._sel_initWithTimeIntervalSinceNow_1, secs); + _id, + _lib._sel_initWithTimeIntervalSinceNow_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate initWithTimeIntervalSince1970_(double secs) { final _ret = _lib._objc_msgSend_158( - _id, _lib._sel_initWithTimeIntervalSince1970_1, secs); + _id, + _lib._sel_initWithTimeIntervalSince1970_1, + secs, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDate initWithTimeInterval_sinceDate_(double secsToBeAdded, NSDate date) { - final _ret = _lib._objc_msgSend_163(_id, - _lib._sel_initWithTimeInterval_sinceDate_1, secsToBeAdded, date._id); + final _ret = _lib._objc_msgSend_163( + _id, + _lib._sel_initWithTimeInterval_sinceDate_1, + secsToBeAdded, + date._id, + ); return NSDate._(_ret, _lib, retain: true, release: true); } @@ -38302,9 +48318,14 @@ class NSDate extends NSObject { } static NSDate allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDate1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDate1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDate._(_ret, _lib, retain: false, release: true); } @@ -38314,65 +48335,94 @@ class NSDate extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDate1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDate1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDate1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSDate1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDate1, _lib._sel_useStoredAccessor1); + _lib._class_NSDate1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSDate1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSDate1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSDate1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSDate1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSDate1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDate1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSDate1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSDate1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDate1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDate1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -38401,8 +48451,7 @@ abstract class NSDataWritingOptions { static const int NSDataWritingFileProtectionComplete = 536870912; static const int NSDataWritingFileProtectionCompleteUnlessOpen = 805306368; static const int - NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = - 1073741824; + NSDataWritingFileProtectionCompleteUntilFirstUserAuthentication = 1073741824; static const int NSDataWritingFileProtectionCompleteWhenUserInactive = 1342177280; static const int NSDataWritingFileProtectionMask = 4026531840; @@ -38416,41 +48465,54 @@ abstract class NSDataSearchOptions { } void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) { + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -38458,24 +48520,32 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -38483,23 +48553,32 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction(PedometerBindings lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0, arg1, arg2))), - lib); + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.fromFunction( + PedometerBindings lib, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( + ( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(arg0, arg1, arg2), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -38511,42 +48590,66 @@ class ObjCBlock_ffiVoid_ffiVoid_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener(PedometerBindings lib, - void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0, arg1, arg2))), - lib); + ObjCBlock_ffiVoid_ffiVoid_NSRange_bool.listener( + PedometerBindings lib, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_NSRange_bool_registerClosure( + ( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn(arg0, arg1, arg2), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>()(_id, arg0, arg1, arg2); + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(_id, arg0, arg1, arg2); } /// Read/Write Options @@ -38560,34 +48663,44 @@ abstract class NSDataReadingOptions { } void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() - .asFunction, int)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) + > + >() + .asFunction, int)>()(arg0, arg1); final _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn) { +_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + void Function(ffi.Pointer, int) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0, int arg1) => - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, +) => _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -38595,21 +48708,29 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, ffi.UnsignedLong arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer arg0, ffi.UnsignedLong arg1) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -38618,17 +48739,26 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.fromFunction( - PedometerBindings lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => fn(arg0, arg1))), - lib); + PedometerBindings lib, + void Function(ffi.Pointer, int) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -38641,33 +48771,49 @@ class ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong.listener( - PedometerBindings lib, void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>.listener( - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => fn(arg0, arg1))), - lib); + PedometerBindings lib, + void Function(ffi.Pointer, int) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.UnsignedLong)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >? + _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.UnsignedLong arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int)>()(_id, arg0, arg1); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, int) + >()(_id, arg0, arg1); } abstract class NSDataBase64DecodingOptions { @@ -38709,9 +48855,12 @@ abstract class NSStringCompareOptions { } class NSLocale extends NSObject { - NSLocale._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSLocale._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSLocale] that points to the same underlying object as [other]. static NSLocale castFrom(T other) { @@ -38720,15 +48869,21 @@ class NSLocale extends NSObject { /// Returns a [NSLocale] that wraps the given raw object pointer. static NSLocale castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSLocale._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSLocale]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSLocale1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSLocale1, + ); } NSObject? objectForKey_(NSString key) { @@ -38740,7 +48895,11 @@ class NSLocale extends NSObject { NSString? displayNameForKey_value_(NSString key, NSObject value) { final _ret = _lib._objc_msgSend_280( - _id, _lib._sel_displayNameForKey_value_1, key._id, value._id); + _id, + _lib._sel_displayNameForKey_value_1, + key._id, + value._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38748,13 +48907,19 @@ class NSLocale extends NSObject { NSLocale initWithLocaleIdentifier_(NSString string) { final _ret = _lib._objc_msgSend_31( - _id, _lib._sel_initWithLocaleIdentifier_1, string._id); + _id, + _lib._sel_initWithLocaleIdentifier_1, + string._id, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } NSLocale? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSLocale._(_ret, _lib, retain: true, release: true); @@ -38766,8 +48931,11 @@ class NSLocale extends NSObject { } NSString localizedStringForLocaleIdentifier_(NSString localeIdentifier) { - final _ret = _lib._objc_msgSend_61(_id, - _lib._sel_localizedStringForLocaleIdentifier_1, localeIdentifier._id); + final _ret = _lib._objc_msgSend_61( + _id, + _lib._sel_localizedStringForLocaleIdentifier_1, + localeIdentifier._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -38778,7 +48946,10 @@ class NSLocale extends NSObject { NSString? localizedStringForLanguageCode_(NSString languageCode) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_localizedStringForLanguageCode_1, languageCode._id); + _id, + _lib._sel_localizedStringForLanguageCode_1, + languageCode._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38799,7 +48970,10 @@ class NSLocale extends NSObject { NSString? localizedStringForCountryCode_(NSString countryCode) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_localizedStringForCountryCode_1, countryCode._id); + _id, + _lib._sel_localizedStringForCountryCode_1, + countryCode._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38824,7 +48998,10 @@ class NSLocale extends NSObject { NSString? localizedStringForScriptCode_(NSString scriptCode) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_localizedStringForScriptCode_1, scriptCode._id); + _id, + _lib._sel_localizedStringForScriptCode_1, + scriptCode._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38839,7 +49016,10 @@ class NSLocale extends NSObject { NSString? localizedStringForVariantCode_(NSString variantCode) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_localizedStringForVariantCode_1, variantCode._id); + _id, + _lib._sel_localizedStringForVariantCode_1, + variantCode._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38857,9 +49037,10 @@ class NSLocale extends NSObject { NSString? localizedStringForCalendarIdentifier_(NSString calendarIdentifier) { final _ret = _lib._objc_msgSend_281( - _id, - _lib._sel_localizedStringForCalendarIdentifier_1, - calendarIdentifier._id); + _id, + _lib._sel_localizedStringForCalendarIdentifier_1, + calendarIdentifier._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38873,11 +49054,13 @@ class NSLocale extends NSObject { } NSString? localizedStringForCollationIdentifier_( - NSString collationIdentifier) { + NSString collationIdentifier, + ) { final _ret = _lib._objc_msgSend_281( - _id, - _lib._sel_localizedStringForCollationIdentifier_1, - collationIdentifier._id); + _id, + _lib._sel_localizedStringForCollationIdentifier_1, + collationIdentifier._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38911,7 +49094,10 @@ class NSLocale extends NSObject { NSString? localizedStringForCurrencyCode_(NSString currencyCode) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_localizedStringForCurrencyCode_1, currencyCode._id); + _id, + _lib._sel_localizedStringForCurrencyCode_1, + currencyCode._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38924,9 +49110,10 @@ class NSLocale extends NSObject { NSString? localizedStringForCollatorIdentifier_(NSString collatorIdentifier) { final _ret = _lib._objc_msgSend_281( - _id, - _lib._sel_localizedStringForCollatorIdentifier_1, - collatorIdentifier._id); + _id, + _lib._sel_localizedStringForCollatorIdentifier_1, + collatorIdentifier._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -38943,39 +49130,54 @@ class NSLocale extends NSObject { } NSString get alternateQuotationBeginDelimiter { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_alternateQuotationBeginDelimiter1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_alternateQuotationBeginDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString get alternateQuotationEndDelimiter { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_alternateQuotationEndDelimiter1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_alternateQuotationEndDelimiter1, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSLocale getAutoupdatingCurrentLocale(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_292( - _lib._class_NSLocale1, _lib._sel_autoupdatingCurrentLocale1); + _lib._class_NSLocale1, + _lib._sel_autoupdatingCurrentLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale getCurrentLocale(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_292(_lib._class_NSLocale1, _lib._sel_currentLocale1); + final _ret = _lib._objc_msgSend_292( + _lib._class_NSLocale1, + _lib._sel_currentLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale getSystemLocale(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_292(_lib._class_NSLocale1, _lib._sel_systemLocale1); + final _ret = _lib._objc_msgSend_292( + _lib._class_NSLocale1, + _lib._sel_systemLocale1, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } static NSLocale localeWithLocaleIdentifier_( - PedometerBindings _lib, NSString ident) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSLocale1, - _lib._sel_localeWithLocaleIdentifier_1, ident._id); + PedometerBindings _lib, + NSString ident, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSLocale1, + _lib._sel_localeWithLocaleIdentifier_1, + ident._id, + ); return NSLocale._(_ret, _lib, retain: true, release: true); } @@ -38987,95 +49189,145 @@ class NSLocale extends NSObject { static NSArray getAvailableLocaleIdentifiers(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSLocale1, _lib._sel_availableLocaleIdentifiers1); + _lib._class_NSLocale1, + _lib._sel_availableLocaleIdentifiers1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOLanguageCodes(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSLocale1, _lib._sel_ISOLanguageCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOLanguageCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOCountryCodes(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSLocale1, _lib._sel_ISOCountryCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOCountryCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getISOCurrencyCodes(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSLocale1, _lib._sel_ISOCurrencyCodes1); + _lib._class_NSLocale1, + _lib._sel_ISOCurrencyCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getCommonISOCurrencyCodes(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSLocale1, _lib._sel_commonISOCurrencyCodes1); + _lib._class_NSLocale1, + _lib._sel_commonISOCurrencyCodes1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getPreferredLanguages(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSLocale1, _lib._sel_preferredLanguages1); + _lib._class_NSLocale1, + _lib._sel_preferredLanguages1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSDictionary componentsFromLocaleIdentifier_( - PedometerBindings _lib, NSString string) { - final _ret = _lib._objc_msgSend_293(_lib._class_NSLocale1, - _lib._sel_componentsFromLocaleIdentifier_1, string._id); + PedometerBindings _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_293( + _lib._class_NSLocale1, + _lib._sel_componentsFromLocaleIdentifier_1, + string._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSString localeIdentifierFromComponents_( - PedometerBindings _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_294(_lib._class_NSLocale1, - _lib._sel_localeIdentifierFromComponents_1, dict._id); + PedometerBindings _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_294( + _lib._class_NSLocale1, + _lib._sel_localeIdentifierFromComponents_1, + dict._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString canonicalLocaleIdentifierFromString_( - PedometerBindings _lib, NSString string) { - final _ret = _lib._objc_msgSend_61(_lib._class_NSLocale1, - _lib._sel_canonicalLocaleIdentifierFromString_1, string._id); + PedometerBindings _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_61( + _lib._class_NSLocale1, + _lib._sel_canonicalLocaleIdentifierFromString_1, + string._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString canonicalLanguageIdentifierFromString_( - PedometerBindings _lib, NSString string) { - final _ret = _lib._objc_msgSend_61(_lib._class_NSLocale1, - _lib._sel_canonicalLanguageIdentifierFromString_1, string._id); + PedometerBindings _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_61( + _lib._class_NSLocale1, + _lib._sel_canonicalLanguageIdentifierFromString_1, + string._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? localeIdentifierFromWindowsLocaleCode_( - PedometerBindings _lib, int lcid) { - final _ret = _lib._objc_msgSend_295(_lib._class_NSLocale1, - _lib._sel_localeIdentifierFromWindowsLocaleCode_1, lcid); + PedometerBindings _lib, + int lcid, + ) { + final _ret = _lib._objc_msgSend_295( + _lib._class_NSLocale1, + _lib._sel_localeIdentifierFromWindowsLocaleCode_1, + lcid, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static int windowsLocaleCodeFromLocaleIdentifier_( - PedometerBindings _lib, NSString localeIdentifier) { + PedometerBindings _lib, + NSString localeIdentifier, + ) { return _lib._objc_msgSend_296( - _lib._class_NSLocale1, - _lib._sel_windowsLocaleCodeFromLocaleIdentifier_1, - localeIdentifier._id); + _lib._class_NSLocale1, + _lib._sel_windowsLocaleCodeFromLocaleIdentifier_1, + localeIdentifier._id, + ); } static int characterDirectionForLanguage_( - PedometerBindings _lib, NSString isoLangCode) { - return _lib._objc_msgSend_297(_lib._class_NSLocale1, - _lib._sel_characterDirectionForLanguage_1, isoLangCode._id); + PedometerBindings _lib, + NSString isoLangCode, + ) { + return _lib._objc_msgSend_297( + _lib._class_NSLocale1, + _lib._sel_characterDirectionForLanguage_1, + isoLangCode._id, + ); } static int lineDirectionForLanguage_( - PedometerBindings _lib, NSString isoLangCode) { - return _lib._objc_msgSend_297(_lib._class_NSLocale1, - _lib._sel_lineDirectionForLanguage_1, isoLangCode._id); + PedometerBindings _lib, + NSString isoLangCode, + ) { + return _lib._objc_msgSend_297( + _lib._class_NSLocale1, + _lib._sel_lineDirectionForLanguage_1, + isoLangCode._id, + ); } static NSLocale new1(PedometerBindings _lib) { @@ -39084,9 +49336,14 @@ class NSLocale extends NSObject { } static NSLocale allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSLocale1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSLocale1, + _lib._sel_allocWithZone_1, + zone, + ); return NSLocale._(_ret, _lib, retain: false, release: true); } @@ -39096,73 +49353,105 @@ class NSLocale extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSLocale1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSLocale1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSLocale1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSLocale1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSLocale1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSLocale1, _lib._sel_useStoredAccessor1); + _lib._class_NSLocale1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSLocale1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSLocale1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSLocale1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSLocale1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSLocale1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSLocale1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSLocale1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSLocale1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSLocale1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSLocale1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSCharacterSet extends NSObject { - NSCharacterSet._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCharacterSet._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSCharacterSet] that points to the same underlying object as [other]. static NSCharacterSet castFrom(T other) { @@ -39171,148 +49460,212 @@ class NSCharacterSet extends NSObject { /// Returns a [NSCharacterSet] that wraps the given raw object pointer. static NSCharacterSet castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCharacterSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCharacterSet]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSCharacterSet1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSCharacterSet1, + ); } static NSCharacterSet getControlCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_controlCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_controlCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getWhitespaceCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_whitespaceCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_whitespaceCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getWhitespaceAndNewlineCharacterSet( - PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_282(_lib._class_NSCharacterSet1, - _lib._sel_whitespaceAndNewlineCharacterSet1); + PedometerBindings _lib, + ) { + final _ret = _lib._objc_msgSend_282( + _lib._class_NSCharacterSet1, + _lib._sel_whitespaceAndNewlineCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getDecimalDigitCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_decimalDigitCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_decimalDigitCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getLetterCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_letterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_letterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getLowercaseLetterCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_lowercaseLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_lowercaseLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getUppercaseLetterCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_uppercaseLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_uppercaseLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getNonBaseCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_nonBaseCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_nonBaseCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getAlphanumericCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_alphanumericCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_alphanumericCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getDecomposableCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_decomposableCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_decomposableCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getIllegalCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_illegalCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_illegalCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getPunctuationCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_punctuationCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_punctuationCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getCapitalizedLetterCharacterSet( - PedometerBindings _lib) { + PedometerBindings _lib, + ) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_capitalizedLetterCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_capitalizedLetterCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getSymbolCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_symbolCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_symbolCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getNewlineCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_newlineCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_newlineCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet characterSetWithRange_( - PedometerBindings _lib, _NSRange aRange) { + PedometerBindings _lib, + _NSRange aRange, + ) { final _ret = _lib._objc_msgSend_283( - _lib._class_NSCharacterSet1, _lib._sel_characterSetWithRange_1, aRange); + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithRange_1, + aRange, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet characterSetWithCharactersInString_( - PedometerBindings _lib, NSString aString) { - final _ret = _lib._objc_msgSend_284(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithCharactersInString_1, aString._id); + PedometerBindings _lib, + NSString aString, + ) { + final _ret = _lib._objc_msgSend_284( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithCharactersInString_1, + aString._id, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet characterSetWithBitmapRepresentation_( - PedometerBindings _lib, NSData data) { - final _ret = _lib._objc_msgSend_285(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithBitmapRepresentation_1, data._id); + PedometerBindings _lib, + NSData data, + ) { + final _ret = _lib._objc_msgSend_285( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithBitmapRepresentation_1, + data._id, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet? characterSetWithContentsOfFile_( - PedometerBindings _lib, NSString fName) { - final _ret = _lib._objc_msgSend_286(_lib._class_NSCharacterSet1, - _lib._sel_characterSetWithContentsOfFile_1, fName._id); + PedometerBindings _lib, + NSString fName, + ) { + final _ret = _lib._objc_msgSend_286( + _lib._class_NSCharacterSet1, + _lib._sel_characterSetWithContentsOfFile_1, + fName._id, + ); return _ret.address == 0 ? null : NSCharacterSet._(_ret, _lib, retain: true, release: true); } NSCharacterSet initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_287(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_287( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } bool characterIsMember_(int aCharacter) { return _lib._objc_msgSend_288( - _id, _lib._sel_characterIsMember_1, aCharacter); + _id, + _lib._sel_characterIsMember_1, + aCharacter, + ); } NSData get bitmapRepresentation { @@ -39327,12 +49680,18 @@ class NSCharacterSet extends NSObject { bool longCharacterIsMember_(int theLongChar) { return _lib._objc_msgSend_289( - _id, _lib._sel_longCharacterIsMember_1, theLongChar); + _id, + _lib._sel_longCharacterIsMember_1, + theLongChar, + ); } bool isSupersetOfSet_(NSCharacterSet theOtherSet) { return _lib._objc_msgSend_290( - _id, _lib._sel_isSupersetOfSet_1, theOtherSet._id); + _id, + _lib._sel_isSupersetOfSet_1, + theOtherSet._id, + ); } bool hasMemberInPlane_(int thePlane) { @@ -39341,39 +49700,53 @@ class NSCharacterSet extends NSObject { static NSCharacterSet getURLUserAllowedCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_URLUserAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLUserAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLPasswordAllowedCharacterSet( - PedometerBindings _lib) { + PedometerBindings _lib, + ) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_URLPasswordAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLPasswordAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLHostAllowedCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_URLHostAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLHostAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLPathAllowedCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_URLPathAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLPathAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLQueryAllowedCharacterSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_URLQueryAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLQueryAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } static NSCharacterSet getURLFragmentAllowedCharacterSet( - PedometerBindings _lib) { + PedometerBindings _lib, + ) { final _ret = _lib._objc_msgSend_282( - _lib._class_NSCharacterSet1, _lib._sel_URLFragmentAllowedCharacterSet1); + _lib._class_NSCharacterSet1, + _lib._sel_URLFragmentAllowedCharacterSet1, + ); return NSCharacterSet._(_ret, _lib, retain: true, release: true); } @@ -39384,84 +49757,122 @@ class NSCharacterSet extends NSObject { } static NSCharacterSet new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCharacterSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCharacterSet1, + _lib._sel_new1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCharacterSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCharacterSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static NSCharacterSet alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCharacterSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCharacterSet1, + _lib._sel_alloc1, + ); return NSCharacterSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCharacterSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCharacterSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCharacterSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSCharacterSet1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSCharacterSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCharacterSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSCharacterSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSCharacterSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSCharacterSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSCharacterSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSCharacterSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSCharacterSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCharacterSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSCharacterSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCharacterSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCharacterSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCharacterSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -39488,28 +49899,51 @@ abstract class NSStringEnumerationOptions { } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - _NSRange arg2, ffi.Pointer arg3)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2, arg3); -final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = , _NSRange, _NSRange, ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >()(arg0, arg1, arg2, arg3); +final _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry = + < + int, + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + void Function( + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[id] = fn; @@ -39517,19 +49951,23 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3) => - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2, arg3); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, +) => _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2, arg3); class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -39537,25 +49975,36 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - _NSRange arg2, ffi.Pointer arg3)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -39564,24 +50013,40 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.fromFunction( - PedometerBindings lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - fn(arg0.address == 0 ? null : NSString._(arg0, lib, retain: true, release: true), arg1, arg2, arg3))), - lib); + PedometerBindings lib, + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + ( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -39594,89 +50059,123 @@ class ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool.listener( - PedometerBindings lib, - void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - fn(arg0.address == 0 ? null : NSString._(arg0, lib, retain: true, release: true), arg1, arg2, arg3))), - lib); + PedometerBindings lib, + void Function(NSString?, _NSRange, _NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_NSRange_NSRange_bool_registerClosure( + ( + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => fn( + arg0.address == 0 + ? null + : NSString._(arg0, lib, retain: true, release: true), + arg1, + arg2, + arg3, + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + _NSRange, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call( + NSString? arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) => _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + _NSRange arg2, + ffi.Pointer arg3, + ) + > + >() + .asFunction< + void Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer, _NSRange, _NSRange, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSString? arg0, _NSRange arg1, _NSRange arg2, - ffi.Pointer arg3) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - _NSRange arg2, - ffi.Pointer arg3)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - _NSRange, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2, arg3); + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1, arg2, arg3); } void _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSString_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSString_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSString_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSString_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -39684,23 +50183,30 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -39709,21 +50215,25 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSString_bool.fromFunction( - PedometerBindings lib, void Function(NSString, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSString._(arg0, lib, retain: true, release: true), - arg1))), - lib); + PedometerBindings lib, + void Function(NSString, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSString._(arg0, lib, retain: true, release: true), arg1), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -39736,35 +50246,53 @@ class ObjCBlock_ffiVoid_NSString_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSString_bool.listener( - PedometerBindings lib, void Function(NSString, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSString_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSString._(arg0, lib, retain: true, release: true), - arg1))), - lib); + PedometerBindings lib, + void Function(NSString, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSString_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSString_bool_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSString._(arg0, lib, retain: true, release: true), arg1), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSString arg0, ffi.Pointer arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1); } abstract class NSStringEncodingConversionOptions { @@ -39773,23 +50301,30 @@ abstract class NSStringEncodingConversionOptions { } void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1)>>() - .asFunction, int)>()( - arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() + .asFunction, int)>()( + arg0, + arg1, +); final _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry = , int)>{}; int _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - void Function(ffi.Pointer, int) fn) { +_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + void Function(ffi.Pointer, int) fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistryIndex; _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[id] = fn; @@ -39797,18 +50332,22 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1) => - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, +) => _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong extends _ObjCBlockBase { ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -39816,23 +50355,32 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.UnsignedLong arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -39841,21 +50389,26 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.fromFunction( - PedometerBindings lib, - void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => - fn(arg0, arg1))), - lib); + PedometerBindings lib, + void Function(ffi.Pointer, int) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -39868,37 +50421,53 @@ class ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong.listener( - PedometerBindings lib, - void Function(ffi.Pointer, int) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.UnsignedLong)>.listener( - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( - (ffi.Pointer arg0, int arg1) => - fn(arg0, arg1))), - lib); + PedometerBindings lib, + void Function(ffi.Pointer, int) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong_registerClosure( + (ffi.Pointer arg0, int arg1) => fn(arg0, arg1), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.UnsignedLong)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.UnsignedLong, + ) + >? + _dartFuncListenerTrampoline; void call(ffi.Pointer arg0, int arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.UnsignedLong arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.UnsignedLong arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - int)>()(_id, arg0, arg1); + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + int, + ) + >()(_id, arg0, arg1); } abstract class NSLinguisticTaggerOptions { @@ -39910,9 +50479,12 @@ abstract class NSLinguisticTaggerOptions { } class NSOrthography extends NSObject { - NSOrthography._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOrthography._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSOrthography] that points to the same underlying object as [other]. static NSOrthography castFrom(T other) { @@ -39921,15 +50493,21 @@ class NSOrthography extends NSObject { /// Returns a [NSOrthography] that wraps the given raw object pointer. static NSOrthography castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOrthography._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrthography]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOrthography1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSOrthography1, + ); } NSString get dominantScript { @@ -39943,23 +50521,35 @@ class NSOrthography extends NSObject { } NSOrthography initWithDominantScript_languageMap_( - NSString script, NSDictionary map) { - final _ret = _lib._objc_msgSend_356(_id, - _lib._sel_initWithDominantScript_languageMap_1, script._id, map._id); + NSString script, + NSDictionary map, + ) { + final _ret = _lib._objc_msgSend_356( + _id, + _lib._sel_initWithDominantScript_languageMap_1, + script._id, + map._id, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } NSOrthography? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSOrthography._(_ret, _lib, retain: true, release: true); } NSArray? languagesForScript_(NSString script) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_languagesForScript_1, script._id); + final _ret = _lib._objc_msgSend_124( + _id, + _lib._sel_languagesForScript_1, + script._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -39967,7 +50557,10 @@ class NSOrthography extends NSObject { NSString? dominantLanguageForScript_(NSString script) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_dominantLanguageForScript_1, script._id); + _id, + _lib._sel_dominantLanguageForScript_1, + script._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -39989,19 +50582,28 @@ class NSOrthography extends NSObject { } static NSOrthography defaultOrthographyForLanguage_( - PedometerBindings _lib, NSString language) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSOrthography1, - _lib._sel_defaultOrthographyForLanguage_1, language._id); + PedometerBindings _lib, + NSString language, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSOrthography1, + _lib._sel_defaultOrthographyForLanguage_1, + language._id, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } static NSOrthography orthographyWithDominantScript_languageMap_( - PedometerBindings _lib, NSString script, NSDictionary map) { + PedometerBindings _lib, + NSString script, + NSDictionary map, + ) { final _ret = _lib._objc_msgSend_356( - _lib._class_NSOrthography1, - _lib._sel_orthographyWithDominantScript_languageMap_1, - script._id, - map._id); + _lib._class_NSOrthography1, + _lib._sel_orthographyWithDominantScript_languageMap_1, + script._id, + map._id, + ); return NSOrthography._(_ret, _lib, retain: true, release: true); } @@ -40012,122 +50614,169 @@ class NSOrthography extends NSObject { } static NSOrthography new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrthography1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrthography1, + _lib._sel_new1, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static NSOrthography allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrthography1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOrthography1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static NSOrthography alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrthography1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrthography1, + _lib._sel_alloc1, + ); return NSOrthography._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOrthography1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOrthography1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOrthography1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOrthography1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrthography1, _lib._sel_useStoredAccessor1); + _lib._class_NSOrthography1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSOrthography1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSOrthography1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSOrthography1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSOrthography1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSOrthography1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOrthography1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSOrthography1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOrthography1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrthography1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOrthography1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_ObjCObject_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -40135,23 +50784,30 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40160,21 +50816,25 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_bool.fromFunction( - PedometerBindings lib, void Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSObject._(arg0, lib, retain: true, release: true), - arg1))), - lib); + PedometerBindings lib, + void Function(NSObject, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -40187,71 +50847,98 @@ class ObjCBlock_ffiVoid_ObjCObject_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ObjCObject_bool.listener( - PedometerBindings lib, void Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), - arg1))), - lib); + PedometerBindings lib, + void Function(NSObject, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_ObjCObject_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ObjCObject_bool_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSObject arg0, ffi.Pointer arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1); } bool _ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function( - ffi.Pointer, ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_bool_ObjCObject_bool_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_ObjCObject_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_ObjCObject_bool_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_ObjCObject_bool_closureRegistryIndex; _ObjCBlock_bool_ObjCObject_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_ObjCObject_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_ObjCObject_bool_closureRegistry[block.ref.target.address]!( - arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_ObjCObject_bool_closureRegistry[block.ref.target.address]!( + arg0, + arg1, +); class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { ObjCBlock_bool_ObjCObject_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -40259,23 +50946,30 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline, false) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_ObjCObject_bool_fnPtrTrampoline, false).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -40284,37 +50978,56 @@ class ObjCBlock_bool_ObjCObject_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_ObjCObject_bool.fromFunction( - PedometerBindings lib, bool Function(NSObject, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_ObjCObject_bool_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_ObjCObject_bool_registerClosure( - (ffi.Pointer arg0, - ffi.Pointer arg1) => - fn(NSObject._(arg0, lib, retain: true, release: true), arg1))), - lib); + PedometerBindings lib, + bool Function(NSObject, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_bool_ObjCObject_bool_closureTrampoline, + false, + ).cast(), + _ObjCBlock_bool_ObjCObject_bool_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => + fn(NSObject._(arg0, lib, retain: true, release: true), arg1), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; bool call(NSObject arg0, ffi.Pointer arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1); + bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1); } class NSFileManager extends NSObject { - NSFileManager._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileManager._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSFileManager] that points to the same underlying object as [other]. static NSFileManager castFrom(T other) { @@ -40323,57 +51036,74 @@ class NSFileManager extends NSObject { /// Returns a [NSFileManager] that wraps the given raw object pointer. static NSFileManager castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileManager._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileManager]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileManager1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSFileManager1, + ); } static NSFileManager getDefaultManager(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_387( - _lib._class_NSFileManager1, _lib._sel_defaultManager1); + _lib._class_NSFileManager1, + _lib._sel_defaultManager1, + ); return NSFileManager._(_ret, _lib, retain: true, release: true); } NSArray? mountedVolumeURLsIncludingResourceValuesForKeys_options_( - NSArray? propertyKeys, int options) { + NSArray? propertyKeys, + int options, + ) { final _ret = _lib._objc_msgSend_388( - _id, - _lib._sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1, - propertyKeys?._id ?? ffi.nullptr, - options); + _id, + _lib._sel_mountedVolumeURLsIncludingResourceValuesForKeys_options_1, + propertyKeys?._id ?? ffi.nullptr, + options, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } void unmountVolumeAtURL_options_completionHandler_( - NSURL url, int mask, ObjCBlock_ffiVoid_NSError completionHandler) { + NSURL url, + int mask, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { _lib._objc_msgSend_389( - _id, - _lib._sel_unmountVolumeAtURL_options_completionHandler_1, - url._id, - mask, - completionHandler._id); + _id, + _lib._sel_unmountVolumeAtURL_options_completionHandler_1, + url._id, + mask, + completionHandler._id, + ); } NSArray? contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_( - NSURL url, - NSArray? keys, - int mask, - ffi.Pointer> error) { + NSURL url, + NSArray? keys, + int mask, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_390( - _id, - _lib._sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1, - url._id, - keys?._id ?? ffi.nullptr, - mask, - error); + _id, + _lib._sel_contentsOfDirectoryAtURL_includingPropertiesForKeys_options_error_1, + url._id, + keys?._id ?? ffi.nullptr, + mask, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -40381,81 +51111,97 @@ class NSFileManager extends NSObject { NSArray URLsForDirectory_inDomains_(int directory, int domainMask) { final _ret = _lib._objc_msgSend_391( - _id, _lib._sel_URLsForDirectory_inDomains_1, directory, domainMask); + _id, + _lib._sel_URLsForDirectory_inDomains_1, + directory, + domainMask, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSURL? URLForDirectory_inDomain_appropriateForURL_create_error_( - int directory, - int domain, - NSURL? url, - bool shouldCreate, - ffi.Pointer> error) { + int directory, + int domain, + NSURL? url, + bool shouldCreate, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_392( - _id, - _lib._sel_URLForDirectory_inDomain_appropriateForURL_create_error_1, - directory, - domain, - url?._id ?? ffi.nullptr, - shouldCreate, - error); + _id, + _lib._sel_URLForDirectory_inDomain_appropriateForURL_create_error_1, + directory, + domain, + url?._id ?? ffi.nullptr, + shouldCreate, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } bool getRelationship_ofDirectoryAtURL_toItemAtURL_error_( - ffi.Pointer outRelationship, - NSURL directoryURL, - NSURL otherURL, - ffi.Pointer> error) { + ffi.Pointer outRelationship, + NSURL directoryURL, + NSURL otherURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_393( - _id, - _lib._sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1, - outRelationship, - directoryURL._id, - otherURL._id, - error); + _id, + _lib._sel_getRelationship_ofDirectoryAtURL_toItemAtURL_error_1, + outRelationship, + directoryURL._id, + otherURL._id, + error, + ); } bool getRelationship_ofDirectory_inDomain_toItemAtURL_error_( - ffi.Pointer outRelationship, - int directory, - int domainMask, - NSURL url, - ffi.Pointer> error) { + ffi.Pointer outRelationship, + int directory, + int domainMask, + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_394( - _id, - _lib._sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1, - outRelationship, - directory, - domainMask, - url._id, - error); + _id, + _lib._sel_getRelationship_ofDirectory_inDomain_toItemAtURL_error_1, + outRelationship, + directory, + domainMask, + url._id, + error, + ); } bool createDirectoryAtURL_withIntermediateDirectories_attributes_error_( - NSURL url, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error) { + NSURL url, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_395( - _id, - _lib._sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1, - url._id, - createIntermediates, - attributes?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_createDirectoryAtURL_withIntermediateDirectories_attributes_error_1, + url._id, + createIntermediates, + attributes?._id ?? ffi.nullptr, + error, + ); } bool createSymbolicLinkAtURL_withDestinationURL_error_( - NSURL url, NSURL destURL, ffi.Pointer> error) { + NSURL url, + NSURL destURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_396( - _id, - _lib._sel_createSymbolicLinkAtURL_withDestinationURL_error_1, - url._id, - destURL._id, - error); + _id, + _lib._sel_createSymbolicLinkAtURL_withDestinationURL_error_1, + url._id, + destURL._id, + error, + ); } NSObject? get delegate { @@ -40467,151 +51213,260 @@ class NSFileManager extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegate_1, + value?._id ?? ffi.nullptr, + ); } - bool setAttributes_ofItemAtPath_error_(NSDictionary attributes, NSString path, - ffi.Pointer> error) { + bool setAttributes_ofItemAtPath_error_( + NSDictionary attributes, + NSString path, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_397( - _id, - _lib._sel_setAttributes_ofItemAtPath_error_1, - attributes._id, - path._id, - error); + _id, + _lib._sel_setAttributes_ofItemAtPath_error_1, + attributes._id, + path._id, + error, + ); } bool createDirectoryAtPath_withIntermediateDirectories_attributes_error_( - NSString path, - bool createIntermediates, - NSDictionary? attributes, - ffi.Pointer> error) { + NSString path, + bool createIntermediates, + NSDictionary? attributes, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_398( - _id, - _lib._sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1, - path._id, - createIntermediates, - attributes?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_createDirectoryAtPath_withIntermediateDirectories_attributes_error_1, + path._id, + createIntermediates, + attributes?._id ?? ffi.nullptr, + error, + ); } NSArray? contentsOfDirectoryAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_399( - _id, _lib._sel_contentsOfDirectoryAtPath_error_1, path._id, error); + _id, + _lib._sel_contentsOfDirectoryAtPath_error_1, + path._id, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? subpathsOfDirectoryAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_399( - _id, _lib._sel_subpathsOfDirectoryAtPath_error_1, path._id, error); + _id, + _lib._sel_subpathsOfDirectoryAtPath_error_1, + path._id, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSDictionary? attributesOfItemAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_400( - _id, _lib._sel_attributesOfItemAtPath_error_1, path._id, error); + _id, + _lib._sel_attributesOfItemAtPath_error_1, + path._id, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } NSDictionary? attributesOfFileSystemForPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_400( - _id, _lib._sel_attributesOfFileSystemForPath_error_1, path._id, error); + _id, + _lib._sel_attributesOfFileSystemForPath_error_1, + path._id, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } - bool createSymbolicLinkAtPath_withDestinationPath_error_(NSString path, - NSString destPath, ffi.Pointer> error) { + bool createSymbolicLinkAtPath_withDestinationPath_error_( + NSString path, + NSString destPath, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_401( - _id, - _lib._sel_createSymbolicLinkAtPath_withDestinationPath_error_1, - path._id, - destPath._id, - error); + _id, + _lib._sel_createSymbolicLinkAtPath_withDestinationPath_error_1, + path._id, + destPath._id, + error, + ); } NSString? destinationOfSymbolicLinkAtPath_error_( - NSString path, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_402(_id, - _lib._sel_destinationOfSymbolicLinkAtPath_error_1, path._id, error); + NSString path, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_402( + _id, + _lib._sel_destinationOfSymbolicLinkAtPath_error_1, + path._id, + error, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - bool copyItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_401(_id, _lib._sel_copyItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool copyItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_401( + _id, + _lib._sel_copyItemAtPath_toPath_error_1, + srcPath._id, + dstPath._id, + error, + ); } - bool moveItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_401(_id, _lib._sel_moveItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool moveItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_401( + _id, + _lib._sel_moveItemAtPath_toPath_error_1, + srcPath._id, + dstPath._id, + error, + ); } - bool linkItemAtPath_toPath_error_(NSString srcPath, NSString dstPath, - ffi.Pointer> error) { - return _lib._objc_msgSend_401(_id, _lib._sel_linkItemAtPath_toPath_error_1, - srcPath._id, dstPath._id, error); + bool linkItemAtPath_toPath_error_( + NSString srcPath, + NSString dstPath, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_401( + _id, + _lib._sel_linkItemAtPath_toPath_error_1, + srcPath._id, + dstPath._id, + error, + ); } bool removeItemAtPath_error_( - NSString path, ffi.Pointer> error) { + NSString path, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_403( - _id, _lib._sel_removeItemAtPath_error_1, path._id, error); + _id, + _lib._sel_removeItemAtPath_error_1, + path._id, + error, + ); } bool copyItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_396(_id, _lib._sel_copyItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_396( + _id, + _lib._sel_copyItemAtURL_toURL_error_1, + srcURL._id, + dstURL._id, + error, + ); } bool moveItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_396(_id, _lib._sel_moveItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_396( + _id, + _lib._sel_moveItemAtURL_toURL_error_1, + srcURL._id, + dstURL._id, + error, + ); } bool linkItemAtURL_toURL_error_( - NSURL srcURL, NSURL dstURL, ffi.Pointer> error) { - return _lib._objc_msgSend_396(_id, _lib._sel_linkItemAtURL_toURL_error_1, - srcURL._id, dstURL._id, error); + NSURL srcURL, + NSURL dstURL, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_396( + _id, + _lib._sel_linkItemAtURL_toURL_error_1, + srcURL._id, + dstURL._id, + error, + ); } bool removeItemAtURL_error_( - NSURL URL, ffi.Pointer> error) { + NSURL URL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_81( - _id, _lib._sel_removeItemAtURL_error_1, URL._id, error); + _id, + _lib._sel_removeItemAtURL_error_1, + URL._id, + error, + ); } bool trashItemAtURL_resultingItemURL_error_( - NSURL url, - ffi.Pointer> outResultingURL, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer> outResultingURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_404( - _id, - _lib._sel_trashItemAtURL_resultingItemURL_error_1, - url._id, - outResultingURL, - error); + _id, + _lib._sel_trashItemAtURL_resultingItemURL_error_1, + url._id, + outResultingURL, + error, + ); } NSDictionary? fileAttributesAtPath_traverseLink_(NSString path, bool yorn) { final _ret = _lib._objc_msgSend_405( - _id, _lib._sel_fileAttributesAtPath_traverseLink_1, path._id, yorn); + _id, + _lib._sel_fileAttributesAtPath_traverseLink_1, + path._id, + yorn, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -40619,12 +51474,19 @@ class NSFileManager extends NSObject { bool changeFileAttributes_atPath_(NSDictionary attributes, NSString path) { return _lib._objc_msgSend_406( - _id, _lib._sel_changeFileAttributes_atPath_1, attributes._id, path._id); + _id, + _lib._sel_changeFileAttributes_atPath_1, + attributes._id, + path._id, + ); } NSArray? directoryContentsAtPath_(NSString path) { final _ret = _lib._objc_msgSend_124( - _id, _lib._sel_directoryContentsAtPath_1, path._id); + _id, + _lib._sel_directoryContentsAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -40632,7 +51494,10 @@ class NSFileManager extends NSObject { NSDictionary? fileSystemAttributesAtPath_(NSString path) { final _ret = _lib._objc_msgSend_148( - _id, _lib._sel_fileSystemAttributesAtPath_1, path._id); + _id, + _lib._sel_fileSystemAttributesAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -40640,48 +51505,88 @@ class NSFileManager extends NSObject { NSString? pathContentOfSymbolicLinkAtPath_(NSString path) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_pathContentOfSymbolicLinkAtPath_1, path._id); + _id, + _lib._sel_pathContentOfSymbolicLinkAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool createSymbolicLinkAtPath_pathContent_( - NSString path, NSString otherpath) { + NSString path, + NSString otherpath, + ) { return _lib._objc_msgSend_407( - _id, - _lib._sel_createSymbolicLinkAtPath_pathContent_1, - path._id, - otherpath._id); + _id, + _lib._sel_createSymbolicLinkAtPath_pathContent_1, + path._id, + otherpath._id, + ); } bool createDirectoryAtPath_attributes_( - NSString path, NSDictionary attributes) { - return _lib._objc_msgSend_408(_id, - _lib._sel_createDirectoryAtPath_attributes_1, path._id, attributes._id); + NSString path, + NSDictionary attributes, + ) { + return _lib._objc_msgSend_408( + _id, + _lib._sel_createDirectoryAtPath_attributes_1, + path._id, + attributes._id, + ); } bool linkPath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_409(_id, _lib._sel_linkPath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_409( + _id, + _lib._sel_linkPath_toPath_handler_1, + src._id, + dest._id, + handler?._id ?? ffi.nullptr, + ); } bool copyPath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_409(_id, _lib._sel_copyPath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_409( + _id, + _lib._sel_copyPath_toPath_handler_1, + src._id, + dest._id, + handler?._id ?? ffi.nullptr, + ); } bool movePath_toPath_handler_( - NSString src, NSString dest, NSObject? handler) { - return _lib._objc_msgSend_409(_id, _lib._sel_movePath_toPath_handler_1, - src._id, dest._id, handler?._id ?? ffi.nullptr); + NSString src, + NSString dest, + NSObject? handler, + ) { + return _lib._objc_msgSend_409( + _id, + _lib._sel_movePath_toPath_handler_1, + src._id, + dest._id, + handler?._id ?? ffi.nullptr, + ); } bool removeFileAtPath_handler_(NSString path, NSObject? handler) { - return _lib._objc_msgSend_410(_id, _lib._sel_removeFileAtPath_handler_1, - path._id, handler?._id ?? ffi.nullptr); + return _lib._objc_msgSend_410( + _id, + _lib._sel_removeFileAtPath_handler_1, + path._id, + handler?._id ?? ffi.nullptr, + ); } NSString get currentDirectoryPath { @@ -40691,7 +51596,10 @@ class NSFileManager extends NSObject { bool changeCurrentDirectoryPath_(NSString path) { return _lib._objc_msgSend_56( - _id, _lib._sel_changeCurrentDirectoryPath_1, path._id); + _id, + _lib._sel_changeCurrentDirectoryPath_1, + path._id, + ); } bool fileExistsAtPath_(NSString path) { @@ -40699,180 +51607,257 @@ class NSFileManager extends NSObject { } bool fileExistsAtPath_isDirectory_( - NSString path, ffi.Pointer isDirectory) { + NSString path, + ffi.Pointer isDirectory, + ) { return _lib._objc_msgSend_411( - _id, _lib._sel_fileExistsAtPath_isDirectory_1, path._id, isDirectory); + _id, + _lib._sel_fileExistsAtPath_isDirectory_1, + path._id, + isDirectory, + ); } bool isReadableFileAtPath_(NSString path) { return _lib._objc_msgSend_56( - _id, _lib._sel_isReadableFileAtPath_1, path._id); + _id, + _lib._sel_isReadableFileAtPath_1, + path._id, + ); } bool isWritableFileAtPath_(NSString path) { return _lib._objc_msgSend_56( - _id, _lib._sel_isWritableFileAtPath_1, path._id); + _id, + _lib._sel_isWritableFileAtPath_1, + path._id, + ); } bool isExecutableFileAtPath_(NSString path) { return _lib._objc_msgSend_56( - _id, _lib._sel_isExecutableFileAtPath_1, path._id); + _id, + _lib._sel_isExecutableFileAtPath_1, + path._id, + ); } bool isDeletableFileAtPath_(NSString path) { return _lib._objc_msgSend_56( - _id, _lib._sel_isDeletableFileAtPath_1, path._id); + _id, + _lib._sel_isDeletableFileAtPath_1, + path._id, + ); } bool contentsEqualAtPath_andPath_(NSString path1, NSString path2) { return _lib._objc_msgSend_407( - _id, _lib._sel_contentsEqualAtPath_andPath_1, path1._id, path2._id); + _id, + _lib._sel_contentsEqualAtPath_andPath_1, + path1._id, + path2._id, + ); } NSString displayNameAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_61(_id, _lib._sel_displayNameAtPath_1, path._id); + final _ret = _lib._objc_msgSend_61( + _id, + _lib._sel_displayNameAtPath_1, + path._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSArray? componentsToDisplayForPath_(NSString path) { final _ret = _lib._objc_msgSend_124( - _id, _lib._sel_componentsToDisplayForPath_1, path._id); + _id, + _lib._sel_componentsToDisplayForPath_1, + path._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSObject? enumeratorAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_enumeratorAtPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_enumeratorAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_( - NSURL url, - NSArray? keys, - int mask, - ObjCBlock_bool_NSURL_NSError? handler) { + NSURL url, + NSArray? keys, + int mask, + ObjCBlock_bool_NSURL_NSError? handler, + ) { final _ret = _lib._objc_msgSend_412( - _id, - _lib._sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1, - url._id, - keys?._id ?? ffi.nullptr, - mask, - handler?._id ?? ffi.nullptr); + _id, + _lib._sel_enumeratorAtURL_includingPropertiesForKeys_options_errorHandler_1, + url._id, + keys?._id ?? ffi.nullptr, + mask, + handler?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSArray? subpathsAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_124(_id, _lib._sel_subpathsAtPath_1, path._id); + final _ret = _lib._objc_msgSend_124( + _id, + _lib._sel_subpathsAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSData? contentsAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_413(_id, _lib._sel_contentsAtPath_1, path._id); + final _ret = _lib._objc_msgSend_413( + _id, + _lib._sel_contentsAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } bool createFileAtPath_contents_attributes_( - NSString path, NSData? data, NSDictionary? attr) { + NSString path, + NSData? data, + NSDictionary? attr, + ) { return _lib._objc_msgSend_414( - _id, - _lib._sel_createFileAtPath_contents_attributes_1, - path._id, - data?._id ?? ffi.nullptr, - attr?._id ?? ffi.nullptr); + _id, + _lib._sel_createFileAtPath_contents_attributes_1, + path._id, + data?._id ?? ffi.nullptr, + attr?._id ?? ffi.nullptr, + ); } ffi.Pointer fileSystemRepresentationWithPath_(NSString path) { return _lib._objc_msgSend_415( - _id, _lib._sel_fileSystemRepresentationWithPath_1, path._id); + _id, + _lib._sel_fileSystemRepresentationWithPath_1, + path._id, + ); } NSString stringWithFileSystemRepresentation_length_( - ffi.Pointer str, int len) { + ffi.Pointer str, + int len, + ) { final _ret = _lib._objc_msgSend_416( - _id, _lib._sel_stringWithFileSystemRepresentation_length_1, str, len); + _id, + _lib._sel_stringWithFileSystemRepresentation_length_1, + str, + len, + ); return NSString._(_ret, _lib, retain: true, release: true); } bool - replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( - NSURL originalItemURL, - NSURL newItemURL, - NSString? backupItemName, - int options, - ffi.Pointer> resultingURL, - ffi.Pointer> error) { + replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_( + NSURL originalItemURL, + NSURL newItemURL, + NSString? backupItemName, + int options, + ffi.Pointer> resultingURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_417( - _id, - _lib._sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1, - originalItemURL._id, - newItemURL._id, - backupItemName?._id ?? ffi.nullptr, - options, - resultingURL, - error); - } - - bool setUbiquitous_itemAtURL_destinationURL_error_(bool flag, NSURL url, - NSURL destinationURL, ffi.Pointer> error) { + _id, + _lib._sel_replaceItemAtURL_withItemAtURL_backupItemName_options_resultingItemURL_error_1, + originalItemURL._id, + newItemURL._id, + backupItemName?._id ?? ffi.nullptr, + options, + resultingURL, + error, + ); + } + + bool setUbiquitous_itemAtURL_destinationURL_error_( + bool flag, + NSURL url, + NSURL destinationURL, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_418( - _id, - _lib._sel_setUbiquitous_itemAtURL_destinationURL_error_1, - flag, - url._id, - destinationURL._id, - error); + _id, + _lib._sel_setUbiquitous_itemAtURL_destinationURL_error_1, + flag, + url._id, + destinationURL._id, + error, + ); } bool isUbiquitousItemAtURL_(NSURL url) { return _lib._objc_msgSend_419( - _id, _lib._sel_isUbiquitousItemAtURL_1, url._id); + _id, + _lib._sel_isUbiquitousItemAtURL_1, + url._id, + ); } bool startDownloadingUbiquitousItemAtURL_error_( - NSURL url, ffi.Pointer> error) { - return _lib._objc_msgSend_81(_id, - _lib._sel_startDownloadingUbiquitousItemAtURL_error_1, url._id, error); + NSURL url, + ffi.Pointer> error, + ) { + return _lib._objc_msgSend_81( + _id, + _lib._sel_startDownloadingUbiquitousItemAtURL_error_1, + url._id, + error, + ); } bool evictUbiquitousItemAtURL_error_( - NSURL url, ffi.Pointer> error) { + NSURL url, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_81( - _id, _lib._sel_evictUbiquitousItemAtURL_error_1, url._id, error); + _id, + _lib._sel_evictUbiquitousItemAtURL_error_1, + url._id, + error, + ); } NSURL? URLForUbiquityContainerIdentifier_(NSString? containerIdentifier) { final _ret = _lib._objc_msgSend_420( - _id, - _lib._sel_URLForUbiquityContainerIdentifier_1, - containerIdentifier?._id ?? ffi.nullptr); + _id, + _lib._sel_URLForUbiquityContainerIdentifier_1, + containerIdentifier?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLForPublishingUbiquitousItemAtURL_expirationDate_error_( - NSURL url, - ffi.Pointer> outDate, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer> outDate, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_421( - _id, - _lib._sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1, - url._id, - outDate, - error); + _id, + _lib._sel_URLForPublishingUbiquitousItemAtURL_expirationDate_error_1, + url._id, + outDate, + error, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -40886,28 +51871,35 @@ class NSFileManager extends NSObject { } void getFileProviderServicesForItemAtURL_completionHandler_( - NSURL url, ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler) { + NSURL url, + ObjCBlock_ffiVoid_NSDictionary_NSError completionHandler, + ) { _lib._objc_msgSend_422( - _id, - _lib._sel_getFileProviderServicesForItemAtURL_completionHandler_1, - url._id, - completionHandler._id); + _id, + _lib._sel_getFileProviderServicesForItemAtURL_completionHandler_1, + url._id, + completionHandler._id, + ); } NSURL? containerURLForSecurityApplicationGroupIdentifier_( - NSString groupIdentifier) { + NSString groupIdentifier, + ) { final _ret = _lib._objc_msgSend_209( - _id, - _lib._sel_containerURLForSecurityApplicationGroupIdentifier_1, - groupIdentifier._id); + _id, + _lib._sel_containerURLForSecurityApplicationGroupIdentifier_1, + groupIdentifier._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL get homeDirectoryForCurrentUser { - final _ret = - _lib._objc_msgSend_423(_id, _lib._sel_homeDirectoryForCurrentUser1); + final _ret = _lib._objc_msgSend_423( + _id, + _lib._sel_homeDirectoryForCurrentUser1, + ); return NSURL._(_ret, _lib, retain: true, release: true); } @@ -40918,7 +51910,10 @@ class NSFileManager extends NSObject { NSURL? homeDirectoryForUser_(NSString userName) { final _ret = _lib._objc_msgSend_209( - _id, _lib._sel_homeDirectoryForUser_1, userName._id); + _id, + _lib._sel_homeDirectoryForUser_1, + userName._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -40931,84 +51926,122 @@ class NSFileManager extends NSObject { } static NSFileManager new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileManager1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileManager1, + _lib._sel_new1, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static NSFileManager allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileManager1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileManager1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static NSFileManager alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileManager1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileManager1, + _lib._sel_alloc1, + ); return NSFileManager._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileManager1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileManager1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileManager1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileManager1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileManager1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSFileManager1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSFileManager1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSFileManager1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSFileManager1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSFileManager1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileManager1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSFileManager1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileManager1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileManager1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileManager1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -41024,30 +52057,35 @@ abstract class NSFileManagerUnmountOptions { } void _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSError_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSError_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSError_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSError._(ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ObjCBlock_ffiVoid_NSError._( + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -41055,20 +52093,24 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41077,19 +52119,27 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSError.fromFunction( - PedometerBindings lib, void Function(NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -41102,33 +52152,46 @@ class ObjCBlock_ffiVoid_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSError.listener( - PedometerBindings lib, void Function(NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSError_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSError._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSError_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSError._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSError? arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0?._id ?? ffi.nullptr); } abstract class NSDirectoryEnumerationOptions { @@ -41184,39 +52247,48 @@ abstract class NSURLRelationship { } bool _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - bool Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + bool Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_bool_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_bool_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_bool_NSURL_NSError_registerClosure( - bool Function(ffi.Pointer, ffi.Pointer) fn) { + bool Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_bool_NSURL_NSError_closureRegistryIndex; _ObjCBlock_bool_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } bool _ObjCBlock_bool_NSURL_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_bool_NSURL_NSError_closureRegistry[block.ref.target.address]!( + arg0, + arg1, +); class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { ObjCBlock_bool_NSURL_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -41224,25 +52296,30 @@ class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_NSURL_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib - ._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, - false) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_NSURL_NSError_fnPtrTrampoline, false).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41251,33 +52328,46 @@ class ObjCBlock_bool_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_bool_NSURL_NSError.fromFunction( - PedometerBindings lib, bool Function(NSURL, NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_bool_NSURL_NSError_closureTrampoline, false) - .cast(), - _ObjCBlock_bool_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, - ffi.Pointer arg1) => - fn(NSURL._(arg0, lib, retain: true, release: true), NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + bool Function(NSURL, NSError) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_bool_NSURL_NSError_closureTrampoline, false).cast(), + _ObjCBlock_bool_NSURL_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + NSURL._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; bool call(NSURL arg0, NSError arg1) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() .asFunction< - bool Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id); + bool Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id); } abstract class NSFileManagerItemReplacementOptions { @@ -41286,39 +52376,48 @@ abstract class NSFileManagerItemReplacementOptions { } void _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSDictionary_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -41326,23 +52425,30 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -41351,19 +52457,33 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSError.fromFunction( - PedometerBindings lib, void Function(NSDictionary?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSDictionary?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -41376,44 +52496,70 @@ class ObjCBlock_ffiVoid_NSDictionary_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary_NSError.listener( - PedometerBindings lib, void Function(NSDictionary?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi - .NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSDictionary?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSDictionary? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } /// Mutable Array class NSMutableArray extends NSArray { - NSMutableArray._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableArray._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMutableArray] that points to the same underlying object as [other]. static NSMutableArray castFrom(T other) { @@ -41422,15 +52568,21 @@ class NSMutableArray extends NSArray { /// Returns a [NSMutableArray] that wraps the given raw object pointer. static NSMutableArray castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableArray]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableArray1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMutableArray1, + ); } void addObject_(NSObject anObject) { @@ -41439,7 +52591,11 @@ class NSMutableArray extends NSArray { void insertObject_atIndex_(NSObject anObject, int index) { _lib._objc_msgSend_426( - _id, _lib._sel_insertObject_atIndex_1, anObject._id, index); + _id, + _lib._sel_insertObject_atIndex_1, + anObject._id, + index, + ); } void removeLastObject() { @@ -41452,7 +52608,11 @@ class NSMutableArray extends NSArray { void replaceObjectAtIndex_withObject_(int index, NSObject anObject) { _lib._objc_msgSend_428( - _id, _lib._sel_replaceObjectAtIndex_withObject_1, index, anObject._id); + _id, + _lib._sel_replaceObjectAtIndex_withObject_1, + index, + anObject._id, + ); } @override @@ -41462,15 +52622,21 @@ class NSMutableArray extends NSArray { } NSMutableArray initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_57(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_57( + _id, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); @@ -41478,12 +52644,19 @@ class NSMutableArray extends NSArray { void addObjectsFromArray_(NSArray otherArray) { _lib._objc_msgSend_429( - _id, _lib._sel_addObjectsFromArray_1, otherArray._id); + _id, + _lib._sel_addObjectsFromArray_1, + otherArray._id, + ); } void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { _lib._objc_msgSend_430( - _id, _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, idx1, idx2); + _id, + _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, + idx1, + idx2, + ); } void removeAllObjects() { @@ -41492,7 +52665,11 @@ class NSMutableArray extends NSArray { void removeObject_inRange_(NSObject anObject, _NSRange range) { _lib._objc_msgSend_431( - _id, _lib._sel_removeObject_inRange_1, anObject._id, range); + _id, + _lib._sel_removeObject_inRange_1, + anObject._id, + range, + ); } void removeObject_(NSObject anObject) { @@ -41501,23 +52678,39 @@ class NSMutableArray extends NSArray { void removeObjectIdenticalTo_inRange_(NSObject anObject, _NSRange range) { _lib._objc_msgSend_431( - _id, _lib._sel_removeObjectIdenticalTo_inRange_1, anObject._id, range); + _id, + _lib._sel_removeObjectIdenticalTo_inRange_1, + anObject._id, + range, + ); } void removeObjectIdenticalTo_(NSObject anObject) { _lib._objc_msgSend_15( - _id, _lib._sel_removeObjectIdenticalTo_1, anObject._id); + _id, + _lib._sel_removeObjectIdenticalTo_1, + anObject._id, + ); } void removeObjectsFromIndices_numIndices_( - ffi.Pointer indices, int cnt) { + ffi.Pointer indices, + int cnt, + ) { _lib._objc_msgSend_432( - _id, _lib._sel_removeObjectsFromIndices_numIndices_1, indices, cnt); + _id, + _lib._sel_removeObjectsFromIndices_numIndices_1, + indices, + cnt, + ); } void removeObjectsInArray_(NSArray otherArray) { _lib._objc_msgSend_429( - _id, _lib._sel_removeObjectsInArray_1, otherArray._id); + _id, + _lib._sel_removeObjectsInArray_1, + otherArray._id, + ); } void removeObjectsInRange_(_NSRange range) { @@ -41525,22 +52718,29 @@ class NSMutableArray extends NSArray { } void replaceObjectsInRange_withObjectsFromArray_range_( - _NSRange range, NSArray otherArray, _NSRange otherRange) { + _NSRange range, + NSArray otherArray, + _NSRange otherRange, + ) { _lib._objc_msgSend_434( - _id, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1, - range, - otherArray._id, - otherRange); + _id, + _lib._sel_replaceObjectsInRange_withObjectsFromArray_range_1, + range, + otherArray._id, + otherRange, + ); } void replaceObjectsInRange_withObjectsFromArray_( - _NSRange range, NSArray otherArray) { + _NSRange range, + NSArray otherArray, + ) { _lib._objc_msgSend_435( - _id, - _lib._sel_replaceObjectsInRange_withObjectsFromArray_1, - range, - otherArray._id); + _id, + _lib._sel_replaceObjectsInRange_withObjectsFromArray_1, + range, + otherArray._id, + ); } void setArray_(NSArray otherArray) { @@ -41548,14 +52748,24 @@ class NSMutableArray extends NSArray { } void sortUsingFunction_context_( - ffi.Pointer< - ffi.NativeFunction< - ffi.Long Function(ffi.Pointer, - ffi.Pointer, ffi.Pointer)>> - compare, - ffi.Pointer context) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Long Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + > + > + compare, + ffi.Pointer context, + ) { _lib._objc_msgSend_436( - _id, _lib._sel_sortUsingFunction_context_1, compare, context); + _id, + _lib._sel_sortUsingFunction_context_1, + compare, + context, + ); } void sortUsingSelector_(ffi.Pointer comparator) { @@ -41564,56 +52774,95 @@ class NSMutableArray extends NSArray { void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { _lib._objc_msgSend_437( - _id, _lib._sel_insertObjects_atIndexes_1, objects._id, indexes._id); + _id, + _lib._sel_insertObjects_atIndexes_1, + objects._id, + indexes._id, + ); } void removeObjectsAtIndexes_(NSIndexSet indexes) { _lib._objc_msgSend_438( - _id, _lib._sel_removeObjectsAtIndexes_1, indexes._id); + _id, + _lib._sel_removeObjectsAtIndexes_1, + indexes._id, + ); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, NSArray objects) { - _lib._objc_msgSend_439(_id, _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes._id, objects._id); + NSIndexSet indexes, + NSArray objects, + ) { + _lib._objc_msgSend_439( + _id, + _lib._sel_replaceObjectsAtIndexes_withObjects_1, + indexes._id, + objects._id, + ); } void setObject_atIndexedSubscript_(NSObject obj, int idx) { _lib._objc_msgSend_426( - _id, _lib._sel_setObject_atIndexedSubscript_1, obj._id, idx); + _id, + _lib._sel_setObject_atIndexedSubscript_1, + obj._id, + idx, + ); } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { _lib._objc_msgSend_440(_id, _lib._sel_sortUsingComparator_1, cmptr._id); } void sortWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { _lib._objc_msgSend_441( - _id, _lib._sel_sortWithOptions_usingComparator_1, opts, cmptr._id); + _id, + _lib._sel_sortWithOptions_usingComparator_1, + opts, + cmptr._id, + ); } static NSMutableArray arrayWithCapacity_( - PedometerBindings _lib, int numItems) { + PedometerBindings _lib, + int numItems, + ) { final _ret = _lib._objc_msgSend_57( - _lib._class_NSMutableArray1, _lib._sel_arrayWithCapacity_1, numItems); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithCapacity_1, + numItems, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray? arrayWithContentsOfFile_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_442(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfFile_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_442( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray? arrayWithContentsOfURL_( - PedometerBindings _lib, NSURL url) { - final _ret = _lib._objc_msgSend_443(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_1, url._id); + PedometerBindings _lib, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_443( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); @@ -41621,15 +52870,21 @@ class NSMutableArray extends NSArray { NSMutableArray? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_442( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + _id, + _lib._sel_initWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); } NSMutableArray? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_443(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_443( + _id, + _lib._sel_initWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSMutableArray._(_ret, _lib, retain: true, release: true); @@ -41641,196 +52896,302 @@ class NSMutableArray extends NSArray { void sortUsingDescriptors_(NSArray sortDescriptors) { _lib._objc_msgSend_429( - _id, _lib._sel_sortUsingDescriptors_1, sortDescriptors._id); + _id, + _lib._sel_sortUsingDescriptors_1, + sortDescriptors._id, + ); } void filterUsingPredicate_(NSPredicate predicate) { _lib._objc_msgSend_444( - _id, _lib._sel_filterUsingPredicate_1, predicate._id); + _id, + _lib._sel_filterUsingPredicate_1, + predicate._id, + ); } @override NSMutableArray initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_58( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + _id, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray array(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_array1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_array1, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithObject_( - PedometerBindings _lib, NSObject anObject) { + PedometerBindings _lib, + NSObject anObject, + ) { final _ret = _lib._objc_msgSend_116( - _lib._class_NSMutableArray1, _lib._sel_arrayWithObject_1, anObject._id); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObject_1, + anObject._id, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } - static NSMutableArray arrayWithObjects_count_(PedometerBindings _lib, - ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_58(_lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_count_1, objects, cnt); + static NSMutableArray arrayWithObjects_count_( + PedometerBindings _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_58( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObjects_count_1, + objects, + cnt, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithObjects_( - PedometerBindings _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_116(_lib._class_NSMutableArray1, - _lib._sel_arrayWithObjects_1, firstObj._id); + PedometerBindings _lib, + NSObject firstObj, + ) { + final _ret = _lib._objc_msgSend_116( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithObjects_1, + firstObj._id, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray arrayWithArray_(PedometerBindings _lib, NSArray array) { final _ret = _lib._objc_msgSend_117( - _lib._class_NSMutableArray1, _lib._sel_arrayWithArray_1, array._id); + _lib._class_NSMutableArray1, + _lib._sel_arrayWithArray_1, + array._id, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObjects_1, + firstObj._id, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_117(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_117( + _id, + _lib._sel_initWithArray_1, + array._id, + ); return NSMutableArray._(_ret, _lib, retain: true, release: true); } @override NSMutableArray initWithArray_copyItems_(NSArray array, bool flag) { final _ret = _lib._objc_msgSend_118( - _id, _lib._sel_initWithArray_copyItems_1, array._id, flag); + _id, + _lib._sel_initWithArray_copyItems_1, + array._id, + flag, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } - static NSArray? arrayWithContentsOfURL_error_(PedometerBindings _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_119(_lib._class_NSMutableArray1, - _lib._sel_arrayWithContentsOfURL_error_1, url._id, error); + static NSArray? arrayWithContentsOfURL_error_( + PedometerBindings _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_119( + _lib._class_NSMutableArray1, + _lib._sel_arrayWithContentsOfURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } static NSMutableArray new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_new1, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static NSMutableArray allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static NSMutableArray alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableArray1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableArray1, + _lib._sel_alloc1, + ); return NSMutableArray._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableArray1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMutableArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMutableArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMutableArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMutableArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSMutableArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } /// Mutable Ordered Set class NSMutableOrderedSet extends NSOrderedSet { - NSMutableOrderedSet._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableOrderedSet._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMutableOrderedSet] that points to the same underlying object as [other]. static NSMutableOrderedSet castFrom(T other) { - return NSMutableOrderedSet._(other._id, other._lib, - retain: true, release: true); + return NSMutableOrderedSet._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableOrderedSet] that wraps the given raw object pointer. static NSMutableOrderedSet castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableOrderedSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableOrderedSet]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableOrderedSet1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMutableOrderedSet1, + ); } void insertObject_atIndex_(NSObject object, int idx) { _lib._objc_msgSend_426( - _id, _lib._sel_insertObject_atIndex_1, object._id, idx); + _id, + _lib._sel_insertObject_atIndex_1, + object._id, + idx, + ); } void removeObjectAtIndex_(int idx) { @@ -41839,13 +53200,20 @@ class NSMutableOrderedSet extends NSOrderedSet { void replaceObjectAtIndex_withObject_(int idx, NSObject object) { _lib._objc_msgSend_428( - _id, _lib._sel_replaceObjectAtIndex_withObject_1, idx, object._id); + _id, + _lib._sel_replaceObjectAtIndex_withObject_1, + idx, + object._id, + ); } @override NSMutableOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); @@ -41858,8 +53226,11 @@ class NSMutableOrderedSet extends NSOrderedSet { } NSMutableOrderedSet initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_57(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_57( + _id, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @@ -41868,7 +53239,9 @@ class NSMutableOrderedSet extends NSOrderedSet { } void addObjects_count_( - ffi.Pointer> objects, int count) { + ffi.Pointer> objects, + int count, + ) { _lib._objc_msgSend_457(_id, _lib._sel_addObjects_count_1, objects, count); } @@ -41878,17 +53251,29 @@ class NSMutableOrderedSet extends NSOrderedSet { void exchangeObjectAtIndex_withObjectAtIndex_(int idx1, int idx2) { _lib._objc_msgSend_430( - _id, _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, idx1, idx2); + _id, + _lib._sel_exchangeObjectAtIndex_withObjectAtIndex_1, + idx1, + idx2, + ); } void moveObjectsAtIndexes_toIndex_(NSIndexSet indexes, int idx) { _lib._objc_msgSend_458( - _id, _lib._sel_moveObjectsAtIndexes_toIndex_1, indexes._id, idx); + _id, + _lib._sel_moveObjectsAtIndexes_toIndex_1, + indexes._id, + idx, + ); } void insertObjects_atIndexes_(NSArray objects, NSIndexSet indexes) { _lib._objc_msgSend_437( - _id, _lib._sel_insertObjects_atIndexes_1, objects._id, indexes._id); + _id, + _lib._sel_insertObjects_atIndexes_1, + objects._id, + indexes._id, + ); } void setObject_atIndex_(NSObject obj, int idx) { @@ -41897,23 +53282,37 @@ class NSMutableOrderedSet extends NSOrderedSet { void setObject_atIndexedSubscript_(NSObject obj, int idx) { _lib._objc_msgSend_426( - _id, _lib._sel_setObject_atIndexedSubscript_1, obj._id, idx); + _id, + _lib._sel_setObject_atIndexedSubscript_1, + obj._id, + idx, + ); } void replaceObjectsInRange_withObjects_count_( - _NSRange range, ffi.Pointer> objects, int count) { + _NSRange range, + ffi.Pointer> objects, + int count, + ) { _lib._objc_msgSend_459( - _id, - _lib._sel_replaceObjectsInRange_withObjects_count_1, - range, - objects, - count); + _id, + _lib._sel_replaceObjectsInRange_withObjects_count_1, + range, + objects, + count, + ); } void replaceObjectsAtIndexes_withObjects_( - NSIndexSet indexes, NSArray objects) { - _lib._objc_msgSend_439(_id, _lib._sel_replaceObjectsAtIndexes_withObjects_1, - indexes._id, objects._id); + NSIndexSet indexes, + NSArray objects, + ) { + _lib._objc_msgSend_439( + _id, + _lib._sel_replaceObjectsAtIndexes_withObjects_1, + indexes._id, + objects._id, + ); } void removeObjectsInRange_(_NSRange range) { @@ -41922,7 +53321,10 @@ class NSMutableOrderedSet extends NSOrderedSet { void removeObjectsAtIndexes_(NSIndexSet indexes) { _lib._objc_msgSend_438( - _id, _lib._sel_removeObjectsAtIndexes_1, indexes._id); + _id, + _lib._sel_removeObjectsAtIndexes_1, + indexes._id, + ); } void removeAllObjects() { @@ -41962,26 +53364,46 @@ class NSMutableOrderedSet extends NSOrderedSet { } void sortUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { _lib._objc_msgSend_440(_id, _lib._sel_sortUsingComparator_1, cmptr._id); } void sortWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + int opts, + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { _lib._objc_msgSend_441( - _id, _lib._sel_sortWithOptions_usingComparator_1, opts, cmptr._id); + _id, + _lib._sel_sortWithOptions_usingComparator_1, + opts, + cmptr._id, + ); } - void sortRange_options_usingComparator_(_NSRange range, int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - _lib._objc_msgSend_462(_id, _lib._sel_sortRange_options_usingComparator_1, - range, opts, cmptr._id); + void sortRange_options_usingComparator_( + _NSRange range, + int opts, + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { + _lib._objc_msgSend_462( + _id, + _lib._sel_sortRange_options_usingComparator_1, + range, + opts, + cmptr._id, + ); } static NSMutableOrderedSet orderedSetWithCapacity_( - PedometerBindings _lib, int numItems) { - final _ret = _lib._objc_msgSend_57(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithCapacity_1, numItems); + PedometerBindings _lib, + int numItems, + ) { + final _ret = _lib._objc_msgSend_57( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithCapacity_1, + numItems, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @@ -41991,7 +53413,10 @@ class NSMutableOrderedSet extends NSOrderedSet { void sortUsingDescriptors_(NSArray sortDescriptors) { _lib._objc_msgSend_429( - _id, _lib._sel_sortUsingDescriptors_1, sortDescriptors._id); + _id, + _lib._sel_sortUsingDescriptors_1, + sortDescriptors._id, + ); } void filterUsingPredicate_(NSPredicate p) { @@ -42000,147 +53425,240 @@ class NSMutableOrderedSet extends NSOrderedSet { @override NSMutableOrderedSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_58( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + _id, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSet(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_orderedSet1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSet1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObject_( - PedometerBindings _lib, NSObject object) { - final _ret = _lib._objc_msgSend_116(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObject_1, object._id); + PedometerBindings _lib, + NSObject object, + ) { + final _ret = _lib._objc_msgSend_116( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObject_1, + object._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObjects_count_( - PedometerBindings _lib, - ffi.Pointer> objects, - int cnt) { - final _ret = _lib._objc_msgSend_58(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, objects, cnt); + PedometerBindings _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_58( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObjects_count_1, + objects, + cnt, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithObjects_( - PedometerBindings _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_116(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithObjects_1, firstObj._id); + PedometerBindings _lib, + NSObject firstObj, + ) { + final _ret = _lib._objc_msgSend_116( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithObjects_1, + firstObj._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithOrderedSet_( - PedometerBindings _lib, NSOrderedSet set) { - final _ret = _lib._objc_msgSend_449(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, set._id); + PedometerBindings _lib, + NSOrderedSet set, + ) { + final _ret = _lib._objc_msgSend_449( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_1, + set._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithOrderedSet_range_copyItems_( - PedometerBindings _lib, NSOrderedSet set, _NSRange range, bool flag) { + PedometerBindings _lib, + NSOrderedSet set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_450( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set._id, - range, - flag); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, + set._id, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet orderedSetWithArray_( - PedometerBindings _lib, NSArray array) { - final _ret = _lib._objc_msgSend_117(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_1, array._id); + PedometerBindings _lib, + NSArray array, + ) { + final _ret = _lib._objc_msgSend_117( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithArray_1, + array._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithArray_range_copyItems_( - PedometerBindings _lib, NSArray array, _NSRange range, bool flag) { + PedometerBindings _lib, + NSArray array, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_451( - _lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array._id, - range, - flag); + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithArray_range_copyItems_1, + array._id, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet orderedSetWithSet_( - PedometerBindings _lib, NSSet set) { - final _ret = _lib._objc_msgSend_367(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_1, set._id); + PedometerBindings _lib, + NSSet set, + ) { + final _ret = _lib._objc_msgSend_367( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithSet_1, + set._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } static NSMutableOrderedSet orderedSetWithSet_copyItems_( - PedometerBindings _lib, NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_368(_lib._class_NSMutableOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, set._id, flag); + PedometerBindings _lib, + NSSet set, + bool flag, + ) { + final _ret = _lib._objc_msgSend_368( + _lib._class_NSMutableOrderedSet1, + _lib._sel_orderedSetWithSet_copyItems_1, + set._id, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObject_1, + object._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObjects_1, + firstObj._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = - _lib._objc_msgSend_449(_id, _lib._sel_initWithOrderedSet_1, set._id); + final _ret = _lib._objc_msgSend_449( + _id, + _lib._sel_initWithOrderedSet_1, + set._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithOrderedSet_copyItems_( - NSOrderedSet set, bool flag) { + NSOrderedSet set, + bool flag, + ) { final _ret = _lib._objc_msgSend_452( - _id, _lib._sel_initWithOrderedSet_copyItems_1, set._id, flag); + _id, + _lib._sel_initWithOrderedSet_copyItems_1, + set._id, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, _NSRange range, bool flag) { - final _ret = _lib._objc_msgSend_450(_id, - _lib._sel_initWithOrderedSet_range_copyItems_1, set._id, range, flag); + NSOrderedSet set, + _NSRange range, + bool flag, + ) { + final _ret = _lib._objc_msgSend_450( + _id, + _lib._sel_initWithOrderedSet_range_copyItems_1, + set._id, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_117(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_117( + _id, + _lib._sel_initWithArray_1, + array._id, + ); return NSMutableOrderedSet._(_ret, _lib, retain: true, release: true); } @override NSMutableOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { final _ret = _lib._objc_msgSend_118( - _id, _lib._sel_initWithArray_copyItems_1, set._id, flag); + _id, + _lib._sel_initWithArray_copyItems_1, + set._id, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @override NSMutableOrderedSet initWithArray_range_copyItems_( - NSArray set, _NSRange range, bool flag) { + NSArray set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_451( - _id, _lib._sel_initWithArray_range_copyItems_1, set._id, range, flag); + _id, + _lib._sel_initWithArray_range_copyItems_1, + set._id, + range, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } @@ -42153,98 +53671,143 @@ class NSMutableOrderedSet extends NSOrderedSet { @override NSMutableOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_368( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + _id, + _lib._sel_initWithSet_copyItems_1, + set._id, + flag, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableOrderedSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableOrderedSet1, + _lib._sel_new1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableOrderedSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableOrderedSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static NSMutableOrderedSet alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_alloc1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_alloc1, + ); return NSMutableOrderedSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableOrderedSet1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableOrderedSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableOrderedSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMutableOrderedSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMutableOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMutableOrderedSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMutableOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableOrderedSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSMutableOrderedSet1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSMutableOrderedSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableOrderedSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableOrderedSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } /// Immutable Ordered Set class NSOrderedSet extends NSObject { - NSOrderedSet._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOrderedSet._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSOrderedSet] that points to the same underlying object as [other]. static NSOrderedSet castFrom(T other) { @@ -42253,15 +53816,21 @@ class NSOrderedSet extends NSObject { /// Returns a [NSOrderedSet] that wraps the given raw object pointer. static NSOrderedSet castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOrderedSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOrderedSet]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOrderedSet1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSOrderedSet1, + ); } int get count { @@ -42284,28 +53853,42 @@ class NSOrderedSet extends NSObject { } NSOrderedSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_58( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + _id, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSOrderedSet._(_ret, _lib, retain: true, release: true); } void getObjects_range_( - ffi.Pointer> objects, _NSRange range) { + ffi.Pointer> objects, + _NSRange range, + ) { _lib._objc_msgSend_65(_id, _lib._sel_getObjects_range_1, objects, range); } NSArray objectsAtIndexes_(NSIndexSet indexes) { - final _ret = - _lib._objc_msgSend_103(_id, _lib._sel_objectsAtIndexes_1, indexes._id); + final _ret = _lib._objc_msgSend_103( + _id, + _lib._sel_objectsAtIndexes_1, + indexes._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -42325,7 +53908,10 @@ class NSOrderedSet extends NSObject { bool isEqualToOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_446( - _id, _lib._sel_isEqualToOrderedSet_1, other._id); + _id, + _lib._sel_isEqualToOrderedSet_1, + other._id, + ); } bool containsObject_(NSObject object) { @@ -42334,7 +53920,10 @@ class NSOrderedSet extends NSObject { bool intersectsOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_446( - _id, _lib._sel_intersectsOrderedSet_1, other._id); + _id, + _lib._sel_intersectsOrderedSet_1, + other._id, + ); } bool intersectsSet_(NSSet set) { @@ -42343,7 +53932,10 @@ class NSOrderedSet extends NSObject { bool isSubsetOfOrderedSet_(NSOrderedSet other) { return _lib._objc_msgSend_446( - _id, _lib._sel_isSubsetOfOrderedSet_1, other._id); + _id, + _lib._sel_isSubsetOfOrderedSet_1, + other._id, + ); } bool isSubsetOfSet_(NSSet set) { @@ -42351,8 +53943,11 @@ class NSOrderedSet extends NSObject { } NSObject objectAtIndexedSubscript_(int idx) { - final _ret = - _lib._objc_msgSend_57(_id, _lib._sel_objectAtIndexedSubscript_1, idx); + final _ret = _lib._objc_msgSend_57( + _id, + _lib._sel_objectAtIndexedSubscript_1, + idx, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -42382,102 +53977,153 @@ class NSOrderedSet extends NSObject { } void enumerateObjectsUsingBlock_( - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_104( - _id, _lib._sel_enumerateObjectsUsingBlock_1, block._id); + _id, + _lib._sel_enumerateObjectsUsingBlock_1, + block._id, + ); } void enumerateObjectsWithOptions_usingBlock_( - int opts, ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { - _lib._objc_msgSend_105(_id, - _lib._sel_enumerateObjectsWithOptions_usingBlock_1, opts, block._id); + int opts, + ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block, + ) { + _lib._objc_msgSend_105( + _id, + _lib._sel_enumerateObjectsWithOptions_usingBlock_1, + opts, + block._id, + ); } - void enumerateObjectsAtIndexes_options_usingBlock_(NSIndexSet s, int opts, - ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block) { + void enumerateObjectsAtIndexes_options_usingBlock_( + NSIndexSet s, + int opts, + ObjCBlock_ffiVoid_ObjCObject_ffiUnsignedLong_bool block, + ) { _lib._objc_msgSend_106( - _id, - _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, - s._id, - opts, - block._id); + _id, + _lib._sel_enumerateObjectsAtIndexes_options_usingBlock_1, + s._id, + opts, + block._id, + ); } int indexOfObjectPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_107( - _id, _lib._sel_indexOfObjectPassingTest_1, predicate._id); + _id, + _lib._sel_indexOfObjectPassingTest_1, + predicate._id, + ); } int indexOfObjectWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { - return _lib._objc_msgSend_108(_id, - _lib._sel_indexOfObjectWithOptions_passingTest_1, opts, predicate._id); + int opts, + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { + return _lib._objc_msgSend_108( + _id, + _lib._sel_indexOfObjectWithOptions_passingTest_1, + opts, + predicate._id, + ); } - int indexOfObjectAtIndexes_options_passingTest_(NSIndexSet s, int opts, - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int indexOfObjectAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { return _lib._objc_msgSend_109( - _id, - _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + _id, + _lib._sel_indexOfObjectAtIndexes_options_passingTest_1, + s._id, + opts, + predicate._id, + ); } NSIndexSet indexesOfObjectsPassingTest_( - ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_110( - _id, _lib._sel_indexesOfObjectsPassingTest_1, predicate._id); + _id, + _lib._sel_indexesOfObjectsPassingTest_1, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } NSIndexSet indexesOfObjectsWithOptions_passingTest_( - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + int opts, + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_111( - _id, - _lib._sel_indexesOfObjectsWithOptions_passingTest_1, - opts, - predicate._id); + _id, + _lib._sel_indexesOfObjectsWithOptions_passingTest_1, + opts, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } - NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_(NSIndexSet s, - int opts, ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate) { + NSIndexSet indexesOfObjectsAtIndexes_options_passingTest_( + NSIndexSet s, + int opts, + ObjCBlock_bool_ObjCObject_ffiUnsignedLong_bool predicate, + ) { final _ret = _lib._objc_msgSend_112( - _id, - _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, - s._id, - opts, - predicate._id); + _id, + _lib._sel_indexesOfObjectsAtIndexes_options_passingTest_1, + s._id, + opts, + predicate._id, + ); return NSIndexSet._(_ret, _lib, retain: true, release: true); } int indexOfObject_inSortedRange_options_usingComparator_( - NSObject object, - _NSRange range, - int opts, - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmp) { + NSObject object, + _NSRange range, + int opts, + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmp, + ) { return _lib._objc_msgSend_115( - _id, - _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, - object._id, - range, - opts, - cmp._id); + _id, + _lib._sel_indexOfObject_inSortedRange_options_usingComparator_1, + object._id, + range, + opts, + cmp._id, + ); } NSArray sortedArrayUsingComparator_( - ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { final _ret = _lib._objc_msgSend_113( - _id, _lib._sel_sortedArrayUsingComparator_1, cmptr._id); + _id, + _lib._sel_sortedArrayUsingComparator_1, + cmptr._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray sortedArrayWithOptions_usingComparator_( - int opts, ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr) { - final _ret = _lib._objc_msgSend_114(_id, - _lib._sel_sortedArrayWithOptions_usingComparator_1, opts, cmptr._id); + int opts, + ObjCBlock_NSComparisonResult_ObjCObject_ObjCObject cmptr, + ) { + final _ret = _lib._objc_msgSend_114( + _id, + _lib._sel_sortedArrayWithOptions_usingComparator_1, + opts, + cmptr._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -42488,142 +54134,231 @@ class NSOrderedSet extends NSObject { NSString descriptionWithLocale_(NSObject? locale) { final _ret = _lib._objc_msgSend_62( - _id, _lib._sel_descriptionWithLocale_1, locale?._id ?? ffi.nullptr); + _id, + _lib._sel_descriptionWithLocale_1, + locale?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString descriptionWithLocale_indent_(NSObject? locale, int level) { final _ret = _lib._objc_msgSend_63( - _id, - _lib._sel_descriptionWithLocale_indent_1, - locale?._id ?? ffi.nullptr, - level); + _id, + _lib._sel_descriptionWithLocale_indent_1, + locale?._id ?? ffi.nullptr, + level, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSet(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_orderedSet1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSet1, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithObject_( - PedometerBindings _lib, NSObject object) { - final _ret = _lib._objc_msgSend_116(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObject_1, object._id); + PedometerBindings _lib, + NSObject object, + ) { + final _ret = _lib._objc_msgSend_116( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObject_1, + object._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } - static NSOrderedSet orderedSetWithObjects_count_(PedometerBindings _lib, - ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_58(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_count_1, objects, cnt); + static NSOrderedSet orderedSetWithObjects_count_( + PedometerBindings _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_58( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObjects_count_1, + objects, + cnt, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithObjects_( - PedometerBindings _lib, NSObject firstObj) { - final _ret = _lib._objc_msgSend_116(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithObjects_1, firstObj._id); + PedometerBindings _lib, + NSObject firstObj, + ) { + final _ret = _lib._objc_msgSend_116( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithObjects_1, + firstObj._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithOrderedSet_( - PedometerBindings _lib, NSOrderedSet set) { - final _ret = _lib._objc_msgSend_449(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_1, set._id); + PedometerBindings _lib, + NSOrderedSet set, + ) { + final _ret = _lib._objc_msgSend_449( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_1, + set._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithOrderedSet_range_copyItems_( - PedometerBindings _lib, NSOrderedSet set, _NSRange range, bool flag) { + PedometerBindings _lib, + NSOrderedSet set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_450( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, - set._id, - range, - flag); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithOrderedSet_range_copyItems_1, + set._id, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet orderedSetWithArray_( - PedometerBindings _lib, NSArray array) { + PedometerBindings _lib, + NSArray array, + ) { final _ret = _lib._objc_msgSend_117( - _lib._class_NSOrderedSet1, _lib._sel_orderedSetWithArray_1, array._id); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithArray_1, + array._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithArray_range_copyItems_( - PedometerBindings _lib, NSArray array, _NSRange range, bool flag) { + PedometerBindings _lib, + NSArray array, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_451( - _lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithArray_range_copyItems_1, - array._id, - range, - flag); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithArray_range_copyItems_1, + array._id, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet orderedSetWithSet_(PedometerBindings _lib, NSSet set) { final _ret = _lib._objc_msgSend_367( - _lib._class_NSOrderedSet1, _lib._sel_orderedSetWithSet_1, set._id); + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithSet_1, + set._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet orderedSetWithSet_copyItems_( - PedometerBindings _lib, NSSet set, bool flag) { - final _ret = _lib._objc_msgSend_368(_lib._class_NSOrderedSet1, - _lib._sel_orderedSetWithSet_copyItems_1, set._id, flag); + PedometerBindings _lib, + NSSet set, + bool flag, + ) { + final _ret = _lib._objc_msgSend_368( + _lib._class_NSOrderedSet1, + _lib._sel_orderedSetWithSet_copyItems_1, + set._id, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObject_1, + object._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObjects_1, + firstObj._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithOrderedSet_(NSOrderedSet set) { - final _ret = - _lib._objc_msgSend_449(_id, _lib._sel_initWithOrderedSet_1, set._id); + final _ret = _lib._objc_msgSend_449( + _id, + _lib._sel_initWithOrderedSet_1, + set._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithOrderedSet_copyItems_(NSOrderedSet set, bool flag) { final _ret = _lib._objc_msgSend_452( - _id, _lib._sel_initWithOrderedSet_copyItems_1, set._id, flag); + _id, + _lib._sel_initWithOrderedSet_copyItems_1, + set._id, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithOrderedSet_range_copyItems_( - NSOrderedSet set, _NSRange range, bool flag) { - final _ret = _lib._objc_msgSend_450(_id, - _lib._sel_initWithOrderedSet_range_copyItems_1, set._id, range, flag); + NSOrderedSet set, + _NSRange range, + bool flag, + ) { + final _ret = _lib._objc_msgSend_450( + _id, + _lib._sel_initWithOrderedSet_range_copyItems_1, + set._id, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_117(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_117( + _id, + _lib._sel_initWithArray_1, + array._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } NSOrderedSet initWithArray_copyItems_(NSArray set, bool flag) { final _ret = _lib._objc_msgSend_118( - _id, _lib._sel_initWithArray_copyItems_1, set._id, flag); + _id, + _lib._sel_initWithArray_copyItems_1, + set._id, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSOrderedSet initWithArray_range_copyItems_( - NSArray set, _NSRange range, bool flag) { + NSArray set, + _NSRange range, + bool flag, + ) { final _ret = _lib._objc_msgSend_451( - _id, _lib._sel_initWithArray_range_copyItems_1, set._id, range, flag); + _id, + _lib._sel_initWithArray_range_copyItems_1, + set._id, + range, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } @@ -42634,39 +54369,57 @@ class NSOrderedSet extends NSObject { NSOrderedSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_368( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + _id, + _lib._sel_initWithSet_copyItems_1, + set._id, + flag, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } NSObject differenceFromOrderedSet_withOptions_usingEquivalenceTest_( - NSOrderedSet other, - int options, - ObjCBlock_bool_ObjCObject_ObjCObject block) { + NSOrderedSet other, + int options, + ObjCBlock_bool_ObjCObject_ObjCObject block, + ) { final _ret = _lib._objc_msgSend_453( - _id, - _lib._sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1, - other._id, - options, - block._id); + _id, + _lib._sel_differenceFromOrderedSet_withOptions_usingEquivalenceTest_1, + other._id, + options, + block._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromOrderedSet_withOptions_( - NSOrderedSet other, int options) { - final _ret = _lib._objc_msgSend_454(_id, - _lib._sel_differenceFromOrderedSet_withOptions_1, other._id, options); + NSOrderedSet other, + int options, + ) { + final _ret = _lib._objc_msgSend_454( + _id, + _lib._sel_differenceFromOrderedSet_withOptions_1, + other._id, + options, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSObject differenceFromOrderedSet_(NSOrderedSet other) { final _ret = _lib._objc_msgSend_449( - _id, _lib._sel_differenceFromOrderedSet_1, other._id); + _id, + _lib._sel_differenceFromOrderedSet_1, + other._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } NSOrderedSet? orderedSetByApplyingDifference_(NSObject difference) { final _ret = _lib._objc_msgSend_455( - _id, _lib._sel_orderedSetByApplyingDifference_1, difference._id); + _id, + _lib._sel_orderedSetByApplyingDifference_1, + difference._id, + ); return _ret.address == 0 ? null : NSOrderedSet._(_ret, _lib, retain: true, release: true); @@ -42680,134 +54433,202 @@ class NSOrderedSet extends NSObject { @override void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_127( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + _id, + _lib._sel_setValue_forKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } @override - void addObserver_forKeyPath_options_context_(NSObject observer, - NSString keyPath, int options, ffi.Pointer context) { + void addObserver_forKeyPath_options_context_( + NSObject observer, + NSString keyPath, + int options, + ffi.Pointer context, + ) { _lib._objc_msgSend_131( - _id, - _lib._sel_addObserver_forKeyPath_options_context_1, - observer._id, - keyPath._id, - options, - context); + _id, + _lib._sel_addObserver_forKeyPath_options_context_1, + observer._id, + keyPath._id, + options, + context, + ); } @override void removeObserver_forKeyPath_context_( - NSObject observer, NSString keyPath, ffi.Pointer context) { - _lib._objc_msgSend_132(_id, _lib._sel_removeObserver_forKeyPath_context_1, - observer._id, keyPath._id, context); + NSObject observer, + NSString keyPath, + ffi.Pointer context, + ) { + _lib._objc_msgSend_132( + _id, + _lib._sel_removeObserver_forKeyPath_context_1, + observer._id, + keyPath._id, + context, + ); } @override void removeObserver_forKeyPath_(NSObject observer, NSString keyPath) { _lib._objc_msgSend_133( - _id, _lib._sel_removeObserver_forKeyPath_1, observer._id, keyPath._id); + _id, + _lib._sel_removeObserver_forKeyPath_1, + observer._id, + keyPath._id, + ); } NSArray sortedArrayUsingDescriptors_(NSArray sortDescriptors) { final _ret = _lib._objc_msgSend_60( - _id, _lib._sel_sortedArrayUsingDescriptors_1, sortDescriptors._id); + _id, + _lib._sel_sortedArrayUsingDescriptors_1, + sortDescriptors._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSOrderedSet filteredOrderedSetUsingPredicate_(NSPredicate p) { final _ret = _lib._objc_msgSend_456( - _id, _lib._sel_filteredOrderedSetUsingPredicate_1, p._id); + _id, + _lib._sel_filteredOrderedSetUsingPredicate_1, + p._id, + ); return NSOrderedSet._(_ret, _lib, retain: true, release: true); } static NSOrderedSet new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_new1, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOrderedSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOrderedSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static NSOrderedSet alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOrderedSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOrderedSet1, + _lib._sel_alloc1, + ); return NSOrderedSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOrderedSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOrderedSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOrderedSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOrderedSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSOrderedSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSOrderedSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSOrderedSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSOrderedSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSOrderedSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSOrderedSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOrderedSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSOrderedSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOrderedSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOrderedSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOrderedSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } /// Mutable Set class NSMutableSet extends NSSet { - NSMutableSet._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableSet._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMutableSet] that points to the same underlying object as [other]. static NSMutableSet castFrom(T other) { @@ -42816,15 +54637,21 @@ class NSMutableSet extends NSSet { /// Returns a [NSMutableSet] that wraps the given raw object pointer. static NSMutableSet castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableSet._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableSet]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMutableSet1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMutableSet1, + ); } void addObject_(NSObject object) { @@ -42837,8 +54664,11 @@ class NSMutableSet extends NSSet { @override NSMutableSet? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSMutableSet._(_ret, _lib, retain: true, release: true); @@ -42851,8 +54681,11 @@ class NSMutableSet extends NSSet { } NSMutableSet initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_57(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_57( + _id, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @@ -42882,65 +54715,103 @@ class NSMutableSet extends NSSet { static NSMutableSet setWithCapacity_(PedometerBindings _lib, int numItems) { final _ret = _lib._objc_msgSend_57( - _lib._class_NSMutableSet1, _lib._sel_setWithCapacity_1, numItems); + _lib._class_NSMutableSet1, + _lib._sel_setWithCapacity_1, + numItems, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } void filterUsingPredicate_(NSPredicate predicate) { _lib._objc_msgSend_444( - _id, _lib._sel_filterUsingPredicate_1, predicate._id); + _id, + _lib._sel_filterUsingPredicate_1, + predicate._id, + ); } @override NSMutableSet initWithObjects_count_( - ffi.Pointer> objects, int cnt) { + ffi.Pointer> objects, + int cnt, + ) { final _ret = _lib._objc_msgSend_58( - _id, _lib._sel_initWithObjects_count_1, objects, cnt); + _id, + _lib._sel_initWithObjects_count_1, + objects, + cnt, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet set1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_set1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_set1, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithObject_(PedometerBindings _lib, NSObject object) { final _ret = _lib._objc_msgSend_116( - _lib._class_NSMutableSet1, _lib._sel_setWithObject_1, object._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithObject_1, + object._id, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } - static NSMutableSet setWithObjects_count_(PedometerBindings _lib, - ffi.Pointer> objects, int cnt) { - final _ret = _lib._objc_msgSend_58(_lib._class_NSMutableSet1, - _lib._sel_setWithObjects_count_1, objects, cnt); + static NSMutableSet setWithObjects_count_( + PedometerBindings _lib, + ffi.Pointer> objects, + int cnt, + ) { + final _ret = _lib._objc_msgSend_58( + _lib._class_NSMutableSet1, + _lib._sel_setWithObjects_count_1, + objects, + cnt, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithObjects_( - PedometerBindings _lib, NSObject firstObj) { + PedometerBindings _lib, + NSObject firstObj, + ) { final _ret = _lib._objc_msgSend_116( - _lib._class_NSMutableSet1, _lib._sel_setWithObjects_1, firstObj._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithObjects_1, + firstObj._id, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithSet_(PedometerBindings _lib, NSSet set) { final _ret = _lib._objc_msgSend_367( - _lib._class_NSMutableSet1, _lib._sel_setWithSet_1, set._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithSet_1, + set._id, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet setWithArray_(PedometerBindings _lib, NSArray array) { final _ret = _lib._objc_msgSend_117( - _lib._class_NSMutableSet1, _lib._sel_setWithArray_1, array._id); + _lib._class_NSMutableSet1, + _lib._sel_setWithArray_1, + array._id, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @override NSMutableSet initWithObjects_(NSObject firstObj) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObjects_1, firstObj._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObjects_1, + firstObj._id, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } @@ -42953,96 +54824,141 @@ class NSMutableSet extends NSSet { @override NSMutableSet initWithSet_copyItems_(NSSet set, bool flag) { final _ret = _lib._objc_msgSend_368( - _id, _lib._sel_initWithSet_copyItems_1, set._id, flag); + _id, + _lib._sel_initWithSet_copyItems_1, + set._id, + flag, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } @override NSMutableSet initWithArray_(NSArray array) { - final _ret = - _lib._objc_msgSend_117(_id, _lib._sel_initWithArray_1, array._id); + final _ret = _lib._objc_msgSend_117( + _id, + _lib._sel_initWithArray_1, + array._id, + ); return NSMutableSet._(_ret, _lib, retain: true, release: true); } static NSMutableSet new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_new1, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static NSMutableSet allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableSet1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableSet1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static NSMutableSet alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableSet1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableSet1, + _lib._sel_alloc1, + ); return NSMutableSet._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableSet1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableSet1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMutableSet1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableSet1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableSet1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableSet1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMutableSet1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMutableSet1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMutableSet1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMutableSet1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableSet1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSMutableSet1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableSet1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableSet1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableSet1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -43062,27 +54978,40 @@ abstract class NSKeyValueSetMutationKind { } class NSKeyedArchiver extends NSCoder { - NSKeyedArchiver._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSKeyedArchiver._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSKeyedArchiver] that points to the same underlying object as [other]. static NSKeyedArchiver castFrom(T other) { - return NSKeyedArchiver._(other._id, other._lib, - retain: true, release: true); + return NSKeyedArchiver._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSKeyedArchiver] that wraps the given raw object pointer. static NSKeyedArchiver castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSKeyedArchiver._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSKeyedArchiver]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSKeyedArchiver1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSKeyedArchiver1, + ); } /// Initializes the receiver for encoding an archive, optionally disabling secure coding. @@ -43092,7 +55021,10 @@ class NSKeyedArchiver extends NSCoder { /// To produce archives whose structure matches those previously encoded using \c +archivedDataWithRootObject, encode the top-level object in your archive for the \c NSKeyedArchiveRootObjectKey. NSKeyedArchiver initRequiringSecureCoding_(bool requiresSecureCoding) { final _ret = _lib._objc_msgSend_214( - _id, _lib._sel_initRequiringSecureCoding_1, requiresSecureCoding); + _id, + _lib._sel_initRequiringSecureCoding_1, + requiresSecureCoding, + ); return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); } @@ -43102,16 +55034,18 @@ class NSKeyedArchiver extends NSCoder { /// /// If the object graph cannot be encoded, returns \c nil and sets the \c error out parameter. static NSData? archivedDataWithRootObject_requiringSecureCoding_error_( - PedometerBindings _lib, - NSObject object, - bool requiresSecureCoding, - ffi.Pointer> error) { + PedometerBindings _lib, + NSObject object, + bool requiresSecureCoding, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_471( - _lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_requiringSecureCoding_error_1, - object._id, - requiresSecureCoding, - error); + _lib._class_NSKeyedArchiver1, + _lib._sel_archivedDataWithRootObject_requiringSecureCoding_error_1, + object._id, + requiresSecureCoding, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -43126,21 +55060,36 @@ class NSKeyedArchiver extends NSCoder { NSKeyedArchiver initForWritingWithMutableData_(NSMutableData data) { final _ret = _lib._objc_msgSend_477( - _id, _lib._sel_initForWritingWithMutableData_1, data._id); + _id, + _lib._sel_initForWritingWithMutableData_1, + data._id, + ); return NSKeyedArchiver._(_ret, _lib, retain: true, release: true); } static NSData archivedDataWithRootObject_( - PedometerBindings _lib, NSObject rootObject) { - final _ret = _lib._objc_msgSend_478(_lib._class_NSKeyedArchiver1, - _lib._sel_archivedDataWithRootObject_1, rootObject._id); + PedometerBindings _lib, + NSObject rootObject, + ) { + final _ret = _lib._objc_msgSend_478( + _lib._class_NSKeyedArchiver1, + _lib._sel_archivedDataWithRootObject_1, + rootObject._id, + ); return NSData._(_ret, _lib, retain: true, release: true); } static bool archiveRootObject_toFile_( - PedometerBindings _lib, NSObject rootObject, NSString path) { - return _lib._objc_msgSend_213(_lib._class_NSKeyedArchiver1, - _lib._sel_archiveRootObject_toFile_1, rootObject._id, path._id); + PedometerBindings _lib, + NSObject rootObject, + NSString path, + ) { + return _lib._objc_msgSend_213( + _lib._class_NSKeyedArchiver1, + _lib._sel_archiveRootObject_toFile_1, + rootObject._id, + path._id, + ); } NSObject? get delegate { @@ -43152,7 +55101,10 @@ class NSKeyedArchiver extends NSCoder { set delegate(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegate_1, + value?._id ?? ffi.nullptr, + ); } int get outputFormat { @@ -43174,17 +55126,24 @@ class NSKeyedArchiver extends NSCoder { } static void setClassName_forClass_( - PedometerBindings _lib, NSString? codedName, NSObject cls) { + PedometerBindings _lib, + NSString? codedName, + NSObject cls, + ) { _lib._objc_msgSend_481( - _lib._class_NSKeyedArchiver1, - _lib._sel_setClassName_forClass_1, - codedName?._id ?? ffi.nullptr, - cls._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_setClassName_forClass_1, + codedName?._id ?? ffi.nullptr, + cls._id, + ); } static NSString? classNameForClass_(PedometerBindings _lib, NSObject cls) { final _ret = _lib._objc_msgSend_482( - _lib._class_NSKeyedArchiver1, _lib._sel_classNameForClass_1, cls._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_classNameForClass_1, + cls._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -43192,14 +55151,22 @@ class NSKeyedArchiver extends NSCoder { @override void encodeObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_encodeObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_encodeObject_forKey_1, + object?._id ?? ffi.nullptr, + key._id, + ); } @override void encodeConditionalObject_forKey_(NSObject? object, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_encodeConditionalObject_forKey_1, - object?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_encodeConditionalObject_forKey_1, + object?._id ?? ffi.nullptr, + key._id, + ); } @override @@ -43230,14 +55197,26 @@ class NSKeyedArchiver extends NSCoder { @override void encodeDouble_forKey_(double value, NSString key) { _lib._objc_msgSend_247( - _id, _lib._sel_encodeDouble_forKey_1, value, key._id); + _id, + _lib._sel_encodeDouble_forKey_1, + value, + key._id, + ); } @override void encodeBytes_length_forKey_( - ffi.Pointer bytes, int length, NSString key) { + ffi.Pointer bytes, + int length, + NSString key, + ) { _lib._objc_msgSend_248( - _id, _lib._sel_encodeBytes_length_forKey_1, bytes, length, key._id); + _id, + _lib._sel_encodeBytes_length_forKey_1, + bytes, + length, + key._id, + ); } @override @@ -43247,97 +55226,141 @@ class NSKeyedArchiver extends NSCoder { set requiresSecureCoding(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setRequiresSecureCoding_1, value); + _id, + _lib._sel_setRequiresSecureCoding_1, + value, + ); } static NSKeyedArchiver new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSKeyedArchiver1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSKeyedArchiver1, + _lib._sel_new1, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static NSKeyedArchiver allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSKeyedArchiver1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSKeyedArchiver1, + _lib._sel_allocWithZone_1, + zone, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static NSKeyedArchiver alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSKeyedArchiver1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSKeyedArchiver1, + _lib._sel_alloc1, + ); return NSKeyedArchiver._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSKeyedArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSKeyedArchiver1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSKeyedArchiver1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSKeyedArchiver1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSKeyedArchiver1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSKeyedArchiver1, _lib._sel_useStoredAccessor1); + _lib._class_NSKeyedArchiver1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSKeyedArchiver1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSKeyedArchiver1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSKeyedArchiver1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSKeyedArchiver1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSKeyedArchiver1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSKeyedArchiver1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSKeyedArchiver1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSKeyedArchiver1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSKeyedArchiver1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSKeyedArchiver1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } /// Mutable Data class NSMutableData extends NSData { - NSMutableData._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableData._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMutableData] that points to the same underlying object as [other]. static NSMutableData castFrom(T other) { @@ -43346,15 +55369,21 @@ class NSMutableData extends NSData { /// Returns a [NSMutableData] that wraps the given raw object pointer. static NSMutableData castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableData._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableData]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMutableData1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMutableData1, + ); } ffi.Pointer get mutableBytes { @@ -43383,9 +55412,15 @@ class NSMutableData extends NSData { } void replaceBytesInRange_withBytes_( - _NSRange range, ffi.Pointer bytes) { + _NSRange range, + ffi.Pointer bytes, + ) { _lib._objc_msgSend_473( - _id, _lib._sel_replaceBytesInRange_withBytes_1, range, bytes); + _id, + _lib._sel_replaceBytesInRange_withBytes_1, + range, + bytes, + ); } void resetBytesInRange_(_NSRange range) { @@ -43396,20 +55431,29 @@ class NSMutableData extends NSData { _lib._objc_msgSend_231(_id, _lib._sel_setData_1, data._id); } - void replaceBytesInRange_withBytes_length_(_NSRange range, - ffi.Pointer replacementBytes, int replacementLength) { + void replaceBytesInRange_withBytes_length_( + _NSRange range, + ffi.Pointer replacementBytes, + int replacementLength, + ) { _lib._objc_msgSend_474( - _id, - _lib._sel_replaceBytesInRange_withBytes_length_1, - range, - replacementBytes, - replacementLength); + _id, + _lib._sel_replaceBytesInRange_withBytes_length_1, + range, + replacementBytes, + replacementLength, + ); } static NSMutableData? dataWithCapacity_( - PedometerBindings _lib, int aNumItems) { + PedometerBindings _lib, + int aNumItems, + ) { final _ret = _lib._objc_msgSend_475( - _lib._class_NSMutableData1, _lib._sel_dataWithCapacity_1, aNumItems); + _lib._class_NSMutableData1, + _lib._sel_dataWithCapacity_1, + aNumItems, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -43417,112 +55461,172 @@ class NSMutableData extends NSData { static NSMutableData? dataWithLength_(PedometerBindings _lib, int length) { final _ret = _lib._objc_msgSend_475( - _lib._class_NSMutableData1, _lib._sel_dataWithLength_1, length); + _lib._class_NSMutableData1, + _lib._sel_dataWithLength_1, + length, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } NSMutableData? initWithCapacity_(int capacity) { - final _ret = - _lib._objc_msgSend_475(_id, _lib._sel_initWithCapacity_1, capacity); + final _ret = _lib._objc_msgSend_475( + _id, + _lib._sel_initWithCapacity_1, + capacity, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } NSMutableData? initWithLength_(int length) { - final _ret = - _lib._objc_msgSend_475(_id, _lib._sel_initWithLength_1, length); + final _ret = _lib._objc_msgSend_475( + _id, + _lib._sel_initWithLength_1, + length, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } bool decompressUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_476( - _id, _lib._sel_decompressUsingAlgorithm_error_1, algorithm, error); + _id, + _lib._sel_decompressUsingAlgorithm_error_1, + algorithm, + error, + ); } bool compressUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_476( - _id, _lib._sel_compressUsingAlgorithm_error_1, algorithm, error); + _id, + _lib._sel_compressUsingAlgorithm_error_1, + algorithm, + error, + ); } static NSMutableData data(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_data1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_data1, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithBytes_length_( - PedometerBindings _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_219(_lib._class_NSMutableData1, - _lib._sel_dataWithBytes_length_1, bytes, length); + PedometerBindings _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_219( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytes_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithBytesNoCopy_length_( - PedometerBindings _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_219(_lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_1, bytes, length); + PedometerBindings _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_219( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytesNoCopy_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData dataWithBytesNoCopy_length_freeWhenDone_( - PedometerBindings _lib, ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_220(_lib._class_NSMutableData1, - _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + PedometerBindings _lib, + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_220( + _lib._class_NSMutableData1, + _lib._sel_dataWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData? dataWithContentsOfFile_options_error_( - PedometerBindings _lib, - NSString path, - int readOptionsMask, - ffi.Pointer> errorPtr) { + PedometerBindings _lib, + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_221( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfFile_options_error_1, + path._id, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData? dataWithContentsOfURL_options_error_( - PedometerBindings _lib, - NSURL url, - int readOptionsMask, - ffi.Pointer> errorPtr) { + PedometerBindings _lib, + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_222( - _lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfURL_options_error_1, + url._id, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData? dataWithContentsOfFile_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfFile_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData? dataWithContentsOfURL_( - PedometerBindings _lib, NSURL url) { + PedometerBindings _lib, + NSURL url, + ) { final _ret = _lib._objc_msgSend_223( - _lib._class_NSMutableData1, _lib._sel_dataWithContentsOfURL_1, url._id); + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -43531,63 +55635,91 @@ class NSMutableData extends NSData { @override NSMutableData initWithBytes_length_(ffi.Pointer bytes, int length) { final _ret = _lib._objc_msgSend_219( - _id, _lib._sel_initWithBytes_length_1, bytes, length); + _id, + _lib._sel_initWithBytes_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } @override NSMutableData initWithBytesNoCopy_length_( - ffi.Pointer bytes, int length) { + ffi.Pointer bytes, + int length, + ) { final _ret = _lib._objc_msgSend_219( - _id, _lib._sel_initWithBytesNoCopy_length_1, bytes, length); + _id, + _lib._sel_initWithBytesNoCopy_length_1, + bytes, + length, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_freeWhenDone_( - ffi.Pointer bytes, int length, bool b) { - final _ret = _lib._objc_msgSend_220(_id, - _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, bytes, length, b); + ffi.Pointer bytes, + int length, + bool b, + ) { + final _ret = _lib._objc_msgSend_220( + _id, + _lib._sel_initWithBytesNoCopy_length_freeWhenDone_1, + bytes, + length, + b, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override NSMutableData initWithBytesNoCopy_length_deallocator_( - ffi.Pointer bytes, - int length, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int length, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_224( - _id, - _lib._sel_initWithBytesNoCopy_length_deallocator_1, - bytes, - length, - deallocator?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithBytesNoCopy_length_deallocator_1, + bytes, + length, + deallocator?._id ?? ffi.nullptr, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } @override - NSMutableData? initWithContentsOfFile_options_error_(NSString path, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSMutableData? initWithContentsOfFile_options_error_( + NSString path, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_221( - _id, - _lib._sel_initWithContentsOfFile_options_error_1, - path._id, - readOptionsMask, - errorPtr); + _id, + _lib._sel_initWithContentsOfFile_options_error_1, + path._id, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } @override - NSMutableData? initWithContentsOfURL_options_error_(NSURL url, - int readOptionsMask, ffi.Pointer> errorPtr) { + NSMutableData? initWithContentsOfURL_options_error_( + NSURL url, + int readOptionsMask, + ffi.Pointer> errorPtr, + ) { final _ret = _lib._objc_msgSend_222( - _id, - _lib._sel_initWithContentsOfURL_options_error_1, - url._id, - readOptionsMask, - errorPtr); + _id, + _lib._sel_initWithContentsOfURL_options_error_1, + url._id, + readOptionsMask, + errorPtr, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -43596,7 +55728,10 @@ class NSMutableData extends NSData { @override NSMutableData? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + _id, + _lib._sel_initWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -43604,8 +55739,11 @@ class NSMutableData extends NSData { @override NSMutableData? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_223(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_223( + _id, + _lib._sel_initWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -43613,25 +55751,34 @@ class NSMutableData extends NSData { @override NSMutableData initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_225(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_225( + _id, + _lib._sel_initWithData_1, + data._id, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } static NSMutableData dataWithData_(PedometerBindings _lib, NSData data) { final _ret = _lib._objc_msgSend_225( - _lib._class_NSMutableData1, _lib._sel_dataWithData_1, data._id); + _lib._class_NSMutableData1, + _lib._sel_dataWithData_1, + data._id, + ); return NSMutableData._(_ret, _lib, retain: true, release: true); } @override NSMutableData? initWithBase64EncodedString_options_( - NSString base64String, int options) { + NSString base64String, + int options, + ) { final _ret = _lib._objc_msgSend_226( - _id, - _lib._sel_initWithBase64EncodedString_options_1, - base64String._id, - options); + _id, + _lib._sel_initWithBase64EncodedString_options_1, + base64String._id, + options, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -43639,9 +55786,15 @@ class NSMutableData extends NSData { @override NSMutableData? initWithBase64EncodedData_options_( - NSData base64Data, int options) { - final _ret = _lib._objc_msgSend_228(_id, - _lib._sel_initWithBase64EncodedData_options_1, base64Data._id, options); + NSData base64Data, + int options, + ) { + final _ret = _lib._objc_msgSend_228( + _id, + _lib._sel_initWithBase64EncodedData_options_1, + base64Data._id, + options, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -43649,9 +55802,15 @@ class NSMutableData extends NSData { @override NSMutableData? decompressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_230(_id, - _lib._sel_decompressedDataUsingAlgorithm_error_1, algorithm, error); + int algorithm, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_230( + _id, + _lib._sel_decompressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); @@ -43659,18 +55818,29 @@ class NSMutableData extends NSData { @override NSMutableData? compressedDataUsingAlgorithm_error_( - int algorithm, ffi.Pointer> error) { + int algorithm, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_230( - _id, _lib._sel_compressedDataUsingAlgorithm_error_1, algorithm, error); + _id, + _lib._sel_compressedDataUsingAlgorithm_error_1, + algorithm, + error, + ); return _ret.address == 0 ? null : NSMutableData._(_ret, _lib, retain: true, release: true); } static NSObject? dataWithContentsOfMappedFile_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableData1, - _lib._sel_dataWithContentsOfMappedFile_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableData1, + _lib._sel_dataWithContentsOfMappedFile_1, + path._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -43683,84 +55853,122 @@ class NSMutableData extends NSData { } static NSMutableData new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_new1, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableData1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableData1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static NSMutableData alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableData1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableData1, + _lib._sel_alloc1, + ); return NSMutableData._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMutableData1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableData1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableData1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMutableData1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMutableData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMutableData1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMutableData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableData1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSMutableData1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMutableData1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableData1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableData1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -43772,9 +55980,12 @@ abstract class NSPropertyListFormat { } class NSThread extends NSObject { - NSThread._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSThread._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSThread] that points to the same underlying object as [other]. static NSThread castFrom(T other) { @@ -43783,45 +55994,62 @@ class NSThread extends NSObject { /// Returns a [NSThread] that wraps the given raw object pointer. static NSThread castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSThread._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSThread]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSThread1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSThread1, + ); } static NSThread getCurrentThread(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_487(_lib._class_NSThread1, _lib._sel_currentThread1); + final _ret = _lib._objc_msgSend_487( + _lib._class_NSThread1, + _lib._sel_currentThread1, + ); return NSThread._(_ret, _lib, retain: true, release: true); } static void detachNewThreadWithBlock_( - PedometerBindings _lib, ObjCBlock_ffiVoid block) { + PedometerBindings _lib, + ObjCBlock_ffiVoid block, + ) { _lib._objc_msgSend_488( - _lib._class_NSThread1, _lib._sel_detachNewThreadWithBlock_1, block._id); + _lib._class_NSThread1, + _lib._sel_detachNewThreadWithBlock_1, + block._id, + ); } static void detachNewThreadSelector_toTarget_withObject_( - PedometerBindings _lib, - ffi.Pointer selector, - NSObject target, - NSObject? argument) { + PedometerBindings _lib, + ffi.Pointer selector, + NSObject target, + NSObject? argument, + ) { _lib._objc_msgSend_489( - _lib._class_NSThread1, - _lib._sel_detachNewThreadSelector_toTarget_withObject_1, - selector, - target._id, - argument?._id ?? ffi.nullptr); + _lib._class_NSThread1, + _lib._sel_detachNewThreadSelector_toTarget_withObject_1, + selector, + target._id, + argument?._id ?? ffi.nullptr, + ); } static bool isMultiThreaded(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_isMultiThreaded1); + _lib._class_NSThread1, + _lib._sel_isMultiThreaded1, + ); } NSMutableDictionary get threadDictionary { @@ -43831,12 +56059,18 @@ class NSThread extends NSObject { static void sleepUntilDate_(PedometerBindings _lib, NSDate date) { _lib._objc_msgSend_496( - _lib._class_NSThread1, _lib._sel_sleepUntilDate_1, date._id); + _lib._class_NSThread1, + _lib._sel_sleepUntilDate_1, + date._id, + ); } static void sleepForTimeInterval_(PedometerBindings _lib, double ti) { _lib._objc_msgSend_497( - _lib._class_NSThread1, _lib._sel_sleepForTimeInterval_1, ti); + _lib._class_NSThread1, + _lib._sel_sleepForTimeInterval_1, + ti, + ); } static void exit(PedometerBindings _lib) { @@ -43863,13 +56097,17 @@ class NSThread extends NSObject { static NSArray getCallStackReturnAddresses(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSThread1, _lib._sel_callStackReturnAddresses1); + _lib._class_NSThread1, + _lib._sel_callStackReturnAddresses1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getCallStackSymbols(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSThread1, _lib._sel_callStackSymbols1); + _lib._class_NSThread1, + _lib._sel_callStackSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -43882,7 +56120,10 @@ class NSThread extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setName_1, + value?._id ?? ffi.nullptr, + ); } int get stackSize { @@ -43898,8 +56139,10 @@ class NSThread extends NSObject { } static NSThread getMainThread(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_487(_lib._class_NSThread1, _lib._sel_mainThread1); + final _ret = _lib._objc_msgSend_487( + _lib._class_NSThread1, + _lib._sel_mainThread1, + ); return NSThread._(_ret, _lib, retain: true, release: true); } @@ -43910,19 +56153,26 @@ class NSThread extends NSObject { } NSThread initWithTarget_selector_object_( - NSObject target, ffi.Pointer selector, NSObject? argument) { + NSObject target, + ffi.Pointer selector, + NSObject? argument, + ) { final _ret = _lib._objc_msgSend_502( - _id, - _lib._sel_initWithTarget_selector_object_1, - target._id, - selector, - argument?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithTarget_selector_object_1, + target._id, + selector, + argument?._id ?? ffi.nullptr, + ); return NSThread._(_ret, _lib, retain: true, release: true); } NSThread initWithBlock_(ObjCBlock_ffiVoid block) { - final _ret = - _lib._objc_msgSend_503(_id, _lib._sel_initWithBlock_1, block._id); + final _ret = _lib._objc_msgSend_503( + _id, + _lib._sel_initWithBlock_1, + block._id, + ); return NSThread._(_ret, _lib, retain: true, release: true); } @@ -43956,9 +56206,14 @@ class NSThread extends NSObject { } static NSThread allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSThread1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSThread1, + _lib._sel_allocWithZone_1, + zone, + ); return NSThread._(_ret, _lib, retain: false, release: true); } @@ -43968,72 +56223,99 @@ class NSThread extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSThread1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSThread1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSThread1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSThread1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSThread1, _lib._sel_useStoredAccessor1); + _lib._class_NSThread1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSThread1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSThread1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSThread1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSThread1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSThread1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSThread1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSThread1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSThread1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSThread1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSThread1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } -void _ObjCBlock_ffiVoid_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, -) => +void _ObjCBlock_ffiVoid_fnPtrTrampoline(ffi.Pointer<_ObjCBlock> block) => block.ref.target .cast>() .asFunction()(); @@ -44045,31 +56327,35 @@ ffi.Pointer _ObjCBlock_ffiVoid_registerClosure(void Function() fn) { return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, -) => +void _ObjCBlock_ffiVoid_closureTrampoline(ffi.Pointer<_ObjCBlock> block) => _ObjCBlock_ffiVoid_closureRegistry[block.ref.target.address]!(); class ObjCBlock_ffiVoid extends _ObjCBlockBase { - ObjCBlock_ffiVoid._(ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ObjCBlock_ffiVoid._( + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid.fromFunctionPointer(PedometerBindings lib, - ffi.Pointer> ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_ffiVoid_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid.fromFunctionPointer( + PedometerBindings lib, + ffi.Pointer> ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer<_ObjCBlock>) + >(_ObjCBlock_ffiVoid_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -44078,14 +56364,16 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid.fromFunction(PedometerBindings lib, void Function() fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_ffiVoid_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn())), - lib); + : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer<_ObjCBlock>) + >(_ObjCBlock_ffiVoid_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -44098,52 +56386,64 @@ class ObjCBlock_ffiVoid extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid.listener(PedometerBindings lib, void Function() fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>)>.listener( - _ObjCBlock_ffiVoid_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_registerClosure(() => fn())), - lib); + : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer<_ObjCBlock>) + >.listener(_ObjCBlock_ffiVoid_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_registerClosure(() => fn()), + ), + lib, + ); static ffi.NativeCallable)>? - _dartFuncListenerTrampoline; + _dartFuncListenerTrampoline; void call() => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block)>>() - .asFunction)>()( - _id, - ); + .cast< + ffi.NativeFunction block)> + >() + .asFunction)>()(_id); } /// Mutable Dictionary class NSMutableDictionary extends NSDictionary { - NSMutableDictionary._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableDictionary._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMutableDictionary] that points to the same underlying object as [other]. static NSMutableDictionary castFrom(T other) { - return NSMutableDictionary._(other._id, other._lib, - retain: true, release: true); + return NSMutableDictionary._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableDictionary] that wraps the given raw object pointer. static NSMutableDictionary castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableDictionary._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableDictionary]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableDictionary1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMutableDictionary1, + ); } void removeObjectForKey_(NSObject aKey) { @@ -44152,7 +56452,11 @@ class NSMutableDictionary extends NSDictionary { void setObject_forKey_(NSObject anObject, NSObject aKey) { _lib._objc_msgSend_490( - _id, _lib._sel_setObject_forKey_1, anObject._id, aKey._id); + _id, + _lib._sel_setObject_forKey_1, + anObject._id, + aKey._id, + ); } @override @@ -44162,15 +56466,21 @@ class NSMutableDictionary extends NSDictionary { } NSMutableDictionary initWithCapacity_(int numItems) { - final _ret = - _lib._objc_msgSend_57(_id, _lib._sel_initWithCapacity_1, numItems); + final _ret = _lib._objc_msgSend_57( + _id, + _lib._sel_initWithCapacity_1, + numItems, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); @@ -44178,7 +56488,10 @@ class NSMutableDictionary extends NSDictionary { void addEntriesFromDictionary_(NSDictionary otherDictionary) { _lib._objc_msgSend_466( - _id, _lib._sel_addEntriesFromDictionary_1, otherDictionary._id); + _id, + _lib._sel_addEntriesFromDictionary_1, + otherDictionary._id, + ); } void removeAllObjects() { @@ -44194,30 +56507,49 @@ class NSMutableDictionary extends NSDictionary { } void setObject_forKeyedSubscript_(NSObject? obj, NSObject key) { - _lib._objc_msgSend_491(_id, _lib._sel_setObject_forKeyedSubscript_1, - obj?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_491( + _id, + _lib._sel_setObject_forKeyedSubscript_1, + obj?._id ?? ffi.nullptr, + key._id, + ); } static NSMutableDictionary dictionaryWithCapacity_( - PedometerBindings _lib, int numItems) { - final _ret = _lib._objc_msgSend_57(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithCapacity_1, numItems); + PedometerBindings _lib, + int numItems, + ) { + final _ret = _lib._objc_msgSend_57( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithCapacity_1, + numItems, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary? dictionaryWithContentsOfFile_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_492(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfFile_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_492( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary? dictionaryWithContentsOfURL_( - PedometerBindings _lib, NSURL url) { - final _ret = _lib._objc_msgSend_493(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_1, url._id); + PedometerBindings _lib, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_493( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); @@ -44225,211 +56557,326 @@ class NSMutableDictionary extends NSDictionary { NSMutableDictionary? initWithContentsOfFile_(NSString path) { final _ret = _lib._objc_msgSend_492( - _id, _lib._sel_initWithContentsOfFile_1, path._id); + _id, + _lib._sel_initWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } NSMutableDictionary? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_493(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_493( + _id, + _lib._sel_initWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithSharedKeySet_( - PedometerBindings _lib, NSObject keyset) { - final _ret = _lib._objc_msgSend_494(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithSharedKeySet_1, keyset._id); + PedometerBindings _lib, + NSObject keyset, + ) { + final _ret = _lib._objc_msgSend_494( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithSharedKeySet_1, + keyset._id, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } void setValue_forKey_(NSObject? value, NSString key) { _lib._objc_msgSend_127( - _id, _lib._sel_setValue_forKey_1, value?._id ?? ffi.nullptr, key._id); + _id, + _lib._sel_setValue_forKey_1, + value?._id ?? ffi.nullptr, + key._id, + ); } @override NSMutableDictionary initWithObjects_forKeys_count_( - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { final _ret = _lib._objc_msgSend_139( - _id, _lib._sel_initWithObjects_forKeys_count_1, objects, keys, cnt); + _id, + _lib._sel_initWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionary(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_dictionary1); + _lib._class_NSMutableDictionary1, + _lib._sel_dictionary1, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObject_forKey_( - PedometerBindings _lib, NSObject object, NSObject key) { - final _ret = _lib._objc_msgSend_150(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObject_forKey_1, object._id, key._id); + PedometerBindings _lib, + NSObject object, + NSObject key, + ) { + final _ret = _lib._objc_msgSend_150( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObject_forKey_1, + object._id, + key._id, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_count_( - PedometerBindings _lib, - ffi.Pointer> objects, - ffi.Pointer> keys, - int cnt) { - final _ret = _lib._objc_msgSend_139(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_count_1, objects, keys, cnt); + PedometerBindings _lib, + ffi.Pointer> objects, + ffi.Pointer> keys, + int cnt, + ) { + final _ret = _lib._objc_msgSend_139( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_count_1, + objects, + keys, + cnt, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjectsAndKeys_( - PedometerBindings _lib, NSObject firstObject) { - final _ret = _lib._objc_msgSend_116(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjectsAndKeys_1, firstObject._id); + PedometerBindings _lib, + NSObject firstObject, + ) { + final _ret = _lib._objc_msgSend_116( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjectsAndKeys_1, + firstObject._id, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithDictionary_( - PedometerBindings _lib, NSDictionary dict) { - final _ret = _lib._objc_msgSend_151(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithDictionary_1, dict._id); + PedometerBindings _lib, + NSDictionary dict, + ) { + final _ret = _lib._objc_msgSend_151( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithDictionary_1, + dict._id, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary dictionaryWithObjects_forKeys_( - PedometerBindings _lib, NSArray objects, NSArray keys) { - final _ret = _lib._objc_msgSend_152(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithObjects_forKeys_1, objects._id, keys._id); + PedometerBindings _lib, + NSArray objects, + NSArray keys, + ) { + final _ret = _lib._objc_msgSend_152( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithObjects_forKeys_1, + objects._id, + keys._id, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithObjectsAndKeys_(NSObject firstObject) { final _ret = _lib._objc_msgSend_116( - _id, _lib._sel_initWithObjectsAndKeys_1, firstObject._id); + _id, + _lib._sel_initWithObjectsAndKeys_1, + firstObject._id, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_(NSDictionary otherDictionary) { final _ret = _lib._objc_msgSend_151( - _id, _lib._sel_initWithDictionary_1, otherDictionary._id); + _id, + _lib._sel_initWithDictionary_1, + otherDictionary._id, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } @override NSMutableDictionary initWithDictionary_copyItems_( - NSDictionary otherDictionary, bool flag) { - final _ret = _lib._objc_msgSend_153(_id, - _lib._sel_initWithDictionary_copyItems_1, otherDictionary._id, flag); + NSDictionary otherDictionary, + bool flag, + ) { + final _ret = _lib._objc_msgSend_153( + _id, + _lib._sel_initWithDictionary_copyItems_1, + otherDictionary._id, + flag, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } @override NSMutableDictionary initWithObjects_forKeys_(NSArray objects, NSArray keys) { final _ret = _lib._objc_msgSend_152( - _id, _lib._sel_initWithObjects_forKeys_1, objects._id, keys._id); + _id, + _lib._sel_initWithObjects_forKeys_1, + objects._id, + keys._id, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } static NSDictionary? dictionaryWithContentsOfURL_error_( - PedometerBindings _lib, - NSURL url, - ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_154(_lib._class_NSMutableDictionary1, - _lib._sel_dictionaryWithContentsOfURL_error_1, url._id, error); + PedometerBindings _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_154( + _lib._class_NSMutableDictionary1, + _lib._sel_dictionaryWithContentsOfURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } static NSObject sharedKeySetForKeys_(PedometerBindings _lib, NSArray keys) { - final _ret = _lib._objc_msgSend_117(_lib._class_NSMutableDictionary1, - _lib._sel_sharedKeySetForKeys_1, keys._id); + final _ret = _lib._objc_msgSend_117( + _lib._class_NSMutableDictionary1, + _lib._sel_sharedKeySetForKeys_1, + keys._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSMutableDictionary new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableDictionary1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableDictionary1, + _lib._sel_new1, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static NSMutableDictionary allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableDictionary1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableDictionary1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static NSMutableDictionary alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_alloc1); + _lib._class_NSMutableDictionary1, + _lib._sel_alloc1, + ); return NSMutableDictionary._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableDictionary1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableDictionary1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableDictionary1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableDictionary1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableDictionary1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableDictionary1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableDictionary1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMutableDictionary1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMutableDictionary1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMutableDictionary1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMutableDictionary1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableDictionary1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSMutableDictionary1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSMutableDictionary1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableDictionary1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableDictionary1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -44443,9 +56890,12 @@ abstract class NSQualityOfService { } class NSItemProvider extends NSObject { - NSItemProvider._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSItemProvider._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSItemProvider] that points to the same underlying object as [other]. static NSItemProvider castFrom(T other) { @@ -44454,15 +56904,21 @@ class NSItemProvider extends NSObject { /// Returns a [NSItemProvider] that wraps the given raw object pointer. static NSItemProvider castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSItemProvider._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSItemProvider]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSItemProvider1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSItemProvider1, + ); } @override @@ -44472,88 +56928,109 @@ class NSItemProvider extends NSObject { } void registerDataRepresentationForTypeIdentifier_visibility_loadHandler_( - NSString typeIdentifier, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler) { + NSString typeIdentifier, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSDataNSError loadHandler, + ) { _lib._objc_msgSend_521( - _id, - _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, - typeIdentifier._id, - visibility, - loadHandler._id); + _id, + _lib._sel_registerDataRepresentationForTypeIdentifier_visibility_loadHandler_1, + typeIdentifier._id, + visibility, + loadHandler._id, + ); } void - registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( - NSString typeIdentifier, - int fileOptions, - int visibility, - ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler) { + registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_( + NSString typeIdentifier, + int fileOptions, + int visibility, + ObjCBlock_NSProgress_ffiVoidNSURLboolNSError loadHandler, + ) { _lib._objc_msgSend_522( - _id, - _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, - typeIdentifier._id, - fileOptions, - visibility, - loadHandler._id); + _id, + _lib._sel_registerFileRepresentationForTypeIdentifier_fileOptions_visibility_loadHandler_1, + typeIdentifier._id, + fileOptions, + visibility, + loadHandler._id, + ); } NSArray get registeredTypeIdentifiers { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_registeredTypeIdentifiers1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_registeredTypeIdentifiers1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray registeredTypeIdentifiersWithFileOptions_(int fileOptions) { final _ret = _lib._objc_msgSend_523( - _id, _lib._sel_registeredTypeIdentifiersWithFileOptions_1, fileOptions); + _id, + _lib._sel_registeredTypeIdentifiersWithFileOptions_1, + fileOptions, + ); return NSArray._(_ret, _lib, retain: true, release: true); } bool hasItemConformingToTypeIdentifier_(NSString typeIdentifier) { return _lib._objc_msgSend_56( - _id, _lib._sel_hasItemConformingToTypeIdentifier_1, typeIdentifier._id); + _id, + _lib._sel_hasItemConformingToTypeIdentifier_1, + typeIdentifier._id, + ); } bool hasRepresentationConformingToTypeIdentifier_fileOptions_( - NSString typeIdentifier, int fileOptions) { + NSString typeIdentifier, + int fileOptions, + ) { return _lib._objc_msgSend_524( - _id, - _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, - typeIdentifier._id, - fileOptions); + _id, + _lib._sel_hasRepresentationConformingToTypeIdentifier_fileOptions_1, + typeIdentifier._id, + fileOptions, + ); } NSProgress loadDataRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSData_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSData_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_525( - _id, - _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + _id, + _lib._sel_loadDataRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier._id, + completionHandler._id, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress loadFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_526( - _id, - _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + _id, + _lib._sel_loadFileRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier._id, + completionHandler._id, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_NSURL_bool_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_527( - _id, - _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, - typeIdentifier._id, - completionHandler._id); + _id, + _lib._sel_loadInPlaceFileRepresentationForTypeIdentifier_completionHandler_1, + typeIdentifier._id, + completionHandler._id, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } @@ -44566,193 +57043,268 @@ class NSItemProvider extends NSObject { set suggestedName(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setSuggestedName_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setSuggestedName_1, + value?._id ?? ffi.nullptr, + ); } NSItemProvider initWithObject_(NSObject object) { - final _ret = - _lib._objc_msgSend_116(_id, _lib._sel_initWithObject_1, object._id); + final _ret = _lib._objc_msgSend_116( + _id, + _lib._sel_initWithObject_1, + object._id, + ); return NSItemProvider._(_ret, _lib, retain: true, release: true); } void registerObject_visibility_(NSObject object, int visibility) { _lib._objc_msgSend_528( - _id, _lib._sel_registerObject_visibility_1, object._id, visibility); + _id, + _lib._sel_registerObject_visibility_1, + object._id, + visibility, + ); } void registerObjectOfClass_visibility_loadHandler_( - NSObject aClass, - int visibility, - ObjCBlock_NSProgress_ffiVoidObjCObjectNSError loadHandler) { + NSObject aClass, + int visibility, + ObjCBlock_NSProgress_ffiVoidObjCObjectNSError loadHandler, + ) { _lib._objc_msgSend_529( - _id, - _lib._sel_registerObjectOfClass_visibility_loadHandler_1, - aClass._id, - visibility, - loadHandler._id); + _id, + _lib._sel_registerObjectOfClass_visibility_loadHandler_1, + aClass._id, + visibility, + loadHandler._id, + ); } bool canLoadObjectOfClass_(NSObject aClass) { return _lib._objc_msgSend_0( - _id, _lib._sel_canLoadObjectOfClass_1, aClass._id); + _id, + _lib._sel_canLoadObjectOfClass_1, + aClass._id, + ); } NSProgress loadObjectOfClass_completionHandler_( - NSObject aClass, ObjCBlock_ffiVoid_ObjCObject_NSError completionHandler) { + NSObject aClass, + ObjCBlock_ffiVoid_ObjCObject_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_530( - _id, - _lib._sel_loadObjectOfClass_completionHandler_1, - aClass._id, - completionHandler._id); + _id, + _lib._sel_loadObjectOfClass_completionHandler_1, + aClass._id, + completionHandler._id, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSItemProvider initWithItem_typeIdentifier_( - NSObject? item, NSString? typeIdentifier) { + NSObject? item, + NSString? typeIdentifier, + ) { final _ret = _lib._objc_msgSend_531( - _id, - _lib._sel_initWithItem_typeIdentifier_1, - item?._id ?? ffi.nullptr, - typeIdentifier?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithItem_typeIdentifier_1, + item?._id ?? ffi.nullptr, + typeIdentifier?._id ?? ffi.nullptr, + ); return NSItemProvider._(_ret, _lib, retain: true, release: true); } NSItemProvider? initWithContentsOfURL_(NSURL fileURL) { final _ret = _lib._objc_msgSend_223( - _id, _lib._sel_initWithContentsOfURL_1, fileURL._id); + _id, + _lib._sel_initWithContentsOfURL_1, + fileURL._id, + ); return _ret.address == 0 ? null : NSItemProvider._(_ret, _lib, retain: true, release: true); } void registerItemForTypeIdentifier_loadHandler_( - NSString typeIdentifier, - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary - loadHandler) { + NSString typeIdentifier, + ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary + loadHandler, + ) { _lib._objc_msgSend_532( - _id, - _lib._sel_registerItemForTypeIdentifier_loadHandler_1, - typeIdentifier._id, - loadHandler._id); + _id, + _lib._sel_registerItemForTypeIdentifier_loadHandler_1, + typeIdentifier._id, + loadHandler._id, + ); } void loadItemForTypeIdentifier_options_completionHandler_( - NSString typeIdentifier, - NSDictionary? options, - ObjCBlock_ffiVoid_ObjCObject_NSError1? completionHandler) { + NSString typeIdentifier, + NSDictionary? options, + ObjCBlock_ffiVoid_ObjCObject_NSError1? completionHandler, + ) { _lib._objc_msgSend_533( - _id, - _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, - typeIdentifier._id, - options?._id ?? ffi.nullptr, - completionHandler?._id ?? ffi.nullptr); + _id, + _lib._sel_loadItemForTypeIdentifier_options_completionHandler_1, + typeIdentifier._id, + options?._id ?? ffi.nullptr, + completionHandler?._id ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary? - get previewImageHandler { + get previewImageHandler { final _ret = _lib._objc_msgSend_534(_id, _lib._sel_previewImageHandler1); return _ret.address == 0 ? null : ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - _ret, _lib, - retain: true, release: true); + _ret, + _lib, + retain: true, + release: true, + ); } set previewImageHandler( - ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary? - value) { + ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary? value, + ) { return _lib._objc_msgSend_535( - _id, _lib._sel_setPreviewImageHandler_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setPreviewImageHandler_1, + value?._id ?? ffi.nullptr, + ); } - void loadPreviewImageWithOptions_completionHandler_(NSDictionary options, - ObjCBlock_ffiVoid_ObjCObject_NSError1 completionHandler) { + void loadPreviewImageWithOptions_completionHandler_( + NSDictionary options, + ObjCBlock_ffiVoid_ObjCObject_NSError1 completionHandler, + ) { _lib._objc_msgSend_536( - _id, - _lib._sel_loadPreviewImageWithOptions_completionHandler_1, - options._id, - completionHandler._id); + _id, + _lib._sel_loadPreviewImageWithOptions_completionHandler_1, + options._id, + completionHandler._id, + ); } static NSItemProvider new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSItemProvider1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSItemProvider1, + _lib._sel_new1, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static NSItemProvider allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSItemProvider1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSItemProvider1, + _lib._sel_allocWithZone_1, + zone, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static NSItemProvider alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSItemProvider1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSItemProvider1, + _lib._sel_alloc1, + ); return NSItemProvider._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSItemProvider1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSItemProvider1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSItemProvider1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSItemProvider1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSItemProvider1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSItemProvider1, _lib._sel_useStoredAccessor1); + _lib._class_NSItemProvider1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSItemProvider1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSItemProvider1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSItemProvider1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSItemProvider1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSItemProvider1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSItemProvider1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSItemProvider1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSItemProvider1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSItemProvider1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSItemProvider1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -44764,38 +57316,47 @@ abstract class NSItemProviderRepresentationVisibility { static const int NSItemProviderRepresentationVisibilityOwnProcess = 3; } -ffi.Pointer< - ObjCObject> _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>)>()(arg0); +ffi.Pointer +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) + > + >() + .asFunction Function(ffi.Pointer<_ObjCBlock>)>()( + arg0, +); final _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry = Function(ffi.Pointer<_ObjCBlock>)>{}; int _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn, +) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[ - block.ref.target.address]!(arg0); +_ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, +) => _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSDataNSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -44803,22 +57364,28 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -44826,48 +57393,85 @@ class ObjCBlock_NSProgress_ffiVoidNSDataNSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction(PedometerBindings lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure((ffi - .Pointer<_ObjCBlock> - arg0) => - fn(ObjCBlock_ffiVoid_NSData_NSError._(arg0, lib, retain: true, release: true)) - ?._retainAndReturnId() ?? - ffi.nullptr)), - lib); + ObjCBlock_NSProgress_ffiVoidNSDataNSError.fromFunction( + PedometerBindings lib, + NSProgress? Function(ObjCBlock_ffiVoid_NSData_NSError) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSDataNSError_registerClosure( + (ffi.Pointer<_ObjCBlock> arg0) => + fn( + ObjCBlock_ffiVoid_NSData_NSError._( + arg0, + lib, + retain: true, + release: true, + ), + )?._retainAndReturnId() ?? + ffi.nullptr, + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => _id.ref.invoke - .cast< - ffi.NativeFunction< + NSProgress? call(ObjCBlock_ffiVoid_NSData_NSError arg0) => + _id.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id) + .address == + 0 + ? null + : NSProgress._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id), + _lib, + retain: false, + release: true, + ); } class NSProgress extends NSObject { - NSProgress._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSProgress._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSProgress] that points to the same underlying object as [other]. static NSProgress castFrom(T other) { @@ -44876,75 +57480,104 @@ class NSProgress extends NSObject { /// Returns a [NSProgress] that wraps the given raw object pointer. static NSProgress castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProgress._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProgress]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSProgress1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSProgress1, + ); } static NSProgress? currentProgress(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_506( - _lib._class_NSProgress1, _lib._sel_currentProgress1); + _lib._class_NSProgress1, + _lib._sel_currentProgress1, + ); return _ret.address == 0 ? null : NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress progressWithTotalUnitCount_( - PedometerBindings _lib, int unitCount) { - final _ret = _lib._objc_msgSend_507(_lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_1, unitCount); + PedometerBindings _lib, + int unitCount, + ) { + final _ret = _lib._objc_msgSend_507( + _lib._class_NSProgress1, + _lib._sel_progressWithTotalUnitCount_1, + unitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress discreteProgressWithTotalUnitCount_( - PedometerBindings _lib, int unitCount) { - final _ret = _lib._objc_msgSend_507(_lib._class_NSProgress1, - _lib._sel_discreteProgressWithTotalUnitCount_1, unitCount); + PedometerBindings _lib, + int unitCount, + ) { + final _ret = _lib._objc_msgSend_507( + _lib._class_NSProgress1, + _lib._sel_discreteProgressWithTotalUnitCount_1, + unitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } static NSProgress progressWithTotalUnitCount_parent_pendingUnitCount_( - PedometerBindings _lib, - int unitCount, - NSProgress parent, - int portionOfParentTotalUnitCount) { + PedometerBindings _lib, + int unitCount, + NSProgress parent, + int portionOfParentTotalUnitCount, + ) { final _ret = _lib._objc_msgSend_508( - _lib._class_NSProgress1, - _lib._sel_progressWithTotalUnitCount_parent_pendingUnitCount_1, - unitCount, - parent._id, - portionOfParentTotalUnitCount); + _lib._class_NSProgress1, + _lib._sel_progressWithTotalUnitCount_parent_pendingUnitCount_1, + unitCount, + parent._id, + portionOfParentTotalUnitCount, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } NSProgress initWithParent_userInfo_( - NSProgress? parentProgressOrNil, NSObject? userInfoOrNil) { + NSProgress? parentProgressOrNil, + NSObject? userInfoOrNil, + ) { final _ret = _lib._objc_msgSend_509( - _id, - _lib._sel_initWithParent_userInfo_1, - parentProgressOrNil?._id ?? ffi.nullptr, - userInfoOrNil?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithParent_userInfo_1, + parentProgressOrNil?._id ?? ffi.nullptr, + userInfoOrNil?._id ?? ffi.nullptr, + ); return NSProgress._(_ret, _lib, retain: true, release: true); } void becomeCurrentWithPendingUnitCount_(int unitCount) { _lib._objc_msgSend_510( - _id, _lib._sel_becomeCurrentWithPendingUnitCount_1, unitCount); + _id, + _lib._sel_becomeCurrentWithPendingUnitCount_1, + unitCount, + ); } void performAsCurrentWithPendingUnitCount_usingBlock_( - int unitCount, ObjCBlock_ffiVoid work) { + int unitCount, + ObjCBlock_ffiVoid work, + ) { _lib._objc_msgSend_511( - _id, - _lib._sel_performAsCurrentWithPendingUnitCount_usingBlock_1, - unitCount, - work._id); + _id, + _lib._sel_performAsCurrentWithPendingUnitCount_usingBlock_1, + unitCount, + work._id, + ); } void resignCurrent() { @@ -44953,7 +57586,11 @@ class NSProgress extends NSObject { void addChild_withPendingUnitCount_(NSProgress child, int inUnitCount) { _lib._objc_msgSend_512( - _id, _lib._sel_addChild_withPendingUnitCount_1, child._id, inUnitCount); + _id, + _lib._sel_addChild_withPendingUnitCount_1, + child._id, + inUnitCount, + ); } int get totalUnitCount { @@ -44970,7 +57607,10 @@ class NSProgress extends NSObject { set completedUnitCount(int value) { return _lib._objc_msgSend_514( - _id, _lib._sel_setCompletedUnitCount_1, value); + _id, + _lib._sel_setCompletedUnitCount_1, + value, + ); } NSString get localizedDescription { @@ -44980,18 +57620,26 @@ class NSProgress extends NSObject { set localizedDescription(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setLocalizedDescription_1, value._id); + _id, + _lib._sel_setLocalizedDescription_1, + value._id, + ); } NSString get localizedAdditionalDescription { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_localizedAdditionalDescription1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_localizedAdditionalDescription1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set localizedAdditionalDescription(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setLocalizedAdditionalDescription_1, value._id); + _id, + _lib._sel_setLocalizedAdditionalDescription_1, + value._id, + ); } bool get cancellable { @@ -45027,7 +57675,10 @@ class NSProgress extends NSObject { set cancellationHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_517( - _id, _lib._sel_setCancellationHandler_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setCancellationHandler_1, + value?._id ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid? get pausingHandler { @@ -45039,7 +57690,10 @@ class NSProgress extends NSObject { set pausingHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_517( - _id, _lib._sel_setPausingHandler_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setPausingHandler_1, + value?._id ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid? get resumingHandler { @@ -45051,12 +57705,19 @@ class NSProgress extends NSObject { set resumingHandler(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_517( - _id, _lib._sel_setResumingHandler_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setResumingHandler_1, + value?._id ?? ffi.nullptr, + ); } void setUserInfoObject_forKey_(NSObject? objectOrNil, NSString key) { - _lib._objc_msgSend_127(_id, _lib._sel_setUserInfoObject_forKey_1, - objectOrNil?._id ?? ffi.nullptr, key._id); + _lib._objc_msgSend_127( + _id, + _lib._sel_setUserInfoObject_forKey_1, + objectOrNil?._id ?? ffi.nullptr, + key._id, + ); } bool get indeterminate { @@ -45099,7 +57760,10 @@ class NSProgress extends NSObject { set kind(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setKind_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setKind_1, + value?._id ?? ffi.nullptr, + ); } NSNumber? get estimatedTimeRemaining { @@ -45111,7 +57775,10 @@ class NSProgress extends NSObject { set estimatedTimeRemaining(NSNumber? value) { return _lib._objc_msgSend_518( - _id, _lib._sel_setEstimatedTimeRemaining_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setEstimatedTimeRemaining_1, + value?._id ?? ffi.nullptr, + ); } NSNumber? get throughput { @@ -45123,7 +57790,10 @@ class NSProgress extends NSObject { set throughput(NSNumber? value) { return _lib._objc_msgSend_518( - _id, _lib._sel_setThroughput_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setThroughput_1, + value?._id ?? ffi.nullptr, + ); } NSString? get fileOperationKind { @@ -45135,7 +57805,10 @@ class NSProgress extends NSObject { set fileOperationKind(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setFileOperationKind_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setFileOperationKind_1, + value?._id ?? ffi.nullptr, + ); } NSURL? get fileURL { @@ -45147,7 +57820,10 @@ class NSProgress extends NSObject { set fileURL(NSURL? value) { return _lib._objc_msgSend_519( - _id, _lib._sel_setFileURL_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setFileURL_1, + value?._id ?? ffi.nullptr, + ); } NSNumber? get fileTotalCount { @@ -45159,7 +57835,10 @@ class NSProgress extends NSObject { set fileTotalCount(NSNumber? value) { return _lib._objc_msgSend_518( - _id, _lib._sel_setFileTotalCount_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setFileTotalCount_1, + value?._id ?? ffi.nullptr, + ); } NSNumber? get fileCompletedCount { @@ -45171,7 +57850,10 @@ class NSProgress extends NSObject { set fileCompletedCount(NSNumber? value) { return _lib._objc_msgSend_518( - _id, _lib._sel_setFileCompletedCount_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setFileCompletedCount_1, + value?._id ?? ffi.nullptr, + ); } void publish() { @@ -45183,20 +57865,25 @@ class NSProgress extends NSObject { } static NSObject addSubscriberForFileURL_withPublishingHandler_( - PedometerBindings _lib, - NSURL url, - ObjCBlock_ffiVoid_NSProgress publishingHandler) { + PedometerBindings _lib, + NSURL url, + ObjCBlock_ffiVoid_NSProgress publishingHandler, + ) { final _ret = _lib._objc_msgSend_520( - _lib._class_NSProgress1, - _lib._sel_addSubscriberForFileURL_withPublishingHandler_1, - url._id, - publishingHandler._id); + _lib._class_NSProgress1, + _lib._sel_addSubscriberForFileURL_withPublishingHandler_1, + url._id, + publishingHandler._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static void removeSubscriber_(PedometerBindings _lib, NSObject subscriber) { _lib._objc_msgSend_15( - _lib._class_NSProgress1, _lib._sel_removeSubscriber_1, subscriber._id); + _lib._class_NSProgress1, + _lib._sel_removeSubscriber_1, + subscriber._id, + ); } bool get old { @@ -45215,111 +57902,155 @@ class NSProgress extends NSObject { } static NSProgress allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSProgress1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSProgress1, + _lib._sel_allocWithZone_1, + zone, + ); return NSProgress._(_ret, _lib, retain: false, release: true); } static NSProgress alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProgress1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProgress1, + _lib._sel_alloc1, + ); return NSProgress._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSProgress1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSProgress1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSProgress1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProgress1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSProgress1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProgress1, _lib._sel_useStoredAccessor1); + _lib._class_NSProgress1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSProgress1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSProgress1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSProgress1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSProgress1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSProgress1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSProgress1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSProgress1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSProgress1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSProgress1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSProgress1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } ffi.Pointer<_ObjCBlock> _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer arg0)>>() - .asFunction< - ffi.Pointer<_ObjCBlock> Function(ffi.Pointer)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function(ffi.Pointer arg0) + > + >() + .asFunction Function(ffi.Pointer)>()( + arg0, +); final _ObjCBlock_ffiVoid_NSProgress_closureRegistry = Function(ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSProgress_registerClosure( - ffi.Pointer<_ObjCBlock> Function(ffi.Pointer) fn) { + ffi.Pointer<_ObjCBlock> Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSProgress_closureRegistryIndex; _ObjCBlock_ffiVoid_NSProgress_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } ffi.Pointer<_ObjCBlock> _ObjCBlock_ffiVoid_NSProgress_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( - arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSProgress_closureRegistry[block.ref.target.address]!( + arg0, +); class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSProgress._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -45327,22 +58058,26 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function(ffi.Pointer arg0) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSProgress_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45351,77 +58086,113 @@ class ObjCBlock_ffiVoid_NSProgress extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSProgress.fromFunction( - PedometerBindings lib, ObjCBlock_ffiVoid? Function(NSProgress) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSProgress_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSProgress_registerClosure( - (ffi.Pointer arg0) => - fn(NSProgress._(arg0, lib, retain: true, release: true)) - ?._retainAndReturnId() ?? - ffi.nullptr)), - lib); + PedometerBindings lib, + ObjCBlock_ffiVoid? Function(NSProgress) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSProgress_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSProgress_registerClosure( + (ffi.Pointer arg0) => + fn( + NSProgress._(arg0, lib, retain: true, release: true), + )?._retainAndReturnId() ?? + ffi.nullptr, + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; - ObjCBlock_ffiVoid? call(NSProgress arg0) => _id.ref.invoke - .cast< - ffi.NativeFunction< + ObjCBlock_ffiVoid? call(NSProgress arg0) => + _id.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer<_ObjCBlock> Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>() - (_id, arg0._id) - .address == - 0 - ? null - : ObjCBlock_ffiVoid._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >()(_id, arg0._id) + .address == + 0 + ? null + : ObjCBlock_ffiVoid._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() + .asFunction< + ffi.Pointer<_ObjCBlock> Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >()(_id, arg0._id), + _lib, + retain: false, + release: true, + ); } void _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -45429,23 +58200,30 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45454,22 +58232,31 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSError.fromFunction( - PedometerBindings lib, void Function(NSData?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSData?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45482,40 +58269,59 @@ class ObjCBlock_ffiVoid_NSData_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_NSError.listener( - PedometerBindings lib, void Function(NSData?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, - retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSData?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSData_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSData? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } abstract class NSItemProviderFileOptions { @@ -45523,22 +58329,25 @@ abstract class NSItemProviderFileOptions { } ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>)>()(arg0); +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) + > + >() + .asFunction Function(ffi.Pointer<_ObjCBlock>)>()( + arg0, +); final _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry = Function(ffi.Pointer<_ObjCBlock>)>{}; int _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn, +) { final id = ++_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[id] = fn; @@ -45546,16 +58355,21 @@ ffi.Pointer } ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[ - block.ref.target.address]!(arg0); +_ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, +) => _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidNSURLboolNSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -45563,24 +58377,28 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction< - ffi.Pointer< - ObjCObject> - Function(ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45589,80 +58407,126 @@ class ObjCBlock_NSProgress_ffiVoidNSURLboolNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidNSURLboolNSError.fromFunction( - PedometerBindings lib, - NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0) => - fn(ObjCBlock_ffiVoid_NSURL_bool_NSError._(arg0, lib, retain: true, release: true)) - ?._retainAndReturnId() ?? - ffi.nullptr)), - lib); + PedometerBindings lib, + NSProgress? Function(ObjCBlock_ffiVoid_NSURL_bool_NSError) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >( + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidNSURLboolNSError_registerClosure( + (ffi.Pointer<_ObjCBlock> arg0) => + fn( + ObjCBlock_ffiVoid_NSURL_bool_NSError._( + arg0, + lib, + retain: true, + release: true, + ), + )?._retainAndReturnId() ?? + ffi.nullptr, + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => _id.ref.invoke - .cast< - ffi.NativeFunction< + NSProgress? call(ObjCBlock_ffiVoid_NSURL_bool_NSError arg0) => + _id.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id) + .address == + 0 + ? null + : NSProgress._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id), + _lib, + retain: false, + release: true, + ); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, bool, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry = + < + int, + void Function(ffi.Pointer, bool, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function(ffi.Pointer, bool, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_bool_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -45670,24 +58534,32 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45696,23 +58568,37 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_bool_NSError.fromFunction( - PedometerBindings lib, void Function(NSURL?, bool, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Bool, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURL?, bool, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( + ( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45725,77 +58611,114 @@ class ObjCBlock_ffiVoid_NSURL_bool_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_bool_NSError.listener( - PedometerBindings lib, void Function(NSURL?, bool, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Bool, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 - ? null - : NSError._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURL?, bool, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_bool_NSError_registerClosure( + ( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSURL? arg0, bool arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - bool, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1, arg2?._id ?? ffi.nullptr); } void _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block.ref.target.address]!( - arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSURL_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -45803,23 +58726,30 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45828,22 +58758,31 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSError.fromFunction( - PedometerBindings lib, void Function(NSURL?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURL?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -45856,58 +58795,81 @@ class ObjCBlock_ffiVoid_NSURL_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_NSError.listener( - PedometerBindings lib, void Function(NSURL?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURL?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSURL_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSURL? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>)>()(arg0); +_ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) + > + >() + .asFunction Function(ffi.Pointer<_ObjCBlock>)>()( + arg0, +); final _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry = Function(ffi.Pointer<_ObjCBlock>)>{}; int _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( - ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn) { +_ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( + ffi.Pointer Function(ffi.Pointer<_ObjCBlock>) fn, +) { final id = ++_ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistryIndex; _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[id] = fn; @@ -45915,16 +58877,21 @@ ffi.Pointer } ffi.Pointer - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0) => - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[ - block.ref.target.address]!(arg0); +_ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, +) => _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { ObjCBlock_NSProgress_ffiVoidObjCObjectNSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -45932,22 +58899,28 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidObjCObjectNSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer<_ObjCBlock> arg0) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >( + _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -45956,78 +58929,120 @@ class ObjCBlock_NSProgress_ffiVoidObjCObjectNSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_NSProgress_ffiVoidObjCObjectNSError.fromFunction( - PedometerBindings lib, - NSProgress? Function(ObjCBlock_ffiVoid_ObjCObject_NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Pointer Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>)>( - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline) - .cast(), - _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0) => - fn(ObjCBlock_ffiVoid_ObjCObject_NSError._(arg0, lib, retain: true, release: true)) - ?._retainAndReturnId() ?? - ffi.nullptr)), - lib); + PedometerBindings lib, + NSProgress? Function(ObjCBlock_ffiVoid_ObjCObject_NSError) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >( + _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_closureTrampoline, + ).cast(), + _ObjCBlock_NSProgress_ffiVoidObjCObjectNSError_registerClosure( + (ffi.Pointer<_ObjCBlock> arg0) => + fn( + ObjCBlock_ffiVoid_ObjCObject_NSError._( + arg0, + lib, + retain: true, + release: true, + ), + )?._retainAndReturnId() ?? + ffi.nullptr, + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; - NSProgress? call(ObjCBlock_ffiVoid_ObjCObject_NSError arg0) => _id.ref.invoke - .cast< - ffi.NativeFunction< + NSProgress? call(ObjCBlock_ffiVoid_ObjCObject_NSError arg0) => + _id.ref.invoke + .cast< + ffi.NativeFunction< ffi.Pointer Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>() - (_id, arg0._id) - .address == - 0 - ? null - : NSProgress._( - _id.ref.invoke - .cast Function(ffi.Pointer<_ObjCBlock> block, ffi.Pointer<_ObjCBlock> arg0)>>() - .asFunction Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>)>()(_id, arg0._id), - _lib, - retain: false, - release: true); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id) + .address == + 0 + ? null + : NSProgress._( + _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ) + > + >() + .asFunction< + ffi.Pointer Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ) + >()(_id, arg0._id), + _lib, + retain: false, + release: true, + ); } void _ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_ObjCObject_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -46035,23 +59050,30 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46060,19 +59082,31 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_NSError.fromFunction( - PedometerBindings lib, void Function(NSObject?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSObject?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -46085,87 +59119,133 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ObjCObject_NSError.listener( - PedometerBindings lib, void Function(NSObject?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi - .NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSObject?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ObjCObject_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } void - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); +_ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry = - , ffi.Pointer, - ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistryIndex = + < + int, + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >{}; +int +_ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistryIndex; - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry[ - id] = fn; + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); +void +_ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary extends _ObjCBlockBase { ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -46173,26 +59253,34 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46201,21 +59289,41 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.fromFunction( - PedometerBindings lib, - void Function(ObjCBlock_ffiVoid_ObjCObject_NSError1, NSObject, NSDictionary) - fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - ObjCBlock_ffiVoid_ObjCObject_NSError1._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(ObjCBlock_ffiVoid_ObjCObject_NSError1, NSObject, NSDictionary) + fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer<_ObjCBlock> arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + ObjCBlock_ffiVoid_ObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -46228,84 +59336,120 @@ class ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary.listener( - PedometerBindings lib, - void Function(ObjCBlock_ffiVoid_ObjCObject_NSError1, NSObject, NSDictionary) - fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( - (ffi.Pointer<_ObjCBlock> arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - ObjCBlock_ffiVoid_ObjCObject_NSError1._(arg0, lib, retain: true, release: true), - NSObject._(arg1, lib, retain: true, release: true), - NSDictionary._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(ObjCBlock_ffiVoid_ObjCObject_NSError1, NSObject, NSDictionary) + fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ffiVoidObjCObjectNSError_ObjCObject_NSDictionary_registerClosure( + ( + ffi.Pointer<_ObjCBlock> arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + ObjCBlock_ffiVoid_ObjCObject_NSError1._( + arg0, + lib, + retain: true, + release: true, + ), + NSObject._(arg1, lib, retain: true, release: true), + NSDictionary._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call( + ObjCBlock_ffiVoid_ObjCObject_NSError1 arg0, + NSObject arg1, + NSDictionary arg2, + ) => _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer<_ObjCBlock> arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(ObjCBlock_ffiVoid_ObjCObject_NSError1 arg0, NSObject arg1, - NSDictionary arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer<_ObjCBlock> arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>()( - _id, arg0._id, arg1._id, arg2._id); + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id, arg2._id); } void _ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistryIndex; _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_NSError1._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -46313,23 +59457,30 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_NSError1.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_ObjCObject_NSError1_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -46338,19 +59489,31 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_NSError1.fromFunction( - PedometerBindings lib, void Function(NSObject?, NSError) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSObject?, NSError) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -46363,71 +59526,113 @@ class ObjCBlock_ffiVoid_ObjCObject_NSError1 extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_ObjCObject_NSError1.listener( - PedometerBindings lib, void Function(NSObject?, NSError) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi - .NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSObject._(arg0, lib, retain: true, release: true), - NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSObject?, NSError) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_NSError1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ObjCObject_NSError1_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSObject? arg0, NSError arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1._id); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1._id); } class NSMutableString extends NSString { - NSMutableString._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableString._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMutableString] that points to the same underlying object as [other]. static NSMutableString castFrom(T other) { - return NSMutableString._(other._id, other._lib, - retain: true, release: true); + return NSMutableString._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableString] that wraps the given raw object pointer. static NSMutableString castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableString]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableString1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMutableString1, + ); } void replaceCharactersInRange_withString_(_NSRange range, NSString aString) { - _lib._objc_msgSend_537(_id, _lib._sel_replaceCharactersInRange_withString_1, - range, aString._id); + _lib._objc_msgSend_537( + _id, + _lib._sel_replaceCharactersInRange_withString_1, + range, + aString._id, + ); } void insertString_atIndex_(NSString aString, int loc) { _lib._objc_msgSend_538( - _id, _lib._sel_insertString_atIndex_1, aString._id, loc); + _id, + _lib._sel_insertString_atIndex_1, + aString._id, + loc, + ); } void deleteCharactersInRange_(_NSRange range) { @@ -46446,38 +59651,56 @@ class NSMutableString extends NSString { _lib._objc_msgSend_199(_id, _lib._sel_setString_1, aString._id); } - int replaceOccurrencesOfString_withString_options_range_(NSString target, - NSString replacement, int options, _NSRange searchRange) { + int replaceOccurrencesOfString_withString_options_range_( + NSString target, + NSString replacement, + int options, + _NSRange searchRange, + ) { return _lib._objc_msgSend_539( - _id, - _lib._sel_replaceOccurrencesOfString_withString_options_range_1, - target._id, - replacement._id, - options, - searchRange); + _id, + _lib._sel_replaceOccurrencesOfString_withString_options_range_1, + target._id, + replacement._id, + options, + searchRange, + ); } - bool applyTransform_reverse_range_updatedRange_(NSString transform, - bool reverse, _NSRange range, ffi.Pointer<_NSRange> resultingRange) { + bool applyTransform_reverse_range_updatedRange_( + NSString transform, + bool reverse, + _NSRange range, + ffi.Pointer<_NSRange> resultingRange, + ) { return _lib._objc_msgSend_540( - _id, - _lib._sel_applyTransform_reverse_range_updatedRange_1, - transform._id, - reverse, - range, - resultingRange); + _id, + _lib._sel_applyTransform_reverse_range_updatedRange_1, + transform._id, + reverse, + range, + resultingRange, + ); } NSMutableString initWithCapacity_(int capacity) { - final _ret = - _lib._objc_msgSend_541(_id, _lib._sel_initWithCapacity_1, capacity); + final _ret = _lib._objc_msgSend_541( + _id, + _lib._sel_initWithCapacity_1, + capacity, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString stringWithCapacity_( - PedometerBindings _lib, int capacity) { + PedometerBindings _lib, + int capacity, + ) { final _ret = _lib._objc_msgSend_541( - _lib._class_NSMutableString1, _lib._sel_stringWithCapacity_1, capacity); + _lib._class_NSMutableString1, + _lib._sel_stringWithCapacity_1, + capacity, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @@ -46489,70 +59712,99 @@ class NSMutableString extends NSString { @override NSMutableString? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static ffi.Pointer getAvailableStringEncodings( - PedometerBindings _lib) { + PedometerBindings _lib, + ) { return _lib._objc_msgSend_312( - _lib._class_NSMutableString1, _lib._sel_availableStringEncodings1); + _lib._class_NSMutableString1, + _lib._sel_availableStringEncodings1, + ); } static NSString localizedNameOfStringEncoding_( - PedometerBindings _lib, int encoding) { - final _ret = _lib._objc_msgSend_269(_lib._class_NSMutableString1, - _lib._sel_localizedNameOfStringEncoding_1, encoding); + PedometerBindings _lib, + int encoding, + ) { + final _ret = _lib._objc_msgSend_269( + _lib._class_NSMutableString1, + _lib._sel_localizedNameOfStringEncoding_1, + encoding, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int getDefaultCStringEncoding(PedometerBindings _lib) { return _lib._objc_msgSend_10( - _lib._class_NSMutableString1, _lib._sel_defaultCStringEncoding1); + _lib._class_NSMutableString1, + _lib._sel_defaultCStringEncoding1, + ); } @override NSMutableString initWithCharactersNoCopy_length_freeWhenDone_( - ffi.Pointer characters, int length, bool freeBuffer) { + ffi.Pointer characters, + int length, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_324( - _id, - _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, - characters, - length, - freeBuffer); + _id, + _lib._sel_initWithCharactersNoCopy_length_freeWhenDone_1, + characters, + length, + freeBuffer, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } @override NSMutableString initWithCharactersNoCopy_length_deallocator_( - ffi.Pointer chars, - int len, - ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator) { + ffi.Pointer chars, + int len, + ObjCBlock_ffiVoid_ffiUnsignedShort_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_325( - _id, - _lib._sel_initWithCharactersNoCopy_length_deallocator_1, - chars, - len, - deallocator?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithCharactersNoCopy_length_deallocator_1, + chars, + len, + deallocator?._id ?? ffi.nullptr, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } @override NSMutableString initWithCharacters_length_( - ffi.Pointer characters, int length) { + ffi.Pointer characters, + int length, + ) { final _ret = _lib._objc_msgSend_326( - _id, _lib._sel_initWithCharacters_length_1, characters, length); + _id, + _lib._sel_initWithCharacters_length_1, + characters, + length, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString? initWithUTF8String_( - ffi.Pointer nullTerminatedCString) { + ffi.Pointer nullTerminatedCString, + ) { final _ret = _lib._objc_msgSend_327( - _id, _lib._sel_initWithUTF8String_1, nullTerminatedCString); + _id, + _lib._sel_initWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46560,56 +59812,78 @@ class NSMutableString extends NSString { @override NSMutableString initWithString_(NSString aString) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, aString._id); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initWithString_1, + aString._id, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_(NSString format) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithFormat_1, format._id); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initWithFormat_1, + format._id, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_arguments_( - NSString format, ffi.Pointer argList) { + NSString format, + ffi.Pointer argList, + ) { final _ret = _lib._objc_msgSend_328( - _id, _lib._sel_initWithFormat_arguments_1, format._id, argList); + _id, + _lib._sel_initWithFormat_arguments_1, + format._id, + argList, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_locale_(NSString format, NSObject? locale) { - final _ret = _lib._objc_msgSend_329(_id, _lib._sel_initWithFormat_locale_1, - format._id, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_329( + _id, + _lib._sel_initWithFormat_locale_1, + format._id, + locale?._id ?? ffi.nullptr, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString initWithFormat_locale_arguments_( - NSString format, NSObject? locale, ffi.Pointer argList) { + NSString format, + NSObject? locale, + ffi.Pointer argList, + ) { final _ret = _lib._objc_msgSend_330( - _id, - _lib._sel_initWithFormat_locale_arguments_1, - format._id, - locale?._id ?? ffi.nullptr, - argList); + _id, + _lib._sel_initWithFormat_locale_arguments_1, + format._id, + locale?._id ?? ffi.nullptr, + argList, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_331( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _id, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_error_1, + format._id, + validFormatSpecifiers._id, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46617,17 +59891,19 @@ class NSMutableString extends NSString { @override NSMutableString? initWithValidatedFormat_validFormatSpecifiers_locale_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer> error) { + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_332( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_error_1, + format._id, + validFormatSpecifiers._id, + locale?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46635,18 +59911,20 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_333( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, - format._id, - validFormatSpecifiers._id, - argList, - error); + _id, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_arguments_error_1, + format._id, + validFormatSpecifiers._id, + argList, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46654,20 +59932,22 @@ class NSMutableString extends NSString { @override NSMutableString? - initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( - NSString format, - NSString validFormatSpecifiers, - NSObject? locale, - ffi.Pointer argList, - ffi.Pointer> error) { + initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_( + NSString format, + NSString validFormatSpecifiers, + NSObject? locale, + ffi.Pointer argList, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_334( - _id, - _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, - format._id, - validFormatSpecifiers._id, - locale?._id ?? ffi.nullptr, - argList, - error); + _id, + _lib._sel_initWithValidatedFormat_validFormatSpecifiers_locale_arguments_error_1, + format._id, + validFormatSpecifiers._id, + locale?._id ?? ffi.nullptr, + argList, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46676,7 +59956,11 @@ class NSMutableString extends NSString { @override NSMutableString? initWithData_encoding_(NSData data, int encoding) { final _ret = _lib._objc_msgSend_335( - _id, _lib._sel_initWithData_encoding_1, data._id, encoding); + _id, + _lib._sel_initWithData_encoding_1, + data._id, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46684,9 +59968,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytes_length_encoding_( - ffi.Pointer bytes, int len, int encoding) { + ffi.Pointer bytes, + int len, + int encoding, + ) { final _ret = _lib._objc_msgSend_336( - _id, _lib._sel_initWithBytes_length_encoding_1, bytes, len, encoding); + _id, + _lib._sel_initWithBytes_length_encoding_1, + bytes, + len, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46694,14 +59986,19 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytesNoCopy_length_encoding_freeWhenDone_( - ffi.Pointer bytes, int len, int encoding, bool freeBuffer) { + ffi.Pointer bytes, + int len, + int encoding, + bool freeBuffer, + ) { final _ret = _lib._objc_msgSend_337( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, - bytes, - len, - encoding, - freeBuffer); + _id, + _lib._sel_initWithBytesNoCopy_length_encoding_freeWhenDone_1, + bytes, + len, + encoding, + freeBuffer, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: false, release: true); @@ -46709,94 +60006,129 @@ class NSMutableString extends NSString { @override NSMutableString? initWithBytesNoCopy_length_encoding_deallocator_( - ffi.Pointer bytes, - int len, - int encoding, - ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator) { + ffi.Pointer bytes, + int len, + int encoding, + ObjCBlock_ffiVoid_ffiVoid_ffiUnsignedLong? deallocator, + ) { final _ret = _lib._objc_msgSend_338( - _id, - _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, - bytes, - len, - encoding, - deallocator?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithBytesNoCopy_length_encoding_deallocator_1, + bytes, + len, + encoding, + deallocator?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString string(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_string1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_string1, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString stringWithString_( - PedometerBindings _lib, NSString string) { + PedometerBindings _lib, + NSString string, + ) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, _lib._sel_stringWithString_1, string._id); + _lib._class_NSMutableString1, + _lib._sel_stringWithString_1, + string._id, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } - static NSMutableString stringWithCharacters_length_(PedometerBindings _lib, - ffi.Pointer characters, int length) { - final _ret = _lib._objc_msgSend_326(_lib._class_NSMutableString1, - _lib._sel_stringWithCharacters_length_1, characters, length); + static NSMutableString stringWithCharacters_length_( + PedometerBindings _lib, + ffi.Pointer characters, + int length, + ) { + final _ret = _lib._objc_msgSend_326( + _lib._class_NSMutableString1, + _lib._sel_stringWithCharacters_length_1, + characters, + length, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithUTF8String_( - PedometerBindings _lib, ffi.Pointer nullTerminatedCString) { - final _ret = _lib._objc_msgSend_327(_lib._class_NSMutableString1, - _lib._sel_stringWithUTF8String_1, nullTerminatedCString); + PedometerBindings _lib, + ffi.Pointer nullTerminatedCString, + ) { + final _ret = _lib._objc_msgSend_327( + _lib._class_NSMutableString1, + _lib._sel_stringWithUTF8String_1, + nullTerminatedCString, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString stringWithFormat_( - PedometerBindings _lib, NSString format) { + PedometerBindings _lib, + NSString format, + ) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSMutableString1, _lib._sel_stringWithFormat_1, format._id); + _lib._class_NSMutableString1, + _lib._sel_stringWithFormat_1, + format._id, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString localizedStringWithFormat_( - PedometerBindings _lib, NSString format) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSMutableString1, - _lib._sel_localizedStringWithFormat_1, format._id); + PedometerBindings _lib, + NSString format, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSMutableString1, + _lib._sel_localizedStringWithFormat_1, + format._id, + ); return NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? - stringWithValidatedFormat_validFormatSpecifiers_error_( - PedometerBindings _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + stringWithValidatedFormat_validFormatSpecifiers_error_( + PedometerBindings _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_331( - _lib._class_NSMutableString1, - _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithValidatedFormat_validFormatSpecifiers_error_1, + format._id, + validFormatSpecifiers._id, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? - localizedStringWithValidatedFormat_validFormatSpecifiers_error_( - PedometerBindings _lib, - NSString format, - NSString validFormatSpecifiers, - ffi.Pointer> error) { + localizedStringWithValidatedFormat_validFormatSpecifiers_error_( + PedometerBindings _lib, + NSString format, + NSString validFormatSpecifiers, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_331( - _lib._class_NSMutableString1, - _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, - format._id, - validFormatSpecifiers._id, - error); + _lib._class_NSMutableString1, + _lib._sel_localizedStringWithValidatedFormat_validFormatSpecifiers_error_1, + format._id, + validFormatSpecifiers._id, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46804,18 +60136,31 @@ class NSMutableString extends NSString { @override NSMutableString? initWithCString_encoding_( - ffi.Pointer nullTerminatedCString, int encoding) { - final _ret = _lib._objc_msgSend_339(_id, - _lib._sel_initWithCString_encoding_1, nullTerminatedCString, encoding); + ffi.Pointer nullTerminatedCString, + int encoding, + ) { + final _ret = _lib._objc_msgSend_339( + _id, + _lib._sel_initWithCString_encoding_1, + nullTerminatedCString, + encoding, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithCString_encoding_( - PedometerBindings _lib, ffi.Pointer cString, int enc) { - final _ret = _lib._objc_msgSend_339(_lib._class_NSMutableString1, - _lib._sel_stringWithCString_encoding_1, cString, enc); + PedometerBindings _lib, + ffi.Pointer cString, + int enc, + ) { + final _ret = _lib._objc_msgSend_339( + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_encoding_1, + cString, + enc, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46823,9 +60168,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfURL_encoding_error_( - NSURL url, int enc, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_340(_id, - _lib._sel_initWithContentsOfURL_encoding_error_1, url._id, enc, error); + NSURL url, + int enc, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_340( + _id, + _lib._sel_initWithContentsOfURL_encoding_error_1, + url._id, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46833,45 +60186,53 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfFile_encoding_error_( - NSString path, int enc, ffi.Pointer> error) { + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_341( - _id, - _lib._sel_initWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + _id, + _lib._sel_initWithContentsOfFile_encoding_error_1, + path._id, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_encoding_error_( - PedometerBindings _lib, - NSURL url, - int enc, - ffi.Pointer> error) { + PedometerBindings _lib, + NSURL url, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_340( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_encoding_error_1, - url._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_encoding_error_1, + url._id, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_encoding_error_( - PedometerBindings _lib, - NSString path, - int enc, - ffi.Pointer> error) { + PedometerBindings _lib, + NSString path, + int enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_341( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_encoding_error_1, - path._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_encoding_error_1, + path._id, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46879,15 +60240,17 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfURL_usedEncoding_error_( - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_342( - _id, - _lib._sel_initWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + _id, + _lib._sel_initWithContentsOfURL_usedEncoding_error_1, + url._id, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); @@ -46895,198 +60258,272 @@ class NSMutableString extends NSString { @override NSMutableString? initWithContentsOfFile_usedEncoding_error_( - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_343( - _id, - _lib._sel_initWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + _id, + _lib._sel_initWithContentsOfFile_usedEncoding_error_1, + path._id, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfURL_usedEncoding_error_( - PedometerBindings _lib, - NSURL url, - ffi.Pointer enc, - ffi.Pointer> error) { + PedometerBindings _lib, + NSURL url, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_342( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, - url._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_usedEncoding_error_1, + url._id, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static NSMutableString? stringWithContentsOfFile_usedEncoding_error_( - PedometerBindings _lib, - NSString path, - ffi.Pointer enc, - ffi.Pointer> error) { + PedometerBindings _lib, + NSString path, + ffi.Pointer enc, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_343( - _lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, - path._id, - enc, - error); + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_usedEncoding_error_1, + path._id, + enc, + error, + ); return _ret.address == 0 ? null : NSMutableString._(_ret, _lib, retain: true, release: true); } static int - stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( - PedometerBindings _lib, - NSData data, - NSDictionary? opts, - ffi.Pointer> string, - ffi.Pointer usedLossyConversion) { + stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_( + PedometerBindings _lib, + NSData data, + NSDictionary? opts, + ffi.Pointer> string, + ffi.Pointer usedLossyConversion, + ) { return _lib._objc_msgSend_344( - _lib._class_NSMutableString1, - _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, - data._id, - opts?._id ?? ffi.nullptr, - string, - usedLossyConversion); + _lib._class_NSMutableString1, + _lib._sel_stringEncodingForData_encodingOptions_convertedString_usedLossyConversion_1, + data._id, + opts?._id ?? ffi.nullptr, + string, + usedLossyConversion, + ); } static NSObject? stringWithContentsOfFile_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfFile_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfFile_1, + path._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithContentsOfURL_(PedometerBindings _lib, NSURL url) { - final _ret = _lib._objc_msgSend_223(_lib._class_NSMutableString1, - _lib._sel_stringWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_223( + _lib._class_NSMutableString1, + _lib._sel_stringWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_length_( - PedometerBindings _lib, ffi.Pointer bytes, int length) { - final _ret = _lib._objc_msgSend_339(_lib._class_NSMutableString1, - _lib._sel_stringWithCString_length_1, bytes, length); + PedometerBindings _lib, + ffi.Pointer bytes, + int length, + ) { + final _ret = _lib._objc_msgSend_339( + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_length_1, + bytes, + length, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSObject? stringWithCString_( - PedometerBindings _lib, ffi.Pointer bytes) { + PedometerBindings _lib, + ffi.Pointer bytes, + ) { final _ret = _lib._objc_msgSend_327( - _lib._class_NSMutableString1, _lib._sel_stringWithCString_1, bytes); + _lib._class_NSMutableString1, + _lib._sel_stringWithCString_1, + bytes, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } static NSString pathWithComponents_( - PedometerBindings _lib, NSArray components) { - final _ret = _lib._objc_msgSend_351(_lib._class_NSMutableString1, - _lib._sel_pathWithComponents_1, components._id); + PedometerBindings _lib, + NSArray components, + ) { + final _ret = _lib._objc_msgSend_351( + _lib._class_NSMutableString1, + _lib._sel_pathWithComponents_1, + components._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSMutableString new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_new1, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static NSMutableString alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableString1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableString1, + _lib._sel_alloc1, + ); return NSMutableString._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableString1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMutableString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMutableString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMutableString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMutableString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSMutableString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSMutableString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } /// Notifications class NSNotification extends NSObject { - NSNotification._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNotification._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSNotification] that points to the same underlying object as [other]. static NSNotification castFrom(T other) { @@ -47095,15 +60532,21 @@ class NSNotification extends NSObject { /// Returns a [NSNotification] that wraps the given raw object pointer. static NSNotification castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNotification._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNotification]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSNotification1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSNotification1, + ); } NSString get name { @@ -47126,45 +60569,58 @@ class NSNotification extends NSObject { } NSNotification initWithName_object_userInfo_( - NSString name, NSObject? object, NSDictionary? userInfo) { + NSString name, + NSObject? object, + NSDictionary? userInfo, + ) { final _ret = _lib._objc_msgSend_542( - _id, - _lib._sel_initWithName_object_userInfo_1, - name._id, - object?._id ?? ffi.nullptr, - userInfo?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithName_object_userInfo_1, + name._id, + object?._id ?? ffi.nullptr, + userInfo?._id ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } NSNotification? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSNotification._(_ret, _lib, retain: true, release: true); } static NSNotification notificationWithName_object_( - PedometerBindings _lib, NSString aName, NSObject? anObject) { + PedometerBindings _lib, + NSString aName, + NSObject? anObject, + ) { final _ret = _lib._objc_msgSend_329( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_1, - aName._id, - anObject?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_notificationWithName_object_1, + aName._id, + anObject?._id ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } static NSNotification notificationWithName_object_userInfo_( - PedometerBindings _lib, - NSString aName, - NSObject? anObject, - NSDictionary? aUserInfo) { + PedometerBindings _lib, + NSString aName, + NSObject? anObject, + NSDictionary? aUserInfo, + ) { final _ret = _lib._objc_msgSend_542( - _lib._class_NSNotification1, - _lib._sel_notificationWithName_object_userInfo_1, - aName._id, - anObject?._id ?? ffi.nullptr, - aUserInfo?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_notificationWithName_object_userInfo_1, + aName._id, + anObject?._id ?? ffi.nullptr, + aUserInfo?._id ?? ffi.nullptr, + ); return NSNotification._(_ret, _lib, retain: true, release: true); } @@ -47175,92 +60631,133 @@ class NSNotification extends NSObject { } static NSNotification new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNotification1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNotification1, + _lib._sel_new1, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static NSNotification allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNotification1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNotification1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static NSNotification alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNotification1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNotification1, + _lib._sel_alloc1, + ); return NSNotification._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNotification1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNotification1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNotification1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSNotification1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSNotification1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNotification1, _lib._sel_useStoredAccessor1); + _lib._class_NSNotification1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSNotification1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSNotification1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSNotification1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSNotification1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSNotification1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNotification1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSNotification1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNotification1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNotification1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNotification1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSBundle extends NSObject { - NSBundle._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSBundle._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSBundle] that points to the same underlying object as [other]. static NSBundle castFrom(T other) { @@ -47269,26 +60766,37 @@ class NSBundle extends NSObject { /// Returns a [NSBundle] that wraps the given raw object pointer. static NSBundle castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSBundle._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSBundle]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSBundle1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSBundle1, + ); } static NSBundle getMainBundle(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_543(_lib._class_NSBundle1, _lib._sel_mainBundle1); + final _ret = _lib._objc_msgSend_543( + _lib._class_NSBundle1, + _lib._sel_mainBundle1, + ); return NSBundle._(_ret, _lib, retain: true, release: true); } static NSBundle? bundleWithPath_(PedometerBindings _lib, NSString path) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSBundle1, _lib._sel_bundleWithPath_1, path._id); + _lib._class_NSBundle1, + _lib._sel_bundleWithPath_1, + path._id, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); @@ -47303,7 +60811,10 @@ class NSBundle extends NSObject { static NSBundle? bundleWithURL_(PedometerBindings _lib, NSURL url) { final _ret = _lib._objc_msgSend_223( - _lib._class_NSBundle1, _lib._sel_bundleWithURL_1, url._id); + _lib._class_NSBundle1, + _lib._sel_bundleWithURL_1, + url._id, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); @@ -47318,28 +60829,40 @@ class NSBundle extends NSObject { static NSBundle bundleForClass_(PedometerBindings _lib, NSObject aClass) { final _ret = _lib._objc_msgSend_544( - _lib._class_NSBundle1, _lib._sel_bundleForClass_1, aClass._id); + _lib._class_NSBundle1, + _lib._sel_bundleForClass_1, + aClass._id, + ); return NSBundle._(_ret, _lib, retain: true, release: true); } static NSBundle? bundleWithIdentifier_( - PedometerBindings _lib, NSString identifier) { - final _ret = _lib._objc_msgSend_545(_lib._class_NSBundle1, - _lib._sel_bundleWithIdentifier_1, identifier._id); + PedometerBindings _lib, + NSString identifier, + ) { + final _ret = _lib._objc_msgSend_545( + _lib._class_NSBundle1, + _lib._sel_bundleWithIdentifier_1, + identifier._id, + ); return _ret.address == 0 ? null : NSBundle._(_ret, _lib, retain: true, release: true); } static NSArray getAllBundles(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_77(_lib._class_NSBundle1, _lib._sel_allBundles1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSBundle1, + _lib._sel_allBundles1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray getAllFrameworks(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_77(_lib._class_NSBundle1, _lib._sel_allFrameworks1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSBundle1, + _lib._sel_allFrameworks1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -47357,7 +60880,10 @@ class NSBundle extends NSObject { bool preflightAndReturnError_(ffi.Pointer> error) { return _lib._objc_msgSend_207( - _id, _lib._sel_preflightAndReturnError_1, error); + _id, + _lib._sel_preflightAndReturnError_1, + error, + ); } bool loadAndReturnError_(ffi.Pointer> error) { @@ -47385,7 +60911,10 @@ class NSBundle extends NSObject { NSURL? URLForAuxiliaryExecutable_(NSString executableName) { final _ret = _lib._objc_msgSend_209( - _id, _lib._sel_URLForAuxiliaryExecutable_1, executableName._id); + _id, + _lib._sel_URLForAuxiliaryExecutable_1, + executableName._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -47447,7 +60976,10 @@ class NSBundle extends NSObject { NSString? pathForAuxiliaryExecutable_(NSString executableName) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_pathForAuxiliaryExecutable_1, executableName._id); + _id, + _lib._sel_pathForAuxiliaryExecutable_1, + executableName._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -47482,34 +61014,38 @@ class NSBundle extends NSObject { } static NSURL? URLForResource_withExtension_subdirectory_inBundleWithURL_( - PedometerBindings _lib, - NSString? name, - NSString? ext, - NSString? subpath, - NSURL bundleURL) { + PedometerBindings _lib, + NSString? name, + NSString? ext, + NSString? subpath, + NSURL bundleURL, + ) { final _ret = _lib._objc_msgSend_546( - _lib._class_NSBundle1, - _lib._sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - bundleURL._id); + _lib._class_NSBundle1, + _lib._sel_URLForResource_withExtension_subdirectory_inBundleWithURL_1, + name?._id ?? ffi.nullptr, + ext?._id ?? ffi.nullptr, + subpath?._id ?? ffi.nullptr, + bundleURL._id, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } static NSArray? URLsForResourcesWithExtension_subdirectory_inBundleWithURL_( - PedometerBindings _lib, - NSString? ext, - NSString? subpath, - NSURL bundleURL) { + PedometerBindings _lib, + NSString? ext, + NSString? subpath, + NSURL bundleURL, + ) { final _ret = _lib._objc_msgSend_547( - _lib._class_NSBundle1, - _lib._sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - bundleURL._id); + _lib._class_NSBundle1, + _lib._sel_URLsForResourcesWithExtension_subdirectory_inBundleWithURL_1, + ext?._id ?? ffi.nullptr, + subpath?._id ?? ffi.nullptr, + bundleURL._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -47517,142 +61053,189 @@ class NSBundle extends NSObject { NSURL? URLForResource_withExtension_(NSString? name, NSString? ext) { final _ret = _lib._objc_msgSend_548( - _id, - _lib._sel_URLForResource_withExtension_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr); + _id, + _lib._sel_URLForResource_withExtension_1, + name?._id ?? ffi.nullptr, + ext?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSURL? URLForResource_withExtension_subdirectory_( - NSString? name, NSString? ext, NSString? subpath) { + NSString? name, + NSString? ext, + NSString? subpath, + ) { final _ret = _lib._objc_msgSend_549( - _id, - _lib._sel_URLForResource_withExtension_subdirectory_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr); + _id, + _lib._sel_URLForResource_withExtension_subdirectory_1, + name?._id ?? ffi.nullptr, + ext?._id ?? ffi.nullptr, + subpath?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } - NSURL? URLForResource_withExtension_subdirectory_localization_(NSString? name, - NSString? ext, NSString? subpath, NSString? localizationName) { + NSURL? URLForResource_withExtension_subdirectory_localization_( + NSString? name, + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_550( - _id, - _lib._sel_URLForResource_withExtension_subdirectory_localization_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + _id, + _lib._sel_URLForResource_withExtension_subdirectory_localization_1, + name?._id ?? ffi.nullptr, + ext?._id ?? ffi.nullptr, + subpath?._id ?? ffi.nullptr, + localizationName?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_( - NSString? ext, NSString? subpath) { + NSString? ext, + NSString? subpath, + ) { final _ret = _lib._objc_msgSend_551( - _id, - _lib._sel_URLsForResourcesWithExtension_subdirectory_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr); + _id, + _lib._sel_URLsForResourcesWithExtension_subdirectory_1, + ext?._id ?? ffi.nullptr, + subpath?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } NSArray? URLsForResourcesWithExtension_subdirectory_localization_( - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_552( - _id, - _lib._sel_URLsForResourcesWithExtension_subdirectory_localization_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + _id, + _lib._sel_URLsForResourcesWithExtension_subdirectory_localization_1, + ext?._id ?? ffi.nullptr, + subpath?._id ?? ffi.nullptr, + localizationName?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); } - static NSString? pathForResource_ofType_inDirectory_(PedometerBindings _lib, - NSString? name, NSString? ext, NSString bundlePath) { + static NSString? pathForResource_ofType_inDirectory_( + PedometerBindings _lib, + NSString? name, + NSString? ext, + NSString bundlePath, + ) { final _ret = _lib._objc_msgSend_553( - _lib._class_NSBundle1, - _lib._sel_pathForResource_ofType_inDirectory_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - bundlePath._id); + _lib._class_NSBundle1, + _lib._sel_pathForResource_ofType_inDirectory_1, + name?._id ?? ffi.nullptr, + ext?._id ?? ffi.nullptr, + bundlePath._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSArray pathsForResourcesOfType_inDirectory_( - PedometerBindings _lib, NSString? ext, NSString bundlePath) { + PedometerBindings _lib, + NSString? ext, + NSString bundlePath, + ) { final _ret = _lib._objc_msgSend_554( - _lib._class_NSBundle1, - _lib._sel_pathsForResourcesOfType_inDirectory_1, - ext?._id ?? ffi.nullptr, - bundlePath._id); + _lib._class_NSBundle1, + _lib._sel_pathsForResourcesOfType_inDirectory_1, + ext?._id ?? ffi.nullptr, + bundlePath._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString? pathForResource_ofType_(NSString? name, NSString? ext) { - final _ret = _lib._objc_msgSend_555(_id, _lib._sel_pathForResource_ofType_1, - name?._id ?? ffi.nullptr, ext?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_555( + _id, + _lib._sel_pathForResource_ofType_1, + name?._id ?? ffi.nullptr, + ext?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } - NSString? pathForResource_ofType_inDirectory_forLocalization_(NSString? name, - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? pathForResource_ofType_inDirectory_forLocalization_( + NSString? name, + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_556( - _id, - _lib._sel_pathForResource_ofType_inDirectory_forLocalization_1, - name?._id ?? ffi.nullptr, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + _id, + _lib._sel_pathForResource_ofType_inDirectory_forLocalization_1, + name?._id ?? ffi.nullptr, + ext?._id ?? ffi.nullptr, + subpath?._id ?? ffi.nullptr, + localizationName?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSArray pathsForResourcesOfType_inDirectory_forLocalization_( - NSString? ext, NSString? subpath, NSString? localizationName) { + NSString? ext, + NSString? subpath, + NSString? localizationName, + ) { final _ret = _lib._objc_msgSend_557( - _id, - _lib._sel_pathsForResourcesOfType_inDirectory_forLocalization_1, - ext?._id ?? ffi.nullptr, - subpath?._id ?? ffi.nullptr, - localizationName?._id ?? ffi.nullptr); + _id, + _lib._sel_pathsForResourcesOfType_inDirectory_forLocalization_1, + ext?._id ?? ffi.nullptr, + subpath?._id ?? ffi.nullptr, + localizationName?._id ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSString localizedStringForKey_value_table_( - NSString key, NSString? value, NSString? tableName) { + NSString key, + NSString? value, + NSString? tableName, + ) { final _ret = _lib._objc_msgSend_558( - _id, - _lib._sel_localizedStringForKey_value_table_1, - key._id, - value?._id ?? ffi.nullptr, - tableName?._id ?? ffi.nullptr); + _id, + _lib._sel_localizedStringForKey_value_table_1, + key._id, + value?._id ?? ffi.nullptr, + tableName?._id ?? ffi.nullptr, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSAttributedString localizedAttributedStringForKey_value_table_( - NSString key, NSString? value, NSString? tableName) { + NSString key, + NSString? value, + NSString? tableName, + ) { final _ret = _lib._objc_msgSend_584( - _id, - _lib._sel_localizedAttributedStringForKey_value_table_1, - key._id, - value?._id ?? ffi.nullptr, - tableName?._id ?? ffi.nullptr); + _id, + _lib._sel_localizedAttributedStringForKey_value_table_1, + key._id, + value?._id ?? ffi.nullptr, + tableName?._id ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } @@ -47671,8 +61254,10 @@ class NSBundle extends NSObject { } NSDictionary? get localizedInfoDictionary { - final _ret = - _lib._objc_msgSend_345(_id, _lib._sel_localizedInfoDictionary1); + final _ret = _lib._objc_msgSend_345( + _id, + _lib._sel_localizedInfoDictionary1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -47680,15 +61265,21 @@ class NSBundle extends NSObject { NSObject? objectForInfoDictionaryKey_(NSString key) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_objectForInfoDictionaryKey_1, key._id); + _id, + _lib._sel_objectForInfoDictionaryKey_1, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } NSObject? classNamed_(NSString className) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_classNamed_1, className._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_classNamed_1, + className._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -47719,21 +61310,28 @@ class NSBundle extends NSObject { } static NSArray preferredLocalizationsFromArray_( - PedometerBindings _lib, NSArray localizationsArray) { - final _ret = _lib._objc_msgSend_60(_lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_1, localizationsArray._id); + PedometerBindings _lib, + NSArray localizationsArray, + ) { + final _ret = _lib._objc_msgSend_60( + _lib._class_NSBundle1, + _lib._sel_preferredLocalizationsFromArray_1, + localizationsArray._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSArray preferredLocalizationsFromArray_forPreferences_( - PedometerBindings _lib, - NSArray localizationsArray, - NSArray? preferencesArray) { + PedometerBindings _lib, + NSArray localizationsArray, + NSArray? preferencesArray, + ) { final _ret = _lib._objc_msgSend_585( - _lib._class_NSBundle1, - _lib._sel_preferredLocalizationsFromArray_forPreferences_1, - localizationsArray._id, - preferencesArray?._id ?? ffi.nullptr); + _lib._class_NSBundle1, + _lib._sel_preferredLocalizationsFromArray_forPreferences_1, + localizationsArray._id, + preferencesArray?._id ?? ffi.nullptr, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -47746,15 +61344,25 @@ class NSBundle extends NSObject { void setPreservationPriority_forTags_(double priority, NSSet tags) { _lib._objc_msgSend_586( - _id, _lib._sel_setPreservationPriority_forTags_1, priority, tags._id); + _id, + _lib._sel_setPreservationPriority_forTags_1, + priority, + tags._id, + ); } double preservationPriorityForTag_(NSString tag) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_254_fpret( - _id, _lib._sel_preservationPriorityForTag_1, tag._id) + _id, + _lib._sel_preservationPriorityForTag_1, + tag._id, + ) : _lib._objc_msgSend_254( - _id, _lib._sel_preservationPriorityForTag_1, tag._id); + _id, + _lib._sel_preservationPriorityForTag_1, + tag._id, + ); } @override @@ -47769,9 +61377,14 @@ class NSBundle extends NSObject { } static NSBundle allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSBundle1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSBundle1, + _lib._sel_allocWithZone_1, + zone, + ); return NSBundle._(_ret, _lib, retain: false, release: true); } @@ -47781,91 +61394,133 @@ class NSBundle extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSBundle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSBundle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSBundle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSBundle1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSBundle1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSBundle1, _lib._sel_useStoredAccessor1); + _lib._class_NSBundle1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSBundle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSBundle1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSBundle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSBundle1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSBundle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSBundle1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSBundle1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSBundle1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSBundle1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSBundle1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSAttributedString extends NSObject { - NSAttributedString._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSAttributedString._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSAttributedString] that points to the same underlying object as [other]. static NSAttributedString castFrom(T other) { - return NSAttributedString._(other._id, other._lib, - retain: true, release: true); + return NSAttributedString._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSAttributedString] that wraps the given raw object pointer. static NSAttributedString castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSAttributedString._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSAttributedString]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSAttributedString1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSAttributedString1, + ); } NSString get string { @@ -47874,9 +61529,15 @@ class NSAttributedString extends NSObject { } NSDictionary attributesAtIndex_effectiveRange_( - int location, ffi.Pointer<_NSRange> range) { + int location, + ffi.Pointer<_NSRange> range, + ) { final _ret = _lib._objc_msgSend_559( - _id, _lib._sel_attributesAtIndex_effectiveRange_1, location, range); + _id, + _lib._sel_attributesAtIndex_effectiveRange_1, + location, + range, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } @@ -47885,13 +61546,17 @@ class NSAttributedString extends NSObject { } NSObject? attribute_atIndex_effectiveRange_( - NSString attrName, int location, ffi.Pointer<_NSRange> range) { + NSString attrName, + int location, + ffi.Pointer<_NSRange> range, + ) { final _ret = _lib._objc_msgSend_560( - _id, - _lib._sel_attribute_atIndex_effectiveRange_1, - attrName._id, - location, - range); + _id, + _lib._sel_attribute_atIndex_effectiveRange_1, + attrName._id, + location, + range, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -47899,30 +61564,42 @@ class NSAttributedString extends NSObject { NSAttributedString attributedSubstringFromRange_(_NSRange range) { final _ret = _lib._objc_msgSend_561( - _id, _lib._sel_attributedSubstringFromRange_1, range); + _id, + _lib._sel_attributedSubstringFromRange_1, + range, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSDictionary attributesAtIndex_longestEffectiveRange_inRange_( - int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + int location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit, + ) { final _ret = _lib._objc_msgSend_562( - _id, - _lib._sel_attributesAtIndex_longestEffectiveRange_inRange_1, - location, - range, - rangeLimit); + _id, + _lib._sel_attributesAtIndex_longestEffectiveRange_inRange_1, + location, + range, + rangeLimit, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } - NSObject? attribute_atIndex_longestEffectiveRange_inRange_(NSString attrName, - int location, ffi.Pointer<_NSRange> range, _NSRange rangeLimit) { + NSObject? attribute_atIndex_longestEffectiveRange_inRange_( + NSString attrName, + int location, + ffi.Pointer<_NSRange> range, + _NSRange rangeLimit, + ) { final _ret = _lib._objc_msgSend_563( - _id, - _lib._sel_attribute_atIndex_longestEffectiveRange_inRange_1, - attrName._id, - location, - range, - rangeLimit); + _id, + _lib._sel_attribute_atIndex_longestEffectiveRange_inRange_1, + attrName._id, + location, + range, + rangeLimit, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -47930,102 +61607,126 @@ class NSAttributedString extends NSObject { bool isEqualToAttributedString_(NSAttributedString other) { return _lib._objc_msgSend_564( - _id, _lib._sel_isEqualToAttributedString_1, other._id); + _id, + _lib._sel_isEqualToAttributedString_1, + other._id, + ); } NSAttributedString initWithString_(NSString str) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, str._id); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initWithString_1, + str._id, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithString_attributes_( - NSString str, NSDictionary? attrs) { + NSString str, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_565( - _id, - _lib._sel_initWithString_attributes_1, - str._id, - attrs?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithString_attributes_1, + str._id, + attrs?._id ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString initWithAttributedString_(NSAttributedString attrStr) { final _ret = _lib._objc_msgSend_566( - _id, _lib._sel_initWithAttributedString_1, attrStr._id); + _id, + _lib._sel_initWithAttributedString_1, + attrStr._id, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } - void enumerateAttributesInRange_options_usingBlock_(_NSRange enumerationRange, - int opts, ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block) { + void enumerateAttributesInRange_options_usingBlock_( + _NSRange enumerationRange, + int opts, + ObjCBlock_ffiVoid_NSDictionary_NSRange_bool block, + ) { _lib._objc_msgSend_567( - _id, - _lib._sel_enumerateAttributesInRange_options_usingBlock_1, - enumerationRange, - opts, - block._id); + _id, + _lib._sel_enumerateAttributesInRange_options_usingBlock_1, + enumerationRange, + opts, + block._id, + ); } void enumerateAttribute_inRange_options_usingBlock_( - NSString attrName, - _NSRange enumerationRange, - int opts, - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool block) { + NSString attrName, + _NSRange enumerationRange, + int opts, + ObjCBlock_ffiVoid_ObjCObject_NSRange_bool block, + ) { _lib._objc_msgSend_568( - _id, - _lib._sel_enumerateAttribute_inRange_options_usingBlock_1, - attrName._id, - enumerationRange, - opts, - block._id); + _id, + _lib._sel_enumerateAttribute_inRange_options_usingBlock_1, + attrName._id, + enumerationRange, + opts, + block._id, + ); } NSAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_573( - _id, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, + markdownFile._id, + options?._id ?? ffi.nullptr, + baseURL?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_574( - _id, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_initWithMarkdown_options_baseURL_error_1, + markdown._id, + options?._id ?? ffi.nullptr, + baseURL?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); } NSAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_575( - _id, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_initWithMarkdownString_options_baseURL_error_1, + markdownString._id, + options?._id ?? ffi.nullptr, + baseURL?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); @@ -48033,109 +61734,134 @@ class NSAttributedString extends NSObject { /// Formats the string using the specified locale (or the canonical one, if nil). NSAttributedString initWithFormat_options_locale_( - NSAttributedString format, int options, NSLocale? locale) { + NSAttributedString format, + int options, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_576( - _id, - _lib._sel_initWithFormat_options_locale_1, - format._id, - options, - locale?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithFormat_options_locale_1, + format._id, + options, + locale?._id ?? ffi.nullptr, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the arguments list and the specified locale (or the canonical one, if nil). NSAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer arguments, + ) { final _ret = _lib._objc_msgSend_577( - _id, - _lib._sel_initWithFormat_options_locale_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - arguments); + _id, + _lib._sel_initWithFormat_options_locale_arguments_1, + format._id, + options, + locale?._id ?? ffi.nullptr, + arguments, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the current locale and default options. static NSAttributedString localizedAttributedStringWithFormat_( - PedometerBindings _lib, NSAttributedString format) { - final _ret = _lib._objc_msgSend_566(_lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, format._id); + PedometerBindings _lib, + NSAttributedString format, + ) { + final _ret = _lib._objc_msgSend_566( + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_1, + format._id, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the current locale and the specified options. static NSAttributedString localizedAttributedStringWithFormat_options_( - PedometerBindings _lib, NSAttributedString format, int options) { + PedometerBindings _lib, + NSAttributedString format, + int options, + ) { final _ret = _lib._objc_msgSend_578( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format._id, - options); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_1, + format._id, + options, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the specified locale (or the canonical one, if nil). NSAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_579( - _id, - _lib._sel_initWithFormat_options_locale_context_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id); + _id, + _lib._sel_initWithFormat_options_locale_context_1, + format._id, + options, + locale?._id ?? ffi.nullptr, + context._id, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the arguments list and the specified locale (or the canonical one, if nil). NSAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer arguments, + ) { final _ret = _lib._objc_msgSend_580( - _id, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id, - arguments); + _id, + _lib._sel_initWithFormat_options_locale_context_arguments_1, + format._id, + options, + locale?._id ?? ffi.nullptr, + context._id, + arguments, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the current locale and default options. static NSAttributedString localizedAttributedStringWithFormat_context_( - PedometerBindings _lib, NSAttributedString format, NSDictionary context) { + PedometerBindings _lib, + NSAttributedString format, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_581( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format._id, - context._id); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_context_1, + format._id, + context._id, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the current locale and the specified options. static NSAttributedString - localizedAttributedStringWithFormat_options_context_( - PedometerBindings _lib, - NSAttributedString format, - int options, - NSDictionary context) { + localizedAttributedStringWithFormat_options_context_( + PedometerBindings _lib, + NSAttributedString format, + int options, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_582( - _lib._class_NSAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format._id, - options, - context._id); + _lib._class_NSAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_context_1, + format._id, + options, + context._id, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } @@ -48144,7 +61870,9 @@ class NSAttributedString extends NSObject { /// by following the rule in the attribute. NSAttributedString attributedStringByInflectingString() { final _ret = _lib._objc_msgSend_583( - _id, _lib._sel_attributedStringByInflectingString1); + _id, + _lib._sel_attributedStringByInflectingString1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } @@ -48155,84 +61883,122 @@ class NSAttributedString extends NSObject { } static NSAttributedString new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSAttributedString1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSAttributedString1, + _lib._sel_new1, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static NSAttributedString allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedString1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSAttributedString1, + _lib._sel_allocWithZone_1, + zone, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static NSAttributedString alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSAttributedString1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSAttributedString1, + _lib._sel_alloc1, + ); return NSAttributedString._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSAttributedString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedString1, _lib._sel_useStoredAccessor1); + _lib._class_NSAttributedString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSAttributedString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSAttributedString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSAttributedString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSAttributedString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedString1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSAttributedString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -48240,29 +62006,37 @@ class NSAttributedString extends NSObject { abstract class NSAttributedStringEnumerationOptions { static const int NSAttributedStringEnumerationReverse = 2; static const int - NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; + NSAttributedStringEnumerationLongestEffectiveRangeNotRequired = 1048576; } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[id] = fn; @@ -48270,18 +62044,22 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -48289,24 +62067,34 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -48315,23 +62103,35 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.fromFunction( - PedometerBindings lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(NSDictionary._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + PedometerBindings lib, + void Function(NSDictionary, _NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + ( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn( + NSDictionary._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -48343,84 +62143,120 @@ class ObjCBlock_ffiVoid_NSDictionary_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener(PedometerBindings lib, - void Function(NSDictionary, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(NSDictionary._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); - static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSDictionary arg0, _NSRange arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function( + ObjCBlock_ffiVoid_NSDictionary_NSRange_bool.listener( + PedometerBindings lib, + void Function(NSDictionary, _NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer, _NSRange, - ffi.Pointer)>()(_id, arg0._id, arg1, arg2); + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_NSRange_bool_registerClosure( + ( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn( + NSDictionary._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); + static ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call(NSDictionary arg0, _NSRange arg1, ffi.Pointer arg2) => _id + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1, arg2); } void _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, _NSRange, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry = , _NSRange, ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, _NSRange, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - void Function(ffi.Pointer, _NSRange, ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( + void Function(ffi.Pointer, _NSRange, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_ObjCObject_NSRange_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -48428,24 +62264,34 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -48453,23 +62299,38 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.fromFunction(PedometerBindings lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.fromFunction( + PedometerBindings lib, + void Function(NSObject?, _NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( + ( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -48481,76 +62342,124 @@ class ObjCBlock_ffiVoid_ObjCObject_NSRange_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.listener(PedometerBindings lib, - void Function(NSObject?, _NSRange, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - _NSRange, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( - (ffi.Pointer arg0, _NSRange arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSObject._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + ObjCBlock_ffiVoid_ObjCObject_NSRange_bool.listener( + PedometerBindings lib, + void Function(NSObject?, _NSRange, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_ObjCObject_NSRange_bool_registerClosure( + ( + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSObject._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSObject? arg0, _NSRange arg1, ffi.Pointer arg2) => _id - .ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - _NSRange arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - _NSRange, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + _NSRange arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + _NSRange, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1, arg2); } class NSAttributedStringMarkdownParsingOptions extends NSObject { NSAttributedStringMarkdownParsingOptions._( - ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSAttributedStringMarkdownParsingOptions] that points to the same underlying object as [other]. static NSAttributedStringMarkdownParsingOptions - castFrom(T other) { - return NSAttributedStringMarkdownParsingOptions._(other._id, other._lib, - retain: true, release: true); + castFrom(T other) { + return NSAttributedStringMarkdownParsingOptions._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSAttributedStringMarkdownParsingOptions] that wraps the given raw object pointer. static NSAttributedStringMarkdownParsingOptions castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSAttributedStringMarkdownParsingOptions._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSAttributedStringMarkdownParsingOptions._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSAttributedStringMarkdownParsingOptions]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSAttributedStringMarkdownParsingOptions1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSAttributedStringMarkdownParsingOptions1, + ); } @override NSAttributedStringMarkdownParsingOptions init() { final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: true, release: true); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: true, + release: true, + ); } bool get allowsExtendedAttributes { @@ -48559,7 +62468,10 @@ class NSAttributedStringMarkdownParsingOptions extends NSObject { set allowsExtendedAttributes(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAllowsExtendedAttributes_1, value); + _id, + _lib._sel_setAllowsExtendedAttributes_1, + value, + ); } int get interpretedSyntax { @@ -48587,113 +62499,161 @@ class NSAttributedStringMarkdownParsingOptions extends NSObject { set languageCode(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setLanguageCode_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setLanguageCode_1, + value?._id ?? ffi.nullptr, + ); } bool get appliesSourcePositionAttributes { return _lib._objc_msgSend_12( - _id, _lib._sel_appliesSourcePositionAttributes1); + _id, + _lib._sel_appliesSourcePositionAttributes1, + ); } set appliesSourcePositionAttributes(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAppliesSourcePositionAttributes_1, value); + _id, + _lib._sel_setAppliesSourcePositionAttributes_1, + value, + ); } static NSAttributedStringMarkdownParsingOptions new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, _lib._sel_new1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_new1, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSAttributedStringMarkdownParsingOptions allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_allocWithZone_1, - zone); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSAttributedStringMarkdownParsingOptions alloc( - PedometerBindings _lib) { + PedometerBindings _lib, + ) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_alloc1); - return NSAttributedStringMarkdownParsingOptions._(_ret, _lib, - retain: false, release: true); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_alloc1, + ); + return NSAttributedStringMarkdownParsingOptions._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_useStoredAccessor1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { + PedometerBindings _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_55( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { + PedometerBindings _lib, + NSString key, + ) { return _lib._objc_msgSend_56( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, - key._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSAttributedStringMarkdownParsingOptions1, - _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSAttributedStringMarkdownParsingOptions1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -48702,57 +62662,80 @@ abstract class NSAttributedStringMarkdownInterpretedSyntax { static const int NSAttributedStringMarkdownInterpretedSyntaxFull = 0; static const int NSAttributedStringMarkdownInterpretedSyntaxInlineOnly = 1; static const int - NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = - 2; + NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace = 2; } abstract class NSAttributedStringMarkdownParsingFailurePolicy { static const int NSAttributedStringMarkdownParsingFailureReturnError = 0; static const int - NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = - 1; + NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible = 1; } abstract class NSAttributedStringFormattingOptions { static const int - NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; + NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging = 1; static const int NSAttributedStringFormattingApplyReplacementIndexAttribute = 2; } class NSMutableAttributedString extends NSAttributedString { - NSMutableAttributedString._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableAttributedString._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMutableAttributedString] that points to the same underlying object as [other]. static NSMutableAttributedString castFrom(T other) { - return NSMutableAttributedString._(other._id, other._lib, - retain: true, release: true); + return NSMutableAttributedString._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableAttributedString] that wraps the given raw object pointer. static NSMutableAttributedString castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSMutableAttributedString._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSMutableAttributedString._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSMutableAttributedString]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableAttributedString1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMutableAttributedString1, + ); } void replaceCharactersInRange_withString_(_NSRange range, NSString str) { _lib._objc_msgSend_537( - _id, _lib._sel_replaceCharactersInRange_withString_1, range, str._id); + _id, + _lib._sel_replaceCharactersInRange_withString_1, + range, + str._id, + ); } void setAttributes_range_(NSDictionary? attrs, _NSRange range) { _lib._objc_msgSend_587( - _id, _lib._sel_setAttributes_range_1, attrs?._id ?? ffi.nullptr, range); + _id, + _lib._sel_setAttributes_range_1, + attrs?._id ?? ffi.nullptr, + range, + ); } NSMutableString get mutableString { @@ -48761,38 +62744,64 @@ class NSMutableAttributedString extends NSAttributedString { } void addAttribute_value_range_( - NSString name, NSObject value, _NSRange range) { + NSString name, + NSObject value, + _NSRange range, + ) { _lib._objc_msgSend_589( - _id, _lib._sel_addAttribute_value_range_1, name._id, value._id, range); + _id, + _lib._sel_addAttribute_value_range_1, + name._id, + value._id, + range, + ); } void addAttributes_range_(NSDictionary attrs, _NSRange range) { _lib._objc_msgSend_590( - _id, _lib._sel_addAttributes_range_1, attrs._id, range); + _id, + _lib._sel_addAttributes_range_1, + attrs._id, + range, + ); } void removeAttribute_range_(NSString name, _NSRange range) { _lib._objc_msgSend_591( - _id, _lib._sel_removeAttribute_range_1, name._id, range); + _id, + _lib._sel_removeAttribute_range_1, + name._id, + range, + ); } void replaceCharactersInRange_withAttributedString_( - _NSRange range, NSAttributedString attrString) { + _NSRange range, + NSAttributedString attrString, + ) { _lib._objc_msgSend_592( - _id, - _lib._sel_replaceCharactersInRange_withAttributedString_1, - range, - attrString._id); + _id, + _lib._sel_replaceCharactersInRange_withAttributedString_1, + range, + attrString._id, + ); } void insertAttributedString_atIndex_(NSAttributedString attrString, int loc) { _lib._objc_msgSend_593( - _id, _lib._sel_insertAttributedString_atIndex_1, attrString._id, loc); + _id, + _lib._sel_insertAttributedString_atIndex_1, + attrString._id, + loc, + ); } void appendAttributedString_(NSAttributedString attrString) { _lib._objc_msgSend_594( - _id, _lib._sel_appendAttributedString_1, attrString._id); + _id, + _lib._sel_appendAttributedString_1, + attrString._id, + ); } void deleteCharactersInRange_(_NSRange range) { @@ -48801,7 +62810,10 @@ class NSMutableAttributedString extends NSAttributedString { void setAttributedString_(NSAttributedString attrString) { _lib._objc_msgSend_594( - _id, _lib._sel_setAttributedString_1, attrString._id); + _id, + _lib._sel_setAttributedString_1, + attrString._id, + ); } void beginEditing() { @@ -48820,44 +62832,56 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString initWithString_(NSString str) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, str._id); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initWithString_1, + str._id, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithString_attributes_( - NSString str, NSDictionary? attrs) { + NSString str, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_565( - _id, - _lib._sel_initWithString_attributes_1, - str._id, - attrs?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithString_attributes_1, + str._id, + attrs?._id ?? ffi.nullptr, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString initWithAttributedString_( - NSAttributedString attrStr) { + NSAttributedString attrStr, + ) { final _ret = _lib._objc_msgSend_566( - _id, _lib._sel_initWithAttributedString_1, attrStr._id); + _id, + _lib._sel_initWithAttributedString_1, + attrStr._id, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @override NSMutableAttributedString? - initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( - NSURL markdownFile, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + initWithContentsOfMarkdownFileAtURL_options_baseURL_error_( + NSURL markdownFile, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_573( - _id, - _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, - markdownFile._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_initWithContentsOfMarkdownFileAtURL_options_baseURL_error_1, + markdownFile._id, + options?._id ?? ffi.nullptr, + baseURL?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -48865,17 +62889,19 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString? initWithMarkdown_options_baseURL_error_( - NSData markdown, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSData markdown, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_574( - _id, - _lib._sel_initWithMarkdown_options_baseURL_error_1, - markdown._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_initWithMarkdown_options_baseURL_error_1, + markdown._id, + options?._id ?? ffi.nullptr, + baseURL?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -48883,17 +62909,19 @@ class NSMutableAttributedString extends NSAttributedString { @override NSMutableAttributedString? initWithMarkdownString_options_baseURL_error_( - NSString markdownString, - NSAttributedStringMarkdownParsingOptions? options, - NSURL? baseURL, - ffi.Pointer> error) { + NSString markdownString, + NSAttributedStringMarkdownParsingOptions? options, + NSURL? baseURL, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_575( - _id, - _lib._sel_initWithMarkdownString_options_baseURL_error_1, - markdownString._id, - options?._id ?? ffi.nullptr, - baseURL?._id ?? ffi.nullptr, - error); + _id, + _lib._sel_initWithMarkdownString_options_baseURL_error_1, + markdownString._id, + options?._id ?? ffi.nullptr, + baseURL?._id ?? ffi.nullptr, + error, + ); return _ret.address == 0 ? null : NSMutableAttributedString._(_ret, _lib, retain: true, release: true); @@ -48902,112 +62930,137 @@ class NSMutableAttributedString extends NSAttributedString { /// Formats the string using the specified locale (or the canonical one, if nil). @override NSMutableAttributedString initWithFormat_options_locale_( - NSAttributedString format, int options, NSLocale? locale) { + NSAttributedString format, + int options, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_576( - _id, - _lib._sel_initWithFormat_options_locale_1, - format._id, - options, - locale?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithFormat_options_locale_1, + format._id, + options, + locale?._id ?? ffi.nullptr, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the arguments list and the specified locale (or the canonical one, if nil). @override NSMutableAttributedString initWithFormat_options_locale_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - ffi.Pointer arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + ffi.Pointer arguments, + ) { final _ret = _lib._objc_msgSend_577( - _id, - _lib._sel_initWithFormat_options_locale_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - arguments); + _id, + _lib._sel_initWithFormat_options_locale_arguments_1, + format._id, + options, + locale?._id ?? ffi.nullptr, + arguments, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the current locale and default options. static NSMutableAttributedString localizedAttributedStringWithFormat_( - PedometerBindings _lib, NSAttributedString format) { - final _ret = _lib._objc_msgSend_566(_lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_1, format._id); + PedometerBindings _lib, + NSAttributedString format, + ) { + final _ret = _lib._objc_msgSend_566( + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_1, + format._id, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the current locale and the specified options. static NSMutableAttributedString localizedAttributedStringWithFormat_options_( - PedometerBindings _lib, NSAttributedString format, int options) { + PedometerBindings _lib, + NSAttributedString format, + int options, + ) { final _ret = _lib._objc_msgSend_578( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_1, - format._id, - options); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_1, + format._id, + options, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the specified locale (or the canonical one, if nil). @override NSMutableAttributedString initWithFormat_options_locale_context_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_579( - _id, - _lib._sel_initWithFormat_options_locale_context_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id); + _id, + _lib._sel_initWithFormat_options_locale_context_1, + format._id, + options, + locale?._id ?? ffi.nullptr, + context._id, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the arguments list and the specified locale (or the canonical one, if nil). @override NSMutableAttributedString initWithFormat_options_locale_context_arguments_( - NSAttributedString format, - int options, - NSLocale? locale, - NSDictionary context, - ffi.Pointer arguments) { + NSAttributedString format, + int options, + NSLocale? locale, + NSDictionary context, + ffi.Pointer arguments, + ) { final _ret = _lib._objc_msgSend_580( - _id, - _lib._sel_initWithFormat_options_locale_context_arguments_1, - format._id, - options, - locale?._id ?? ffi.nullptr, - context._id, - arguments); + _id, + _lib._sel_initWithFormat_options_locale_context_arguments_1, + format._id, + options, + locale?._id ?? ffi.nullptr, + context._id, + arguments, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the current locale and default options. static NSMutableAttributedString localizedAttributedStringWithFormat_context_( - PedometerBindings _lib, NSAttributedString format, NSDictionary context) { + PedometerBindings _lib, + NSAttributedString format, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_581( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_context_1, - format._id, - context._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_context_1, + format._id, + context._id, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } /// Formats the string using the current locale and the specified options. static NSMutableAttributedString - localizedAttributedStringWithFormat_options_context_( - PedometerBindings _lib, - NSAttributedString format, - int options, - NSDictionary context) { + localizedAttributedStringWithFormat_options_context_( + PedometerBindings _lib, + NSAttributedString format, + int options, + NSDictionary context, + ) { final _ret = _lib._objc_msgSend_582( - _lib._class_NSMutableAttributedString1, - _lib._sel_localizedAttributedStringWithFormat_options_context_1, - format._id, - options, - context._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_localizedAttributedStringWithFormat_options_context_1, + format._id, + options, + context._id, + ); return NSMutableAttributedString._(_ret, _lib, retain: true, release: true); } @@ -49019,112 +63072,175 @@ class NSMutableAttributedString extends NSAttributedString { static NSMutableAttributedString new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, _lib._sel_new1); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMutableAttributedString1, + _lib._sel_new1, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMutableAttributedString allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSMutableAttributedString1, - _lib._sel_allocWithZone_1, zone); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSMutableAttributedString1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMutableAttributedString alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableAttributedString1, _lib._sel_alloc1); - return NSMutableAttributedString._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMutableAttributedString1, + _lib._sel_alloc1, + ); + return NSMutableAttributedString._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableAttributedString1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableAttributedString1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableAttributedString1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableAttributedString1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableAttributedString1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableAttributedString1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableAttributedString1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMutableAttributedString1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMutableAttributedString1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMutableAttributedString1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMutableAttributedString1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableAttributedString1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSMutableAttributedString1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSMutableAttributedString1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSMutableAttributedString1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableAttributedString1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSDateFormatter extends NSFormatter { - NSDateFormatter._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDateFormatter._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSDateFormatter] that points to the same underlying object as [other]. static NSDateFormatter castFrom(T other) { - return NSDateFormatter._(other._id, other._lib, - retain: true, release: true); + return NSDateFormatter._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSDateFormatter] that wraps the given raw object pointer. static NSDateFormatter castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDateFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateFormatter]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDateFormatter1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSDateFormatter1, + ); } int get formattingContext { @@ -49136,52 +63252,70 @@ class NSDateFormatter extends NSFormatter { } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_602( - _id, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string._id, - rangep, - error); + _id, + _lib._sel_getObjectValue_forString_range_error_1, + obj, + string._id, + rangep, + error, + ); } NSString stringFromDate_(NSDate date) { - final _ret = - _lib._objc_msgSend_603(_id, _lib._sel_stringFromDate_1, date._id); + final _ret = _lib._objc_msgSend_603( + _id, + _lib._sel_stringFromDate_1, + date._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSDate? dateFromString_(NSString string) { - final _ret = - _lib._objc_msgSend_604(_id, _lib._sel_dateFromString_1, string._id); + final _ret = _lib._objc_msgSend_604( + _id, + _lib._sel_dateFromString_1, + string._id, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } static NSString localizedStringFromDate_dateStyle_timeStyle_( - PedometerBindings _lib, NSDate date, int dstyle, int tstyle) { + PedometerBindings _lib, + NSDate date, + int dstyle, + int tstyle, + ) { final _ret = _lib._objc_msgSend_605( - _lib._class_NSDateFormatter1, - _lib._sel_localizedStringFromDate_dateStyle_timeStyle_1, - date._id, - dstyle, - tstyle); + _lib._class_NSDateFormatter1, + _lib._sel_localizedStringFromDate_dateStyle_timeStyle_1, + date._id, + dstyle, + tstyle, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString? dateFormatFromTemplate_options_locale_( - PedometerBindings _lib, NSString tmplate, int opts, NSLocale? locale) { + PedometerBindings _lib, + NSString tmplate, + int opts, + NSLocale? locale, + ) { final _ret = _lib._objc_msgSend_606( - _lib._class_NSDateFormatter1, - _lib._sel_dateFormatFromTemplate_options_locale_1, - tmplate._id, - opts, - locale?._id ?? ffi.nullptr); + _lib._class_NSDateFormatter1, + _lib._sel_dateFormatFromTemplate_options_locale_1, + tmplate._id, + opts, + locale?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -49189,17 +63323,25 @@ class NSDateFormatter extends NSFormatter { static int getDefaultFormatterBehavior(PedometerBindings _lib) { return _lib._objc_msgSend_607( - _lib._class_NSDateFormatter1, _lib._sel_defaultFormatterBehavior1); + _lib._class_NSDateFormatter1, + _lib._sel_defaultFormatterBehavior1, + ); } static void setDefaultFormatterBehavior(PedometerBindings _lib, int value) { - return _lib._objc_msgSend_608(_lib._class_NSDateFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, value); + return _lib._objc_msgSend_608( + _lib._class_NSDateFormatter1, + _lib._sel_setDefaultFormatterBehavior_1, + value, + ); } void setLocalizedDateFormatFromTemplate_(NSString dateFormatTemplate) { - _lib._objc_msgSend_199(_id, _lib._sel_setLocalizedDateFormatFromTemplate_1, - dateFormatTemplate._id); + _lib._objc_msgSend_199( + _id, + _lib._sel_setLocalizedDateFormatFromTemplate_1, + dateFormatTemplate._id, + ); } NSString get dateFormat { @@ -49242,7 +63384,10 @@ class NSDateFormatter extends NSFormatter { set generatesCalendarDates(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setGeneratesCalendarDates_1, value); + _id, + _lib._sel_setGeneratesCalendarDates_1, + value, + ); } int get formatterBehavior { @@ -49288,7 +63433,10 @@ class NSDateFormatter extends NSFormatter { set twoDigitStartDate(NSDate? value) { return _lib._objc_msgSend_660( - _id, _lib._sel_setTwoDigitStartDate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTwoDigitStartDate_1, + value?._id ?? ffi.nullptr, + ); } NSDate? get defaultDate { @@ -49300,7 +63448,10 @@ class NSDateFormatter extends NSFormatter { set defaultDate(NSDate? value) { return _lib._objc_msgSend_660( - _id, _lib._sel_setDefaultDate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setDefaultDate_1, + value?._id ?? ffi.nullptr, + ); } NSArray get eraSymbols { @@ -49328,7 +63479,10 @@ class NSDateFormatter extends NSFormatter { set shortMonthSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setShortMonthSymbols_1, value._id); + _id, + _lib._sel_setShortMonthSymbols_1, + value._id, + ); } NSArray get weekdaySymbols { @@ -49338,7 +63492,10 @@ class NSDateFormatter extends NSFormatter { set weekdaySymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setWeekdaySymbols_1, value._id); + _id, + _lib._sel_setWeekdaySymbols_1, + value._id, + ); } NSArray get shortWeekdaySymbols { @@ -49348,7 +63505,10 @@ class NSDateFormatter extends NSFormatter { set shortWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setShortWeekdaySymbols_1, value._id); + _id, + _lib._sel_setShortWeekdaySymbols_1, + value._id, + ); } NSString get AMSymbol { @@ -49376,7 +63536,10 @@ class NSDateFormatter extends NSFormatter { set longEraSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setLongEraSymbols_1, value._id); + _id, + _lib._sel_setLongEraSymbols_1, + value._id, + ); } NSArray get veryShortMonthSymbols { @@ -49386,7 +63549,10 @@ class NSDateFormatter extends NSFormatter { set veryShortMonthSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setVeryShortMonthSymbols_1, value._id); + _id, + _lib._sel_setVeryShortMonthSymbols_1, + value._id, + ); } NSArray get standaloneMonthSymbols { @@ -49396,29 +63562,42 @@ class NSDateFormatter extends NSFormatter { set standaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setStandaloneMonthSymbols_1, value._id); + _id, + _lib._sel_setStandaloneMonthSymbols_1, + value._id, + ); } NSArray get shortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_shortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_shortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setShortStandaloneMonthSymbols_1, value._id); + _id, + _lib._sel_setShortStandaloneMonthSymbols_1, + value._id, + ); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_veryShortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_veryShortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortStandaloneMonthSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setVeryShortStandaloneMonthSymbols_1, value._id); + _id, + _lib._sel_setVeryShortStandaloneMonthSymbols_1, + value._id, + ); } NSArray get veryShortWeekdaySymbols { @@ -49428,40 +63607,58 @@ class NSDateFormatter extends NSFormatter { set veryShortWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setVeryShortWeekdaySymbols_1, value._id); + _id, + _lib._sel_setVeryShortWeekdaySymbols_1, + value._id, + ); } NSArray get standaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_standaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_standaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set standaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setStandaloneWeekdaySymbols_1, value._id); + _id, + _lib._sel_setStandaloneWeekdaySymbols_1, + value._id, + ); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_shortStandaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_shortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setShortStandaloneWeekdaySymbols_1, value._id); + _id, + _lib._sel_setShortStandaloneWeekdaySymbols_1, + value._id, + ); } NSArray get veryShortStandaloneWeekdaySymbols { final _ret = _lib._objc_msgSend_77( - _id, _lib._sel_veryShortStandaloneWeekdaySymbols1); + _id, + _lib._sel_veryShortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set veryShortStandaloneWeekdaySymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setVeryShortStandaloneWeekdaySymbols_1, value._id); + _id, + _lib._sel_setVeryShortStandaloneWeekdaySymbols_1, + value._id, + ); } NSArray get quarterSymbols { @@ -49471,7 +63668,10 @@ class NSDateFormatter extends NSFormatter { set quarterSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setQuarterSymbols_1, value._id); + _id, + _lib._sel_setQuarterSymbols_1, + value._id, + ); } NSArray get shortQuarterSymbols { @@ -49481,29 +63681,42 @@ class NSDateFormatter extends NSFormatter { set shortQuarterSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setShortQuarterSymbols_1, value._id); + _id, + _lib._sel_setShortQuarterSymbols_1, + value._id, + ); } NSArray get standaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_standaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_standaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set standaloneQuarterSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setStandaloneQuarterSymbols_1, value._id); + _id, + _lib._sel_setStandaloneQuarterSymbols_1, + value._id, + ); } NSArray get shortStandaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_shortStandaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_shortStandaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } set shortStandaloneQuarterSymbols(NSArray value) { return _lib._objc_msgSend_661( - _id, _lib._sel_setShortStandaloneQuarterSymbols_1, value._id); + _id, + _lib._sel_setShortStandaloneQuarterSymbols_1, + value._id, + ); } NSDate? get gregorianStartDate { @@ -49515,7 +63728,10 @@ class NSDateFormatter extends NSFormatter { set gregorianStartDate(NSDate? value) { return _lib._objc_msgSend_660( - _id, _lib._sel_setGregorianStartDate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setGregorianStartDate_1, + value?._id ?? ffi.nullptr, + ); } bool get doesRelativeDateFormatting { @@ -49524,13 +63740,22 @@ class NSDateFormatter extends NSFormatter { set doesRelativeDateFormatting(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setDoesRelativeDateFormatting_1, value); + _id, + _lib._sel_setDoesRelativeDateFormatting_1, + value, + ); } NSObject initWithDateFormat_allowNaturalLanguage_( - NSString format, bool flag) { - final _ret = _lib._objc_msgSend_30(_id, - _lib._sel_initWithDateFormat_allowNaturalLanguage_1, format._id, flag); + NSString format, + bool flag, + ) { + final _ret = _lib._objc_msgSend_30( + _id, + _lib._sel_initWithDateFormat_allowNaturalLanguage_1, + format._id, + flag, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -49545,92 +63770,133 @@ class NSDateFormatter extends NSFormatter { } static NSDateFormatter new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateFormatter1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateFormatter1, + _lib._sel_new1, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static NSDateFormatter allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDateFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static NSDateFormatter alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateFormatter1, + _lib._sel_alloc1, + ); return NSDateFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDateFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDateFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDateFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDateFormatter1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDateFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDateFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSDateFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSDateFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSDateFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSDateFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSDateFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSDateFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDateFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSDateFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSDateFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDateFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSFormatter extends NSObject { - NSFormatter._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFormatter._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSFormatter] that points to the same underlying object as [other]. static NSFormatter castFrom(T other) { @@ -49639,32 +63905,44 @@ class NSFormatter extends NSObject { /// Returns a [NSFormatter] that wraps the given raw object pointer. static NSFormatter castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFormatter]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFormatter1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSFormatter1, + ); } NSString? stringForObjectValue_(NSObject? obj) { final _ret = _lib._objc_msgSend_595( - _id, _lib._sel_stringForObjectValue_1, obj?._id ?? ffi.nullptr); + _id, + _lib._sel_stringForObjectValue_1, + obj?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSAttributedString? attributedStringForObjectValue_withDefaultAttributes_( - NSObject obj, NSDictionary? attrs) { + NSObject obj, + NSDictionary? attrs, + ) { final _ret = _lib._objc_msgSend_596( - _id, - _lib._sel_attributedStringForObjectValue_withDefaultAttributes_1, - obj._id, - attrs?._id ?? ffi.nullptr); + _id, + _lib._sel_attributedStringForObjectValue_withDefaultAttributes_1, + obj._id, + attrs?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSAttributedString._(_ret, _lib, retain: true, release: true); @@ -49672,51 +63950,60 @@ class NSFormatter extends NSObject { NSString? editingStringForObjectValue_(NSObject obj) { final _ret = _lib._objc_msgSend_482( - _id, _lib._sel_editingStringForObjectValue_1, obj._id); + _id, + _lib._sel_editingStringForObjectValue_1, + obj._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } bool getObjectValue_forString_errorDescription_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_597( - _id, - _lib._sel_getObjectValue_forString_errorDescription_1, - obj, - string._id, - error); + _id, + _lib._sel_getObjectValue_forString_errorDescription_1, + obj, + string._id, + error, + ); } bool isPartialStringValid_newEditingString_errorDescription_( - NSString partialString, - ffi.Pointer> newString, - ffi.Pointer> error) { + NSString partialString, + ffi.Pointer> newString, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_598( - _id, - _lib._sel_isPartialStringValid_newEditingString_errorDescription_1, - partialString._id, - newString, - error); + _id, + _lib._sel_isPartialStringValid_newEditingString_errorDescription_1, + partialString._id, + newString, + error, + ); } bool - isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( - ffi.Pointer> partialStringPtr, - ffi.Pointer<_NSRange> proposedSelRangePtr, - NSString origString, - _NSRange origSelRange, - ffi.Pointer> error) { + isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_( + ffi.Pointer> partialStringPtr, + ffi.Pointer<_NSRange> proposedSelRangePtr, + NSString origString, + _NSRange origSelRange, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_599( - _id, - _lib._sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1, - partialStringPtr, - proposedSelRangePtr, - origString._id, - origSelRange, - error); + _id, + _lib._sel_isPartialStringValid_proposedSelectedRange_originalString_originalSelectedRange_errorDescription_1, + partialStringPtr, + proposedSelRangePtr, + origString._id, + origSelRange, + error, + ); } @override @@ -49731,78 +64018,114 @@ class NSFormatter extends NSObject { } static NSFormatter allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFormatter._(_ret, _lib, retain: false, release: true); } static NSFormatter alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFormatter1, + _lib._sel_alloc1, + ); return NSFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSFormatter1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -49831,9 +64154,12 @@ abstract class NSDateFormatterBehavior { } class NSTimeZone extends NSObject { - NSTimeZone._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTimeZone._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSTimeZone] that points to the same underlying object as [other]. static NSTimeZone castFrom(T other) { @@ -49842,15 +64168,21 @@ class NSTimeZone extends NSObject { /// Returns a [NSTimeZone] that wraps the given raw object pointer. static NSTimeZone castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTimeZone._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimeZone]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSTimeZone1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSTimeZone1, + ); } NSString get name { @@ -49865,12 +64197,18 @@ class NSTimeZone extends NSObject { int secondsFromGMTForDate_(NSDate aDate) { return _lib._objc_msgSend_612( - _id, _lib._sel_secondsFromGMTForDate_1, aDate._id); + _id, + _lib._sel_secondsFromGMTForDate_1, + aDate._id, + ); } NSString? abbreviationForDate_(NSDate aDate) { - final _ret = - _lib._objc_msgSend_613(_id, _lib._sel_abbreviationForDate_1, aDate._id); + final _ret = _lib._objc_msgSend_613( + _id, + _lib._sel_abbreviationForDate_1, + aDate._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -49878,20 +64216,32 @@ class NSTimeZone extends NSObject { bool isDaylightSavingTimeForDate_(NSDate aDate) { return _lib._objc_msgSend_162( - _id, _lib._sel_isDaylightSavingTimeForDate_1, aDate._id); + _id, + _lib._sel_isDaylightSavingTimeForDate_1, + aDate._id, + ); } double daylightSavingTimeOffsetForDate_(NSDate aDate) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_159_fpret( - _id, _lib._sel_daylightSavingTimeOffsetForDate_1, aDate._id) + _id, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate._id, + ) : _lib._objc_msgSend_159( - _id, _lib._sel_daylightSavingTimeOffsetForDate_1, aDate._id); + _id, + _lib._sel_daylightSavingTimeOffsetForDate_1, + aDate._id, + ); } NSDate? nextDaylightSavingTimeTransitionAfterDate_(NSDate aDate) { final _ret = _lib._objc_msgSend_614( - _id, _lib._sel_nextDaylightSavingTimeTransitionAfterDate_1, aDate._id); + _id, + _lib._sel_nextDaylightSavingTimeTransitionAfterDate_1, + aDate._id, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -49899,53 +64249,75 @@ class NSTimeZone extends NSObject { static NSTimeZone getSystemTimeZone(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_615( - _lib._class_NSTimeZone1, _lib._sel_systemTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_systemTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static void resetSystemTimeZone(PedometerBindings _lib) { _lib._objc_msgSend_1( - _lib._class_NSTimeZone1, _lib._sel_resetSystemTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_resetSystemTimeZone1, + ); } static NSTimeZone getDefaultTimeZone(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_615( - _lib._class_NSTimeZone1, _lib._sel_defaultTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_defaultTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static void setDefaultTimeZone(PedometerBindings _lib, NSTimeZone value) { return _lib._objc_msgSend_616( - _lib._class_NSTimeZone1, _lib._sel_setDefaultTimeZone_1, value._id); + _lib._class_NSTimeZone1, + _lib._sel_setDefaultTimeZone_1, + value._id, + ); } static NSTimeZone getLocalTimeZone(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_615( - _lib._class_NSTimeZone1, _lib._sel_localTimeZone1); + _lib._class_NSTimeZone1, + _lib._sel_localTimeZone1, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSArray getKnownTimeZoneNames(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSTimeZone1, _lib._sel_knownTimeZoneNames1); + _lib._class_NSTimeZone1, + _lib._sel_knownTimeZoneNames1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSDictionary getAbbreviationDictionary(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_355( - _lib._class_NSTimeZone1, _lib._sel_abbreviationDictionary1); + _lib._class_NSTimeZone1, + _lib._sel_abbreviationDictionary1, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static void setAbbreviationDictionary( - PedometerBindings _lib, NSDictionary value) { - return _lib._objc_msgSend_617(_lib._class_NSTimeZone1, - _lib._sel_setAbbreviationDictionary_1, value._id); + PedometerBindings _lib, + NSDictionary value, + ) { + return _lib._objc_msgSend_617( + _lib._class_NSTimeZone1, + _lib._sel_setAbbreviationDictionary_1, + value._id, + ); } static NSString getTimeZoneDataVersion(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_21( - _lib._class_NSTimeZone1, _lib._sel_timeZoneDataVersion1); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneDataVersion1, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -49972,7 +64344,9 @@ class NSTimeZone extends NSObject { NSDate? get nextDaylightSavingTimeTransition { final _ret = _lib._objc_msgSend_165( - _id, _lib._sel_nextDaylightSavingTimeTransition1); + _id, + _lib._sel_nextDaylightSavingTimeTransition1, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -49985,65 +64359,98 @@ class NSTimeZone extends NSObject { bool isEqualToTimeZone_(NSTimeZone aTimeZone) { return _lib._objc_msgSend_618( - _id, _lib._sel_isEqualToTimeZone_1, aTimeZone._id); + _id, + _lib._sel_isEqualToTimeZone_1, + aTimeZone._id, + ); } NSString? localizedName_locale_(int style, NSLocale? locale) { - final _ret = _lib._objc_msgSend_619(_id, _lib._sel_localizedName_locale_1, - style, locale?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_619( + _id, + _lib._sel_localizedName_locale_1, + style, + locale?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } static NSTimeZone? timeZoneWithName_( - PedometerBindings _lib, NSString tzName) { + PedometerBindings _lib, + NSString tzName, + ) { final _ret = _lib._objc_msgSend_38( - _lib._class_NSTimeZone1, _lib._sel_timeZoneWithName_1, tzName._id); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithName_1, + tzName._id, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone? timeZoneWithName_data_( - PedometerBindings _lib, NSString tzName, NSData? aData) { + PedometerBindings _lib, + NSString tzName, + NSData? aData, + ) { final _ret = _lib._objc_msgSend_620( - _lib._class_NSTimeZone1, - _lib._sel_timeZoneWithName_data_1, - tzName._id, - aData?._id ?? ffi.nullptr); + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithName_data_1, + tzName._id, + aData?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } NSTimeZone? initWithName_(NSString tzName) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithName_1, tzName._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_initWithName_1, + tzName._id, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } NSTimeZone? initWithName_data_(NSString tzName, NSData? aData) { - final _ret = _lib._objc_msgSend_620(_id, _lib._sel_initWithName_data_1, - tzName._id, aData?._id ?? ffi.nullptr); + final _ret = _lib._objc_msgSend_620( + _id, + _lib._sel_initWithName_data_1, + tzName._id, + aData?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone timeZoneForSecondsFromGMT_( - PedometerBindings _lib, int seconds) { - final _ret = _lib._objc_msgSend_621(_lib._class_NSTimeZone1, - _lib._sel_timeZoneForSecondsFromGMT_1, seconds); + PedometerBindings _lib, + int seconds, + ) { + final _ret = _lib._objc_msgSend_621( + _lib._class_NSTimeZone1, + _lib._sel_timeZoneForSecondsFromGMT_1, + seconds, + ); return NSTimeZone._(_ret, _lib, retain: true, release: true); } static NSTimeZone? timeZoneWithAbbreviation_( - PedometerBindings _lib, NSString abbreviation) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSTimeZone1, - _lib._sel_timeZoneWithAbbreviation_1, abbreviation._id); + PedometerBindings _lib, + NSString abbreviation, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSTimeZone1, + _lib._sel_timeZoneWithAbbreviation_1, + abbreviation._id, + ); return _ret.address == 0 ? null : NSTimeZone._(_ret, _lib, retain: true, release: true); @@ -50061,78 +64468,114 @@ class NSTimeZone extends NSObject { } static NSTimeZone allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimeZone1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTimeZone1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTimeZone._(_ret, _lib, retain: false, release: true); } static NSTimeZone alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSTimeZone1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSTimeZone1, + _lib._sel_alloc1, + ); return NSTimeZone._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTimeZone1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTimeZone1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTimeZone1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSTimeZone1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimeZone1, _lib._sel_useStoredAccessor1); + _lib._class_NSTimeZone1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSTimeZone1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSTimeZone1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSTimeZone1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSTimeZone1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSTimeZone1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTimeZone1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSTimeZone1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSTimeZone1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimeZone1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTimeZone1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -50147,9 +64590,12 @@ abstract class NSTimeZoneNameStyle { } class NSCalendar extends NSObject { - NSCalendar._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCalendar._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSCalendar] that points to the same underlying object as [other]. static NSCalendar castFrom(T other) { @@ -50158,33 +64604,48 @@ class NSCalendar extends NSObject { /// Returns a [NSCalendar] that wraps the given raw object pointer. static NSCalendar castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCalendar._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCalendar]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSCalendar1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSCalendar1, + ); } static NSCalendar getCurrentCalendar(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_622( - _lib._class_NSCalendar1, _lib._sel_currentCalendar1); + _lib._class_NSCalendar1, + _lib._sel_currentCalendar1, + ); return NSCalendar._(_ret, _lib, retain: true, release: true); } static NSCalendar getAutoupdatingCurrentCalendar(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_622( - _lib._class_NSCalendar1, _lib._sel_autoupdatingCurrentCalendar1); + _lib._class_NSCalendar1, + _lib._sel_autoupdatingCurrentCalendar1, + ); return NSCalendar._(_ret, _lib, retain: true, release: true); } static NSCalendar? calendarWithIdentifier_( - PedometerBindings _lib, NSString calendarIdentifierConstant) { - final _ret = _lib._objc_msgSend_623(_lib._class_NSCalendar1, - _lib._sel_calendarWithIdentifier_1, calendarIdentifierConstant._id); + PedometerBindings _lib, + NSString calendarIdentifierConstant, + ) { + final _ret = _lib._objc_msgSend_623( + _lib._class_NSCalendar1, + _lib._sel_calendarWithIdentifier_1, + calendarIdentifierConstant._id, + ); return _ret.address == 0 ? null : NSCalendar._(_ret, _lib, retain: true, release: true); @@ -50198,7 +64659,10 @@ class NSCalendar extends NSObject { NSObject? initWithCalendarIdentifier_(NSString ident) { final _ret = _lib._objc_msgSend_38( - _id, _lib._sel_initWithCalendarIdentifier_1, ident._id); + _id, + _lib._sel_initWithCalendarIdentifier_1, + ident._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -50218,7 +64682,10 @@ class NSCalendar extends NSObject { set locale(NSLocale? value) { return _lib._objc_msgSend_625( - _id, _lib._sel_setLocale_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setLocale_1, + value?._id ?? ffi.nullptr, + ); } NSTimeZone get timeZone { @@ -50244,7 +64711,10 @@ class NSCalendar extends NSObject { set minimumDaysInFirstWeek(int value) { return _lib._objc_msgSend_472( - _id, _lib._sel_setMinimumDaysInFirstWeek_1, value); + _id, + _lib._sel_setMinimumDaysInFirstWeek_1, + value, + ); } NSArray get eraSymbols { @@ -50278,14 +64748,18 @@ class NSCalendar extends NSObject { } NSArray get shortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_shortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_shortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortStandaloneMonthSymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_veryShortStandaloneMonthSymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_veryShortStandaloneMonthSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -50305,20 +64779,26 @@ class NSCalendar extends NSObject { } NSArray get standaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_standaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_standaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortStandaloneWeekdaySymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_shortStandaloneWeekdaySymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_shortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get veryShortStandaloneWeekdaySymbols { final _ret = _lib._objc_msgSend_77( - _id, _lib._sel_veryShortStandaloneWeekdaySymbols1); + _id, + _lib._sel_veryShortStandaloneWeekdaySymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -50333,14 +64813,18 @@ class NSCalendar extends NSObject { } NSArray get standaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_standaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_standaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } NSArray get shortStandaloneQuarterSymbols { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_shortStandaloneQuarterSymbols1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_shortStandaloneQuarterSymbols1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -50357,50 +64841,89 @@ class NSCalendar extends NSObject { void minimumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_626_stret( - stret, _id, _lib._sel_minimumRangeOfUnit_1, unit) - : stret.ref = - _lib._objc_msgSend_626(_id, _lib._sel_minimumRangeOfUnit_1, unit); + stret, + _id, + _lib._sel_minimumRangeOfUnit_1, + unit, + ) + : stret.ref = _lib._objc_msgSend_626( + _id, + _lib._sel_minimumRangeOfUnit_1, + unit, + ); } void maximumRangeOfUnit_(ffi.Pointer<_NSRange> stret, int unit) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_626_stret( - stret, _id, _lib._sel_maximumRangeOfUnit_1, unit) - : stret.ref = - _lib._objc_msgSend_626(_id, _lib._sel_maximumRangeOfUnit_1, unit); + stret, + _id, + _lib._sel_maximumRangeOfUnit_1, + unit, + ) + : stret.ref = _lib._objc_msgSend_626( + _id, + _lib._sel_maximumRangeOfUnit_1, + unit, + ); } void rangeOfUnit_inUnit_forDate_( - ffi.Pointer<_NSRange> stret, int smaller, int larger, NSDate date) { + ffi.Pointer<_NSRange> stret, + int smaller, + int larger, + NSDate date, + ) { _lib._objc_msgSend_useVariants1 - ? _lib._objc_msgSend_627_stret(stret, _id, - _lib._sel_rangeOfUnit_inUnit_forDate_1, smaller, larger, date._id) - : stret.ref = _lib._objc_msgSend_627(_id, - _lib._sel_rangeOfUnit_inUnit_forDate_1, smaller, larger, date._id); + ? _lib._objc_msgSend_627_stret( + stret, + _id, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date._id, + ) + : stret.ref = _lib._objc_msgSend_627( + _id, + _lib._sel_rangeOfUnit_inUnit_forDate_1, + smaller, + larger, + date._id, + ); } int ordinalityOfUnit_inUnit_forDate_(int smaller, int larger, NSDate date) { - return _lib._objc_msgSend_628(_id, - _lib._sel_ordinalityOfUnit_inUnit_forDate_1, smaller, larger, date._id); + return _lib._objc_msgSend_628( + _id, + _lib._sel_ordinalityOfUnit_inUnit_forDate_1, + smaller, + larger, + date._id, + ); } bool rangeOfUnit_startDate_interval_forDate_( - int unit, - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date) { + int unit, + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date, + ) { return _lib._objc_msgSend_629( - _id, - _lib._sel_rangeOfUnit_startDate_interval_forDate_1, - unit, - datep, - tip, - date._id); + _id, + _lib._sel_rangeOfUnit_startDate_interval_forDate_1, + unit, + datep, + tip, + date._id, + ); } NSDate? dateFromComponents_(NSDateComponents comps) { - final _ret = - _lib._objc_msgSend_638(_id, _lib._sel_dateFromComponents_1, comps._id); + final _ret = _lib._objc_msgSend_638( + _id, + _lib._sel_dateFromComponents_1, + comps._id, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -50408,175 +64931,223 @@ class NSCalendar extends NSObject { NSDateComponents components_fromDate_(int unitFlags, NSDate date) { final _ret = _lib._objc_msgSend_639( - _id, _lib._sel_components_fromDate_1, unitFlags, date._id); + _id, + _lib._sel_components_fromDate_1, + unitFlags, + date._id, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } NSDate? dateByAddingComponents_toDate_options_( - NSDateComponents comps, NSDate date, int opts) { + NSDateComponents comps, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_640( - _id, - _lib._sel_dateByAddingComponents_toDate_options_1, - comps._id, - date._id, - opts); + _id, + _lib._sel_dateByAddingComponents_toDate_options_1, + comps._id, + date._id, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDateComponents components_fromDate_toDate_options_( - int unitFlags, NSDate startingDate, NSDate resultDate, int opts) { + int unitFlags, + NSDate startingDate, + NSDate resultDate, + int opts, + ) { final _ret = _lib._objc_msgSend_641( - _id, - _lib._sel_components_fromDate_toDate_options_1, - unitFlags, - startingDate._id, - resultDate._id, - opts); + _id, + _lib._sel_components_fromDate_toDate_options_1, + unitFlags, + startingDate._id, + resultDate._id, + opts, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } void getEra_year_month_day_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer monthValuePointer, - ffi.Pointer dayValuePointer, - NSDate date) { + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer monthValuePointer, + ffi.Pointer dayValuePointer, + NSDate date, + ) { _lib._objc_msgSend_642( - _id, - _lib._sel_getEra_year_month_day_fromDate_1, - eraValuePointer, - yearValuePointer, - monthValuePointer, - dayValuePointer, - date._id); + _id, + _lib._sel_getEra_year_month_day_fromDate_1, + eraValuePointer, + yearValuePointer, + monthValuePointer, + dayValuePointer, + date._id, + ); } void getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_( - ffi.Pointer eraValuePointer, - ffi.Pointer yearValuePointer, - ffi.Pointer weekValuePointer, - ffi.Pointer weekdayValuePointer, - NSDate date) { + ffi.Pointer eraValuePointer, + ffi.Pointer yearValuePointer, + ffi.Pointer weekValuePointer, + ffi.Pointer weekdayValuePointer, + NSDate date, + ) { _lib._objc_msgSend_642( - _id, - _lib._sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1, - eraValuePointer, - yearValuePointer, - weekValuePointer, - weekdayValuePointer, - date._id); + _id, + _lib._sel_getEra_yearForWeekOfYear_weekOfYear_weekday_fromDate_1, + eraValuePointer, + yearValuePointer, + weekValuePointer, + weekdayValuePointer, + date._id, + ); } void getHour_minute_second_nanosecond_fromDate_( - ffi.Pointer hourValuePointer, - ffi.Pointer minuteValuePointer, - ffi.Pointer secondValuePointer, - ffi.Pointer nanosecondValuePointer, - NSDate date) { + ffi.Pointer hourValuePointer, + ffi.Pointer minuteValuePointer, + ffi.Pointer secondValuePointer, + ffi.Pointer nanosecondValuePointer, + NSDate date, + ) { _lib._objc_msgSend_642( - _id, - _lib._sel_getHour_minute_second_nanosecond_fromDate_1, - hourValuePointer, - minuteValuePointer, - secondValuePointer, - nanosecondValuePointer, - date._id); + _id, + _lib._sel_getHour_minute_second_nanosecond_fromDate_1, + hourValuePointer, + minuteValuePointer, + secondValuePointer, + nanosecondValuePointer, + date._id, + ); } int component_fromDate_(int unit, NSDate date) { return _lib._objc_msgSend_643( - _id, _lib._sel_component_fromDate_1, unit, date._id); + _id, + _lib._sel_component_fromDate_1, + unit, + date._id, + ); } NSDate? dateWithEra_year_month_day_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int monthValue, - int dayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue) { + int eraValue, + int yearValue, + int monthValue, + int dayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue, + ) { final _ret = _lib._objc_msgSend_644( - _id, - _lib._sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - monthValue, - dayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue); + _id, + _lib._sel_dateWithEra_year_month_day_hour_minute_second_nanosecond_1, + eraValue, + yearValue, + monthValue, + dayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? - dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( - int eraValue, - int yearValue, - int weekValue, - int weekdayValue, - int hourValue, - int minuteValue, - int secondValue, - int nanosecondValue) { + dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_( + int eraValue, + int yearValue, + int weekValue, + int weekdayValue, + int hourValue, + int minuteValue, + int secondValue, + int nanosecondValue, + ) { final _ret = _lib._objc_msgSend_644( - _id, - _lib._sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1, - eraValue, - yearValue, - weekValue, - weekdayValue, - hourValue, - minuteValue, - secondValue, - nanosecondValue); + _id, + _lib._sel_dateWithEra_yearForWeekOfYear_weekOfYear_weekday_hour_minute_second_nanosecond_1, + eraValue, + yearValue, + weekValue, + weekdayValue, + hourValue, + minuteValue, + secondValue, + nanosecondValue, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate startOfDayForDate_(NSDate date) { - final _ret = - _lib._objc_msgSend_160(_id, _lib._sel_startOfDayForDate_1, date._id); + final _ret = _lib._objc_msgSend_160( + _id, + _lib._sel_startOfDayForDate_1, + date._id, + ); return NSDate._(_ret, _lib, retain: true, release: true); } NSDateComponents componentsInTimeZone_fromDate_( - NSTimeZone timezone, NSDate date) { + NSTimeZone timezone, + NSDate date, + ) { final _ret = _lib._objc_msgSend_645( - _id, _lib._sel_componentsInTimeZone_fromDate_1, timezone._id, date._id); + _id, + _lib._sel_componentsInTimeZone_fromDate_1, + timezone._id, + date._id, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } int compareDate_toDate_toUnitGranularity_( - NSDate date1, NSDate date2, int unit) { + NSDate date1, + NSDate date2, + int unit, + ) { return _lib._objc_msgSend_646( - _id, - _lib._sel_compareDate_toDate_toUnitGranularity_1, - date1._id, - date2._id, - unit); + _id, + _lib._sel_compareDate_toDate_toUnitGranularity_1, + date1._id, + date2._id, + unit, + ); } bool isDate_equalToDate_toUnitGranularity_( - NSDate date1, NSDate date2, int unit) { + NSDate date1, + NSDate date2, + int unit, + ) { return _lib._objc_msgSend_647( - _id, - _lib._sel_isDate_equalToDate_toUnitGranularity_1, - date1._id, - date2._id, - unit); + _id, + _lib._sel_isDate_equalToDate_toUnitGranularity_1, + date1._id, + date2._id, + unit, + ); } bool isDate_inSameDayAsDate_(NSDate date1, NSDate date2) { return _lib._objc_msgSend_648( - _id, _lib._sel_isDate_inSameDayAsDate_1, date1._id, date2._id); + _id, + _lib._sel_isDate_inSameDayAsDate_1, + date1._id, + date2._id, + ); } bool isDateInToday_(NSDate date) { @@ -50596,140 +65167,179 @@ class NSCalendar extends NSObject { } bool rangeOfWeekendStartDate_interval_containingDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - NSDate date) { + ffi.Pointer> datep, + ffi.Pointer tip, + NSDate date, + ) { return _lib._objc_msgSend_649( - _id, - _lib._sel_rangeOfWeekendStartDate_interval_containingDate_1, - datep, - tip, - date._id); + _id, + _lib._sel_rangeOfWeekendStartDate_interval_containingDate_1, + datep, + tip, + date._id, + ); } bool nextWeekendStartDate_interval_options_afterDate_( - ffi.Pointer> datep, - ffi.Pointer tip, - int options, - NSDate date) { + ffi.Pointer> datep, + ffi.Pointer tip, + int options, + NSDate date, + ) { return _lib._objc_msgSend_650( - _id, - _lib._sel_nextWeekendStartDate_interval_options_afterDate_1, - datep, - tip, - options, - date._id); + _id, + _lib._sel_nextWeekendStartDate_interval_options_afterDate_1, + datep, + tip, + options, + date._id, + ); } NSDateComponents components_fromDateComponents_toDateComponents_options_( - int unitFlags, - NSDateComponents startingDateComp, - NSDateComponents resultDateComp, - int options) { + int unitFlags, + NSDateComponents startingDateComp, + NSDateComponents resultDateComp, + int options, + ) { final _ret = _lib._objc_msgSend_651( - _id, - _lib._sel_components_fromDateComponents_toDateComponents_options_1, - unitFlags, - startingDateComp._id, - resultDateComp._id, - options); + _id, + _lib._sel_components_fromDateComponents_toDateComponents_options_1, + unitFlags, + startingDateComp._id, + resultDateComp._id, + options, + ); return NSDateComponents._(_ret, _lib, retain: true, release: true); } NSDate? dateByAddingUnit_value_toDate_options_( - int unit, int value, NSDate date, int options) { + int unit, + int value, + NSDate date, + int options, + ) { final _ret = _lib._objc_msgSend_652( - _id, - _lib._sel_dateByAddingUnit_value_toDate_options_1, - unit, - value, - date._id, - options); + _id, + _lib._sel_dateByAddingUnit_value_toDate_options_1, + unit, + value, + date._id, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } void enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_( - NSDate start, - NSDateComponents comps, - int opts, - ObjCBlock_ffiVoid_NSDate_bool_bool block) { + NSDate start, + NSDateComponents comps, + int opts, + ObjCBlock_ffiVoid_NSDate_bool_bool block, + ) { _lib._objc_msgSend_653( - _id, - _lib._sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1, - start._id, - comps._id, - opts, - block._id); + _id, + _lib._sel_enumerateDatesStartingAfterDate_matchingComponents_options_usingBlock_1, + start._id, + comps._id, + opts, + block._id, + ); } NSDate? nextDateAfterDate_matchingComponents_options_( - NSDate date, NSDateComponents comps, int options) { + NSDate date, + NSDateComponents comps, + int options, + ) { final _ret = _lib._objc_msgSend_654( - _id, - _lib._sel_nextDateAfterDate_matchingComponents_options_1, - date._id, - comps._id, - options); + _id, + _lib._sel_nextDateAfterDate_matchingComponents_options_1, + date._id, + comps._id, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? nextDateAfterDate_matchingUnit_value_options_( - NSDate date, int unit, int value, int options) { + NSDate date, + int unit, + int value, + int options, + ) { final _ret = _lib._objc_msgSend_655( - _id, - _lib._sel_nextDateAfterDate_matchingUnit_value_options_1, - date._id, - unit, - value, - options); + _id, + _lib._sel_nextDateAfterDate_matchingUnit_value_options_1, + date._id, + unit, + value, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } - NSDate? nextDateAfterDate_matchingHour_minute_second_options_(NSDate date, - int hourValue, int minuteValue, int secondValue, int options) { + NSDate? nextDateAfterDate_matchingHour_minute_second_options_( + NSDate date, + int hourValue, + int minuteValue, + int secondValue, + int options, + ) { final _ret = _lib._objc_msgSend_656( - _id, - _lib._sel_nextDateAfterDate_matchingHour_minute_second_options_1, - date._id, - hourValue, - minuteValue, - secondValue, - options); + _id, + _lib._sel_nextDateAfterDate_matchingHour_minute_second_options_1, + date._id, + hourValue, + minuteValue, + secondValue, + options, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? dateBySettingUnit_value_ofDate_options_( - int unit, int v, NSDate date, int opts) { + int unit, + int v, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_652( - _id, - _lib._sel_dateBySettingUnit_value_ofDate_options_1, - unit, - v, - date._id, - opts); + _id, + _lib._sel_dateBySettingUnit_value_ofDate_options_1, + unit, + v, + date._id, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } NSDate? dateBySettingHour_minute_second_ofDate_options_( - int h, int m, int s, NSDate date, int opts) { + int h, + int m, + int s, + NSDate date, + int opts, + ) { final _ret = _lib._objc_msgSend_657( - _id, - _lib._sel_dateBySettingHour_minute_second_ofDate_options_1, - h, - m, - s, - date._id, - opts); + _id, + _lib._sel_dateBySettingHour_minute_second_ofDate_options_1, + h, + m, + s, + date._id, + opts, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); @@ -50737,7 +65347,11 @@ class NSCalendar extends NSObject { bool date_matchesComponents_(NSDate date, NSDateComponents components) { return _lib._objc_msgSend_658( - _id, _lib._sel_date_matchesComponents_1, date._id, components._id); + _id, + _lib._sel_date_matchesComponents_1, + date._id, + components._id, + ); } static NSCalendar new1(PedometerBindings _lib) { @@ -50746,78 +65360,114 @@ class NSCalendar extends NSObject { } static NSCalendar allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCalendar1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCalendar1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCalendar._(_ret, _lib, retain: false, release: true); } static NSCalendar alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCalendar1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCalendar1, + _lib._sel_alloc1, + ); return NSCalendar._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCalendar1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCalendar1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCalendar1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSCalendar1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCalendar1, _lib._sel_useStoredAccessor1); + _lib._class_NSCalendar1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSCalendar1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSCalendar1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSCalendar1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSCalendar1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSCalendar1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCalendar1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSCalendar1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSCalendar1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCalendar1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCalendar1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -50858,27 +65508,40 @@ abstract class NSCalendarUnit { } class NSDateComponents extends NSObject { - NSDateComponents._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDateComponents._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSDateComponents] that points to the same underlying object as [other]. static NSDateComponents castFrom(T other) { - return NSDateComponents._(other._id, other._lib, - retain: true, release: true); + return NSDateComponents._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSDateComponents] that wraps the given raw object pointer. static NSDateComponents castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSDateComponents._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSDateComponents]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDateComponents1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSDateComponents1, + ); } NSCalendar? get calendar { @@ -50890,7 +65553,10 @@ class NSDateComponents extends NSObject { set calendar(NSCalendar? value) { return _lib._objc_msgSend_631( - _id, _lib._sel_setCalendar_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setCalendar_1, + value?._id ?? ffi.nullptr, + ); } NSTimeZone? get timeZone { @@ -50902,7 +65568,10 @@ class NSDateComponents extends NSObject { set timeZone(NSTimeZone? value) { return _lib._objc_msgSend_633( - _id, _lib._sel_setTimeZone_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTimeZone_1, + value?._id ?? ffi.nullptr, + ); } int get era { @@ -51054,7 +65723,10 @@ class NSDateComponents extends NSObject { bool isValidDateInCalendar_(NSCalendar calendar) { return _lib._objc_msgSend_637( - _id, _lib._sel_isValidDateInCalendar_1, calendar._id); + _id, + _lib._sel_isValidDateInCalendar_1, + calendar._id, + ); } @override @@ -51064,84 +65736,122 @@ class NSDateComponents extends NSObject { } static NSDateComponents new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateComponents1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateComponents1, + _lib._sel_new1, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static NSDateComponents allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDateComponents1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDateComponents1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static NSDateComponents alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSDateComponents1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDateComponents1, + _lib._sel_alloc1, + ); return NSDateComponents._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDateComponents1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDateComponents1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDateComponents1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDateComponents1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDateComponents1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDateComponents1, _lib._sel_useStoredAccessor1); + _lib._class_NSDateComponents1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSDateComponents1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSDateComponents1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSDateComponents1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSDateComponents1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSDateComponents1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDateComponents1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSDateComponents1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSDateComponents1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDateComponents1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSDateComponents1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -51158,41 +65868,54 @@ abstract class NSCalendarOptions { } void _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, bool, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry = + < + int, + void Function(ffi.Pointer, bool, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function(ffi.Pointer, bool, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSDate_bool_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSDate_bool_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -51200,24 +65923,32 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDate_bool_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -51225,24 +65956,36 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunction(PedometerBindings lib, - void Function(NSDate?, bool, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 ? null : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2))), - lib); + ObjCBlock_ffiVoid_NSDate_bool_bool.fromFunction( + PedometerBindings lib, + void Function(NSDate?, bool, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( + ( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -51254,67 +65997,107 @@ class ObjCBlock_ffiVoid_NSDate_bool_bool extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSDate_bool_bool.listener(PedometerBindings lib, - void Function(NSDate?, bool, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 ? null : NSDate._(arg0, lib, retain: true, release: true), - arg1, - arg2))), - lib); + ObjCBlock_ffiVoid_NSDate_bool_bool.listener( + PedometerBindings lib, + void Function(NSDate?, bool, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSDate_bool_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDate_bool_bool_registerClosure( + ( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSDate._(arg0, lib, retain: true, release: true), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => - _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, bool, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call(NSDate? arg0, bool arg1, ffi.Pointer arg2) => _id + .ref + .invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1, arg2); } class NSNumberFormatter extends NSFormatter { - NSNumberFormatter._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNumberFormatter._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSNumberFormatter] that points to the same underlying object as [other]. static NSNumberFormatter castFrom(T other) { - return NSNumberFormatter._(other._id, other._lib, - retain: true, release: true); + return NSNumberFormatter._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSNumberFormatter] that wraps the given raw object pointer. static NSNumberFormatter castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNumberFormatter._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNumberFormatter]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSNumberFormatter1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSNumberFormatter1, + ); } int get formattingContext { @@ -51326,51 +66109,73 @@ class NSNumberFormatter extends NSFormatter { } bool getObjectValue_forString_range_error_( - ffi.Pointer> obj, - NSString string, - ffi.Pointer<_NSRange> rangep, - ffi.Pointer> error) { + ffi.Pointer> obj, + NSString string, + ffi.Pointer<_NSRange> rangep, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_602( - _id, - _lib._sel_getObjectValue_forString_range_error_1, - obj, - string._id, - rangep, - error); + _id, + _lib._sel_getObjectValue_forString_range_error_1, + obj, + string._id, + rangep, + error, + ); } NSString? stringFromNumber_(NSNumber number) { - final _ret = - _lib._objc_msgSend_662(_id, _lib._sel_stringFromNumber_1, number._id); + final _ret = _lib._objc_msgSend_662( + _id, + _lib._sel_stringFromNumber_1, + number._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } NSNumber? numberFromString_(NSString string) { - final _ret = - _lib._objc_msgSend_663(_id, _lib._sel_numberFromString_1, string._id); + final _ret = _lib._objc_msgSend_663( + _id, + _lib._sel_numberFromString_1, + string._id, + ); return _ret.address == 0 ? null : NSNumber._(_ret, _lib, retain: true, release: true); } static NSString localizedStringFromNumber_numberStyle_( - PedometerBindings _lib, NSNumber num, int nstyle) { - final _ret = _lib._objc_msgSend_664(_lib._class_NSNumberFormatter1, - _lib._sel_localizedStringFromNumber_numberStyle_1, num._id, nstyle); + PedometerBindings _lib, + NSNumber num, + int nstyle, + ) { + final _ret = _lib._objc_msgSend_664( + _lib._class_NSNumberFormatter1, + _lib._sel_localizedStringFromNumber_numberStyle_1, + num._id, + nstyle, + ); return NSString._(_ret, _lib, retain: true, release: true); } static int defaultFormatterBehavior(PedometerBindings _lib) { return _lib._objc_msgSend_665( - _lib._class_NSNumberFormatter1, _lib._sel_defaultFormatterBehavior1); + _lib._class_NSNumberFormatter1, + _lib._sel_defaultFormatterBehavior1, + ); } static void setDefaultFormatterBehavior_( - PedometerBindings _lib, int behavior) { - _lib._objc_msgSend_666(_lib._class_NSNumberFormatter1, - _lib._sel_setDefaultFormatterBehavior_1, behavior); + PedometerBindings _lib, + int behavior, + ) { + _lib._objc_msgSend_666( + _lib._class_NSNumberFormatter1, + _lib._sel_setDefaultFormatterBehavior_1, + behavior, + ); } int get numberStyle { @@ -51396,7 +66201,10 @@ class NSNumberFormatter extends NSFormatter { set generatesDecimalNumbers(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setGeneratesDecimalNumbers_1, value); + _id, + _lib._sel_setGeneratesDecimalNumbers_1, + value, + ); } int get formatterBehavior { @@ -51414,12 +66222,17 @@ class NSNumberFormatter extends NSFormatter { set negativeFormat(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setNegativeFormat_1, value._id); + _id, + _lib._sel_setNegativeFormat_1, + value._id, + ); } NSDictionary? get textAttributesForNegativeValues { - final _ret = - _lib._objc_msgSend_345(_id, _lib._sel_textAttributesForNegativeValues1); + final _ret = _lib._objc_msgSend_345( + _id, + _lib._sel_textAttributesForNegativeValues1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -51427,9 +66240,10 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNegativeValues(NSDictionary? value) { return _lib._objc_msgSend_670( - _id, - _lib._sel_setTextAttributesForNegativeValues_1, - value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTextAttributesForNegativeValues_1, + value?._id ?? ffi.nullptr, + ); } NSString get positiveFormat { @@ -51439,12 +66253,17 @@ class NSNumberFormatter extends NSFormatter { set positiveFormat(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setPositiveFormat_1, value._id); + _id, + _lib._sel_setPositiveFormat_1, + value._id, + ); } NSDictionary? get textAttributesForPositiveValues { - final _ret = - _lib._objc_msgSend_345(_id, _lib._sel_textAttributesForPositiveValues1); + final _ret = _lib._objc_msgSend_345( + _id, + _lib._sel_textAttributesForPositiveValues1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -51452,9 +66271,10 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForPositiveValues(NSDictionary? value) { return _lib._objc_msgSend_670( - _id, - _lib._sel_setTextAttributesForPositiveValues_1, - value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTextAttributesForPositiveValues_1, + value?._id ?? ffi.nullptr, + ); } bool get allowsFloats { @@ -51472,7 +66292,10 @@ class NSNumberFormatter extends NSFormatter { set decimalSeparator(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setDecimalSeparator_1, value._id); + _id, + _lib._sel_setDecimalSeparator_1, + value._id, + ); } bool get alwaysShowsDecimalSeparator { @@ -51481,18 +66304,26 @@ class NSNumberFormatter extends NSFormatter { set alwaysShowsDecimalSeparator(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAlwaysShowsDecimalSeparator_1, value); + _id, + _lib._sel_setAlwaysShowsDecimalSeparator_1, + value, + ); } NSString get currencyDecimalSeparator { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_currencyDecimalSeparator1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_currencyDecimalSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set currencyDecimalSeparator(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setCurrencyDecimalSeparator_1, value._id); + _id, + _lib._sel_setCurrencyDecimalSeparator_1, + value._id, + ); } bool get usesGroupingSeparator { @@ -51501,7 +66332,10 @@ class NSNumberFormatter extends NSFormatter { set usesGroupingSeparator(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setUsesGroupingSeparator_1, value); + _id, + _lib._sel_setUsesGroupingSeparator_1, + value, + ); } NSString get groupingSeparator { @@ -51511,7 +66345,10 @@ class NSNumberFormatter extends NSFormatter { set groupingSeparator(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setGroupingSeparator_1, value._id); + _id, + _lib._sel_setGroupingSeparator_1, + value._id, + ); } NSString? get zeroSymbol { @@ -51523,7 +66360,10 @@ class NSNumberFormatter extends NSFormatter { set zeroSymbol(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setZeroSymbol_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setZeroSymbol_1, + value?._id ?? ffi.nullptr, + ); } NSDictionary? get textAttributesForZero { @@ -51535,7 +66375,10 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForZero(NSDictionary? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setTextAttributesForZero_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTextAttributesForZero_1, + value?._id ?? ffi.nullptr, + ); } NSString get nilSymbol { @@ -51556,7 +66399,10 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNil(NSDictionary? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setTextAttributesForNil_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTextAttributesForNil_1, + value?._id ?? ffi.nullptr, + ); } NSString get notANumberSymbol { @@ -51566,20 +66412,28 @@ class NSNumberFormatter extends NSFormatter { set notANumberSymbol(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setNotANumberSymbol_1, value._id); + _id, + _lib._sel_setNotANumberSymbol_1, + value._id, + ); } NSDictionary? get textAttributesForNotANumber { - final _ret = - _lib._objc_msgSend_345(_id, _lib._sel_textAttributesForNotANumber1); + final _ret = _lib._objc_msgSend_345( + _id, + _lib._sel_textAttributesForNotANumber1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } set textAttributesForNotANumber(NSDictionary? value) { - return _lib._objc_msgSend_670(_id, - _lib._sel_setTextAttributesForNotANumber_1, value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_670( + _id, + _lib._sel_setTextAttributesForNotANumber_1, + value?._id ?? ffi.nullptr, + ); } NSString get positiveInfinitySymbol { @@ -51589,12 +66443,17 @@ class NSNumberFormatter extends NSFormatter { set positiveInfinitySymbol(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setPositiveInfinitySymbol_1, value._id); + _id, + _lib._sel_setPositiveInfinitySymbol_1, + value._id, + ); } NSDictionary? get textAttributesForPositiveInfinity { final _ret = _lib._objc_msgSend_345( - _id, _lib._sel_textAttributesForPositiveInfinity1); + _id, + _lib._sel_textAttributesForPositiveInfinity1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -51602,9 +66461,10 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForPositiveInfinity(NSDictionary? value) { return _lib._objc_msgSend_670( - _id, - _lib._sel_setTextAttributesForPositiveInfinity_1, - value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTextAttributesForPositiveInfinity_1, + value?._id ?? ffi.nullptr, + ); } NSString get negativeInfinitySymbol { @@ -51614,12 +66474,17 @@ class NSNumberFormatter extends NSFormatter { set negativeInfinitySymbol(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setNegativeInfinitySymbol_1, value._id); + _id, + _lib._sel_setNegativeInfinitySymbol_1, + value._id, + ); } NSDictionary? get textAttributesForNegativeInfinity { final _ret = _lib._objc_msgSend_345( - _id, _lib._sel_textAttributesForNegativeInfinity1); + _id, + _lib._sel_textAttributesForNegativeInfinity1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -51627,9 +66492,10 @@ class NSNumberFormatter extends NSFormatter { set textAttributesForNegativeInfinity(NSDictionary? value) { return _lib._objc_msgSend_670( - _id, - _lib._sel_setTextAttributesForNegativeInfinity_1, - value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTextAttributesForNegativeInfinity_1, + value?._id ?? ffi.nullptr, + ); } NSString get positivePrefix { @@ -51639,7 +66505,10 @@ class NSNumberFormatter extends NSFormatter { set positivePrefix(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setPositivePrefix_1, value._id); + _id, + _lib._sel_setPositivePrefix_1, + value._id, + ); } NSString get positiveSuffix { @@ -51649,7 +66518,10 @@ class NSNumberFormatter extends NSFormatter { set positiveSuffix(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setPositiveSuffix_1, value._id); + _id, + _lib._sel_setPositiveSuffix_1, + value._id, + ); } NSString get negativePrefix { @@ -51659,7 +66531,10 @@ class NSNumberFormatter extends NSFormatter { set negativePrefix(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setNegativePrefix_1, value._id); + _id, + _lib._sel_setNegativePrefix_1, + value._id, + ); } NSString get negativeSuffix { @@ -51669,7 +66544,10 @@ class NSNumberFormatter extends NSFormatter { set negativeSuffix(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setNegativeSuffix_1, value._id); + _id, + _lib._sel_setNegativeSuffix_1, + value._id, + ); } NSString get currencyCode { @@ -51688,18 +66566,26 @@ class NSNumberFormatter extends NSFormatter { set currencySymbol(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setCurrencySymbol_1, value._id); + _id, + _lib._sel_setCurrencySymbol_1, + value._id, + ); } NSString get internationalCurrencySymbol { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_internationalCurrencySymbol1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_internationalCurrencySymbol1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set internationalCurrencySymbol(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setInternationalCurrencySymbol_1, value._id); + _id, + _lib._sel_setInternationalCurrencySymbol_1, + value._id, + ); } NSString get percentSymbol { @@ -51745,7 +66631,10 @@ class NSNumberFormatter extends NSFormatter { set exponentSymbol(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setExponentSymbol_1, value._id); + _id, + _lib._sel_setExponentSymbol_1, + value._id, + ); } int get groupingSize { @@ -51762,7 +66651,10 @@ class NSNumberFormatter extends NSFormatter { set secondaryGroupingSize(int value) { return _lib._objc_msgSend_472( - _id, _lib._sel_setSecondaryGroupingSize_1, value); + _id, + _lib._sel_setSecondaryGroupingSize_1, + value, + ); } NSNumber? get multiplier { @@ -51774,7 +66666,10 @@ class NSNumberFormatter extends NSFormatter { set multiplier(NSNumber? value) { return _lib._objc_msgSend_518( - _id, _lib._sel_setMultiplier_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setMultiplier_1, + value?._id ?? ffi.nullptr, + ); } int get formatWidth { @@ -51792,7 +66687,10 @@ class NSNumberFormatter extends NSFormatter { set paddingCharacter(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setPaddingCharacter_1, value._id); + _id, + _lib._sel_setPaddingCharacter_1, + value._id, + ); } int get paddingPosition { @@ -51818,7 +66716,10 @@ class NSNumberFormatter extends NSFormatter { set roundingIncrement(NSNumber value) { return _lib._objc_msgSend_676( - _id, _lib._sel_setRoundingIncrement_1, value._id); + _id, + _lib._sel_setRoundingIncrement_1, + value._id, + ); } int get minimumIntegerDigits { @@ -51827,7 +66728,10 @@ class NSNumberFormatter extends NSFormatter { set minimumIntegerDigits(int value) { return _lib._objc_msgSend_472( - _id, _lib._sel_setMinimumIntegerDigits_1, value); + _id, + _lib._sel_setMinimumIntegerDigits_1, + value, + ); } int get maximumIntegerDigits { @@ -51836,7 +66740,10 @@ class NSNumberFormatter extends NSFormatter { set maximumIntegerDigits(int value) { return _lib._objc_msgSend_472( - _id, _lib._sel_setMaximumIntegerDigits_1, value); + _id, + _lib._sel_setMaximumIntegerDigits_1, + value, + ); } int get minimumFractionDigits { @@ -51845,7 +66752,10 @@ class NSNumberFormatter extends NSFormatter { set minimumFractionDigits(int value) { return _lib._objc_msgSend_472( - _id, _lib._sel_setMinimumFractionDigits_1, value); + _id, + _lib._sel_setMinimumFractionDigits_1, + value, + ); } int get maximumFractionDigits { @@ -51854,7 +66764,10 @@ class NSNumberFormatter extends NSFormatter { set maximumFractionDigits(int value) { return _lib._objc_msgSend_472( - _id, _lib._sel_setMaximumFractionDigits_1, value); + _id, + _lib._sel_setMaximumFractionDigits_1, + value, + ); } NSNumber? get minimum { @@ -51866,7 +66779,10 @@ class NSNumberFormatter extends NSFormatter { set minimum(NSNumber? value) { return _lib._objc_msgSend_518( - _id, _lib._sel_setMinimum_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setMinimum_1, + value?._id ?? ffi.nullptr, + ); } NSNumber? get maximum { @@ -51878,18 +66794,26 @@ class NSNumberFormatter extends NSFormatter { set maximum(NSNumber? value) { return _lib._objc_msgSend_518( - _id, _lib._sel_setMaximum_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setMaximum_1, + value?._id ?? ffi.nullptr, + ); } NSString get currencyGroupingSeparator { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_currencyGroupingSeparator1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_currencyGroupingSeparator1, + ); return NSString._(_ret, _lib, retain: true, release: true); } set currencyGroupingSeparator(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setCurrencyGroupingSeparator_1, value._id); + _id, + _lib._sel_setCurrencyGroupingSeparator_1, + value._id, + ); } bool get lenient { @@ -51906,7 +66830,10 @@ class NSNumberFormatter extends NSFormatter { set usesSignificantDigits(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setUsesSignificantDigits_1, value); + _id, + _lib._sel_setUsesSignificantDigits_1, + value, + ); } int get minimumSignificantDigits { @@ -51915,7 +66842,10 @@ class NSNumberFormatter extends NSFormatter { set minimumSignificantDigits(int value) { return _lib._objc_msgSend_472( - _id, _lib._sel_setMinimumSignificantDigits_1, value); + _id, + _lib._sel_setMinimumSignificantDigits_1, + value, + ); } int get maximumSignificantDigits { @@ -51924,17 +66854,25 @@ class NSNumberFormatter extends NSFormatter { set maximumSignificantDigits(int value) { return _lib._objc_msgSend_472( - _id, _lib._sel_setMaximumSignificantDigits_1, value); + _id, + _lib._sel_setMaximumSignificantDigits_1, + value, + ); } bool get partialStringValidationEnabled { return _lib._objc_msgSend_12( - _id, _lib._sel_isPartialStringValidationEnabled1); + _id, + _lib._sel_isPartialStringValidationEnabled1, + ); } set partialStringValidationEnabled(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setPartialStringValidationEnabled_1, value); + _id, + _lib._sel_setPartialStringValidationEnabled_1, + value, + ); } bool get hasThousandSeparators { @@ -51943,7 +66881,10 @@ class NSNumberFormatter extends NSFormatter { set hasThousandSeparators(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setHasThousandSeparators_1, value); + _id, + _lib._sel_setHasThousandSeparators_1, + value, + ); } NSString get thousandSeparator { @@ -51953,7 +66894,10 @@ class NSNumberFormatter extends NSFormatter { set thousandSeparator(NSString value) { return _lib._objc_msgSend_515( - _id, _lib._sel_setThousandSeparator_1, value._id); + _id, + _lib._sel_setThousandSeparator_1, + value._id, + ); } bool get localizesFormat { @@ -51974,14 +66918,19 @@ class NSNumberFormatter extends NSFormatter { } NSAttributedString get attributedStringForZero { - final _ret = - _lib._objc_msgSend_583(_id, _lib._sel_attributedStringForZero1); + final _ret = _lib._objc_msgSend_583( + _id, + _lib._sel_attributedStringForZero1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } set attributedStringForZero(NSAttributedString value) { return _lib._objc_msgSend_677( - _id, _lib._sel_setAttributedStringForZero_1, value._id); + _id, + _lib._sel_setAttributedStringForZero_1, + value._id, + ); } NSAttributedString get attributedStringForNil { @@ -51991,18 +66940,26 @@ class NSNumberFormatter extends NSFormatter { set attributedStringForNil(NSAttributedString value) { return _lib._objc_msgSend_677( - _id, _lib._sel_setAttributedStringForNil_1, value._id); + _id, + _lib._sel_setAttributedStringForNil_1, + value._id, + ); } NSAttributedString get attributedStringForNotANumber { - final _ret = - _lib._objc_msgSend_583(_id, _lib._sel_attributedStringForNotANumber1); + final _ret = _lib._objc_msgSend_583( + _id, + _lib._sel_attributedStringForNotANumber1, + ); return NSAttributedString._(_ret, _lib, retain: true, release: true); } set attributedStringForNotANumber(NSAttributedString value) { return _lib._objc_msgSend_677( - _id, _lib._sel_setAttributedStringForNotANumber_1, value._id); + _id, + _lib._sel_setAttributedStringForNotANumber_1, + value._id, + ); } NSDecimalNumberHandler get roundingBehavior { @@ -52012,7 +66969,10 @@ class NSNumberFormatter extends NSFormatter { set roundingBehavior(NSDecimalNumberHandler value) { return _lib._objc_msgSend_680( - _id, _lib._sel_setRoundingBehavior_1, value._id); + _id, + _lib._sel_setRoundingBehavior_1, + value._id, + ); } @override @@ -52022,84 +66982,122 @@ class NSNumberFormatter extends NSFormatter { } static NSNumberFormatter new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNumberFormatter1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNumberFormatter1, + _lib._sel_new1, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static NSNumberFormatter allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNumberFormatter1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNumberFormatter1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static NSNumberFormatter alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNumberFormatter1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNumberFormatter1, + _lib._sel_alloc1, + ); return NSNumberFormatter._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNumberFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNumberFormatter1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNumberFormatter1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSNumberFormatter1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSNumberFormatter1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNumberFormatter1, _lib._sel_useStoredAccessor1); + _lib._class_NSNumberFormatter1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSNumberFormatter1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSNumberFormatter1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSNumberFormatter1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSNumberFormatter1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSNumberFormatter1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNumberFormatter1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSNumberFormatter1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSNumberFormatter1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNumberFormatter1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNumberFormatter1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -52142,75 +67140,99 @@ abstract class NSNumberFormatterRoundingMode { /// A class for defining common behaviors class NSDecimalNumberHandler extends NSObject { - NSDecimalNumberHandler._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSDecimalNumberHandler._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSDecimalNumberHandler] that points to the same underlying object as [other]. static NSDecimalNumberHandler castFrom(T other) { - return NSDecimalNumberHandler._(other._id, other._lib, - retain: true, release: true); + return NSDecimalNumberHandler._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSDecimalNumberHandler] that wraps the given raw object pointer. static NSDecimalNumberHandler castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSDecimalNumberHandler._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSDecimalNumberHandler._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSDecimalNumberHandler]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSDecimalNumberHandler1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSDecimalNumberHandler1, + ); } static NSDecimalNumberHandler getDefaultDecimalNumberHandler( - PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_678(_lib._class_NSDecimalNumberHandler1, - _lib._sel_defaultDecimalNumberHandler1); + PedometerBindings _lib, + ) { + final _ret = _lib._objc_msgSend_678( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_defaultDecimalNumberHandler1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } NSDecimalNumberHandler - initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero) { + initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero, + ) { final _ret = _lib._objc_msgSend_679( - _id, - _lib._sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero); + _id, + _lib._sel_initWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } static NSDecimalNumberHandler - decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( - PedometerBindings _lib, - int roundingMode, - int scale, - bool exact, - bool overflow, - bool underflow, - bool divideByZero) { + decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_( + PedometerBindings _lib, + int roundingMode, + int scale, + bool exact, + bool overflow, + bool underflow, + bool divideByZero, + ) { final _ret = _lib._objc_msgSend_679( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, - roundingMode, - scale, - exact, - overflow, - underflow, - divideByZero); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_decimalNumberHandlerWithRoundingMode_scale_raiseOnExactness_raiseOnOverflow_raiseOnUnderflow_raiseOnDivideByZero_1, + roundingMode, + scale, + exact, + overflow, + underflow, + divideByZero, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: true, release: true); } @@ -52222,83 +67244,121 @@ class NSDecimalNumberHandler extends NSObject { static NSDecimalNumberHandler new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, _lib._sel_new1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_new1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static NSDecimalNumberHandler allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSDecimalNumberHandler1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_allocWithZone_1, + zone, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static NSDecimalNumberHandler alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSDecimalNumberHandler1, _lib._sel_alloc1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_alloc1, + ); return NSDecimalNumberHandler._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSDecimalNumberHandler1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSDecimalNumberHandler1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSDecimalNumberHandler1, _lib._sel_useStoredAccessor1); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSDecimalNumberHandler1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSDecimalNumberHandler1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSDecimalNumberHandler1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSDecimalNumberHandler1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSDecimalNumberHandler1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSDecimalNumberHandler1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSDecimalNumberHandler1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -52312,9 +67372,12 @@ abstract class NSRoundingMode { } class NSScanner extends NSObject { - NSScanner._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSScanner._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSScanner] that points to the same underlying object as [other]. static NSScanner castFrom(T other) { @@ -52323,15 +67386,21 @@ class NSScanner extends NSObject { /// Returns a [NSScanner] that wraps the given raw object pointer. static NSScanner castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSScanner._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSScanner]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSScanner1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSScanner1, + ); } NSString get string { @@ -52356,7 +67425,10 @@ class NSScanner extends NSObject { set charactersToBeSkipped(NSCharacterSet? value) { return _lib._objc_msgSend_682( - _id, _lib._sel_setCharactersToBeSkipped_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setCharactersToBeSkipped_1, + value?._id ?? ffi.nullptr, + ); } bool get caseSensitive { @@ -52376,12 +67448,18 @@ class NSScanner extends NSObject { set locale(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setLocale_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setLocale_1, + value?._id ?? ffi.nullptr, + ); } NSScanner initWithString_(NSString string) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, string._id); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initWithString_1, + string._id, + ); return NSScanner._(_ret, _lib, retain: true, release: true); } @@ -52399,7 +67477,10 @@ class NSScanner extends NSObject { bool scanUnsignedLongLong_(ffi.Pointer result) { return _lib._objc_msgSend_686( - _id, _lib._sel_scanUnsignedLongLong_1, result); + _id, + _lib._sel_scanUnsignedLongLong_1, + result, + ); } bool scanFloat_(ffi.Pointer result) { @@ -52427,27 +67508,51 @@ class NSScanner extends NSObject { } bool scanString_intoString_( - NSString string, ffi.Pointer> result) { + NSString string, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_690( - _id, _lib._sel_scanString_intoString_1, string._id, result); + _id, + _lib._sel_scanString_intoString_1, + string._id, + result, + ); } bool scanCharactersFromSet_intoString_( - NSCharacterSet set, ffi.Pointer> result) { + NSCharacterSet set, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_691( - _id, _lib._sel_scanCharactersFromSet_intoString_1, set._id, result); + _id, + _lib._sel_scanCharactersFromSet_intoString_1, + set._id, + result, + ); } bool scanUpToString_intoString_( - NSString string, ffi.Pointer> result) { + NSString string, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_690( - _id, _lib._sel_scanUpToString_intoString_1, string._id, result); + _id, + _lib._sel_scanUpToString_intoString_1, + string._id, + result, + ); } bool scanUpToCharactersFromSet_intoString_( - NSCharacterSet set, ffi.Pointer> result) { + NSCharacterSet set, + ffi.Pointer> result, + ) { return _lib._objc_msgSend_691( - _id, _lib._sel_scanUpToCharactersFromSet_intoString_1, set._id, result); + _id, + _lib._sel_scanUpToCharactersFromSet_intoString_1, + set._id, + result, + ); } bool get atEnd { @@ -52456,14 +67561,22 @@ class NSScanner extends NSObject { static NSScanner scannerWithString_(PedometerBindings _lib, NSString string) { final _ret = _lib._objc_msgSend_31( - _lib._class_NSScanner1, _lib._sel_scannerWithString_1, string._id); + _lib._class_NSScanner1, + _lib._sel_scannerWithString_1, + string._id, + ); return NSScanner._(_ret, _lib, retain: true, release: true); } static NSObject localizedScannerWithString_( - PedometerBindings _lib, NSString string) { - final _ret = _lib._objc_msgSend_31(_lib._class_NSScanner1, - _lib._sel_localizedScannerWithString_1, string._id); + PedometerBindings _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_31( + _lib._class_NSScanner1, + _lib._sel_localizedScannerWithString_1, + string._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -52483,9 +67596,14 @@ class NSScanner extends NSObject { } static NSScanner allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSScanner1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSScanner1, + _lib._sel_allocWithZone_1, + zone, + ); return NSScanner._(_ret, _lib, retain: false, release: true); } @@ -52495,65 +67613,94 @@ class NSScanner extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSScanner1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSScanner1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSScanner1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScanner1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSScanner1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSScanner1, _lib._sel_useStoredAccessor1); + _lib._class_NSScanner1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSScanner1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSScanner1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSScanner1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSScanner1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSScanner1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSScanner1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSScanner1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSScanner1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSScanner1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSScanner1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -52561,9 +67708,12 @@ class NSScanner extends NSObject { final class NSDecimal extends ffi.Opaque {} class NSException extends NSObject { - NSException._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSException._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSException] that points to the same underlying object as [other]. static NSException castFrom(T other) { @@ -52572,36 +67722,51 @@ class NSException extends NSObject { /// Returns a [NSException] that wraps the given raw object pointer. static NSException castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSException._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSException]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSException1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSException1, + ); } - static NSException exceptionWithName_reason_userInfo_(PedometerBindings _lib, - NSString name, NSString? reason, NSDictionary? userInfo) { + static NSException exceptionWithName_reason_userInfo_( + PedometerBindings _lib, + NSString name, + NSString? reason, + NSDictionary? userInfo, + ) { final _ret = _lib._objc_msgSend_693( - _lib._class_NSException1, - _lib._sel_exceptionWithName_reason_userInfo_1, - name._id, - reason?._id ?? ffi.nullptr, - userInfo?._id ?? ffi.nullptr); + _lib._class_NSException1, + _lib._sel_exceptionWithName_reason_userInfo_1, + name._id, + reason?._id ?? ffi.nullptr, + userInfo?._id ?? ffi.nullptr, + ); return NSException._(_ret, _lib, retain: true, release: true); } NSException initWithName_reason_userInfo_( - NSString aName, NSString? aReason, NSDictionary? aUserInfo) { + NSString aName, + NSString? aReason, + NSDictionary? aUserInfo, + ) { final _ret = _lib._objc_msgSend_694( - _id, - _lib._sel_initWithName_reason_userInfo_1, - aName._id, - aReason?._id ?? ffi.nullptr, - aUserInfo?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithName_reason_userInfo_1, + aName._id, + aReason?._id ?? ffi.nullptr, + aUserInfo?._id ?? ffi.nullptr, + ); return NSException._(_ret, _lib, retain: true, release: true); } @@ -52625,8 +67790,10 @@ class NSException extends NSObject { } NSArray get callStackReturnAddresses { - final _ret = - _lib._objc_msgSend_77(_id, _lib._sel_callStackReturnAddresses1); + final _ret = _lib._objc_msgSend_77( + _id, + _lib._sel_callStackReturnAddresses1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -52640,15 +67807,31 @@ class NSException extends NSObject { } static void raise_format_( - PedometerBindings _lib, NSString name, NSString format) { - _lib._objc_msgSend_695(_lib._class_NSException1, _lib._sel_raise_format_1, - name._id, format._id); + PedometerBindings _lib, + NSString name, + NSString format, + ) { + _lib._objc_msgSend_695( + _lib._class_NSException1, + _lib._sel_raise_format_1, + name._id, + format._id, + ); } - static void raise_format_arguments_(PedometerBindings _lib, NSString name, - NSString format, ffi.Pointer argList) { - _lib._objc_msgSend_696(_lib._class_NSException1, - _lib._sel_raise_format_arguments_1, name._id, format._id, argList); + static void raise_format_arguments_( + PedometerBindings _lib, + NSString name, + NSString format, + ffi.Pointer argList, + ) { + _lib._objc_msgSend_696( + _lib._class_NSException1, + _lib._sel_raise_format_arguments_1, + name._id, + format._id, + argList, + ); } @override @@ -52663,86 +67846,125 @@ class NSException extends NSObject { } static NSException allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSException1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSException1, + _lib._sel_allocWithZone_1, + zone, + ); return NSException._(_ret, _lib, retain: false, release: true); } static NSException alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSException1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSException1, + _lib._sel_alloc1, + ); return NSException._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSException1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSException1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSException1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSException1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSException1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSException1, _lib._sel_useStoredAccessor1); + _lib._class_NSException1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSException1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSException1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSException1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSException1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSException1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSException1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSException1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSException1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSException1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSException1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSRunLoop extends NSObject { - NSRunLoop._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSRunLoop._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSRunLoop] that points to the same underlying object as [other]. static NSRunLoop castFrom(T other) { @@ -52751,26 +67973,36 @@ class NSRunLoop extends NSObject { /// Returns a [NSRunLoop] that wraps the given raw object pointer. static NSRunLoop castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSRunLoop._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRunLoop]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSRunLoop1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSRunLoop1, + ); } static NSRunLoop getCurrentRunLoop(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_697( - _lib._class_NSRunLoop1, _lib._sel_currentRunLoop1); + _lib._class_NSRunLoop1, + _lib._sel_currentRunLoop1, + ); return NSRunLoop._(_ret, _lib, retain: true, release: true); } static NSRunLoop getMainRunLoop(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_697(_lib._class_NSRunLoop1, _lib._sel_mainRunLoop1); + final _ret = _lib._objc_msgSend_697( + _lib._class_NSRunLoop1, + _lib._sel_mainRunLoop1, + ); return NSRunLoop._(_ret, _lib, retain: true, release: true); } @@ -52787,30 +68019,49 @@ class NSRunLoop extends NSObject { void addTimer_forMode_(NSTimer timer, NSString mode) { _lib._objc_msgSend_705( - _id, _lib._sel_addTimer_forMode_1, timer._id, mode._id); + _id, + _lib._sel_addTimer_forMode_1, + timer._id, + mode._id, + ); } void addPort_forMode_(NSPort aPort, NSString mode) { _lib._objc_msgSend_711( - _id, _lib._sel_addPort_forMode_1, aPort._id, mode._id); + _id, + _lib._sel_addPort_forMode_1, + aPort._id, + mode._id, + ); } void removePort_forMode_(NSPort aPort, NSString mode) { _lib._objc_msgSend_711( - _id, _lib._sel_removePort_forMode_1, aPort._id, mode._id); + _id, + _lib._sel_removePort_forMode_1, + aPort._id, + mode._id, + ); } NSDate? limitDateForMode_(NSString mode) { - final _ret = - _lib._objc_msgSend_604(_id, _lib._sel_limitDateForMode_1, mode._id); + final _ret = _lib._objc_msgSend_604( + _id, + _lib._sel_limitDateForMode_1, + mode._id, + ); return _ret.address == 0 ? null : NSDate._(_ret, _lib, retain: true, release: true); } void acceptInputForMode_beforeDate_(NSString mode, NSDate limitDate) { - _lib._objc_msgSend_712(_id, _lib._sel_acceptInputForMode_beforeDate_1, - mode._id, limitDate._id); + _lib._objc_msgSend_712( + _id, + _lib._sel_acceptInputForMode_beforeDate_1, + mode._id, + limitDate._id, + ); } void run() { @@ -52823,7 +68074,11 @@ class NSRunLoop extends NSObject { bool runMode_beforeDate_(NSString mode, NSDate limitDate) { return _lib._objc_msgSend_713( - _id, _lib._sel_runMode_beforeDate_1, mode._id, limitDate._id); + _id, + _lib._sel_runMode_beforeDate_1, + mode._id, + limitDate._id, + ); } void configureAsServer() { @@ -52835,7 +68090,11 @@ class NSRunLoop extends NSObject { /// - parameter: block The block to execute void performInModes_block_(NSArray modes, ObjCBlock_ffiVoid block) { _lib._objc_msgSend_714( - _id, _lib._sel_performInModes_block_1, modes._id, block._id); + _id, + _lib._sel_performInModes_block_1, + modes._id, + block._id, + ); } /// Schedules the execution of a block on the target run loop. @@ -52845,34 +68104,43 @@ class NSRunLoop extends NSObject { } void performSelector_target_argument_order_modes_( - ffi.Pointer aSelector, - NSObject target, - NSObject? arg, - int order, - NSArray modes) { + ffi.Pointer aSelector, + NSObject target, + NSObject? arg, + int order, + NSArray modes, + ) { _lib._objc_msgSend_715( - _id, - _lib._sel_performSelector_target_argument_order_modes_1, - aSelector, - target._id, - arg?._id ?? ffi.nullptr, - order, - modes._id); + _id, + _lib._sel_performSelector_target_argument_order_modes_1, + aSelector, + target._id, + arg?._id ?? ffi.nullptr, + order, + modes._id, + ); } void cancelPerformSelector_target_argument_( - ffi.Pointer aSelector, NSObject target, NSObject? arg) { + ffi.Pointer aSelector, + NSObject target, + NSObject? arg, + ) { _lib._objc_msgSend_489( - _id, - _lib._sel_cancelPerformSelector_target_argument_1, - aSelector, - target._id, - arg?._id ?? ffi.nullptr); + _id, + _lib._sel_cancelPerformSelector_target_argument_1, + aSelector, + target._id, + arg?._id ?? ffi.nullptr, + ); } void cancelPerformSelectorsWithTarget_(NSObject target) { _lib._objc_msgSend_15( - _id, _lib._sel_cancelPerformSelectorsWithTarget_1, target._id); + _id, + _lib._sel_cancelPerformSelectorsWithTarget_1, + target._id, + ); } @override @@ -52887,9 +68155,14 @@ class NSRunLoop extends NSObject { } static NSRunLoop allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSRunLoop1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSRunLoop1, + _lib._sel_allocWithZone_1, + zone, + ); return NSRunLoop._(_ret, _lib, retain: false, release: true); } @@ -52899,65 +68172,94 @@ class NSRunLoop extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSRunLoop1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSRunLoop1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSRunLoop1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSRunLoop1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRunLoop1, _lib._sel_useStoredAccessor1); + _lib._class_NSRunLoop1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSRunLoop1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSRunLoop1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSRunLoop1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSRunLoop1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSRunLoop1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSRunLoop1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSRunLoop1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSRunLoop1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRunLoop1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSRunLoop1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -52965,9 +68267,12 @@ class NSRunLoop extends NSObject { final class __CFRunLoop extends ffi.Opaque {} class NSTimer extends NSObject { - NSTimer._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTimer._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSTimer] that points to the same underlying object as [other]. static NSTimer castFrom(T other) { @@ -52976,79 +68281,93 @@ class NSTimer extends NSObject { /// Returns a [NSTimer] that wraps the given raw object pointer. static NSTimer castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTimer._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTimer]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSTimer1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSTimer1, + ); } static NSTimer timerWithTimeInterval_invocation_repeats_( - PedometerBindings _lib, - double ti, - NSInvocation invocation, - bool yesOrNo) { + PedometerBindings _lib, + double ti, + NSInvocation invocation, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_699( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_invocation_repeats_1, - ti, - invocation._id, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_invocation_repeats_1, + ti, + invocation._id, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer scheduledTimerWithTimeInterval_invocation_repeats_( - PedometerBindings _lib, - double ti, - NSInvocation invocation, - bool yesOrNo) { + PedometerBindings _lib, + double ti, + NSInvocation invocation, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_699( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_invocation_repeats_1, - ti, - invocation._id, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_invocation_repeats_1, + ti, + invocation._id, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer timerWithTimeInterval_target_selector_userInfo_repeats_( - PedometerBindings _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo) { + PedometerBindings _lib, + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_700( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget._id, - aSelector, - userInfo?._id ?? ffi.nullptr, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_target_selector_userInfo_repeats_1, + ti, + aTarget._id, + aSelector, + userInfo?._id ?? ffi.nullptr, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } static NSTimer - scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( - PedometerBindings _lib, - double ti, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? userInfo, - bool yesOrNo) { + scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_( + PedometerBindings _lib, + double ti, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? userInfo, + bool yesOrNo, + ) { final _ret = _lib._objc_msgSend_700( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1, - ti, - aTarget._id, - aSelector, - userInfo?._id ?? ffi.nullptr, - yesOrNo); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_target_selector_userInfo_repeats_1, + ti, + aTarget._id, + aSelector, + userInfo?._id ?? ffi.nullptr, + yesOrNo, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } @@ -53056,14 +68375,19 @@ class NSTimer extends NSObject { /// - parameter: timeInterval The number of seconds between firings of the timer. If seconds is less than or equal to 0.0, this method chooses the nonnegative value of 0.1 milliseconds instead /// - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires. /// - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references - static NSTimer timerWithTimeInterval_repeats_block_(PedometerBindings _lib, - double interval, bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + static NSTimer timerWithTimeInterval_repeats_block_( + PedometerBindings _lib, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_701( - _lib._class_NSTimer1, - _lib._sel_timerWithTimeInterval_repeats_block_1, - interval, - repeats, - block._id); + _lib._class_NSTimer1, + _lib._sel_timerWithTimeInterval_repeats_block_1, + interval, + repeats, + block._id, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } @@ -53072,16 +68396,18 @@ class NSTimer extends NSObject { /// - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires. /// - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references static NSTimer scheduledTimerWithTimeInterval_repeats_block_( - PedometerBindings _lib, - double interval, - bool repeats, - ObjCBlock_ffiVoid_NSTimer block) { + PedometerBindings _lib, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_701( - _lib._class_NSTimer1, - _lib._sel_scheduledTimerWithTimeInterval_repeats_block_1, - interval, - repeats, - block._id); + _lib._class_NSTimer1, + _lib._sel_scheduledTimerWithTimeInterval_repeats_block_1, + interval, + repeats, + block._id, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } @@ -53090,34 +68416,41 @@ class NSTimer extends NSObject { /// - parameter: interval The number of seconds between firings of the timer. If seconds is less than or equal to 0.0, this method chooses the nonnegative value of 0.1 milliseconds instead /// - parameter: repeats If YES, the timer will repeatedly reschedule itself until invalidated. If NO, the timer will be invalidated after it fires. /// - parameter: block The execution body of the timer; the timer itself is passed as the parameter to this block when executed to aid in avoiding cyclical references - NSTimer initWithFireDate_interval_repeats_block_(NSDate date, double interval, - bool repeats, ObjCBlock_ffiVoid_NSTimer block) { + NSTimer initWithFireDate_interval_repeats_block_( + NSDate date, + double interval, + bool repeats, + ObjCBlock_ffiVoid_NSTimer block, + ) { final _ret = _lib._objc_msgSend_702( - _id, - _lib._sel_initWithFireDate_interval_repeats_block_1, - date._id, - interval, - repeats, - block._id); + _id, + _lib._sel_initWithFireDate_interval_repeats_block_1, + date._id, + interval, + repeats, + block._id, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } NSTimer initWithFireDate_interval_target_selector_userInfo_repeats_( - NSDate date, - double ti, - NSObject t, - ffi.Pointer s, - NSObject? ui, - bool rep) { + NSDate date, + double ti, + NSObject t, + ffi.Pointer s, + NSObject? ui, + bool rep, + ) { final _ret = _lib._objc_msgSend_703( - _id, - _lib._sel_initWithFireDate_interval_target_selector_userInfo_repeats_1, - date._id, - ti, - t._id, - s, - ui?._id ?? ffi.nullptr, - rep); + _id, + _lib._sel_initWithFireDate_interval_target_selector_userInfo_repeats_1, + date._id, + ti, + t._id, + s, + ui?._id ?? ffi.nullptr, + rep, + ); return NSTimer._(_ret, _lib, retain: true, release: true); } @@ -53177,9 +68510,14 @@ class NSTimer extends NSObject { } static NSTimer allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTimer1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTimer1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTimer._(_ret, _lib, retain: false, release: true); } @@ -53189,94 +68527,128 @@ class NSTimer extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTimer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTimer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTimer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimer1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSTimer1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTimer1, _lib._sel_useStoredAccessor1); + _lib._class_NSTimer1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSTimer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSTimer1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSTimer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSTimer1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSTimer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTimer1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSTimer1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSTimer1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTimer1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTimer1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSTimer_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSTimer_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSTimer_closureRegistryIndex; _ObjCBlock_ffiVoid_NSTimer_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSTimer_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSTimer_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSTimer._(ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ObjCBlock_ffiVoid_NSTimer._( + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -53284,20 +68656,24 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTimer.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTimer_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -53306,18 +68682,24 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTimer.fromFunction( - PedometerBindings lib, void Function(NSTimer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure( - (ffi.Pointer arg0) => - fn(NSTimer._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSTimer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure( + (ffi.Pointer arg0) => + fn(NSTimer._(arg0, lib, retain: true, release: true)), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -53330,38 +68712,52 @@ class ObjCBlock_ffiVoid_NSTimer extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTimer.listener( - PedometerBindings lib, void Function(NSTimer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSTimer_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTimer_registerClosure( - (ffi.Pointer arg0) => - fn(NSTimer._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSTimer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSTimer_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTimer_registerClosure( + (ffi.Pointer arg0) => + fn(NSTimer._(arg0, lib, retain: true, release: true)), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSTimer arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0._id); } class NSPort extends NSObject { - NSPort._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPort._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSPort] that points to the same underlying object as [other]. static NSPort castFrom(T other) { @@ -53370,15 +68766,21 @@ class NSPort extends NSObject { /// Returns a [NSPort] that wraps the given raw object pointer. static NSPort castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPort._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPort]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSPort1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSPort1, + ); } static NSPort port(PedometerBindings _lib) { @@ -53396,7 +68798,10 @@ class NSPort extends NSObject { void setDelegate_(NSObject? anObject) { _lib._objc_msgSend_235( - _id, _lib._sel_setDelegate_1, anObject?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegate_1, + anObject?._id ?? ffi.nullptr, + ); } NSObject? delegate() { @@ -53408,12 +68813,20 @@ class NSPort extends NSObject { void scheduleInRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { _lib._objc_msgSend_707( - _id, _lib._sel_scheduleInRunLoop_forMode_1, runLoop._id, mode._id); + _id, + _lib._sel_scheduleInRunLoop_forMode_1, + runLoop._id, + mode._id, + ); } void removeFromRunLoop_forMode_(NSRunLoop runLoop, NSString mode) { _lib._objc_msgSend_707( - _id, _lib._sel_removeFromRunLoop_forMode_1, runLoop._id, mode._id); + _id, + _lib._sel_removeFromRunLoop_forMode_1, + runLoop._id, + mode._id, + ); } int get reservedSpaceLength { @@ -53421,49 +68834,65 @@ class NSPort extends NSObject { } bool sendBeforeDate_components_from_reserved_( - NSDate limitDate, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved) { + NSDate limitDate, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved, + ) { return _lib._objc_msgSend_708( - _id, - _lib._sel_sendBeforeDate_components_from_reserved_1, - limitDate._id, - components?._id ?? ffi.nullptr, - receivePort?._id ?? ffi.nullptr, - headerSpaceReserved); + _id, + _lib._sel_sendBeforeDate_components_from_reserved_1, + limitDate._id, + components?._id ?? ffi.nullptr, + receivePort?._id ?? ffi.nullptr, + headerSpaceReserved, + ); } bool sendBeforeDate_msgid_components_from_reserved_( - NSDate limitDate, - int msgID, - NSMutableArray? components, - NSPort? receivePort, - int headerSpaceReserved) { + NSDate limitDate, + int msgID, + NSMutableArray? components, + NSPort? receivePort, + int headerSpaceReserved, + ) { return _lib._objc_msgSend_709( - _id, - _lib._sel_sendBeforeDate_msgid_components_from_reserved_1, - limitDate._id, - msgID, - components?._id ?? ffi.nullptr, - receivePort?._id ?? ffi.nullptr, - headerSpaceReserved); + _id, + _lib._sel_sendBeforeDate_msgid_components_from_reserved_1, + limitDate._id, + msgID, + components?._id ?? ffi.nullptr, + receivePort?._id ?? ffi.nullptr, + headerSpaceReserved, + ); } void addConnection_toRunLoop_forMode_( - NSConnection conn, NSRunLoop runLoop, NSString mode) { - _lib._objc_msgSend_710(_id, _lib._sel_addConnection_toRunLoop_forMode_1, - conn._id, runLoop._id, mode._id); + NSConnection conn, + NSRunLoop runLoop, + NSString mode, + ) { + _lib._objc_msgSend_710( + _id, + _lib._sel_addConnection_toRunLoop_forMode_1, + conn._id, + runLoop._id, + mode._id, + ); } void removeConnection_fromRunLoop_forMode_( - NSConnection conn, NSRunLoop runLoop, NSString mode) { + NSConnection conn, + NSRunLoop runLoop, + NSString mode, + ) { _lib._objc_msgSend_710( - _id, - _lib._sel_removeConnection_fromRunLoop_forMode_1, - conn._id, - runLoop._id, - mode._id); + _id, + _lib._sel_removeConnection_fromRunLoop_forMode_1, + conn._id, + runLoop._id, + mode._id, + ); } @override @@ -53478,9 +68907,14 @@ class NSPort extends NSObject { } static NSPort allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPort1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPort1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPort._(_ret, _lib, retain: false, release: true); } @@ -53490,73 +68924,105 @@ class NSPort extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPort1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPort1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPort1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPort1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSPort1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPort1, _lib._sel_useStoredAccessor1); + _lib._class_NSPort1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSPort1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSPort1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSPort1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSPort1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSPort1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPort1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSPort1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPort1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPort1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPort1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSConnection extends _ObjCWrapper { - NSConnection._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSConnection._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSConnection] that points to the same underlying object as [other]. static NSConnection castFrom(T other) { @@ -53565,22 +69031,31 @@ class NSConnection extends _ObjCWrapper { /// Returns a [NSConnection] that wraps the given raw object pointer. static NSConnection castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSConnection._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSConnection]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSConnection1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSConnection1, + ); } } class NSFileHandle extends NSObject { - NSFileHandle._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileHandle._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSFileHandle] that points to the same underlying object as [other]. static NSFileHandle castFrom(T other) { @@ -53589,15 +69064,21 @@ class NSFileHandle extends NSObject { /// Returns a [NSFileHandle] that wraps the given raw object pointer. static NSFileHandle castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileHandle._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileHandle]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileHandle1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSFileHandle1, + ); } NSData get availableData { @@ -53607,70 +69088,119 @@ class NSFileHandle extends NSObject { NSFileHandle initWithFileDescriptor_closeOnDealloc_(int fd, bool closeopt) { final _ret = _lib._objc_msgSend_716( - _id, _lib._sel_initWithFileDescriptor_closeOnDealloc_1, fd, closeopt); + _id, + _lib._sel_initWithFileDescriptor_closeOnDealloc_1, + fd, + closeopt, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } NSFileHandle? initWithCoder_(NSCoder coder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, coder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + coder._id, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } NSData? readDataToEndOfFileAndReturnError_( - ffi.Pointer> error) { + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_717( - _id, _lib._sel_readDataToEndOfFileAndReturnError_1, error); + _id, + _lib._sel_readDataToEndOfFileAndReturnError_1, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSData? readDataUpToLength_error_( - int length, ffi.Pointer> error) { + int length, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_718( - _id, _lib._sel_readDataUpToLength_error_1, length, error); + _id, + _lib._sel_readDataUpToLength_error_1, + length, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } bool writeData_error_( - NSData data, ffi.Pointer> error) { + NSData data, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_719( - _id, _lib._sel_writeData_error_1, data._id, error); + _id, + _lib._sel_writeData_error_1, + data._id, + error, + ); } - bool getOffset_error_(ffi.Pointer offsetInFile, - ffi.Pointer> error) { + bool getOffset_error_( + ffi.Pointer offsetInFile, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_720( - _id, _lib._sel_getOffset_error_1, offsetInFile, error); + _id, + _lib._sel_getOffset_error_1, + offsetInFile, + error, + ); } bool seekToEndReturningOffset_error_( - ffi.Pointer offsetInFile, - ffi.Pointer> error) { + ffi.Pointer offsetInFile, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_720( - _id, _lib._sel_seekToEndReturningOffset_error_1, offsetInFile, error); + _id, + _lib._sel_seekToEndReturningOffset_error_1, + offsetInFile, + error, + ); } bool seekToOffset_error_( - int offset, ffi.Pointer> error) { + int offset, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_721( - _id, _lib._sel_seekToOffset_error_1, offset, error); + _id, + _lib._sel_seekToOffset_error_1, + offset, + error, + ); } bool truncateAtOffset_error_( - int offset, ffi.Pointer> error) { + int offset, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_721( - _id, _lib._sel_truncateAtOffset_error_1, offset, error); + _id, + _lib._sel_truncateAtOffset_error_1, + offset, + error, + ); } bool synchronizeAndReturnError_(ffi.Pointer> error) { return _lib._objc_msgSend_207( - _id, _lib._sel_synchronizeAndReturnError_1, error); + _id, + _lib._sel_synchronizeAndReturnError_1, + error, + ); } bool closeAndReturnError_(ffi.Pointer> error) { @@ -53679,87 +69209,132 @@ class NSFileHandle extends NSObject { static NSFileHandle getFileHandleWithStandardInput(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_722( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardInput1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardInput1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithStandardOutput(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_722( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardOutput1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardOutput1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithStandardError(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_722( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithStandardError1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithStandardError1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle getFileHandleWithNullDevice(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_722( - _lib._class_NSFileHandle1, _lib._sel_fileHandleWithNullDevice1); + _lib._class_NSFileHandle1, + _lib._sel_fileHandleWithNullDevice1, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForReadingAtPath_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingAtPath_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForReadingAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForWritingAtPath_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingAtPath_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForWritingAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForUpdatingAtPath_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingAtPath_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForUpdatingAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } static NSFileHandle? fileHandleForReadingFromURL_error_( - PedometerBindings _lib, - NSURL url, - ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_723(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForReadingFromURL_error_1, url._id, error); + PedometerBindings _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_723( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForReadingFromURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } - static NSFileHandle? fileHandleForWritingToURL_error_(PedometerBindings _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_723(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForWritingToURL_error_1, url._id, error); + static NSFileHandle? fileHandleForWritingToURL_error_( + PedometerBindings _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_723( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForWritingToURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } - static NSFileHandle? fileHandleForUpdatingURL_error_(PedometerBindings _lib, - NSURL url, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_723(_lib._class_NSFileHandle1, - _lib._sel_fileHandleForUpdatingURL_error_1, url._id, error); + static NSFileHandle? fileHandleForUpdatingURL_error_( + PedometerBindings _lib, + NSURL url, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_723( + _lib._class_NSFileHandle1, + _lib._sel_fileHandleForUpdatingURL_error_1, + url._id, + error, + ); return _ret.address == 0 ? null : NSFileHandle._(_ret, _lib, retain: true, release: true); } void readInBackgroundAndNotifyForModes_(NSArray? modes) { - _lib._objc_msgSend_724(_id, _lib._sel_readInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + _lib._objc_msgSend_724( + _id, + _lib._sel_readInBackgroundAndNotifyForModes_1, + modes?._id ?? ffi.nullptr, + ); } void readInBackgroundAndNotify() { @@ -53768,9 +69343,10 @@ class NSFileHandle extends NSObject { void readToEndOfFileInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_724( - _id, - _lib._sel_readToEndOfFileInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + _id, + _lib._sel_readToEndOfFileInBackgroundAndNotifyForModes_1, + modes?._id ?? ffi.nullptr, + ); } void readToEndOfFileInBackgroundAndNotify() { @@ -53779,9 +69355,10 @@ class NSFileHandle extends NSObject { void acceptConnectionInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_724( - _id, - _lib._sel_acceptConnectionInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + _id, + _lib._sel_acceptConnectionInBackgroundAndNotifyForModes_1, + modes?._id ?? ffi.nullptr, + ); } void acceptConnectionInBackgroundAndNotify() { @@ -53790,9 +69367,10 @@ class NSFileHandle extends NSObject { void waitForDataInBackgroundAndNotifyForModes_(NSArray? modes) { _lib._objc_msgSend_724( - _id, - _lib._sel_waitForDataInBackgroundAndNotifyForModes_1, - modes?._id ?? ffi.nullptr); + _id, + _lib._sel_waitForDataInBackgroundAndNotifyForModes_1, + modes?._id ?? ffi.nullptr, + ); } void waitForDataInBackgroundAndNotify() { @@ -53803,31 +69381,48 @@ class NSFileHandle extends NSObject { final _ret = _lib._objc_msgSend_725(_id, _lib._sel_readabilityHandler1); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_ffiVoid_NSFileHandle._( + _ret, + _lib, + retain: true, + release: true, + ); } set readabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { return _lib._objc_msgSend_726( - _id, _lib._sel_setReadabilityHandler_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setReadabilityHandler_1, + value?._id ?? ffi.nullptr, + ); } ObjCBlock_ffiVoid_NSFileHandle? get writeabilityHandler { final _ret = _lib._objc_msgSend_725(_id, _lib._sel_writeabilityHandler1); return _ret.address == 0 ? null - : ObjCBlock_ffiVoid_NSFileHandle._(_ret, _lib, - retain: true, release: true); + : ObjCBlock_ffiVoid_NSFileHandle._( + _ret, + _lib, + retain: true, + release: true, + ); } set writeabilityHandler(ObjCBlock_ffiVoid_NSFileHandle? value) { return _lib._objc_msgSend_726( - _id, _lib._sel_setWriteabilityHandler_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setWriteabilityHandler_1, + value?._id ?? ffi.nullptr, + ); } NSFileHandle initWithFileDescriptor_(int fd) { - final _ret = - _lib._objc_msgSend_727(_id, _lib._sel_initWithFileDescriptor_1, fd); + final _ret = _lib._objc_msgSend_727( + _id, + _lib._sel_initWithFileDescriptor_1, + fd, + ); return NSFileHandle._(_ret, _lib, retain: true, release: true); } @@ -53841,8 +69436,11 @@ class NSFileHandle extends NSObject { } NSData readDataOfLength_(int length) { - final _ret = - _lib._objc_msgSend_728(_id, _lib._sel_readDataOfLength_1, length); + final _ret = _lib._objc_msgSend_728( + _id, + _lib._sel_readDataOfLength_1, + length, + ); return NSData._(_ret, _lib, retain: true, release: true); } @@ -53881,115 +69479,157 @@ class NSFileHandle extends NSObject { } static NSFileHandle new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileHandle1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileHandle1, + _lib._sel_new1, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static NSFileHandle allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileHandle1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileHandle1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static NSFileHandle alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileHandle1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileHandle1, + _lib._sel_alloc1, + ); return NSFileHandle._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileHandle1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileHandle1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileHandle1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileHandle1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileHandle1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSFileHandle1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSFileHandle1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSFileHandle1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSFileHandle1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSFileHandle1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileHandle1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSFileHandle1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileHandle1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileHandle1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileHandle1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSFileHandle_closureRegistryIndex; _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( - arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSFileHandle_closureRegistry[block.ref.target.address]!( + arg0, +); class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSFileHandle._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -53997,20 +69637,24 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSFileHandle.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSFileHandle_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -54019,19 +69663,24 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSFileHandle.fromFunction( - PedometerBindings lib, void Function(NSFileHandle) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - (ffi.Pointer arg0) => fn(NSFileHandle._( - arg0, lib, - retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSFileHandle) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( + (ffi.Pointer arg0) => + fn(NSFileHandle._(arg0, lib, retain: true, release: true)), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -54044,33 +69693,43 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSFileHandle.listener( - PedometerBindings lib, void Function(NSFileHandle) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( - (ffi.Pointer arg0) => fn(NSFileHandle._( - arg0, lib, - retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSFileHandle) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSFileHandle_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSFileHandle_registerClosure( + (ffi.Pointer arg0) => + fn(NSFileHandle._(arg0, lib, retain: true, release: true)), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSFileHandle arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0._id); } /// ! @@ -54081,27 +69740,40 @@ class ObjCBlock_ffiVoid_NSFileHandle extends _ObjCBlockBase { /// set of cookies. It also has convenience methods to parse and /// generate cookie-related HTTP header fields. class NSHTTPCookieStorage extends NSObject { - NSHTTPCookieStorage._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHTTPCookieStorage._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSHTTPCookieStorage] that points to the same underlying object as [other]. static NSHTTPCookieStorage castFrom(T other) { - return NSHTTPCookieStorage._(other._id, other._lib, - retain: true, release: true); + return NSHTTPCookieStorage._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSHTTPCookieStorage] that wraps the given raw object pointer. static NSHTTPCookieStorage castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHTTPCookieStorage._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookieStorage]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSHTTPCookieStorage1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSHTTPCookieStorage1, + ); } /// ! @@ -54111,9 +69783,12 @@ class NSHTTPCookieStorage extends NSObject { /// @discussion Starting in OS X 10.11, each app has its own sharedHTTPCookieStorage singleton, /// which will not be shared with other applications. static NSHTTPCookieStorage getSharedHTTPCookieStorage( - PedometerBindings _lib) { + PedometerBindings _lib, + ) { final _ret = _lib._objc_msgSend_730( - _lib._class_NSHTTPCookieStorage1, _lib._sel_sharedHTTPCookieStorage1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_sharedHTTPCookieStorage1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); } @@ -54128,11 +69803,14 @@ class NSHTTPCookieStorage extends NSObject { /// shared among all applications and extensions with access to the same application group. Subsequent calls to this /// method with the same identifier will return the same cookie storage instance. static NSHTTPCookieStorage sharedCookieStorageForGroupContainerIdentifier_( - PedometerBindings _lib, NSString identifier) { + PedometerBindings _lib, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_731( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_sharedCookieStorageForGroupContainerIdentifier_1, - identifier._id); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_sharedCookieStorageForGroupContainerIdentifier_1, + identifier._id, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: true, release: true); } @@ -54179,8 +69857,11 @@ class NSHTTPCookieStorage extends NSObject { /// +[NSCookie requestHeaderFieldsWithCookies:] to turn this array /// into a set of header fields to add to a request. NSArray? cookiesForURL_(NSURL URL) { - final _ret = - _lib._objc_msgSend_125(_id, _lib._sel_cookiesForURL_1, URL._id); + final _ret = _lib._objc_msgSend_125( + _id, + _lib._sel_cookiesForURL_1, + URL._id, + ); return _ret.address == 0 ? null : NSArray._(_ret, _lib, retain: true, release: true); @@ -54203,13 +69884,17 @@ class NSHTTPCookieStorage extends NSObject { /// dictionary and then use this method to store the resulting cookies /// in accordance with policy settings. void setCookies_forURL_mainDocumentURL_( - NSArray cookies, NSURL? URL, NSURL? mainDocumentURL) { + NSArray cookies, + NSURL? URL, + NSURL? mainDocumentURL, + ) { _lib._objc_msgSend_736( - _id, - _lib._sel_setCookies_forURL_mainDocumentURL_1, - cookies._id, - URL?._id ?? ffi.nullptr, - mainDocumentURL?._id ?? ffi.nullptr); + _id, + _lib._sel_setCookies_forURL_mainDocumentURL_1, + cookies._id, + URL?._id ?? ffi.nullptr, + mainDocumentURL?._id ?? ffi.nullptr, + ); } /// ! @@ -54224,7 +69909,10 @@ class NSHTTPCookieStorage extends NSObject { /// receiver. set cookieAcceptPolicy(int value) { return _lib._objc_msgSend_738( - _id, _lib._sel_setCookieAcceptPolicy_1, value); + _id, + _lib._sel_setCookieAcceptPolicy_1, + value, + ); } /// ! @@ -54234,19 +69922,32 @@ class NSHTTPCookieStorage extends NSObject { /// @discussion proper sorting of cookies may require extensive string conversion, which can be avoided by allowing the system to perform the sorting. This API is to be preferred over the more generic -[NSHTTPCookieStorage cookies] API, if sorting is going to be performed. NSArray sortedCookiesUsingDescriptors_(NSArray sortOrder) { final _ret = _lib._objc_msgSend_60( - _id, _lib._sel_sortedCookiesUsingDescriptors_1, sortOrder._id); + _id, + _lib._sel_sortedCookiesUsingDescriptors_1, + sortOrder._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } void storeCookies_forTask_(NSArray cookies, NSURLSessionTask task) { _lib._objc_msgSend_761( - _id, _lib._sel_storeCookies_forTask_1, cookies._id, task._id); + _id, + _lib._sel_storeCookies_forTask_1, + cookies._id, + task._id, + ); } void getCookiesForTask_completionHandler_( - NSURLSessionTask task, ObjCBlock_ffiVoid_NSArray completionHandler) { - _lib._objc_msgSend_762(_id, _lib._sel_getCookiesForTask_completionHandler_1, - task._id, completionHandler._id); + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSArray completionHandler, + ) { + _lib._objc_msgSend_762( + _id, + _lib._sel_getCookiesForTask_completionHandler_1, + task._id, + completionHandler._id, + ); } @override @@ -54256,84 +69957,122 @@ class NSHTTPCookieStorage extends NSObject { } static NSHTTPCookieStorage new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookieStorage1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_new1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static NSHTTPCookieStorage allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookieStorage1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_allocWithZone_1, + zone, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static NSHTTPCookieStorage alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, _lib._sel_alloc1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_alloc1, + ); return NSHTTPCookieStorage._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSHTTPCookieStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSHTTPCookieStorage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookieStorage1, _lib._sel_useStoredAccessor1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSHTTPCookieStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSHTTPCookieStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSHTTPCookieStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSHTTPCookieStorage1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSHTTPCookieStorage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookieStorage1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSHTTPCookieStorage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -54346,9 +70085,12 @@ class NSHTTPCookieStorage extends NSObject { /// the various cookie attributes. It has accessors to get the various /// attributes of a cookie. class NSHTTPCookie extends NSObject { - NSHTTPCookie._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHTTPCookie._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSHTTPCookie] that points to the same underlying object as [other]. static NSHTTPCookie castFrom(T other) { @@ -54357,15 +70099,21 @@ class NSHTTPCookie extends NSObject { /// Returns a [NSHTTPCookie] that wraps the given raw object pointer. static NSHTTPCookie castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHTTPCookie._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHTTPCookie]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSHTTPCookie1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSHTTPCookie1, + ); } /// ! @@ -54492,7 +70240,10 @@ class NSHTTPCookie extends NSObject { /// missing, or a recognized key maps to an illegal value. NSHTTPCookie? initWithProperties_(NSDictionary properties) { final _ret = _lib._objc_msgSend_732( - _id, _lib._sel_initWithProperties_1, properties._id); + _id, + _lib._sel_initWithProperties_1, + properties._id, + ); return _ret.address == 0 ? null : NSHTTPCookie._(_ret, _lib, retain: true, release: true); @@ -54511,9 +70262,14 @@ class NSHTTPCookie extends NSObject { /// a required key is missing, or a recognized key maps to an illegal /// value. static NSHTTPCookie? cookieWithProperties_( - PedometerBindings _lib, NSDictionary properties) { - final _ret = _lib._objc_msgSend_733(_lib._class_NSHTTPCookie1, - _lib._sel_cookieWithProperties_1, properties._id); + PedometerBindings _lib, + NSDictionary properties, + ) { + final _ret = _lib._objc_msgSend_733( + _lib._class_NSHTTPCookie1, + _lib._sel_cookieWithProperties_1, + properties._id, + ); return _ret.address == 0 ? null : NSHTTPCookie._(_ret, _lib, retain: true, release: true); @@ -54527,9 +70283,14 @@ class NSHTTPCookie extends NSObject { /// @result An NSDictionary where the keys are header field names, and the values /// are the corresponding header field values. static NSDictionary requestHeaderFieldsWithCookies_( - PedometerBindings _lib, NSArray cookies) { - final _ret = _lib._objc_msgSend_465(_lib._class_NSHTTPCookie1, - _lib._sel_requestHeaderFieldsWithCookies_1, cookies._id); + PedometerBindings _lib, + NSArray cookies, + ) { + final _ret = _lib._objc_msgSend_465( + _lib._class_NSHTTPCookie1, + _lib._sel_requestHeaderFieldsWithCookies_1, + cookies._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } @@ -54542,12 +70303,16 @@ class NSHTTPCookie extends NSObject { /// @discussion This method will ignore irrelevant header fields so /// you can pass a dictionary containing data other than cookie data. static NSArray cookiesWithResponseHeaderFields_forURL_( - PedometerBindings _lib, NSDictionary headerFields, NSURL URL) { + PedometerBindings _lib, + NSDictionary headerFields, + NSURL URL, + ) { final _ret = _lib._objc_msgSend_734( - _lib._class_NSHTTPCookie1, - _lib._sel_cookiesWithResponseHeaderFields_forURL_1, - headerFields._id, - URL._id); + _lib._class_NSHTTPCookie1, + _lib._sel_cookiesWithResponseHeaderFields_forURL_1, + headerFields._id, + URL._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -54733,84 +70498,122 @@ class NSHTTPCookie extends NSObject { } static NSHTTPCookie new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookie1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookie1, + _lib._sel_new1, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static NSHTTPCookie allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSHTTPCookie1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSHTTPCookie1, + _lib._sel_allocWithZone_1, + zone, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static NSHTTPCookie alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSHTTPCookie1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSHTTPCookie1, + _lib._sel_alloc1, + ); return NSHTTPCookie._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSHTTPCookie1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSHTTPCookie1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSHTTPCookie1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSHTTPCookie1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSHTTPCookie1, _lib._sel_useStoredAccessor1); + _lib._class_NSHTTPCookie1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSHTTPCookie1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSHTTPCookie1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSHTTPCookie1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSHTTPCookie1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSHTTPCookie1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSHTTPCookie1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSHTTPCookie1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSHTTPCookie1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSHTTPCookie1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSHTTPCookie1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -54829,27 +70632,40 @@ abstract class NSHTTPCookieAcceptPolicy { } class NSURLSessionTask extends NSObject { - NSURLSessionTask._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionTask._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSessionTask] that points to the same underlying object as [other]. static NSURLSessionTask castFrom(T other) { - return NSURLSessionTask._(other._id, other._lib, - retain: true, release: true); + return NSURLSessionTask._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionTask] that wraps the given raw object pointer. static NSURLSessionTask castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSessionTask._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionTask]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionTask1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSessionTask1, + ); } int get taskIdentifier { @@ -54886,7 +70702,10 @@ class NSURLSessionTask extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegate_1, + value?._id ?? ffi.nullptr, + ); } NSProgress get progress { @@ -54903,27 +70722,40 @@ class NSURLSessionTask extends NSObject { set earliestBeginDate(NSDate? value) { return _lib._objc_msgSend_660( - _id, _lib._sel_setEarliestBeginDate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setEarliestBeginDate_1, + value?._id ?? ffi.nullptr, + ); } int get countOfBytesClientExpectsToSend { return _lib._objc_msgSend_513( - _id, _lib._sel_countOfBytesClientExpectsToSend1); + _id, + _lib._sel_countOfBytesClientExpectsToSend1, + ); } set countOfBytesClientExpectsToSend(int value) { return _lib._objc_msgSend_514( - _id, _lib._sel_setCountOfBytesClientExpectsToSend_1, value); + _id, + _lib._sel_setCountOfBytesClientExpectsToSend_1, + value, + ); } int get countOfBytesClientExpectsToReceive { return _lib._objc_msgSend_513( - _id, _lib._sel_countOfBytesClientExpectsToReceive1); + _id, + _lib._sel_countOfBytesClientExpectsToReceive1, + ); } set countOfBytesClientExpectsToReceive(int value) { return _lib._objc_msgSend_514( - _id, _lib._sel_setCountOfBytesClientExpectsToReceive_1, value); + _id, + _lib._sel_setCountOfBytesClientExpectsToReceive_1, + value, + ); } int get countOfBytesSent { @@ -54940,7 +70772,9 @@ class NSURLSessionTask extends NSObject { int get countOfBytesExpectedToReceive { return _lib._objc_msgSend_513( - _id, _lib._sel_countOfBytesExpectedToReceive1); + _id, + _lib._sel_countOfBytesExpectedToReceive1, + ); } NSString? get taskDescription { @@ -54952,7 +70786,10 @@ class NSURLSessionTask extends NSObject { set taskDescription(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setTaskDescription_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setTaskDescription_1, + value?._id ?? ffi.nullptr, + ); } void cancel() { @@ -54994,7 +70831,10 @@ class NSURLSessionTask extends NSObject { set prefersIncrementalDelivery(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setPrefersIncrementalDelivery_1, value); + _id, + _lib._sel_setPrefersIncrementalDelivery_1, + value, + ); } @override @@ -55004,84 +70844,122 @@ class NSURLSessionTask extends NSObject { } static NSURLSessionTask new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionTask1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionTask1, + _lib._sel_new1, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionTask allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionTask alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionTask1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionTask1, + _lib._sel_alloc1, + ); return NSURLSessionTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLSessionTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLSessionTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSessionTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSessionTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSessionTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLSessionTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLSessionTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionTask1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSessionTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -55117,9 +70995,12 @@ class NSURLSessionTask extends NSObject { /// which can are used to perform the load of a URL, or as input to the /// NSURLConnection class method which performs synchronous loads. class NSURLRequest extends NSObject { - NSURLRequest._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLRequest._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLRequest] that points to the same underlying object as [other]. static NSURLRequest castFrom(T other) { @@ -55128,15 +71009,21 @@ class NSURLRequest extends NSObject { /// Returns a [NSURLRequest] that wraps the given raw object pointer. static NSURLRequest castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLRequest._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLRequest]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLRequest1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLRequest1, + ); } /// ! @@ -55150,7 +71037,10 @@ class NSURLRequest extends NSObject { /// @result A newly-created and autoreleased NSURLRequest instance. static NSURLRequest requestWithURL_(PedometerBindings _lib, NSURL URL) { final _ret = _lib._objc_msgSend_739( - _lib._class_NSURLRequest1, _lib._sel_requestWithURL_1, URL._id); + _lib._class_NSURLRequest1, + _lib._sel_requestWithURL_1, + URL._id, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } @@ -55160,7 +71050,9 @@ class NSURLRequest extends NSObject { /// @result A BOOL value set to YES. static bool getSupportsSecureCoding(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_supportsSecureCoding1); + _lib._class_NSURLRequest1, + _lib._sel_supportsSecureCoding1, + ); } /// ! @@ -55174,16 +71066,18 @@ class NSURLRequest extends NSObject { /// timeout intervals. /// @result A newly-created and autoreleased NSURLRequest instance. static NSURLRequest requestWithURL_cachePolicy_timeoutInterval_( - PedometerBindings _lib, - NSURL URL, - int cachePolicy, - double timeoutInterval) { + PedometerBindings _lib, + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_740( - _lib._class_NSURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + _lib._class_NSURLRequest1, + _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, + URL._id, + cachePolicy, + timeoutInterval, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } @@ -55213,13 +71107,17 @@ class NSURLRequest extends NSObject { /// timeout intervals. /// @result An initialized NSURLRequest. NSURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, int cachePolicy, double timeoutInterval) { + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_740( - _id, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + _id, + _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, + URL._id, + cachePolicy, + timeoutInterval, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } @@ -55307,7 +71205,9 @@ class NSURLRequest extends NSObject { /// satisfy the request, NO otherwise. bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + _id, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } /// ! @@ -55369,7 +71269,10 @@ class NSURLRequest extends NSObject { /// there is no value associated with the given header field. NSString? valueForHTTPHeaderField_(NSString field) { final _ret = _lib._objc_msgSend_281( - _id, _lib._sel_valueForHTTPHeaderField_1, field._id); + _id, + _lib._sel_valueForHTTPHeaderField_1, + field._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -55431,84 +71334,122 @@ class NSURLRequest extends NSObject { } static NSURLRequest new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLRequest1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLRequest1, + _lib._sel_new1, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static NSURLRequest allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLRequest1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLRequest1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static NSURLRequest alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLRequest1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLRequest1, + _lib._sel_alloc1, + ); return NSURLRequest._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLRequest1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLRequest1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLRequest1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLRequest1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLRequest1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLRequest1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSURLRequest1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLRequest1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLRequest1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLRequest1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -55627,9 +71568,12 @@ abstract class NSURLRequestAttribution { } class NSInputStream extends NSStream { - NSInputStream._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInputStream._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSInputStream] that points to the same underlying object as [other]. static NSInputStream castFrom(T other) { @@ -55638,25 +71582,37 @@ class NSInputStream extends NSStream { /// Returns a [NSInputStream] that wraps the given raw object pointer. static NSInputStream castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInputStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInputStream]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSInputStream1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSInputStream1, + ); } int read_maxLength_(ffi.Pointer buffer, int len) { return _lib._objc_msgSend_746(_id, _lib._sel_read_maxLength_1, buffer, len); } - bool getBuffer_length_(ffi.Pointer> buffer, - ffi.Pointer len) { + bool getBuffer_length_( + ffi.Pointer> buffer, + ffi.Pointer len, + ) { return _lib._objc_msgSend_752( - _id, _lib._sel_getBuffer_length_1, buffer, len); + _id, + _lib._sel_getBuffer_length_1, + buffer, + len, + ); } bool get hasBytesAvailable { @@ -55664,8 +71620,11 @@ class NSInputStream extends NSStream { } NSInputStream initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_225(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_225( + _id, + _lib._sel_initWithData_1, + data._id, + ); return NSInputStream._(_ret, _lib, retain: true, release: true); } @@ -55677,26 +71636,39 @@ class NSInputStream extends NSStream { } NSInputStream? initWithFileAtPath_(NSString path) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithFileAtPath_1, path._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_initWithFileAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } static NSInputStream? inputStreamWithData_( - PedometerBindings _lib, NSData data) { + PedometerBindings _lib, + NSData data, + ) { final _ret = _lib._objc_msgSend_753( - _lib._class_NSInputStream1, _lib._sel_inputStreamWithData_1, data._id); + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithData_1, + data._id, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } static NSInputStream? inputStreamWithFileAtPath_( - PedometerBindings _lib, NSString path) { - final _ret = _lib._objc_msgSend_38(_lib._class_NSInputStream1, - _lib._sel_inputStreamWithFileAtPath_1, path._id); + PedometerBindings _lib, + NSString path, + ) { + final _ret = _lib._objc_msgSend_38( + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithFileAtPath_1, + path._id, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); @@ -55704,53 +71676,62 @@ class NSInputStream extends NSStream { static NSInputStream? inputStreamWithURL_(PedometerBindings _lib, NSURL url) { final _ret = _lib._objc_msgSend_223( - _lib._class_NSInputStream1, _lib._sel_inputStreamWithURL_1, url._id); + _lib._class_NSInputStream1, + _lib._sel_inputStreamWithURL_1, + url._id, + ); return _ret.address == 0 ? null : NSInputStream._(_ret, _lib, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - PedometerBindings _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_749( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname._id, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - PedometerBindings _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_750( - _lib._class_NSInputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host._id, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - PedometerBindings _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_751( - _lib._class_NSInputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSInputStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override @@ -55760,92 +71741,133 @@ class NSInputStream extends NSStream { } static NSInputStream new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInputStream1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInputStream1, + _lib._sel_new1, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static NSInputStream allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInputStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInputStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static NSInputStream alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInputStream1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInputStream1, + _lib._sel_alloc1, + ); return NSInputStream._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSInputStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInputStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSInputStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSInputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSInputStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSInputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSInputStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSInputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInputStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSInputStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSInputStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInputStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInputStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSStream extends NSObject { - NSStream._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSStream._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSStream] that points to the same underlying object as [other]. static NSStream castFrom(T other) { @@ -55854,15 +71876,21 @@ class NSStream extends NSObject { /// Returns a [NSStream] that wraps the given raw object pointer. static NSStream castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSStream]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSStream1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSStream1, + ); } void open() { @@ -55882,30 +71910,48 @@ class NSStream extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegate_1, + value?._id ?? ffi.nullptr, + ); } NSObject? propertyForKey_(NSString key) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_propertyForKey_1, key._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_propertyForKey_1, + key._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); } bool setProperty_forKey_(NSObject? property, NSString key) { - return _lib._objc_msgSend_744(_id, _lib._sel_setProperty_forKey_1, - property?._id ?? ffi.nullptr, key._id); + return _lib._objc_msgSend_744( + _id, + _lib._sel_setProperty_forKey_1, + property?._id ?? ffi.nullptr, + key._id, + ); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_707( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + _id, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop._id, + mode._id, + ); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_707( - _id, _lib._sel_removeFromRunLoop_forMode_1, aRunLoop._id, mode._id); + _id, + _lib._sel_removeFromRunLoop_forMode_1, + aRunLoop._id, + mode._id, + ); } int get streamStatus { @@ -55920,46 +71966,52 @@ class NSStream extends NSObject { } static void getStreamsToHostWithName_port_inputStream_outputStream_( - PedometerBindings _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_749( - _lib._class_NSStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname._id, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - PedometerBindings _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_750( - _lib._class_NSStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host._id, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - PedometerBindings _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_751( - _lib._class_NSStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override @@ -55974,9 +72026,14 @@ class NSStream extends NSObject { } static NSStream allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSStream._(_ret, _lib, retain: false, release: true); } @@ -55986,65 +72043,94 @@ class NSStream extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSStream1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -56061,9 +72147,12 @@ abstract class NSStreamStatus { } class NSOutputStream extends NSStream { - NSOutputStream._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOutputStream._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSOutputStream] that points to the same underlying object as [other]. static NSOutputStream castFrom(T other) { @@ -56072,20 +72161,30 @@ class NSOutputStream extends NSStream { /// Returns a [NSOutputStream] that wraps the given raw object pointer. static NSOutputStream castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOutputStream._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOutputStream]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSOutputStream1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSOutputStream1, + ); } int write_maxLength_(ffi.Pointer buffer, int len) { return _lib._objc_msgSend_746( - _id, _lib._sel_write_maxLength_1, buffer, len); + _id, + _lib._sel_write_maxLength_1, + buffer, + len, + ); } bool get hasSpaceAvailable { @@ -56098,15 +72197,25 @@ class NSOutputStream extends NSStream { } NSOutputStream initToBuffer_capacity_( - ffi.Pointer buffer, int capacity) { + ffi.Pointer buffer, + int capacity, + ) { final _ret = _lib._objc_msgSend_747( - _id, _lib._sel_initToBuffer_capacity_1, buffer, capacity); + _id, + _lib._sel_initToBuffer_capacity_1, + buffer, + capacity, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } NSOutputStream? initWithURL_append_(NSURL url, bool shouldAppend) { final _ret = _lib._objc_msgSend_748( - _id, _lib._sel_initWithURL_append_1, url._id, shouldAppend); + _id, + _lib._sel_initWithURL_append_1, + url._id, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); @@ -56114,7 +72223,11 @@ class NSOutputStream extends NSStream { NSOutputStream? initToFileAtPath_append_(NSString path, bool shouldAppend) { final _ret = _lib._objc_msgSend_40( - _id, _lib._sel_initToFileAtPath_append_1, path._id, shouldAppend); + _id, + _lib._sel_initToFileAtPath_append_1, + path._id, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); @@ -56122,74 +72235,103 @@ class NSOutputStream extends NSStream { static NSOutputStream outputStreamToMemory(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, _lib._sel_outputStreamToMemory1); + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToMemory1, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream outputStreamToBuffer_capacity_( - PedometerBindings _lib, ffi.Pointer buffer, int capacity) { - final _ret = _lib._objc_msgSend_747(_lib._class_NSOutputStream1, - _lib._sel_outputStreamToBuffer_capacity_1, buffer, capacity); + PedometerBindings _lib, + ffi.Pointer buffer, + int capacity, + ) { + final _ret = _lib._objc_msgSend_747( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToBuffer_capacity_1, + buffer, + capacity, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream outputStreamToFileAtPath_append_( - PedometerBindings _lib, NSString path, bool shouldAppend) { - final _ret = _lib._objc_msgSend_30(_lib._class_NSOutputStream1, - _lib._sel_outputStreamToFileAtPath_append_1, path._id, shouldAppend); + PedometerBindings _lib, + NSString path, + bool shouldAppend, + ) { + final _ret = _lib._objc_msgSend_30( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamToFileAtPath_append_1, + path._id, + shouldAppend, + ); return NSOutputStream._(_ret, _lib, retain: true, release: true); } static NSOutputStream? outputStreamWithURL_append_( - PedometerBindings _lib, NSURL url, bool shouldAppend) { - final _ret = _lib._objc_msgSend_748(_lib._class_NSOutputStream1, - _lib._sel_outputStreamWithURL_append_1, url._id, shouldAppend); + PedometerBindings _lib, + NSURL url, + bool shouldAppend, + ) { + final _ret = _lib._objc_msgSend_748( + _lib._class_NSOutputStream1, + _lib._sel_outputStreamWithURL_append_1, + url._id, + shouldAppend, + ); return _ret.address == 0 ? null : NSOutputStream._(_ret, _lib, retain: true, release: true); } static void getStreamsToHostWithName_port_inputStream_outputStream_( - PedometerBindings _lib, - NSString hostname, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + NSString hostname, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_749( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, - hostname._id, - port, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getStreamsToHostWithName_port_inputStream_outputStream_1, + hostname._id, + port, + inputStream, + outputStream, + ); } static void getStreamsToHost_port_inputStream_outputStream_( - PedometerBindings _lib, - NSHost host, - int port, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + NSHost host, + int port, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_750( - _lib._class_NSOutputStream1, - _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, - host._id, - port, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getStreamsToHost_port_inputStream_outputStream_1, + host._id, + port, + inputStream, + outputStream, + ); } static void getBoundStreamsWithBufferSize_inputStream_outputStream_( - PedometerBindings _lib, - int bufferSize, - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { + PedometerBindings _lib, + int bufferSize, + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { _lib._objc_msgSend_751( - _lib._class_NSOutputStream1, - _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, - bufferSize, - inputStream, - outputStream); + _lib._class_NSOutputStream1, + _lib._sel_getBoundStreamsWithBufferSize_inputStream_outputStream_1, + bufferSize, + inputStream, + outputStream, + ); } @override @@ -56199,92 +72341,133 @@ class NSOutputStream extends NSStream { } static NSOutputStream new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOutputStream1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOutputStream1, + _lib._sel_new1, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static NSOutputStream allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOutputStream1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOutputStream1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static NSOutputStream alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOutputStream1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOutputStream1, + _lib._sel_alloc1, + ); return NSOutputStream._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOutputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOutputStream1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOutputStream1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSOutputStream1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSOutputStream1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOutputStream1, _lib._sel_useStoredAccessor1); + _lib._class_NSOutputStream1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSOutputStream1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSOutputStream1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSOutputStream1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSOutputStream1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSOutputStream1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOutputStream1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSOutputStream1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOutputStream1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOutputStream1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOutputStream1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSHost extends _ObjCWrapper { - NSHost._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSHost._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSHost] that points to the same underlying object as [other]. static NSHost castFrom(T other) { @@ -56293,15 +72476,21 @@ class NSHost extends _ObjCWrapper { /// Returns a [NSHost] that wraps the given raw object pointer. static NSHost castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSHost._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSHost]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSHost1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSHost1, + ); } } @@ -56317,9 +72506,12 @@ class NSHost extends _ObjCWrapper { /// NSURLConnection and NSURLConnectionDelegate for more information /// about receiving the content data for a URL load. class NSURLResponse extends NSObject { - NSURLResponse._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLResponse._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLResponse] that points to the same underlying object as [other]. static NSURLResponse castFrom(T other) { @@ -56328,15 +72520,21 @@ class NSURLResponse extends NSObject { /// Returns a [NSURLResponse] that wraps the given raw object pointer. static NSURLResponse castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLResponse._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLResponse]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLResponse1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLResponse1, + ); } /// ! @@ -56349,14 +72547,19 @@ class NSURLResponse extends NSObject { /// @result The initialized NSURLResponse. /// @discussion This is the designated initializer for NSURLResponse. NSURLResponse initWithURL_MIMEType_expectedContentLength_textEncodingName_( - NSURL URL, NSString? MIMEType, int length, NSString? name) { + NSURL URL, + NSString? MIMEType, + int length, + NSString? name, + ) { final _ret = _lib._objc_msgSend_756( - _id, - _lib._sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1, - URL._id, - MIMEType?._id ?? ffi.nullptr, - length, - name?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithURL_MIMEType_expectedContentLength_textEncodingName_1, + URL._id, + MIMEType?._id ?? ffi.nullptr, + length, + name?._id ?? ffi.nullptr, + ); return NSURLResponse._(_ret, _lib, retain: true, release: true); } @@ -56441,84 +72644,122 @@ class NSURLResponse extends NSObject { } static NSURLResponse new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLResponse1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLResponse1, + _lib._sel_new1, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static NSURLResponse allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLResponse1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLResponse1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static NSURLResponse alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLResponse1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLResponse1, + _lib._sel_alloc1, + ); return NSURLResponse._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLResponse1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLResponse1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLResponse1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLResponse1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLResponse1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLResponse1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSURLResponse1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLResponse1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLResponse1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLResponse1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -56531,30 +72772,35 @@ abstract class NSURLSessionTaskState { } void _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSArray_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSArray._(ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ObjCBlock_ffiVoid_NSArray._( + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -56562,20 +72808,24 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -56584,19 +72834,27 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray.fromFunction( - PedometerBindings lib, void Function(NSArray?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSArray?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -56609,39 +72867,55 @@ class ObjCBlock_ffiVoid_NSArray extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray.listener( - PedometerBindings lib, void Function(NSArray?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSArray?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSArray_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSArray? arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0?._id ?? ffi.nullptr); } class NSIndexPath extends NSObject { - NSIndexPath._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSIndexPath._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSIndexPath] that points to the same underlying object as [other]. static NSIndexPath castFrom(T other) { @@ -56650,34 +72924,56 @@ class NSIndexPath extends NSObject { /// Returns a [NSIndexPath] that wraps the given raw object pointer. static NSIndexPath castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSIndexPath._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSIndexPath]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSIndexPath1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSIndexPath1, + ); } static NSIndexPath indexPathWithIndex_(PedometerBindings _lib, int index) { final _ret = _lib._objc_msgSend_57( - _lib._class_NSIndexPath1, _lib._sel_indexPathWithIndex_1, index); + _lib._class_NSIndexPath1, + _lib._sel_indexPathWithIndex_1, + index, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } - static NSIndexPath indexPathWithIndexes_length_(PedometerBindings _lib, - ffi.Pointer indexes, int length) { - final _ret = _lib._objc_msgSend_763(_lib._class_NSIndexPath1, - _lib._sel_indexPathWithIndexes_length_1, indexes, length); + static NSIndexPath indexPathWithIndexes_length_( + PedometerBindings _lib, + ffi.Pointer indexes, + int length, + ) { + final _ret = _lib._objc_msgSend_763( + _lib._class_NSIndexPath1, + _lib._sel_indexPathWithIndexes_length_1, + indexes, + length, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath initWithIndexes_length_( - ffi.Pointer indexes, int length) { + ffi.Pointer indexes, + int length, + ) { final _ret = _lib._objc_msgSend_763( - _id, _lib._sel_initWithIndexes_length_1, indexes, length); + _id, + _lib._sel_initWithIndexes_length_1, + indexes, + length, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } @@ -56687,14 +72983,19 @@ class NSIndexPath extends NSObject { } NSIndexPath indexPathByAddingIndex_(int index) { - final _ret = - _lib._objc_msgSend_764(_id, _lib._sel_indexPathByAddingIndex_1, index); + final _ret = _lib._objc_msgSend_764( + _id, + _lib._sel_indexPathByAddingIndex_1, + index, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } NSIndexPath indexPathByRemovingLastIndex() { - final _ret = - _lib._objc_msgSend_765(_id, _lib._sel_indexPathByRemovingLastIndex1); + final _ret = _lib._objc_msgSend_765( + _id, + _lib._sel_indexPathByRemovingLastIndex1, + ); return NSIndexPath._(_ret, _lib, retain: true, release: true); } @@ -56713,9 +73014,15 @@ class NSIndexPath extends NSObject { /// @discussion /// It is the developer’s responsibility to allocate the memory for the C array. void getIndexes_range_( - ffi.Pointer indexes, _NSRange positionRange) { + ffi.Pointer indexes, + _NSRange positionRange, + ) { _lib._objc_msgSend_766( - _id, _lib._sel_getIndexes_range_1, indexes, positionRange); + _id, + _lib._sel_getIndexes_range_1, + indexes, + positionRange, + ); } int compare_(NSIndexPath otherObject) { @@ -56739,104 +73046,153 @@ class NSIndexPath extends NSObject { } static NSIndexPath allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSIndexPath1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSIndexPath1, + _lib._sel_allocWithZone_1, + zone, + ); return NSIndexPath._(_ret, _lib, retain: false, release: true); } static NSIndexPath alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSIndexPath1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSIndexPath1, + _lib._sel_alloc1, + ); return NSIndexPath._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSIndexPath1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSIndexPath1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSIndexPath1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSIndexPath1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSIndexPath1, _lib._sel_useStoredAccessor1); + _lib._class_NSIndexPath1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSIndexPath1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSIndexPath1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSIndexPath1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSIndexPath1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSIndexPath1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSIndexPath1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSIndexPath1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSIndexPath1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSIndexPath1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSIndexPath1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSInflectionRule extends NSObject { - NSInflectionRule._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSInflectionRule._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSInflectionRule] that points to the same underlying object as [other]. static NSInflectionRule castFrom(T other) { - return NSInflectionRule._(other._id, other._lib, - retain: true, release: true); + return NSInflectionRule._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSInflectionRule] that wraps the given raw object pointer. static NSInflectionRule castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSInflectionRule._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSInflectionRule]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSInflectionRule1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSInflectionRule1, + ); } @override @@ -56847,107 +73203,155 @@ class NSInflectionRule extends NSObject { static NSInflectionRule getAutomaticRule(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_769( - _lib._class_NSInflectionRule1, _lib._sel_automaticRule1); + _lib._class_NSInflectionRule1, + _lib._sel_automaticRule1, + ); return NSInflectionRule._(_ret, _lib, retain: true, release: true); } static bool canInflectLanguage_(PedometerBindings _lib, NSString language) { - return _lib._objc_msgSend_56(_lib._class_NSInflectionRule1, - _lib._sel_canInflectLanguage_1, language._id); + return _lib._objc_msgSend_56( + _lib._class_NSInflectionRule1, + _lib._sel_canInflectLanguage_1, + language._id, + ); } static bool getCanInflectPreferredLocalization(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSInflectionRule1, - _lib._sel_canInflectPreferredLocalization1); + return _lib._objc_msgSend_12( + _lib._class_NSInflectionRule1, + _lib._sel_canInflectPreferredLocalization1, + ); } static NSInflectionRule new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInflectionRule1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInflectionRule1, + _lib._sel_new1, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static NSInflectionRule allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSInflectionRule1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSInflectionRule1, + _lib._sel_allocWithZone_1, + zone, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static NSInflectionRule alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSInflectionRule1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSInflectionRule1, + _lib._sel_alloc1, + ); return NSInflectionRule._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSInflectionRule1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSInflectionRule1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSInflectionRule1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSInflectionRule1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSInflectionRule1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSInflectionRule1, _lib._sel_useStoredAccessor1); + _lib._class_NSInflectionRule1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSInflectionRule1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSInflectionRule1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSInflectionRule1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSInflectionRule1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSInflectionRule1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSInflectionRule1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSInflectionRule1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSInflectionRule1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSInflectionRule1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSInflectionRule1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSMorphology extends NSObject { - NSMorphology._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMorphology._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMorphology] that points to the same underlying object as [other]. static NSMorphology castFrom(T other) { @@ -56956,15 +73360,21 @@ class NSMorphology extends NSObject { /// Returns a [NSMorphology] that wraps the given raw object pointer. static NSMorphology castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMorphology._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMorphology]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSMorphology1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMorphology1, + ); } int get grammaticalGender { @@ -57033,20 +73443,27 @@ class NSMorphology extends NSObject { NSMorphologyCustomPronoun? customPronounForLanguage_(NSString language) { final _ret = _lib._objc_msgSend_786( - _id, _lib._sel_customPronounForLanguage_1, language._id); + _id, + _lib._sel_customPronounForLanguage_1, + language._id, + ); return _ret.address == 0 ? null : NSMorphologyCustomPronoun._(_ret, _lib, retain: true, release: true); } - bool setCustomPronoun_forLanguage_error_(NSMorphologyCustomPronoun? features, - NSString language, ffi.Pointer> error) { + bool setCustomPronoun_forLanguage_error_( + NSMorphologyCustomPronoun? features, + NSString language, + ffi.Pointer> error, + ) { return _lib._objc_msgSend_787( - _id, - _lib._sel_setCustomPronoun_forLanguage_error_1, - features?._id ?? ffi.nullptr, - language._id, - error); + _id, + _lib._sel_setCustomPronoun_forLanguage_error_1, + features?._id ?? ffi.nullptr, + language._id, + error, + ); } bool get unspecified { @@ -57055,7 +73472,9 @@ class NSMorphology extends NSObject { static NSMorphology getUserMorphology(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_788( - _lib._class_NSMorphology1, _lib._sel_userMorphology1); + _lib._class_NSMorphology1, + _lib._sel_userMorphology1, + ); return NSMorphology._(_ret, _lib, retain: true, release: true); } @@ -57066,84 +73485,122 @@ class NSMorphology extends NSObject { } static NSMorphology new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMorphology1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphology1, + _lib._sel_new1, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static NSMorphology allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMorphology1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMorphology1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static NSMorphology alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMorphology1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphology1, + _lib._sel_alloc1, + ); return NSMorphology._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMorphology1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMorphology1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMorphology1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSMorphology1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphology1, _lib._sel_useStoredAccessor1); + _lib._class_NSMorphology1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMorphology1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMorphology1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMorphology1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMorphology1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMorphology1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMorphology1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSMorphology1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSMorphology1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphology1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMorphology1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -57228,40 +73685,67 @@ abstract class NSGrammaticalDefiniteness { } class NSMorphologyCustomPronoun extends NSObject { - NSMorphologyCustomPronoun._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMorphologyCustomPronoun._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMorphologyCustomPronoun] that points to the same underlying object as [other]. static NSMorphologyCustomPronoun castFrom(T other) { - return NSMorphologyCustomPronoun._(other._id, other._lib, - retain: true, release: true); + return NSMorphologyCustomPronoun._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSMorphologyCustomPronoun] that wraps the given raw object pointer. static NSMorphologyCustomPronoun castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSMorphologyCustomPronoun._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSMorphologyCustomPronoun._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSMorphologyCustomPronoun]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMorphologyCustomPronoun1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMorphologyCustomPronoun1, + ); } static bool isSupportedForLanguage_( - PedometerBindings _lib, NSString language) { - return _lib._objc_msgSend_56(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_isSupportedForLanguage_1, language._id); + PedometerBindings _lib, + NSString language, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_isSupportedForLanguage_1, + language._id, + ); } static NSArray requiredKeysForLanguage_( - PedometerBindings _lib, NSString language) { - final _ret = _lib._objc_msgSend_313(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_requiredKeysForLanguage_1, language._id); + PedometerBindings _lib, + NSString language, + ) { + final _ret = _lib._objc_msgSend_313( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_requiredKeysForLanguage_1, + language._id, + ); return NSArray._(_ret, _lib, retain: true, release: true); } @@ -57274,7 +73758,10 @@ class NSMorphologyCustomPronoun extends NSObject { set subjectForm(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setSubjectForm_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setSubjectForm_1, + value?._id ?? ffi.nullptr, + ); } NSString? get objectForm { @@ -57286,7 +73773,10 @@ class NSMorphologyCustomPronoun extends NSObject { set objectForm(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setObjectForm_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setObjectForm_1, + value?._id ?? ffi.nullptr, + ); } NSString? get possessiveForm { @@ -57298,7 +73788,10 @@ class NSMorphologyCustomPronoun extends NSObject { set possessiveForm(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setPossessiveForm_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setPossessiveForm_1, + value?._id ?? ffi.nullptr, + ); } NSString? get possessiveAdjectiveForm { @@ -57310,7 +73803,10 @@ class NSMorphologyCustomPronoun extends NSObject { set possessiveAdjectiveForm(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setPossessiveAdjectiveForm_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setPossessiveAdjectiveForm_1, + value?._id ?? ffi.nullptr, + ); } NSString? get reflexiveForm { @@ -57322,7 +73818,10 @@ class NSMorphologyCustomPronoun extends NSObject { set reflexiveForm(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setReflexiveForm_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setReflexiveForm_1, + value?._id ?? ffi.nullptr, + ); } @override @@ -57333,112 +73832,175 @@ class NSMorphologyCustomPronoun extends NSObject { static NSMorphologyCustomPronoun new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_new1); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_new1, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMorphologyCustomPronoun allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_allocWithZone_1, zone); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSMorphologyCustomPronoun alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_alloc1); - return NSMorphologyCustomPronoun._(_ret, _lib, - retain: false, release: true); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_alloc1, + ); + return NSMorphologyCustomPronoun._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMorphologyCustomPronoun1, _lib._sel_useStoredAccessor1); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMorphologyCustomPronoun1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSMorphologyCustomPronoun1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMorphologyCustomPronoun1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSOperationQueue extends NSObject { - NSOperationQueue._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOperationQueue._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSOperationQueue] that points to the same underlying object as [other]. static NSOperationQueue castFrom(T other) { - return NSOperationQueue._(other._id, other._lib, - retain: true, release: true); + return NSOperationQueue._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSOperationQueue] that wraps the given raw object pointer. static NSOperationQueue castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOperationQueue._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperationQueue]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSOperationQueue1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSOperationQueue1, + ); } /// @property progress @@ -57468,7 +74030,11 @@ class NSOperationQueue extends NSObject { void addOperations_waitUntilFinished_(NSArray ops, bool wait) { _lib._objc_msgSend_792( - _id, _lib._sel_addOperations_waitUntilFinished_1, ops._id, wait); + _id, + _lib._sel_addOperations_waitUntilFinished_1, + ops._id, + wait, + ); } void addOperationWithBlock_(ObjCBlock_ffiVoid block) { @@ -57490,7 +74056,10 @@ class NSOperationQueue extends NSObject { set maxConcurrentOperationCount(int value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setMaxConcurrentOperationCount_1, value); + _id, + _lib._sel_setMaxConcurrentOperationCount_1, + value, + ); } bool get suspended { @@ -57510,7 +74079,10 @@ class NSOperationQueue extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setName_1, + value?._id ?? ffi.nullptr, + ); } int get qualityOfService { @@ -57539,7 +74111,9 @@ class NSOperationQueue extends NSObject { static NSOperationQueue? getCurrentQueue(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_795( - _lib._class_NSOperationQueue1, _lib._sel_currentQueue1); + _lib._class_NSOperationQueue1, + _lib._sel_currentQueue1, + ); return _ret.address == 0 ? null : NSOperationQueue._(_ret, _lib, retain: true, release: true); @@ -57547,7 +74121,9 @@ class NSOperationQueue extends NSObject { static NSOperationQueue getMainQueue(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_796( - _lib._class_NSOperationQueue1, _lib._sel_mainQueue1); + _lib._class_NSOperationQueue1, + _lib._sel_mainQueue1, + ); return NSOperationQueue._(_ret, _lib, retain: true, release: true); } @@ -57567,92 +74143,133 @@ class NSOperationQueue extends NSObject { } static NSOperationQueue new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperationQueue1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperationQueue1, + _lib._sel_new1, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static NSOperationQueue allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperationQueue1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOperationQueue1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static NSOperationQueue alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperationQueue1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperationQueue1, + _lib._sel_alloc1, + ); return NSOperationQueue._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOperationQueue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOperationQueue1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOperationQueue1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSOperationQueue1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSOperationQueue1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperationQueue1, _lib._sel_useStoredAccessor1); + _lib._class_NSOperationQueue1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSOperationQueue1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSOperationQueue1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSOperationQueue1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSOperationQueue1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSOperationQueue1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOperationQueue1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSOperationQueue1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSOperationQueue1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperationQueue1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOperationQueue1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSOperation extends NSObject { - NSOperation._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSOperation._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSOperation] that points to the same underlying object as [other]. static NSOperation castFrom(T other) { @@ -57661,15 +74278,21 @@ class NSOperation extends NSObject { /// Returns a [NSOperation] that wraps the given raw object pointer. static NSOperation castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSOperation._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSOperation]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSOperation1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSOperation1, + ); } void start() { @@ -57738,7 +74361,10 @@ class NSOperation extends NSObject { set completionBlock(ObjCBlock_ffiVoid? value) { return _lib._objc_msgSend_517( - _id, _lib._sel_setCompletionBlock_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setCompletionBlock_1, + value?._id ?? ffi.nullptr, + ); } void waitUntilFinished() { @@ -57772,7 +74398,10 @@ class NSOperation extends NSObject { set name(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setName_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setName_1, + value?._id ?? ffi.nullptr, + ); } @override @@ -57787,78 +74416,114 @@ class NSOperation extends NSObject { } static NSOperation allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSOperation1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSOperation1, + _lib._sel_allocWithZone_1, + zone, + ); return NSOperation._(_ret, _lib, retain: false, release: true); } static NSOperation alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSOperation1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSOperation1, + _lib._sel_alloc1, + ); return NSOperation._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSOperation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSOperation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSOperation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperation1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSOperation1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSOperation1, _lib._sel_useStoredAccessor1); + _lib._class_NSOperation1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSOperation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSOperation1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSOperation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSOperation1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSOperation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSOperation1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSOperation1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSOperation1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSOperation1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSOperation1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -57874,9 +74539,12 @@ abstract class NSOperationQueuePriority { final class dispatch_queue_s extends ffi.Opaque {} class NSPointerArray extends NSObject { - NSPointerArray._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPointerArray._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSPointerArray] that points to the same underlying object as [other]. static NSPointerArray castFrom(T other) { @@ -57885,40 +74553,62 @@ class NSPointerArray extends NSObject { /// Returns a [NSPointerArray] that wraps the given raw object pointer. static NSPointerArray castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPointerArray._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerArray]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSPointerArray1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSPointerArray1, + ); } NSPointerArray initWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_797(_id, _lib._sel_initWithOptions_1, options); + final _ret = _lib._objc_msgSend_797( + _id, + _lib._sel_initWithOptions_1, + options, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } NSPointerArray initWithPointerFunctions_(NSPointerFunctions functions) { final _ret = _lib._objc_msgSend_811( - _id, _lib._sel_initWithPointerFunctions_1, functions._id); + _id, + _lib._sel_initWithPointerFunctions_1, + functions._id, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray pointerArrayWithOptions_( - PedometerBindings _lib, int options) { - final _ret = _lib._objc_msgSend_812(_lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithOptions_1, options); + PedometerBindings _lib, + int options, + ) { + final _ret = _lib._objc_msgSend_812( + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithOptions_1, + options, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray pointerArrayWithPointerFunctions_( - PedometerBindings _lib, NSPointerFunctions functions) { - final _ret = _lib._objc_msgSend_813(_lib._class_NSPointerArray1, - _lib._sel_pointerArrayWithPointerFunctions_1, functions._id); + PedometerBindings _lib, + NSPointerFunctions functions, + ) { + final _ret = _lib._objc_msgSend_813( + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithPointerFunctions_1, + functions._id, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } @@ -57944,9 +74634,15 @@ class NSPointerArray extends NSObject { } void replacePointerAtIndex_withPointer_( - int index, ffi.Pointer item) { + int index, + ffi.Pointer item, + ) { _lib._objc_msgSend_816( - _id, _lib._sel_replacePointerAtIndex_withPointer_1, index, item); + _id, + _lib._sel_replacePointerAtIndex_withPointer_1, + index, + item, + ); } void compact() { @@ -57963,25 +74659,33 @@ class NSPointerArray extends NSObject { static NSObject pointerArrayWithStrongObjects(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_pointerArrayWithStrongObjects1); + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithStrongObjects1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSObject pointerArrayWithWeakObjects(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_pointerArrayWithWeakObjects1); + _lib._class_NSPointerArray1, + _lib._sel_pointerArrayWithWeakObjects1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } static NSPointerArray strongObjectsPointerArray(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_817( - _lib._class_NSPointerArray1, _lib._sel_strongObjectsPointerArray1); + _lib._class_NSPointerArray1, + _lib._sel_strongObjectsPointerArray1, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } static NSPointerArray weakObjectsPointerArray(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_817( - _lib._class_NSPointerArray1, _lib._sel_weakObjectsPointerArray1); + _lib._class_NSPointerArray1, + _lib._sel_weakObjectsPointerArray1, + ); return NSPointerArray._(_ret, _lib, retain: true, release: true); } @@ -57997,84 +74701,122 @@ class NSPointerArray extends NSObject { } static NSPointerArray new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerArray1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerArray1, + _lib._sel_new1, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static NSPointerArray allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerArray1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPointerArray1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static NSPointerArray alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerArray1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerArray1, + _lib._sel_alloc1, + ); return NSPointerArray._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPointerArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPointerArray1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPointerArray1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSPointerArray1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSPointerArray1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPointerArray1, _lib._sel_useStoredAccessor1); + _lib._class_NSPointerArray1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSPointerArray1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSPointerArray1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSPointerArray1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSPointerArray1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSPointerArray1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPointerArray1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSPointerArray1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSPointerArray1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerArray1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPointerArray1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -58096,169 +74838,226 @@ abstract class NSPointerFunctionsOptions { } class NSPointerFunctions extends NSObject { - NSPointerFunctions._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSPointerFunctions._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSPointerFunctions] that points to the same underlying object as [other]. static NSPointerFunctions castFrom(T other) { - return NSPointerFunctions._(other._id, other._lib, - retain: true, release: true); + return NSPointerFunctions._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSPointerFunctions] that wraps the given raw object pointer. static NSPointerFunctions castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSPointerFunctions._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSPointerFunctions]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSPointerFunctions1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSPointerFunctions1, + ); } NSPointerFunctions initWithOptions_(int options) { - final _ret = - _lib._objc_msgSend_797(_id, _lib._sel_initWithOptions_1, options); + final _ret = _lib._objc_msgSend_797( + _id, + _lib._sel_initWithOptions_1, + options, + ); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } static NSPointerFunctions pointerFunctionsWithOptions_( - PedometerBindings _lib, int options) { - final _ret = _lib._objc_msgSend_798(_lib._class_NSPointerFunctions1, - _lib._sel_pointerFunctionsWithOptions_1, options); + PedometerBindings _lib, + int options, + ) { + final _ret = _lib._objc_msgSend_798( + _lib._class_NSPointerFunctions1, + _lib._sel_pointerFunctionsWithOptions_1, + options, + ); return NSPointerFunctions._(_ret, _lib, retain: true, release: true); } ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get hashFunction { + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get hashFunction { return _lib._objc_msgSend_799(_id, _lib._sel_hashFunction1); } set hashFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.UnsignedLong Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + value, + ) { return _lib._objc_msgSend_800(_id, _lib._sel_setHashFunction_1, value); } ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get isEqualFunction { + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get isEqualFunction { return _lib._objc_msgSend_801(_id, _lib._sel_isEqualFunction1); } set isEqualFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Bool Function( - ffi.Pointer, - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Bool Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + value, + ) { return _lib._objc_msgSend_802(_id, _lib._sel_setIsEqualFunction_1, value); } ffi.Pointer< - ffi.NativeFunction)>> - get sizeFunction { + ffi.NativeFunction)> + > + get sizeFunction { return _lib._objc_msgSend_803(_id, _lib._sel_sizeFunction1); } set sizeFunction( - ffi.Pointer< - ffi - .NativeFunction)>> - value) { + ffi.Pointer< + ffi.NativeFunction)> + > + value, + ) { return _lib._objc_msgSend_804(_id, _lib._sel_setSizeFunction_1, value); } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - get descriptionFunction { + ffi.NativeFunction Function(ffi.Pointer)> + > + get descriptionFunction { return _lib._objc_msgSend_805(_id, _lib._sel_descriptionFunction1); } set descriptionFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function(ffi.Pointer)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function(ffi.Pointer) + > + > + value, + ) { return _lib._objc_msgSend_806( - _id, _lib._sel_setDescriptionFunction_1, value); + _id, + _lib._sel_setDescriptionFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>)>> - get relinquishFunction { + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + get relinquishFunction { return _lib._objc_msgSend_807(_id, _lib._sel_relinquishFunction1); } set relinquishFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ) + > + > + value, + ) { return _lib._objc_msgSend_808( - _id, _lib._sel_setRelinquishFunction_1, value); + _id, + _lib._sel_setRelinquishFunction_1, + value, + ); } ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function(ffi.Pointer)>>, - ffi.Bool)>> get acquireFunction { + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > + get acquireFunction { return _lib._objc_msgSend_809(_id, _lib._sel_acquireFunction1); } set acquireFunction( - ffi.Pointer< - ffi.NativeFunction< - ffi.Pointer Function( - ffi.Pointer, - ffi.Pointer< - ffi.NativeFunction< - ffi.UnsignedLong Function( - ffi.Pointer)>>, - ffi.Bool)>> - value) { + ffi.Pointer< + ffi.NativeFunction< + ffi.Pointer Function( + ffi.Pointer, + ffi.Pointer< + ffi.NativeFunction)> + >, + ffi.Bool, + ) + > + > + value, + ) { return _lib._objc_msgSend_810(_id, _lib._sel_setAcquireFunction_1, value); } @@ -58268,7 +75067,10 @@ class NSPointerFunctions extends NSObject { set usesStrongWriteBarrier(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setUsesStrongWriteBarrier_1, value); + _id, + _lib._sel_setUsesStrongWriteBarrier_1, + value, + ); } bool get usesWeakReadAndWriteBarriers { @@ -58277,7 +75079,10 @@ class NSPointerFunctions extends NSObject { set usesWeakReadAndWriteBarriers(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setUsesWeakReadAndWriteBarriers_1, value); + _id, + _lib._sel_setUsesWeakReadAndWriteBarriers_1, + value, + ); } @override @@ -58287,92 +75092,133 @@ class NSPointerFunctions extends NSObject { } static NSPointerFunctions new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerFunctions1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerFunctions1, + _lib._sel_new1, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static NSPointerFunctions allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSPointerFunctions1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSPointerFunctions1, + _lib._sel_allocWithZone_1, + zone, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static NSPointerFunctions alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSPointerFunctions1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSPointerFunctions1, + _lib._sel_alloc1, + ); return NSPointerFunctions._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSPointerFunctions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSPointerFunctions1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSPointerFunctions1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSPointerFunctions1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSPointerFunctions1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSPointerFunctions1, _lib._sel_useStoredAccessor1); + _lib._class_NSPointerFunctions1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSPointerFunctions1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSPointerFunctions1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSPointerFunctions1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSPointerFunctions1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSPointerFunctions1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSPointerFunctions1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSPointerFunctions1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSPointerFunctions1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSPointerFunctions1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSPointerFunctions1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSProcessInfo extends NSObject { - NSProcessInfo._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSProcessInfo._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSProcessInfo] that points to the same underlying object as [other]. static NSProcessInfo castFrom(T other) { @@ -58381,20 +75227,28 @@ class NSProcessInfo extends NSObject { /// Returns a [NSProcessInfo] that wraps the given raw object pointer. static NSProcessInfo castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSProcessInfo._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSProcessInfo]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSProcessInfo1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSProcessInfo1, + ); } static NSProcessInfo getProcessInfo(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_818( - _lib._class_NSProcessInfo1, _lib._sel_processInfo1); + _lib._class_NSProcessInfo1, + _lib._sel_processInfo1, + ); return NSProcessInfo._(_ret, _lib, retain: true, release: true); } @@ -58441,17 +75295,24 @@ class NSProcessInfo extends NSObject { } NSString get operatingSystemVersionString { - final _ret = - _lib._objc_msgSend_21(_id, _lib._sel_operatingSystemVersionString1); + final _ret = _lib._objc_msgSend_21( + _id, + _lib._sel_operatingSystemVersionString1, + ); return NSString._(_ret, _lib, retain: true, release: true); } void getOperatingSystemVersion(ffi.Pointer stret) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_819_stret( - stret, _id, _lib._sel_operatingSystemVersion1) - : stret.ref = - _lib._objc_msgSend_819(_id, _lib._sel_operatingSystemVersion1); + stret, + _id, + _lib._sel_operatingSystemVersion1, + ) + : stret.ref = _lib._objc_msgSend_819( + _id, + _lib._sel_operatingSystemVersion1, + ); } int get processorCount { @@ -58468,7 +75329,10 @@ class NSProcessInfo extends NSObject { bool isOperatingSystemAtLeastVersion_(NSOperatingSystemVersion version) { return _lib._objc_msgSend_820( - _id, _lib._sel_isOperatingSystemAtLeastVersion_1, version); + _id, + _lib._sel_isOperatingSystemAtLeastVersion_1, + version, + ); } double get systemUptime { @@ -58487,27 +75351,42 @@ class NSProcessInfo extends NSObject { void disableAutomaticTermination_(NSString reason) { _lib._objc_msgSend_199( - _id, _lib._sel_disableAutomaticTermination_1, reason._id); + _id, + _lib._sel_disableAutomaticTermination_1, + reason._id, + ); } void enableAutomaticTermination_(NSString reason) { _lib._objc_msgSend_199( - _id, _lib._sel_enableAutomaticTermination_1, reason._id); + _id, + _lib._sel_enableAutomaticTermination_1, + reason._id, + ); } bool get automaticTerminationSupportEnabled { return _lib._objc_msgSend_12( - _id, _lib._sel_automaticTerminationSupportEnabled1); + _id, + _lib._sel_automaticTerminationSupportEnabled1, + ); } set automaticTerminationSupportEnabled(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAutomaticTerminationSupportEnabled_1, value); + _id, + _lib._sel_setAutomaticTerminationSupportEnabled_1, + value, + ); } NSObject beginActivityWithOptions_reason_(int options, NSString reason) { final _ret = _lib._objc_msgSend_821( - _id, _lib._sel_beginActivityWithOptions_reason_1, options, reason._id); + _id, + _lib._sel_beginActivityWithOptions_reason_1, + options, + reason._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } @@ -58516,22 +75395,29 @@ class NSProcessInfo extends NSObject { } void performActivityWithOptions_reason_usingBlock_( - int options, NSString reason, ObjCBlock_ffiVoid block) { + int options, + NSString reason, + ObjCBlock_ffiVoid block, + ) { _lib._objc_msgSend_822( - _id, - _lib._sel_performActivityWithOptions_reason_usingBlock_1, - options, - reason._id, - block._id); + _id, + _lib._sel_performActivityWithOptions_reason_usingBlock_1, + options, + reason._id, + block._id, + ); } void performExpiringActivityWithReason_usingBlock_( - NSString reason, ObjCBlock_ffiVoid_bool block) { + NSString reason, + ObjCBlock_ffiVoid_bool block, + ) { _lib._objc_msgSend_823( - _id, - _lib._sel_performExpiringActivityWithReason_usingBlock_1, - reason._id, - block._id); + _id, + _lib._sel_performExpiringActivityWithReason_usingBlock_1, + reason._id, + block._id, + ); } NSString get userName { @@ -58567,84 +75453,122 @@ class NSProcessInfo extends NSObject { } static NSProcessInfo new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProcessInfo1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProcessInfo1, + _lib._sel_new1, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static NSProcessInfo allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSProcessInfo1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSProcessInfo1, + _lib._sel_allocWithZone_1, + zone, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static NSProcessInfo alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSProcessInfo1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSProcessInfo1, + _lib._sel_alloc1, + ); return NSProcessInfo._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSProcessInfo1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSProcessInfo1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSProcessInfo1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSProcessInfo1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSProcessInfo1, _lib._sel_useStoredAccessor1); + _lib._class_NSProcessInfo1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSProcessInfo1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSProcessInfo1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSProcessInfo1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSProcessInfo1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSProcessInfo1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSProcessInfo1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSProcessInfo1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSProcessInfo1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSProcessInfo1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSProcessInfo1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -58675,43 +75599,52 @@ abstract class NSActivityOptions { } void _ObjCBlock_ffiVoid_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, bool arg0) => - block.ref.target - .cast>() - .asFunction()(arg0); + ffi.Pointer<_ObjCBlock> block, + bool arg0, +) => block.ref.target + .cast>() + .asFunction()(arg0); final _ObjCBlock_ffiVoid_bool_closureRegistry = {}; int _ObjCBlock_ffiVoid_bool_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_bool_registerClosure( - void Function(bool) fn) { + void Function(bool) fn, +) { final id = ++_ObjCBlock_ffiVoid_bool_closureRegistryIndex; _ObjCBlock_ffiVoid_bool_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, bool arg0) => - _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); + ffi.Pointer<_ObjCBlock> block, + bool arg0, +) => _ObjCBlock_ffiVoid_bool_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { - ObjCBlock_ffiVoid_bool._(ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ObjCBlock_ffiVoid_bool._( + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_bool.fromFunctionPointer(PedometerBindings lib, - ffi.Pointer> ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Bool)>(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + ObjCBlock_ffiVoid_bool.fromFunctionPointer( + PedometerBindings lib, + ffi.Pointer> ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) + >(_ObjCBlock_ffiVoid_bool_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -58720,17 +75653,18 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_bool.fromFunction( - PedometerBindings lib, void Function(bool) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Bool)>( - _ObjCBlock_ffiVoid_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure( - (bool arg0) => fn(arg0))), - lib); + PedometerBindings lib, + void Function(bool) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) + >(_ObjCBlock_ffiVoid_bool_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -58743,27 +75677,29 @@ class ObjCBlock_ffiVoid_bool extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_bool.listener(PedometerBindings lib, void Function(bool) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Bool)>.listener( - _ObjCBlock_ffiVoid_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_bool_registerClosure( - (bool arg0) => fn(arg0))), - lib); - static ffi - .NativeCallable, ffi.Bool)>? - _dartFuncListenerTrampoline; + : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) + >.listener(_ObjCBlock_ffiVoid_bool_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_bool_registerClosure((bool arg0) => fn(arg0)), + ), + lib, + ); + static ffi.NativeCallable< + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Bool) + >? + _dartFuncListenerTrampoline; void call(bool arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, ffi.Bool arg0)>>() + ffi.NativeFunction< + ffi.Void Function(ffi.Pointer<_ObjCBlock> block, ffi.Bool arg0) + > + >() .asFunction, bool)>()(_id, arg0); } @@ -58775,27 +75711,40 @@ abstract class NSProcessInfoThermalState { } class NSTextCheckingResult extends NSObject { - NSTextCheckingResult._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSTextCheckingResult._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSTextCheckingResult] that points to the same underlying object as [other]. static NSTextCheckingResult castFrom(T other) { - return NSTextCheckingResult._(other._id, other._lib, - retain: true, release: true); + return NSTextCheckingResult._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSTextCheckingResult] that wraps the given raw object pointer. static NSTextCheckingResult castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSTextCheckingResult._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSTextCheckingResult]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSTextCheckingResult1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSTextCheckingResult1, + ); } int get resultType { @@ -58891,22 +75840,39 @@ class NSTextCheckingResult extends NSObject { void rangeAtIndex_(ffi.Pointer<_NSRange> stret, int idx) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_302_stret( - stret, _id, _lib._sel_rangeAtIndex_1, idx) - : stret.ref = - _lib._objc_msgSend_302(_id, _lib._sel_rangeAtIndex_1, idx); + stret, + _id, + _lib._sel_rangeAtIndex_1, + idx, + ) + : stret.ref = _lib._objc_msgSend_302( + _id, + _lib._sel_rangeAtIndex_1, + idx, + ); } void rangeWithName_(ffi.Pointer<_NSRange> stret, NSString name) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_277_stret( - stret, _id, _lib._sel_rangeWithName_1, name._id) - : stret.ref = - _lib._objc_msgSend_277(_id, _lib._sel_rangeWithName_1, name._id); + stret, + _id, + _lib._sel_rangeWithName_1, + name._id, + ) + : stret.ref = _lib._objc_msgSend_277( + _id, + _lib._sel_rangeWithName_1, + name._id, + ); } NSTextCheckingResult resultByAdjustingRangesWithOffset_(int offset) { final _ret = _lib._objc_msgSend_839( - _id, _lib._sel_resultByAdjustingRangesWithOffset_1, offset); + _id, + _lib._sel_resultByAdjustingRangesWithOffset_1, + offset, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } @@ -58918,160 +75884,224 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult orthographyCheckingResultWithRange_orthography_( - PedometerBindings _lib, _NSRange range, NSOrthography orthography) { + PedometerBindings _lib, + _NSRange range, + NSOrthography orthography, + ) { final _ret = _lib._objc_msgSend_840( - _lib._class_NSTextCheckingResult1, - _lib._sel_orthographyCheckingResultWithRange_orthography_1, - range, - orthography._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_orthographyCheckingResultWithRange_orthography_1, + range, + orthography._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult spellCheckingResultWithRange_( - PedometerBindings _lib, _NSRange range) { - final _ret = _lib._objc_msgSend_841(_lib._class_NSTextCheckingResult1, - _lib._sel_spellCheckingResultWithRange_1, range); + PedometerBindings _lib, + _NSRange range, + ) { + final _ret = _lib._objc_msgSend_841( + _lib._class_NSTextCheckingResult1, + _lib._sel_spellCheckingResultWithRange_1, + range, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult grammarCheckingResultWithRange_details_( - PedometerBindings _lib, _NSRange range, NSArray details) { - final _ret = _lib._objc_msgSend_842(_lib._class_NSTextCheckingResult1, - _lib._sel_grammarCheckingResultWithRange_details_1, range, details._id); + PedometerBindings _lib, + _NSRange range, + NSArray details, + ) { + final _ret = _lib._objc_msgSend_842( + _lib._class_NSTextCheckingResult1, + _lib._sel_grammarCheckingResultWithRange_details_1, + range, + details._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult dateCheckingResultWithRange_date_( - PedometerBindings _lib, _NSRange range, NSDate date) { - final _ret = _lib._objc_msgSend_843(_lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_1, range, date._id); + PedometerBindings _lib, + _NSRange range, + NSDate date, + ) { + final _ret = _lib._objc_msgSend_843( + _lib._class_NSTextCheckingResult1, + _lib._sel_dateCheckingResultWithRange_date_1, + range, + date._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - dateCheckingResultWithRange_date_timeZone_duration_( - PedometerBindings _lib, - _NSRange range, - NSDate date, - NSTimeZone timeZone, - double duration) { + dateCheckingResultWithRange_date_timeZone_duration_( + PedometerBindings _lib, + _NSRange range, + NSDate date, + NSTimeZone timeZone, + double duration, + ) { final _ret = _lib._objc_msgSend_844( - _lib._class_NSTextCheckingResult1, - _lib._sel_dateCheckingResultWithRange_date_timeZone_duration_1, - range, - date._id, - timeZone._id, - duration); + _lib._class_NSTextCheckingResult1, + _lib._sel_dateCheckingResultWithRange_date_timeZone_duration_1, + range, + date._id, + timeZone._id, + duration, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult addressCheckingResultWithRange_components_( - PedometerBindings _lib, _NSRange range, NSDictionary components) { + PedometerBindings _lib, + _NSRange range, + NSDictionary components, + ) { final _ret = _lib._objc_msgSend_845( - _lib._class_NSTextCheckingResult1, - _lib._sel_addressCheckingResultWithRange_components_1, - range, - components._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_addressCheckingResultWithRange_components_1, + range, + components._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult linkCheckingResultWithRange_URL_( - PedometerBindings _lib, _NSRange range, NSURL url) { - final _ret = _lib._objc_msgSend_846(_lib._class_NSTextCheckingResult1, - _lib._sel_linkCheckingResultWithRange_URL_1, range, url._id); + PedometerBindings _lib, + _NSRange range, + NSURL url, + ) { + final _ret = _lib._objc_msgSend_846( + _lib._class_NSTextCheckingResult1, + _lib._sel_linkCheckingResultWithRange_URL_1, + range, + url._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult quoteCheckingResultWithRange_replacementString_( - PedometerBindings _lib, _NSRange range, NSString replacementString) { + PedometerBindings _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_847( - _lib._class_NSTextCheckingResult1, - _lib._sel_quoteCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_quoteCheckingResultWithRange_replacementString_1, + range, + replacementString._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult dashCheckingResultWithRange_replacementString_( - PedometerBindings _lib, _NSRange range, NSString replacementString) { + PedometerBindings _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_847( - _lib._class_NSTextCheckingResult1, - _lib._sel_dashCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_dashCheckingResultWithRange_replacementString_1, + range, + replacementString._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - replacementCheckingResultWithRange_replacementString_( - PedometerBindings _lib, _NSRange range, NSString replacementString) { + replacementCheckingResultWithRange_replacementString_( + PedometerBindings _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_847( - _lib._class_NSTextCheckingResult1, - _lib._sel_replacementCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_replacementCheckingResultWithRange_replacementString_1, + range, + replacementString._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_( - PedometerBindings _lib, _NSRange range, NSString replacementString) { + correctionCheckingResultWithRange_replacementString_( + PedometerBindings _lib, + _NSRange range, + NSString replacementString, + ) { final _ret = _lib._objc_msgSend_847( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_1, - range, - replacementString._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_correctionCheckingResultWithRange_replacementString_1, + range, + replacementString._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - correctionCheckingResultWithRange_replacementString_alternativeStrings_( - PedometerBindings _lib, - _NSRange range, - NSString replacementString, - NSArray alternativeStrings) { + correctionCheckingResultWithRange_replacementString_alternativeStrings_( + PedometerBindings _lib, + _NSRange range, + NSString replacementString, + NSArray alternativeStrings, + ) { final _ret = _lib._objc_msgSend_848( - _lib._class_NSTextCheckingResult1, - _lib._sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1, - range, - replacementString._id, - alternativeStrings._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_correctionCheckingResultWithRange_replacementString_alternativeStrings_1, + range, + replacementString._id, + alternativeStrings._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - regularExpressionCheckingResultWithRanges_count_regularExpression_( - PedometerBindings _lib, - ffi.Pointer<_NSRange> ranges, - int count, - NSRegularExpression regularExpression) { + regularExpressionCheckingResultWithRanges_count_regularExpression_( + PedometerBindings _lib, + ffi.Pointer<_NSRange> ranges, + int count, + NSRegularExpression regularExpression, + ) { final _ret = _lib._objc_msgSend_849( - _lib._class_NSTextCheckingResult1, - _lib._sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1, - ranges, - count, - regularExpression._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_regularExpressionCheckingResultWithRanges_count_regularExpression_1, + ranges, + count, + regularExpression._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult phoneNumberCheckingResultWithRange_phoneNumber_( - PedometerBindings _lib, _NSRange range, NSString phoneNumber) { + PedometerBindings _lib, + _NSRange range, + NSString phoneNumber, + ) { final _ret = _lib._objc_msgSend_847( - _lib._class_NSTextCheckingResult1, - _lib._sel_phoneNumberCheckingResultWithRange_phoneNumber_1, - range, - phoneNumber._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_phoneNumberCheckingResultWithRange_phoneNumber_1, + range, + phoneNumber._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } static NSTextCheckingResult - transitInformationCheckingResultWithRange_components_( - PedometerBindings _lib, _NSRange range, NSDictionary components) { + transitInformationCheckingResultWithRange_components_( + PedometerBindings _lib, + _NSRange range, + NSDictionary components, + ) { final _ret = _lib._objc_msgSend_845( - _lib._class_NSTextCheckingResult1, - _lib._sel_transitInformationCheckingResultWithRange_components_1, - range, - components._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_transitInformationCheckingResultWithRange_components_1, + range, + components._id, + ); return NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } @@ -59082,84 +76112,122 @@ class NSTextCheckingResult extends NSObject { } static NSTextCheckingResult new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSTextCheckingResult1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSTextCheckingResult1, + _lib._sel_new1, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static NSTextCheckingResult allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSTextCheckingResult1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSTextCheckingResult1, + _lib._sel_allocWithZone_1, + zone, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static NSTextCheckingResult alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, _lib._sel_alloc1); + _lib._class_NSTextCheckingResult1, + _lib._sel_alloc1, + ); return NSTextCheckingResult._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSTextCheckingResult1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSTextCheckingResult1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSTextCheckingResult1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSTextCheckingResult1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSTextCheckingResult1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSTextCheckingResult1, _lib._sel_useStoredAccessor1); + _lib._class_NSTextCheckingResult1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSTextCheckingResult1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSTextCheckingResult1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSTextCheckingResult1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSTextCheckingResult1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSTextCheckingResult1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSTextCheckingResult1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSTextCheckingResult1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSTextCheckingResult1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSTextCheckingResult1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSTextCheckingResult1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -59181,49 +76249,72 @@ abstract class NSTextCheckingType { } class NSRegularExpression extends NSObject { - NSRegularExpression._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSRegularExpression._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSRegularExpression] that points to the same underlying object as [other]. static NSRegularExpression castFrom(T other) { - return NSRegularExpression._(other._id, other._lib, - retain: true, release: true); + return NSRegularExpression._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSRegularExpression] that wraps the given raw object pointer. static NSRegularExpression castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSRegularExpression._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSRegularExpression]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSRegularExpression1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSRegularExpression1, + ); } static NSRegularExpression? regularExpressionWithPattern_options_error_( - PedometerBindings _lib, - NSString pattern, - int options, - ffi.Pointer> error) { + PedometerBindings _lib, + NSString pattern, + int options, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_827( - _lib._class_NSRegularExpression1, - _lib._sel_regularExpressionWithPattern_options_error_1, - pattern._id, - options, - error); + _lib._class_NSRegularExpression1, + _lib._sel_regularExpressionWithPattern_options_error_1, + pattern._id, + options, + error, + ); return _ret.address == 0 ? null : NSRegularExpression._(_ret, _lib, retain: true, release: true); } - NSRegularExpression? initWithPattern_options_error_(NSString pattern, - int options, ffi.Pointer> error) { - final _ret = _lib._objc_msgSend_828(_id, - _lib._sel_initWithPattern_options_error_1, pattern._id, options, error); + NSRegularExpression? initWithPattern_options_error_( + NSString pattern, + int options, + ffi.Pointer> error, + ) { + final _ret = _lib._objc_msgSend_828( + _id, + _lib._sel_initWithPattern_options_error_1, + pattern._id, + options, + error, + ); return _ret.address == 0 ? null : NSRegularExpression._(_ret, _lib, retain: true, release: true); @@ -59243,116 +76334,162 @@ class NSRegularExpression extends NSObject { } static NSString escapedPatternForString_( - PedometerBindings _lib, NSString string) { - final _ret = _lib._objc_msgSend_61(_lib._class_NSRegularExpression1, - _lib._sel_escapedPatternForString_1, string._id); + PedometerBindings _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_61( + _lib._class_NSRegularExpression1, + _lib._sel_escapedPatternForString_1, + string._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } void enumerateMatchesInString_options_range_usingBlock_( - NSString string, - int options, - _NSRange range, - ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block) { + NSString string, + int options, + _NSRange range, + ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool block, + ) { _lib._objc_msgSend_830( - _id, - _lib._sel_enumerateMatchesInString_options_range_usingBlock_1, - string._id, - options, - range, - block._id); + _id, + _lib._sel_enumerateMatchesInString_options_range_usingBlock_1, + string._id, + options, + range, + block._id, + ); } NSArray matchesInString_options_range_( - NSString string, int options, _NSRange range) { - final _ret = _lib._objc_msgSend_831(_id, - _lib._sel_matchesInString_options_range_1, string._id, options, range); + NSString string, + int options, + _NSRange range, + ) { + final _ret = _lib._objc_msgSend_831( + _id, + _lib._sel_matchesInString_options_range_1, + string._id, + options, + range, + ); return NSArray._(_ret, _lib, retain: true, release: true); } int numberOfMatchesInString_options_range_( - NSString string, int options, _NSRange range) { + NSString string, + int options, + _NSRange range, + ) { return _lib._objc_msgSend_832( - _id, - _lib._sel_numberOfMatchesInString_options_range_1, - string._id, - options, - range); + _id, + _lib._sel_numberOfMatchesInString_options_range_1, + string._id, + options, + range, + ); } NSTextCheckingResult? firstMatchInString_options_range_( - NSString string, int options, _NSRange range) { + NSString string, + int options, + _NSRange range, + ) { final _ret = _lib._objc_msgSend_833( - _id, - _lib._sel_firstMatchInString_options_range_1, - string._id, - options, - range); + _id, + _lib._sel_firstMatchInString_options_range_1, + string._id, + options, + range, + ); return _ret.address == 0 ? null : NSTextCheckingResult._(_ret, _lib, retain: true, release: true); } - void rangeOfFirstMatchInString_options_range_(ffi.Pointer<_NSRange> stret, - NSString string, int options, _NSRange range) { + void rangeOfFirstMatchInString_options_range_( + ffi.Pointer<_NSRange> stret, + NSString string, + int options, + _NSRange range, + ) { _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_834_stret( - stret, - _id, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string._id, - options, - range) + stret, + _id, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string._id, + options, + range, + ) : stret.ref = _lib._objc_msgSend_834( - _id, - _lib._sel_rangeOfFirstMatchInString_options_range_1, - string._id, - options, - range); + _id, + _lib._sel_rangeOfFirstMatchInString_options_range_1, + string._id, + options, + range, + ); } NSString stringByReplacingMatchesInString_options_range_withTemplate_( - NSString string, int options, _NSRange range, NSString templ) { + NSString string, + int options, + _NSRange range, + NSString templ, + ) { final _ret = _lib._objc_msgSend_835( - _id, - _lib._sel_stringByReplacingMatchesInString_options_range_withTemplate_1, - string._id, - options, - range, - templ._id); + _id, + _lib._sel_stringByReplacingMatchesInString_options_range_withTemplate_1, + string._id, + options, + range, + templ._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } int replaceMatchesInString_options_range_withTemplate_( - NSMutableString string, int options, _NSRange range, NSString templ) { + NSMutableString string, + int options, + _NSRange range, + NSString templ, + ) { return _lib._objc_msgSend_836( - _id, - _lib._sel_replaceMatchesInString_options_range_withTemplate_1, - string._id, - options, - range, - templ._id); + _id, + _lib._sel_replaceMatchesInString_options_range_withTemplate_1, + string._id, + options, + range, + templ._id, + ); } NSString replacementStringForResult_inString_offset_template_( - NSTextCheckingResult result, - NSString string, - int offset, - NSString templ) { + NSTextCheckingResult result, + NSString string, + int offset, + NSString templ, + ) { final _ret = _lib._objc_msgSend_837( - _id, - _lib._sel_replacementStringForResult_inString_offset_template_1, - result._id, - string._id, - offset, - templ._id); + _id, + _lib._sel_replacementStringForResult_inString_offset_template_1, + result._id, + string._id, + offset, + templ._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } static NSString escapedTemplateForString_( - PedometerBindings _lib, NSString string) { - final _ret = _lib._objc_msgSend_61(_lib._class_NSRegularExpression1, - _lib._sel_escapedTemplateForString_1, string._id); + PedometerBindings _lib, + NSString string, + ) { + final _ret = _lib._objc_msgSend_61( + _lib._class_NSRegularExpression1, + _lib._sel_escapedTemplateForString_1, + string._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -59363,84 +76500,122 @@ class NSRegularExpression extends NSObject { } static NSRegularExpression new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSRegularExpression1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSRegularExpression1, + _lib._sel_new1, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static NSRegularExpression allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSRegularExpression1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSRegularExpression1, + _lib._sel_allocWithZone_1, + zone, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static NSRegularExpression alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, _lib._sel_alloc1); + _lib._class_NSRegularExpression1, + _lib._sel_alloc1, + ); return NSRegularExpression._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSRegularExpression1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSRegularExpression1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSRegularExpression1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSRegularExpression1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSRegularExpression1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSRegularExpression1, _lib._sel_useStoredAccessor1); + _lib._class_NSRegularExpression1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSRegularExpression1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSRegularExpression1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSRegularExpression1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSRegularExpression1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSRegularExpression1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSRegularExpression1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSRegularExpression1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSRegularExpression1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSRegularExpression1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSRegularExpression1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -59464,47 +76639,60 @@ abstract class NSMatchingOptions { } void - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Int32 arg1, ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, int, - ffi.Pointer)>()(arg0, arg1, arg2); +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, int, ffi.Pointer) + >()(arg0, arg1, arg2); final _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry = , int, ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = +int +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - void Function(ffi.Pointer, int, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + void Function(ffi.Pointer, int, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistryIndex; - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ - id] = fn; + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[id] = + fn; return ffi.Pointer.fromAddress(id); } -void _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - int arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); +void +_ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, +) => + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -59512,24 +76700,34 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Int32 arg1, ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -59538,23 +76736,42 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.fromFunction( - PedometerBindings lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + PedometerBindings lib, + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -59567,42 +76784,73 @@ class ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool.listener( - PedometerBindings lib, - void Function(NSTextCheckingResult?, int, ffi.Pointer) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Int32, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( - (ffi.Pointer arg0, int arg1, - ffi.Pointer arg2) => - fn(arg0.address == 0 ? null : NSTextCheckingResult._(arg0, lib, retain: true, release: true), arg1, arg2))), - lib); + PedometerBindings lib, + void Function(NSTextCheckingResult?, int, ffi.Pointer) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSTextCheckingResult_NSMatchingFlags_bool_registerClosure( + ( + ffi.Pointer arg0, + int arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSTextCheckingResult._( + arg0, + lib, + retain: true, + release: true, + ), + arg1, + arg2, + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Int32, ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Int32, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSTextCheckingResult? arg0, int arg1, ffi.Pointer arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Int32 arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer, int, ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1, arg2); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Int32 arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + int, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1, arg2); } abstract class NSMatchingFlags { @@ -59614,9 +76862,12 @@ abstract class NSMatchingFlags { } class NSURLCache extends NSObject { - NSURLCache._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCache._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLCache] that points to the same underlying object as [other]. static NSURLCache castFrom(T other) { @@ -59625,15 +76876,21 @@ class NSURLCache extends NSObject { /// Returns a [NSURLCache] that wraps the given raw object pointer. static NSURLCache castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLCache._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCache]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLCache1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLCache1, + ); } /// ! @@ -59662,7 +76919,9 @@ class NSURLCache extends NSObject { /// @result the shared NSURLCache instance. static NSURLCache getSharedURLCache(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_850( - _lib._class_NSURLCache1, _lib._sel_sharedURLCache1); + _lib._class_NSURLCache1, + _lib._sel_sharedURLCache1, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } @@ -59692,7 +76951,10 @@ class NSURLCache extends NSObject { /// @result the shared NSURLCache instance. static void setSharedURLCache(PedometerBindings _lib, NSURLCache value) { return _lib._objc_msgSend_851( - _lib._class_NSURLCache1, _lib._sel_setSharedURLCache_1, value._id); + _lib._class_NSURLCache1, + _lib._sel_setSharedURLCache_1, + value._id, + ); } /// ! @@ -59709,13 +76971,17 @@ class NSURLCache extends NSObject { /// @result an initialized NSURLCache, with the given capacity, backed /// by disk. NSURLCache initWithMemoryCapacity_diskCapacity_diskPath_( - int memoryCapacity, int diskCapacity, NSString? path) { + int memoryCapacity, + int diskCapacity, + NSString? path, + ) { final _ret = _lib._objc_msgSend_852( - _id, - _lib._sel_initWithMemoryCapacity_diskCapacity_diskPath_1, - memoryCapacity, - diskCapacity, - path?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithMemoryCapacity_diskCapacity_diskPath_1, + memoryCapacity, + diskCapacity, + path?._id ?? ffi.nullptr, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } @@ -59727,13 +76993,17 @@ class NSURLCache extends NSObject { /// @param directoryURL the path to a directory on disk where the cache data is stored. Or nil for default directory. /// @result an initialized NSURLCache, with the given capacity, optionally backed by disk. NSURLCache initWithMemoryCapacity_diskCapacity_directoryURL_( - int memoryCapacity, int diskCapacity, NSURL? directoryURL) { + int memoryCapacity, + int diskCapacity, + NSURL? directoryURL, + ) { final _ret = _lib._objc_msgSend_853( - _id, - _lib._sel_initWithMemoryCapacity_diskCapacity_directoryURL_1, - memoryCapacity, - diskCapacity, - directoryURL?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithMemoryCapacity_diskCapacity_directoryURL_1, + memoryCapacity, + diskCapacity, + directoryURL?._id ?? ffi.nullptr, + ); return NSURLCache._(_ret, _lib, retain: true, release: true); } @@ -59749,7 +77019,10 @@ class NSURLCache extends NSObject { /// given request. NSCachedURLResponse? cachedResponseForRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_858( - _id, _lib._sel_cachedResponseForRequest_1, request._id); + _id, + _lib._sel_cachedResponseForRequest_1, + request._id, + ); return _ret.address == 0 ? null : NSCachedURLResponse._(_ret, _lib, retain: true, release: true); @@ -59762,9 +77035,15 @@ class NSURLCache extends NSObject { /// @param cachedResponse The cached response to store. /// @param request the NSURLRequest to use as a key for the storage. void storeCachedResponse_forRequest_( - NSCachedURLResponse cachedResponse, NSURLRequest request) { - _lib._objc_msgSend_859(_id, _lib._sel_storeCachedResponse_forRequest_1, - cachedResponse._id, request._id); + NSCachedURLResponse cachedResponse, + NSURLRequest request, + ) { + _lib._objc_msgSend_859( + _id, + _lib._sel_storeCachedResponse_forRequest_1, + cachedResponse._id, + request._id, + ); } /// ! @@ -59776,7 +77055,10 @@ class NSURLCache extends NSObject { /// @param request the NSURLRequest to use as a key for the lookup. void removeCachedResponseForRequest_(NSURLRequest request) { _lib._objc_msgSend_860( - _id, _lib._sel_removeCachedResponseForRequest_1, request._id); + _id, + _lib._sel_removeCachedResponseForRequest_1, + request._id, + ); } /// ! @@ -59792,7 +77074,10 @@ class NSURLCache extends NSObject { /// @abstract Clears the given cache of any cached responses since the provided date. void removeCachedResponsesSinceDate_(NSDate date) { _lib._objc_msgSend_496( - _id, _lib._sel_removeCachedResponsesSinceDate_1, date._id); + _id, + _lib._sel_removeCachedResponsesSinceDate_1, + date._id, + ); } /// ! @@ -59846,24 +77131,35 @@ class NSURLCache extends NSObject { } void storeCachedResponse_forDataTask_( - NSCachedURLResponse cachedResponse, NSURLSessionDataTask dataTask) { - _lib._objc_msgSend_861(_id, _lib._sel_storeCachedResponse_forDataTask_1, - cachedResponse._id, dataTask._id); + NSCachedURLResponse cachedResponse, + NSURLSessionDataTask dataTask, + ) { + _lib._objc_msgSend_861( + _id, + _lib._sel_storeCachedResponse_forDataTask_1, + cachedResponse._id, + dataTask._id, + ); } void getCachedResponseForDataTask_completionHandler_( - NSURLSessionDataTask dataTask, - ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler) { + NSURLSessionDataTask dataTask, + ObjCBlock_ffiVoid_NSCachedURLResponse completionHandler, + ) { _lib._objc_msgSend_862( - _id, - _lib._sel_getCachedResponseForDataTask_completionHandler_1, - dataTask._id, - completionHandler._id); + _id, + _lib._sel_getCachedResponseForDataTask_completionHandler_1, + dataTask._id, + completionHandler._id, + ); } void removeCachedResponseForDataTask_(NSURLSessionDataTask dataTask) { _lib._objc_msgSend_863( - _id, _lib._sel_removeCachedResponseForDataTask_1, dataTask._id); + _id, + _lib._sel_removeCachedResponseForDataTask_1, + dataTask._id, + ); } @override @@ -59878,78 +77174,114 @@ class NSURLCache extends NSObject { } static NSURLCache allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCache1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCache1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCache._(_ret, _lib, retain: false, release: true); } static NSURLCache alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCache1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCache1, + _lib._sel_alloc1, + ); return NSURLCache._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCache1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCache1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCache1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLCache1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCache1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCache1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLCache1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLCache1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLCache1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLCache1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLCache1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCache1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSURLCache1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLCache1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCache1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLCache1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -59961,27 +77293,40 @@ class NSURLCache extends NSObject { /// It is used to maintain characteristics and attributes of a cached /// object. class NSCachedURLResponse extends NSObject { - NSCachedURLResponse._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSCachedURLResponse._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSCachedURLResponse] that points to the same underlying object as [other]. static NSCachedURLResponse castFrom(T other) { - return NSCachedURLResponse._(other._id, other._lib, - retain: true, release: true); + return NSCachedURLResponse._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSCachedURLResponse] that wraps the given raw object pointer. static NSCachedURLResponse castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSCachedURLResponse._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSCachedURLResponse]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSCachedURLResponse1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSCachedURLResponse1, + ); } /// ! @@ -59996,9 +77341,15 @@ class NSCachedURLResponse extends NSObject { /// corresponding to the given response. /// @result an initialized NSCachedURLResponse. NSCachedURLResponse initWithResponse_data_( - NSURLResponse response, NSData data) { + NSURLResponse response, + NSData data, + ) { final _ret = _lib._objc_msgSend_854( - _id, _lib._sel_initWithResponse_data_1, response._id, data._id); + _id, + _lib._sel_initWithResponse_data_1, + response._id, + data._id, + ); return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } @@ -60014,17 +77365,19 @@ class NSCachedURLResponse extends NSObject { /// @param storagePolicy an NSURLCacheStoragePolicy constant. /// @result an initialized NSCachedURLResponse. NSCachedURLResponse initWithResponse_data_userInfo_storagePolicy_( - NSURLResponse response, - NSData data, - NSDictionary? userInfo, - int storagePolicy) { + NSURLResponse response, + NSData data, + NSDictionary? userInfo, + int storagePolicy, + ) { final _ret = _lib._objc_msgSend_855( - _id, - _lib._sel_initWithResponse_data_userInfo_storagePolicy_1, - response._id, - data._id, - userInfo?._id ?? ffi.nullptr, - storagePolicy); + _id, + _lib._sel_initWithResponse_data_userInfo_storagePolicy_1, + response._id, + data._id, + userInfo?._id ?? ffi.nullptr, + storagePolicy, + ); return NSCachedURLResponse._(_ret, _lib, retain: true, release: true); } @@ -60068,84 +77421,122 @@ class NSCachedURLResponse extends NSObject { } static NSCachedURLResponse new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSCachedURLResponse1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSCachedURLResponse1, + _lib._sel_new1, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static NSCachedURLResponse allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSCachedURLResponse1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSCachedURLResponse1, + _lib._sel_allocWithZone_1, + zone, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static NSCachedURLResponse alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, _lib._sel_alloc1); + _lib._class_NSCachedURLResponse1, + _lib._sel_alloc1, + ); return NSCachedURLResponse._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSCachedURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSCachedURLResponse1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSCachedURLResponse1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSCachedURLResponse1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSCachedURLResponse1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSCachedURLResponse1, _lib._sel_useStoredAccessor1); + _lib._class_NSCachedURLResponse1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSCachedURLResponse1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSCachedURLResponse1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSCachedURLResponse1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSCachedURLResponse1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSCachedURLResponse1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSCachedURLResponse1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSCachedURLResponse1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSCachedURLResponse1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSCachedURLResponse1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSCachedURLResponse1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -60174,27 +77565,40 @@ abstract class NSURLCacheStoragePolicy { } class NSURLSessionDataTask extends NSURLSessionTask { - NSURLSessionDataTask._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionDataTask._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSessionDataTask] that points to the same underlying object as [other]. static NSURLSessionDataTask castFrom(T other) { - return NSURLSessionDataTask._(other._id, other._lib, - retain: true, release: true); + return NSURLSessionDataTask._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionDataTask] that wraps the given raw object pointer. static NSURLSessionDataTask castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSessionDataTask._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSessionDataTask]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionDataTask1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSessionDataTask1, + ); } @override @@ -60204,115 +77608,158 @@ class NSURLSessionDataTask extends NSURLSessionTask { } static NSURLSessionDataTask new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSessionDataTask1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionDataTask1, + _lib._sel_new1, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDataTask allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDataTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionDataTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDataTask alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_alloc1, + ); return NSURLSessionDataTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionDataTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionDataTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionDataTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionDataTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionDataTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDataTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLSessionDataTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLSessionDataTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSessionDataTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSessionDataTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSessionDataTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionDataTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLSessionDataTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLSessionDataTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDataTask1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSessionDataTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistryIndex; _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[ - block.ref.target.address]!(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSCachedURLResponse_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSCachedURLResponse._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -60320,20 +77767,24 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSCachedURLResponse_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -60342,19 +77793,34 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSCachedURLResponse.fromFunction( - PedometerBindings lib, void Function(NSCachedURLResponse?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSCachedURLResponse?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._( + arg0, + lib, + retain: true, + release: true, + ), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -60367,33 +77833,52 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSCachedURLResponse.listener( - PedometerBindings lib, void Function(NSCachedURLResponse?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSCachedURLResponse._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSCachedURLResponse?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSCachedURLResponse_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSCachedURLResponse_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSCachedURLResponse._( + arg0, + lib, + retain: true, + release: true, + ), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSCachedURLResponse? arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0?._id ?? ffi.nullptr); } /// ! @@ -60472,61 +77957,85 @@ class ObjCBlock_ffiVoid_NSCachedURLResponse extends _ObjCBlockBase { /// customization of resource load, and do not allow the caller to /// respond to, e.g., authentication challenges.

class NSURLConnection extends NSObject { - NSURLConnection._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLConnection._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLConnection] that points to the same underlying object as [other]. static NSURLConnection castFrom(T other) { - return NSURLConnection._(other._id, other._lib, - retain: true, release: true); + return NSURLConnection._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLConnection] that wraps the given raw object pointer. static NSURLConnection castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLConnection._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLConnection]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLConnection1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLConnection1, + ); } NSURLConnection? initWithRequest_delegate_startImmediately_( - NSURLRequest request, NSObject? delegate, bool startImmediately) { + NSURLRequest request, + NSObject? delegate, + bool startImmediately, + ) { final _ret = _lib._objc_msgSend_864( - _id, - _lib._sel_initWithRequest_delegate_startImmediately_1, - request._id, - delegate?._id ?? ffi.nullptr, - startImmediately); + _id, + _lib._sel_initWithRequest_delegate_startImmediately_1, + request._id, + delegate?._id ?? ffi.nullptr, + startImmediately, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); } NSURLConnection? initWithRequest_delegate_( - NSURLRequest request, NSObject? delegate) { + NSURLRequest request, + NSObject? delegate, + ) { final _ret = _lib._objc_msgSend_865( - _id, - _lib._sel_initWithRequest_delegate_1, - request._id, - delegate?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithRequest_delegate_1, + request._id, + delegate?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); } static NSURLConnection? connectionWithRequest_delegate_( - PedometerBindings _lib, NSURLRequest request, NSObject? delegate) { + PedometerBindings _lib, + NSURLRequest request, + NSObject? delegate, + ) { final _ret = _lib._objc_msgSend_866( - _lib._class_NSURLConnection1, - _lib._sel_connectionWithRequest_delegate_1, - request._id, - delegate?._id ?? ffi.nullptr); + _lib._class_NSURLConnection1, + _lib._sel_connectionWithRequest_delegate_1, + request._id, + delegate?._id ?? ffi.nullptr, + ); return _ret.address == 0 ? null : NSURLConnection._(_ret, _lib, retain: true, release: true); @@ -60552,17 +78061,28 @@ class NSURLConnection extends NSObject { void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_707( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + _id, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop._id, + mode._id, + ); } void unscheduleFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_707( - _id, _lib._sel_unscheduleFromRunLoop_forMode_1, aRunLoop._id, mode._id); + _id, + _lib._sel_unscheduleFromRunLoop_forMode_1, + aRunLoop._id, + mode._id, + ); } void setDelegateQueue_(NSOperationQueue? queue) { _lib._objc_msgSend_868( - _id, _lib._sel_setDelegateQueue_1, queue?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegateQueue_1, + queue?._id ?? ffi.nullptr, + ); } /// ! @@ -60590,8 +78110,11 @@ class NSURLConnection extends NSObject { /// initialize a connection and the associated I/O can be /// started, NO otherwise. static bool canHandleRequest_(PedometerBindings _lib, NSURLRequest request) { - return _lib._objc_msgSend_869(_lib._class_NSURLConnection1, - _lib._sel_canHandleRequest_1, request._id); + return _lib._objc_msgSend_869( + _lib._class_NSURLConnection1, + _lib._sel_canHandleRequest_1, + request._id, + ); } /// ! @@ -60632,16 +78155,18 @@ class NSURLConnection extends NSObject { /// @result The content of the URL resulting from performing the load, /// or nil if the load failed. static NSData? sendSynchronousRequest_returningResponse_error_( - PedometerBindings _lib, - NSURLRequest request, - ffi.Pointer> response, - ffi.Pointer> error) { + PedometerBindings _lib, + NSURLRequest request, + ffi.Pointer> response, + ffi.Pointer> error, + ) { final _ret = _lib._objc_msgSend_870( - _lib._class_NSURLConnection1, - _lib._sel_sendSynchronousRequest_returningResponse_error_1, - request._id, - response, - error); + _lib._class_NSURLConnection1, + _lib._sel_sendSynchronousRequest_returningResponse_error_1, + request._id, + response, + error, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); @@ -60679,16 +78204,18 @@ class NSURLConnection extends NSObject { /// @param /// handler A block which receives the results of the resource load. static void sendAsynchronousRequest_queue_completionHandler_( - PedometerBindings _lib, - NSURLRequest request, - NSOperationQueue queue, - ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler) { + PedometerBindings _lib, + NSURLRequest request, + NSOperationQueue queue, + ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError handler, + ) { _lib._objc_msgSend_871( - _lib._class_NSURLConnection1, - _lib._sel_sendAsynchronousRequest_queue_completionHandler_1, - request._id, - queue._id, - handler._id); + _lib._class_NSURLConnection1, + _lib._sel_sendAsynchronousRequest_queue_completionHandler_1, + request._id, + queue._id, + handler._id, + ); } @override @@ -60698,112 +78225,167 @@ class NSURLConnection extends NSObject { } static NSURLConnection new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLConnection1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLConnection1, + _lib._sel_new1, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static NSURLConnection allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLConnection1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLConnection1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static NSURLConnection alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLConnection1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLConnection1, + _lib._sel_alloc1, + ); return NSURLConnection._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLConnection1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLConnection1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLConnection1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLConnection1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLConnection1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLConnection1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLConnection1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLConnection1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLConnection1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLConnection1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLConnection1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLConnection1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLConnection1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLConnection1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLConnection1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLConnection1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[id] = fn; @@ -60811,18 +78393,22 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -60830,26 +78416,34 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -60858,24 +78452,41 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.fromFunction( - PedometerBindings lib, - void Function(NSURLResponse?, NSData?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURLResponse?, NSData?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -60887,75 +78498,117 @@ class ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener(PedometerBindings lib, - void Function(NSURLResponse?, NSData?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURLResponse._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSData._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError.listener( + PedometerBindings lib, + void Function(NSURLResponse?, NSData?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLResponse_NSData_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURLResponse._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSData._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURLResponse? arg0, NSData? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Pointer, + ) + >()( + _id, + arg0?._id ?? ffi.nullptr, + arg1?._id ?? ffi.nullptr, + arg2?._id ?? ffi.nullptr, + ); } /// ! /// @class NSURLCredential /// @discussion This class is an immutable object representing an authentication credential. The actual type of the credential is determined by the constructor called in the categories declared below. class NSURLCredential extends NSObject { - NSURLCredential._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCredential._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLCredential] that points to the same underlying object as [other]. static NSURLCredential castFrom(T other) { - return NSURLCredential._(other._id, other._lib, - retain: true, release: true); + return NSURLCredential._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLCredential] that wraps the given raw object pointer. static NSURLCredential castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLCredential._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLCredential]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLCredential1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLCredential1, + ); } /// ! @@ -60973,13 +78626,17 @@ class NSURLCredential extends NSObject { /// @param persistence enum that says to store per session, permanently or not at all /// @result The initialized NSURLCredential NSURLCredential initWithUser_password_persistence_( - NSString user, NSString password, int persistence) { + NSString user, + NSString password, + int persistence, + ) { final _ret = _lib._objc_msgSend_873( - _id, - _lib._sel_initWithUser_password_persistence_1, - user._id, - password._id, - persistence); + _id, + _lib._sel_initWithUser_password_persistence_1, + user._id, + password._id, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } @@ -60991,16 +78648,18 @@ class NSURLCredential extends NSObject { /// @param persistence enum that says to store per session, permanently or not at all /// @result The new autoreleased NSURLCredential static NSURLCredential credentialWithUser_password_persistence_( - PedometerBindings _lib, - NSString user, - NSString password, - int persistence) { + PedometerBindings _lib, + NSString user, + NSString password, + int persistence, + ) { final _ret = _lib._objc_msgSend_874( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithUser_password_persistence_1, - user._id, - password._id, - persistence); + _lib._class_NSURLCredential1, + _lib._sel_credentialWithUser_password_persistence_1, + user._id, + password._id, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } @@ -61046,15 +78705,17 @@ class NSURLCredential extends NSObject { /// @param persistence enum that says to store per session, permanently or not at all /// @result the Initialized NSURLCredential NSURLCredential initWithIdentity_certificates_persistence_( - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence) { + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence, + ) { final _ret = _lib._objc_msgSend_875( - _id, - _lib._sel_initWithIdentity_certificates_persistence_1, - identity, - certArray?._id ?? ffi.nullptr, - persistence); + _id, + _lib._sel_initWithIdentity_certificates_persistence_1, + identity, + certArray?._id ?? ffi.nullptr, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } @@ -61066,16 +78727,18 @@ class NSURLCredential extends NSObject { /// @param persistence enum that says to store per session, permanently or not at all /// @result The new autoreleased NSURLCredential static NSURLCredential credentialWithIdentity_certificates_persistence_( - PedometerBindings _lib, - ffi.Pointer<__SecIdentity> identity, - NSArray? certArray, - int persistence) { + PedometerBindings _lib, + ffi.Pointer<__SecIdentity> identity, + NSArray? certArray, + int persistence, + ) { final _ret = _lib._objc_msgSend_876( - _lib._class_NSURLCredential1, - _lib._sel_credentialWithIdentity_certificates_persistence_1, - identity, - certArray?._id ?? ffi.nullptr, - persistence); + _lib._class_NSURLCredential1, + _lib._sel_credentialWithIdentity_certificates_persistence_1, + identity, + certArray?._id ?? ffi.nullptr, + persistence, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } @@ -61108,9 +78771,14 @@ class NSURLCredential extends NSObject { /// @abstract Create a new NSURLCredential which specifies that a handshake has been trusted. /// @result The new autoreleased NSURLCredential static NSURLCredential credentialForTrust_( - PedometerBindings _lib, ffi.Pointer<__SecTrust> trust) { + PedometerBindings _lib, + ffi.Pointer<__SecTrust> trust, + ) { final _ret = _lib._objc_msgSend_879( - _lib._class_NSURLCredential1, _lib._sel_credentialForTrust_1, trust); + _lib._class_NSURLCredential1, + _lib._sel_credentialForTrust_1, + trust, + ); return NSURLCredential._(_ret, _lib, retain: true, release: true); } @@ -61121,84 +78789,122 @@ class NSURLCredential extends NSObject { } static NSURLCredential new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCredential1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredential1, + _lib._sel_new1, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static NSURLCredential allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredential1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCredential1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static NSURLCredential alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLCredential1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredential1, + _lib._sel_alloc1, + ); return NSURLCredential._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCredential1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCredential1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCredential1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLCredential1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLCredential1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCredential1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCredential1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLCredential1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLCredential1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLCredential1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLCredential1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLCredential1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCredential1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLCredential1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLCredential1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredential1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLCredential1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -61227,27 +78933,40 @@ final class __SecTrust extends ffi.Opaque {} /// @class NSURLProtectionSpace /// @discussion This class represents a protection space requiring authentication. class NSURLProtectionSpace extends NSObject { - NSURLProtectionSpace._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLProtectionSpace._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLProtectionSpace] that points to the same underlying object as [other]. static NSURLProtectionSpace castFrom(T other) { - return NSURLProtectionSpace._(other._id, other._lib, - retain: true, release: true); + return NSURLProtectionSpace._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLProtectionSpace] that wraps the given raw object pointer. static NSURLProtectionSpace castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLProtectionSpace._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtectionSpace]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLProtectionSpace1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLProtectionSpace1, + ); } /// ! @@ -61264,19 +78983,21 @@ class NSURLProtectionSpace extends NSObject { /// valid values include nil (default method), @"digest" and @"form". /// @result The initialized object. NSURLProtectionSpace initWithHost_port_protocol_realm_authenticationMethod_( - NSString host, - int port, - NSString? protocol, - NSString? realm, - NSString? authenticationMethod) { + NSString host, + int port, + NSString? protocol, + NSString? realm, + NSString? authenticationMethod, + ) { final _ret = _lib._objc_msgSend_880( - _id, - _lib._sel_initWithHost_port_protocol_realm_authenticationMethod_1, - host._id, - port, - protocol?._id ?? ffi.nullptr, - realm?._id ?? ffi.nullptr, - authenticationMethod?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithHost_port_protocol_realm_authenticationMethod_1, + host._id, + port, + protocol?._id ?? ffi.nullptr, + realm?._id ?? ffi.nullptr, + authenticationMethod?._id ?? ffi.nullptr, + ); return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); } @@ -61294,19 +79015,21 @@ class NSURLProtectionSpace extends NSObject { /// valid values include nil (default method) and @"digest" /// @result The initialized object. NSURLProtectionSpace initWithProxyHost_port_type_realm_authenticationMethod_( - NSString host, - int port, - NSString? type, - NSString? realm, - NSString? authenticationMethod) { + NSString host, + int port, + NSString? type, + NSString? realm, + NSString? authenticationMethod, + ) { final _ret = _lib._objc_msgSend_880( - _id, - _lib._sel_initWithProxyHost_port_type_realm_authenticationMethod_1, - host._id, - port, - type?._id ?? ffi.nullptr, - realm?._id ?? ffi.nullptr, - authenticationMethod?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithProxyHost_port_type_realm_authenticationMethod_1, + host._id, + port, + type?._id ?? ffi.nullptr, + realm?._id ?? ffi.nullptr, + authenticationMethod?._id ?? ffi.nullptr, + ); return NSURLProtectionSpace._(_ret, _lib, retain: true, release: true); } @@ -61404,84 +79127,122 @@ class NSURLProtectionSpace extends NSObject { } static NSURLProtectionSpace new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtectionSpace1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtectionSpace1, + _lib._sel_new1, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static NSURLProtectionSpace allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtectionSpace1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLProtectionSpace1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static NSURLProtectionSpace alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, _lib._sel_alloc1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_alloc1, + ); return NSURLProtectionSpace._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLProtectionSpace1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLProtectionSpace1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLProtectionSpace1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLProtectionSpace1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLProtectionSpace1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtectionSpace1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLProtectionSpace1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLProtectionSpace1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLProtectionSpace1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLProtectionSpace1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLProtectionSpace1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLProtectionSpace1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLProtectionSpace1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLProtectionSpace1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtectionSpace1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLProtectionSpace1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -61490,28 +79251,45 @@ class NSURLProtectionSpace extends NSObject { /// @class NSURLCredentialStorage /// @discussion NSURLCredentialStorage implements a singleton object (shared instance) which manages the shared credentials cache. Note: Whereas in Mac OS X any application can access any credential with a persistence of NSURLCredentialPersistencePermanent provided the user gives permission, in iPhone OS an application can access only its own credentials. class NSURLCredentialStorage extends NSObject { - NSURLCredentialStorage._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLCredentialStorage._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLCredentialStorage] that points to the same underlying object as [other]. static NSURLCredentialStorage castFrom(T other) { - return NSURLCredentialStorage._(other._id, other._lib, - retain: true, release: true); + return NSURLCredentialStorage._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLCredentialStorage] that wraps the given raw object pointer. static NSURLCredentialStorage castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLCredentialStorage._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLCredentialStorage._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLCredentialStorage]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLCredentialStorage1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLCredentialStorage1, + ); } /// ! @@ -61519,9 +79297,12 @@ class NSURLCredentialStorage extends NSObject { /// @abstract Get the shared singleton authentication storage /// @result the shared authentication storage static NSURLCredentialStorage getSharedCredentialStorage( - PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_882(_lib._class_NSURLCredentialStorage1, - _lib._sel_sharedCredentialStorage1); + PedometerBindings _lib, + ) { + final _ret = _lib._objc_msgSend_882( + _lib._class_NSURLCredentialStorage1, + _lib._sel_sharedCredentialStorage1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: true, release: true); } @@ -61532,7 +79313,10 @@ class NSURLCredentialStorage extends NSObject { /// @result A dictionary where the keys are usernames and the values are the corresponding NSURLCredentials. NSDictionary? credentialsForProtectionSpace_(NSURLProtectionSpace space) { final _ret = _lib._objc_msgSend_883( - _id, _lib._sel_credentialsForProtectionSpace_1, space._id); + _id, + _lib._sel_credentialsForProtectionSpace_1, + space._id, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); @@ -61557,9 +79341,15 @@ class NSURLCredentialStorage extends NSObject { /// a distinct user. If a credential with the same user is already set for the protection space, /// the new one will replace it. void setCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { - _lib._objc_msgSend_884(_id, _lib._sel_setCredential_forProtectionSpace_1, - credential._id, space._id); + NSURLCredential credential, + NSURLProtectionSpace space, + ) { + _lib._objc_msgSend_884( + _id, + _lib._sel_setCredential_forProtectionSpace_1, + credential._id, + space._id, + ); } /// ! @@ -61571,9 +79361,15 @@ class NSURLCredentialStorage extends NSObject { /// has a persistence policy of NSURLCredentialPersistenceSynchronizable will fail. /// See removeCredential:forProtectionSpace:options. void removeCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { - _lib._objc_msgSend_884(_id, _lib._sel_removeCredential_forProtectionSpace_1, - credential._id, space._id); + NSURLCredential credential, + NSURLProtectionSpace space, + ) { + _lib._objc_msgSend_884( + _id, + _lib._sel_removeCredential_forProtectionSpace_1, + credential._id, + space._id, + ); } /// ! @@ -61586,14 +79382,18 @@ class NSURLCredentialStorage extends NSObject { /// Please note that when NSURLCredential objects that have a NSURLCredentialPersistenceSynchronizable policy /// are removed, the credential will be removed on all devices that contain this credential. /// @discussion The credential is removed from both persistent and temporary storage. - void removeCredential_forProtectionSpace_options_(NSURLCredential credential, - NSURLProtectionSpace space, NSDictionary? options) { + void removeCredential_forProtectionSpace_options_( + NSURLCredential credential, + NSURLProtectionSpace space, + NSDictionary? options, + ) { _lib._objc_msgSend_885( - _id, - _lib._sel_removeCredential_forProtectionSpace_options_1, - credential._id, - space._id, - options?._id ?? ffi.nullptr); + _id, + _lib._sel_removeCredential_forProtectionSpace_options_1, + credential._id, + space._id, + options?._id ?? ffi.nullptr, + ); } /// ! @@ -61601,9 +79401,13 @@ class NSURLCredentialStorage extends NSObject { /// @abstract Get the default credential for the specified protection space. /// @param space The protection space for which to get the default credential. NSURLCredential? defaultCredentialForProtectionSpace_( - NSURLProtectionSpace space) { + NSURLProtectionSpace space, + ) { final _ret = _lib._objc_msgSend_886( - _id, _lib._sel_defaultCredentialForProtectionSpace_1, space._id); + _id, + _lib._sel_defaultCredentialForProtectionSpace_1, + space._id, + ); return _ret.address == 0 ? null : NSURLCredential._(_ret, _lib, retain: true, release: true); @@ -61616,70 +79420,87 @@ class NSURLCredentialStorage extends NSObject { /// @param space The protection space for which the credential should be set as default. /// @discussion If the credential is not yet in the set for the protection space, it will be added to it. void setDefaultCredential_forProtectionSpace_( - NSURLCredential credential, NSURLProtectionSpace space) { + NSURLCredential credential, + NSURLProtectionSpace space, + ) { _lib._objc_msgSend_884( - _id, - _lib._sel_setDefaultCredential_forProtectionSpace_1, - credential._id, - space._id); + _id, + _lib._sel_setDefaultCredential_forProtectionSpace_1, + credential._id, + space._id, + ); } void getCredentialsForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace protectionSpace, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSDictionary completionHandler) { + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSDictionary completionHandler, + ) { _lib._objc_msgSend_887( - _id, - _lib._sel_getCredentialsForProtectionSpace_task_completionHandler_1, - protectionSpace._id, - task._id, - completionHandler._id); + _id, + _lib._sel_getCredentialsForProtectionSpace_task_completionHandler_1, + protectionSpace._id, + task._id, + completionHandler._id, + ); } - void setCredential_forProtectionSpace_task_(NSURLCredential credential, - NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + void setCredential_forProtectionSpace_task_( + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ) { _lib._objc_msgSend_888( - _id, - _lib._sel_setCredential_forProtectionSpace_task_1, - credential._id, - protectionSpace._id, - task._id); + _id, + _lib._sel_setCredential_forProtectionSpace_task_1, + credential._id, + protectionSpace._id, + task._id, + ); } void removeCredential_forProtectionSpace_options_task_( - NSURLCredential credential, - NSURLProtectionSpace protectionSpace, - NSDictionary? options, - NSURLSessionTask task) { + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSDictionary? options, + NSURLSessionTask task, + ) { _lib._objc_msgSend_889( - _id, - _lib._sel_removeCredential_forProtectionSpace_options_task_1, - credential._id, - protectionSpace._id, - options?._id ?? ffi.nullptr, - task._id); + _id, + _lib._sel_removeCredential_forProtectionSpace_options_task_1, + credential._id, + protectionSpace._id, + options?._id ?? ffi.nullptr, + task._id, + ); } void getDefaultCredentialForProtectionSpace_task_completionHandler_( - NSURLProtectionSpace space, - NSURLSessionTask task, - ObjCBlock_ffiVoid_NSURLCredential completionHandler) { + NSURLProtectionSpace space, + NSURLSessionTask task, + ObjCBlock_ffiVoid_NSURLCredential completionHandler, + ) { _lib._objc_msgSend_890( - _id, - _lib._sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1, - space._id, - task._id, - completionHandler._id); + _id, + _lib._sel_getDefaultCredentialForProtectionSpace_task_completionHandler_1, + space._id, + task._id, + completionHandler._id, + ); } - void setDefaultCredential_forProtectionSpace_task_(NSURLCredential credential, - NSURLProtectionSpace protectionSpace, NSURLSessionTask task) { + void setDefaultCredential_forProtectionSpace_task_( + NSURLCredential credential, + NSURLProtectionSpace protectionSpace, + NSURLSessionTask task, + ) { _lib._objc_msgSend_888( - _id, - _lib._sel_setDefaultCredential_forProtectionSpace_task_1, - credential._id, - protectionSpace._id, - task._id); + _id, + _lib._sel_setDefaultCredential_forProtectionSpace_task_1, + credential._id, + protectionSpace._id, + task._id, + ); } @override @@ -61690,114 +79511,156 @@ class NSURLCredentialStorage extends NSObject { static NSURLCredentialStorage new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, _lib._sel_new1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_new1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static NSURLCredentialStorage allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLCredentialStorage1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLCredentialStorage1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static NSURLCredentialStorage alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLCredentialStorage1, _lib._sel_alloc1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_alloc1, + ); return NSURLCredentialStorage._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLCredentialStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLCredentialStorage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLCredentialStorage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLCredentialStorage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLCredentialStorage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLCredentialStorage1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLCredentialStorage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLCredentialStorage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLCredentialStorage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLCredentialStorage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLCredentialStorage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLCredentialStorage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLCredentialStorage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLCredentialStorage1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLCredentialStorage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLCredentialStorage1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLCredentialStorage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSDictionary_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSDictionary_closureRegistryIndex; _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( - arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSDictionary_closureRegistry[block.ref.target.address]!( + arg0, +); class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSDictionary._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -61805,20 +79668,24 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -61827,19 +79694,27 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSDictionary.fromFunction( - PedometerBindings lib, void Function(NSDictionary?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSDictionary?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -61852,62 +79727,80 @@ class ObjCBlock_ffiVoid_NSDictionary extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSDictionary.listener( - PedometerBindings lib, void Function(NSDictionary?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSDictionary_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSDictionary._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSDictionary?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSDictionary_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSDictionary_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSDictionary._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSDictionary? arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0?._id ?? ffi.nullptr); } void _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLCredential_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[ - block.ref.target.address]!(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSURLCredential_closureRegistry[block + .ref + .target + .address]!(arg0); class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURLCredential._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -61915,20 +79808,24 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLCredential_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -61937,19 +79834,27 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLCredential.fromFunction( - PedometerBindings lib, void Function(NSURLCredential?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURLCredential?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -61962,33 +79867,46 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLCredential.listener( - PedometerBindings lib, void Function(NSURLCredential?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSURLCredential._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURLCredential?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSURLCredential_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLCredential_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSURLCredential._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSURLCredential? arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0?._id ?? ffi.nullptr); } /// ! @@ -61999,9 +79917,12 @@ class ObjCBlock_ffiVoid_NSURLCredential extends _ObjCBlockBase { /// data. Concrete subclasses handle the specifics associated with one /// or more protocols or URL schemes. class NSURLProtocol extends NSObject { - NSURLProtocol._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLProtocol._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLProtocol] that points to the same underlying object as [other]. static NSURLProtocol castFrom(T other) { @@ -62010,15 +79931,21 @@ class NSURLProtocol extends NSObject { /// Returns a [NSURLProtocol] that wraps the given raw object pointer. static NSURLProtocol castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLProtocol._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLProtocol]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLProtocol1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLProtocol1, + ); } /// ! @@ -62033,14 +79960,18 @@ class NSURLProtocol extends NSObject { /// @param client The NSURLProtocolClient object that serves as the /// interface the protocol implementation can use to report results back /// to the URL loading system. - NSURLProtocol initWithRequest_cachedResponse_client_(NSURLRequest request, - NSCachedURLResponse? cachedResponse, NSObject? client) { + NSURLProtocol initWithRequest_cachedResponse_client_( + NSURLRequest request, + NSCachedURLResponse? cachedResponse, + NSObject? client, + ) { final _ret = _lib._objc_msgSend_891( - _id, - _lib._sel_initWithRequest_cachedResponse_client_1, - request._id, - cachedResponse?._id ?? ffi.nullptr, - client?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithRequest_cachedResponse_client_1, + request._id, + cachedResponse?._id ?? ffi.nullptr, + client?._id ?? ffi.nullptr, + ); return NSURLProtocol._(_ret, _lib, retain: true, release: true); } @@ -62083,9 +80014,14 @@ class NSURLProtocol extends NSObject { /// @param request A request to inspect. /// @result YES if the protocol can handle the given request, NO if not. static bool canInitWithRequest_( - PedometerBindings _lib, NSURLRequest request) { - return _lib._objc_msgSend_869(_lib._class_NSURLProtocol1, - _lib._sel_canInitWithRequest_1, request._id); + PedometerBindings _lib, + NSURLRequest request, + ) { + return _lib._objc_msgSend_869( + _lib._class_NSURLProtocol1, + _lib._sel_canInitWithRequest_1, + request._id, + ); } /// ! @@ -62105,9 +80041,14 @@ class NSURLProtocol extends NSObject { /// @param request A request to make canonical. /// @result The canonical form of the given request. static NSURLRequest canonicalRequestForRequest_( - PedometerBindings _lib, NSURLRequest request) { - final _ret = _lib._objc_msgSend_893(_lib._class_NSURLProtocol1, - _lib._sel_canonicalRequestForRequest_1, request._id); + PedometerBindings _lib, + NSURLRequest request, + ) { + final _ret = _lib._objc_msgSend_893( + _lib._class_NSURLProtocol1, + _lib._sel_canonicalRequestForRequest_1, + request._id, + ); return NSURLRequest._(_ret, _lib, retain: true, release: true); } @@ -62120,9 +80061,16 @@ class NSURLProtocol extends NSObject { /// implementation-specific checks. /// @result YES if the two requests are cache-equivalent, NO otherwise. static bool requestIsCacheEquivalent_toRequest_( - PedometerBindings _lib, NSURLRequest a, NSURLRequest b) { - return _lib._objc_msgSend_894(_lib._class_NSURLProtocol1, - _lib._sel_requestIsCacheEquivalent_toRequest_1, a._id, b._id); + PedometerBindings _lib, + NSURLRequest a, + NSURLRequest b, + ) { + return _lib._objc_msgSend_894( + _lib._class_NSURLProtocol1, + _lib._sel_requestIsCacheEquivalent_toRequest_1, + a._id, + b._id, + ); } /// ! @@ -62157,9 +80105,16 @@ class NSURLProtocol extends NSObject { /// @result The property stored with the given key, or nil if no property /// had previously been stored with the given key in the given request. static NSObject? propertyForKey_inRequest_( - PedometerBindings _lib, NSString key, NSURLRequest request) { - final _ret = _lib._objc_msgSend_895(_lib._class_NSURLProtocol1, - _lib._sel_propertyForKey_inRequest_1, key._id, request._id); + PedometerBindings _lib, + NSString key, + NSURLRequest request, + ) { + final _ret = _lib._objc_msgSend_895( + _lib._class_NSURLProtocol1, + _lib._sel_propertyForKey_inRequest_1, + key._id, + request._id, + ); return _ret.address == 0 ? null : NSObject._(_ret, _lib, retain: true, release: true); @@ -62175,14 +80130,19 @@ class NSURLProtocol extends NSObject { /// @param value The property to store. /// @param key The string to use for the property storage. /// @param request The request in which to store the property. - static void setProperty_forKey_inRequest_(PedometerBindings _lib, - NSObject value, NSString key, NSMutableURLRequest request) { + static void setProperty_forKey_inRequest_( + PedometerBindings _lib, + NSObject value, + NSString key, + NSMutableURLRequest request, + ) { _lib._objc_msgSend_902( - _lib._class_NSURLProtocol1, - _lib._sel_setProperty_forKey_inRequest_1, - value._id, - key._id, - request._id); + _lib._class_NSURLProtocol1, + _lib._sel_setProperty_forKey_inRequest_1, + value._id, + key._id, + request._id, + ); } /// ! @@ -62194,9 +80154,16 @@ class NSURLProtocol extends NSObject { /// @param key The key whose value should be removed /// @param request The request to be modified static void removePropertyForKey_inRequest_( - PedometerBindings _lib, NSString key, NSMutableURLRequest request) { - _lib._objc_msgSend_903(_lib._class_NSURLProtocol1, - _lib._sel_removePropertyForKey_inRequest_1, key._id, request._id); + PedometerBindings _lib, + NSString key, + NSMutableURLRequest request, + ) { + _lib._objc_msgSend_903( + _lib._class_NSURLProtocol1, + _lib._sel_removePropertyForKey_inRequest_1, + key._id, + request._id, + ); } /// ! @@ -62222,8 +80189,11 @@ class NSURLProtocol extends NSObject { /// The only way that failure can occur is if the given class is not a /// subclass of NSURLProtocol. static bool registerClass_(PedometerBindings _lib, NSObject protocolClass) { - return _lib._objc_msgSend_0(_lib._class_NSURLProtocol1, - _lib._sel_registerClass_1, protocolClass._id); + return _lib._objc_msgSend_0( + _lib._class_NSURLProtocol1, + _lib._sel_registerClass_1, + protocolClass._id, + ); } /// ! @@ -62233,23 +80203,33 @@ class NSURLProtocol extends NSObject { /// consulted in calls to NSURLProtocol class methods. /// @param protocolClass The class to unregister. static void unregisterClass_(PedometerBindings _lib, NSObject protocolClass) { - _lib._objc_msgSend_15(_lib._class_NSURLProtocol1, - _lib._sel_unregisterClass_1, protocolClass._id); + _lib._objc_msgSend_15( + _lib._class_NSURLProtocol1, + _lib._sel_unregisterClass_1, + protocolClass._id, + ); } static bool canInitWithTask_(PedometerBindings _lib, NSURLSessionTask task) { return _lib._objc_msgSend_904( - _lib._class_NSURLProtocol1, _lib._sel_canInitWithTask_1, task._id); + _lib._class_NSURLProtocol1, + _lib._sel_canInitWithTask_1, + task._id, + ); } - NSURLProtocol initWithTask_cachedResponse_client_(NSURLSessionTask task, - NSCachedURLResponse? cachedResponse, NSObject? client) { + NSURLProtocol initWithTask_cachedResponse_client_( + NSURLSessionTask task, + NSCachedURLResponse? cachedResponse, + NSObject? client, + ) { final _ret = _lib._objc_msgSend_905( - _id, - _lib._sel_initWithTask_cachedResponse_client_1, - task._id, - cachedResponse?._id ?? ffi.nullptr, - client?._id ?? ffi.nullptr); + _id, + _lib._sel_initWithTask_cachedResponse_client_1, + task._id, + cachedResponse?._id ?? ffi.nullptr, + client?._id ?? ffi.nullptr, + ); return NSURLProtocol._(_ret, _lib, retain: true, release: true); } @@ -62267,84 +80247,122 @@ class NSURLProtocol extends NSObject { } static NSURLProtocol new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtocol1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtocol1, + _lib._sel_new1, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static NSURLProtocol allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLProtocol1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLProtocol1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static NSURLProtocol alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLProtocol1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLProtocol1, + _lib._sel_alloc1, + ); return NSURLProtocol._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLProtocol1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLProtocol1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLProtocol1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLProtocol1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLProtocol1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLProtocol1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLProtocol1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLProtocol1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLProtocol1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLProtocol1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLProtocol1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLProtocol1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSURLProtocol1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLProtocol1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLProtocol1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLProtocol1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -62378,27 +80396,40 @@ class NSURLProtocol extends NSObject { /// example. /// class NSMutableURLRequest extends NSURLRequest { - NSMutableURLRequest._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSMutableURLRequest._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSMutableURLRequest] that points to the same underlying object as [other]. static NSMutableURLRequest castFrom(T other) { - return NSMutableURLRequest._(other._id, other._lib, - retain: true, release: true); + return NSMutableURLRequest._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSMutableURLRequest] that wraps the given raw object pointer. static NSMutableURLRequest castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSMutableURLRequest._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSMutableURLRequest]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSMutableURLRequest1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSMutableURLRequest1, + ); } /// ! @@ -62415,7 +80446,10 @@ class NSMutableURLRequest extends NSURLRequest { /// @abstract The URL of the receiver. set URL(NSURL? value) { return _lib._objc_msgSend_519( - _id, _lib._sel_setURL_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setURL_1, + value?._id ?? ffi.nullptr, + ); } /// ! @@ -62494,7 +80528,10 @@ class NSMutableURLRequest extends NSURLRequest { /// in the future. set mainDocumentURL(NSURL? value) { return _lib._objc_msgSend_519( - _id, _lib._sel_setMainDocumentURL_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setMainDocumentURL_1, + value?._id ?? ffi.nullptr, + ); } /// ! @@ -62512,7 +80549,10 @@ class NSMutableURLRequest extends NSURLRequest { /// of the request. Most clients should not need to use this method. set networkServiceType(int value) { return _lib._objc_msgSend_897( - _id, _lib._sel_setNetworkServiceType_1, value); + _id, + _lib._sel_setNetworkServiceType_1, + value, + ); } /// ! @@ -62532,7 +80572,10 @@ class NSMutableURLRequest extends NSURLRequest { /// cellular radios to satisfy the request, YES otherwise. The default is YES. set allowsCellularAccess(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAllowsCellularAccess_1, value); + _id, + _lib._sel_setAllowsCellularAccess_1, + value, + ); } /// ! @@ -62552,7 +80595,10 @@ class NSMutableURLRequest extends NSURLRequest { /// satisfy the request, YES otherwise. set allowsExpensiveNetworkAccess(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAllowsExpensiveNetworkAccess_1, value); + _id, + _lib._sel_setAllowsExpensiveNetworkAccess_1, + value, + ); } /// ! @@ -62563,7 +80609,9 @@ class NSMutableURLRequest extends NSURLRequest { @override bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + _id, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } /// ! @@ -62573,7 +80621,10 @@ class NSMutableURLRequest extends NSURLRequest { /// satisfy the request, YES otherwise. set allowsConstrainedNetworkAccess(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAllowsConstrainedNetworkAccess_1, value); + _id, + _lib._sel_setAllowsConstrainedNetworkAccess_1, + value, + ); } /// ! @@ -62593,7 +80644,10 @@ class NSMutableURLRequest extends NSURLRequest { /// The default may be YES in a future OS update. set assumesHTTP3Capable(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAssumesHTTP3Capable_1, value); + _id, + _lib._sel_setAssumesHTTP3Capable_1, + value, + ); } /// ! @@ -62628,7 +80682,10 @@ class NSMutableURLRequest extends NSURLRequest { /// No otherwise. Defaults to NO. set requiresDNSSECValidation(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setRequiresDNSSECValidation_1, value); + _id, + _lib._sel_setRequiresDNSSECValidation_1, + value, + ); } /// ! @@ -62674,7 +80731,10 @@ class NSMutableURLRequest extends NSURLRequest { /// message, the key-value pair is skipped. set allHTTPHeaderFields(NSDictionary? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setAllHTTPHeaderFields_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setAllHTTPHeaderFields_1, + value?._id ?? ffi.nullptr, + ); } /// ! @@ -62687,8 +80747,12 @@ class NSMutableURLRequest extends NSURLRequest { /// @param value the header field value. /// @param field the header field name (case-insensitive). void setValue_forHTTPHeaderField_(NSString? value, NSString field) { - _lib._objc_msgSend_899(_id, _lib._sel_setValue_forHTTPHeaderField_1, - value?._id ?? ffi.nullptr, field._id); + _lib._objc_msgSend_899( + _id, + _lib._sel_setValue_forHTTPHeaderField_1, + value?._id ?? ffi.nullptr, + field._id, + ); } /// ! @@ -62706,7 +80770,11 @@ class NSMutableURLRequest extends NSURLRequest { /// @param field the header field name (case-insensitive). void addValue_forHTTPHeaderField_(NSString value, NSString field) { _lib._objc_msgSend_695( - _id, _lib._sel_addValue_forHTTPHeaderField_1, value._id, field._id); + _id, + _lib._sel_addValue_forHTTPHeaderField_1, + value._id, + field._id, + ); } /// ! @@ -62727,7 +80795,10 @@ class NSMutableURLRequest extends NSURLRequest { /// in done in an HTTP POST request. set HTTPBody(NSData? value) { return _lib._objc_msgSend_900( - _id, _lib._sel_setHTTPBody_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setHTTPBody_1, + value?._id ?? ffi.nullptr, + ); } /// ! @@ -62754,7 +80825,10 @@ class NSMutableURLRequest extends NSURLRequest { /// - setting one will clear the other. set HTTPBodyStream(NSInputStream? value) { return _lib._objc_msgSend_901( - _id, _lib._sel_setHTTPBodyStream_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setHTTPBodyStream_1, + value?._id ?? ffi.nullptr, + ); } /// ! @@ -62778,7 +80852,10 @@ class NSMutableURLRequest extends NSURLRequest { /// NOTE: In releases prior to 10.3, this value is ignored set HTTPShouldHandleCookies(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setHTTPShouldHandleCookies_1, value); + _id, + _lib._sel_setHTTPShouldHandleCookies_1, + value, + ); } /// ! @@ -62818,7 +80895,10 @@ class NSMutableURLRequest extends NSURLRequest { /// a resource, etc.). set HTTPShouldUsePipelining(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setHTTPShouldUsePipelining_1, value); + _id, + _lib._sel_setHTTPShouldUsePipelining_1, + value, + ); } /// ! @@ -62831,9 +80911,14 @@ class NSMutableURLRequest extends NSURLRequest { /// @param URL The URL for the request. /// @result A newly-created and autoreleased NSURLRequest instance. static NSMutableURLRequest requestWithURL_( - PedometerBindings _lib, NSURL URL) { + PedometerBindings _lib, + NSURL URL, + ) { final _ret = _lib._objc_msgSend_739( - _lib._class_NSMutableURLRequest1, _lib._sel_requestWithURL_1, URL._id); + _lib._class_NSMutableURLRequest1, + _lib._sel_requestWithURL_1, + URL._id, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @@ -62843,7 +80928,9 @@ class NSMutableURLRequest extends NSURLRequest { /// @result A BOOL value set to YES. static bool getSupportsSecureCoding(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, _lib._sel_supportsSecureCoding1); + _lib._class_NSMutableURLRequest1, + _lib._sel_supportsSecureCoding1, + ); } /// ! @@ -62857,16 +80944,18 @@ class NSMutableURLRequest extends NSURLRequest { /// timeout intervals. /// @result A newly-created and autoreleased NSURLRequest instance. static NSMutableURLRequest requestWithURL_cachePolicy_timeoutInterval_( - PedometerBindings _lib, - NSURL URL, - int cachePolicy, - double timeoutInterval) { + PedometerBindings _lib, + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_740( - _lib._class_NSMutableURLRequest1, - _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + _lib._class_NSMutableURLRequest1, + _lib._sel_requestWithURL_cachePolicy_timeoutInterval_1, + URL._id, + cachePolicy, + timeoutInterval, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @@ -62898,13 +80987,17 @@ class NSMutableURLRequest extends NSURLRequest { /// @result An initialized NSURLRequest. @override NSMutableURLRequest initWithURL_cachePolicy_timeoutInterval_( - NSURL URL, int cachePolicy, double timeoutInterval) { + NSURL URL, + int cachePolicy, + double timeoutInterval, + ) { final _ret = _lib._objc_msgSend_740( - _id, - _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, - URL._id, - cachePolicy, - timeoutInterval); + _id, + _lib._sel_initWithURL_cachePolicy_timeoutInterval_1, + URL._id, + cachePolicy, + timeoutInterval, + ); return NSMutableURLRequest._(_ret, _lib, retain: true, release: true); } @@ -62915,92 +81008,133 @@ class NSMutableURLRequest extends NSURLRequest { } static NSMutableURLRequest new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSMutableURLRequest1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSMutableURLRequest1, + _lib._sel_new1, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static NSMutableURLRequest allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSMutableURLRequest1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSMutableURLRequest1, + _lib._sel_allocWithZone_1, + zone, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static NSMutableURLRequest alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, _lib._sel_alloc1); + _lib._class_NSMutableURLRequest1, + _lib._sel_alloc1, + ); return NSMutableURLRequest._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSMutableURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSMutableURLRequest1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSMutableURLRequest1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSMutableURLRequest1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSMutableURLRequest1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSMutableURLRequest1, _lib._sel_useStoredAccessor1); + _lib._class_NSMutableURLRequest1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSMutableURLRequest1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSMutableURLRequest1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSMutableURLRequest1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSMutableURLRequest1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSMutableURLRequest1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSMutableURLRequest1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSMutableURLRequest1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSMutableURLRequest1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSMutableURLRequest1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSMutableURLRequest1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSXMLParser extends NSObject { - NSXMLParser._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSXMLParser._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSXMLParser] that points to the same underlying object as [other]. static NSXMLParser castFrom(T other) { @@ -63009,34 +81143,49 @@ class NSXMLParser extends NSObject { /// Returns a [NSXMLParser] that wraps the given raw object pointer. static NSXMLParser castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSXMLParser._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSXMLParser]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSXMLParser1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSXMLParser1, + ); } NSXMLParser? initWithContentsOfURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_223(_id, _lib._sel_initWithContentsOfURL_1, url._id); + final _ret = _lib._objc_msgSend_223( + _id, + _lib._sel_initWithContentsOfURL_1, + url._id, + ); return _ret.address == 0 ? null : NSXMLParser._(_ret, _lib, retain: true, release: true); } NSXMLParser initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_225(_id, _lib._sel_initWithData_1, data._id); + final _ret = _lib._objc_msgSend_225( + _id, + _lib._sel_initWithData_1, + data._id, + ); return NSXMLParser._(_ret, _lib, retain: true, release: true); } NSXMLParser initWithStream_(NSInputStream stream) { - final _ret = - _lib._objc_msgSend_907(_id, _lib._sel_initWithStream_1, stream._id); + final _ret = _lib._objc_msgSend_907( + _id, + _lib._sel_initWithStream_1, + stream._id, + ); return NSXMLParser._(_ret, _lib, retain: true, release: true); } @@ -63049,7 +81198,10 @@ class NSXMLParser extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegate_1, + value?._id ?? ffi.nullptr, + ); } bool get shouldProcessNamespaces { @@ -63058,7 +81210,10 @@ class NSXMLParser extends NSObject { set shouldProcessNamespaces(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setShouldProcessNamespaces_1, value); + _id, + _lib._sel_setShouldProcessNamespaces_1, + value, + ); } bool get shouldReportNamespacePrefixes { @@ -63067,30 +81222,43 @@ class NSXMLParser extends NSObject { set shouldReportNamespacePrefixes(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setShouldReportNamespacePrefixes_1, value); + _id, + _lib._sel_setShouldReportNamespacePrefixes_1, + value, + ); } int get externalEntityResolvingPolicy { return _lib._objc_msgSend_908( - _id, _lib._sel_externalEntityResolvingPolicy1); + _id, + _lib._sel_externalEntityResolvingPolicy1, + ); } set externalEntityResolvingPolicy(int value) { return _lib._objc_msgSend_909( - _id, _lib._sel_setExternalEntityResolvingPolicy_1, value); + _id, + _lib._sel_setExternalEntityResolvingPolicy_1, + value, + ); } NSSet? get allowedExternalEntityURLs { - final _ret = - _lib._objc_msgSend_265(_id, _lib._sel_allowedExternalEntityURLs1); + final _ret = _lib._objc_msgSend_265( + _id, + _lib._sel_allowedExternalEntityURLs1, + ); return _ret.address == 0 ? null : NSSet._(_ret, _lib, retain: true, release: true); } set allowedExternalEntityURLs(NSSet? value) { - return _lib._objc_msgSend_910(_id, _lib._sel_setAllowedExternalEntityURLs_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_910( + _id, + _lib._sel_setAllowedExternalEntityURLs_1, + value?._id ?? ffi.nullptr, + ); } bool parse() { @@ -63114,7 +81282,10 @@ class NSXMLParser extends NSObject { set shouldResolveExternalEntities(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setShouldResolveExternalEntities_1, value); + _id, + _lib._sel_setShouldResolveExternalEntities_1, + value, + ); } NSString? get publicID { @@ -63151,78 +81322,114 @@ class NSXMLParser extends NSObject { } static NSXMLParser allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSXMLParser1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSXMLParser1, + _lib._sel_allocWithZone_1, + zone, + ); return NSXMLParser._(_ret, _lib, retain: false, release: true); } static NSXMLParser alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSXMLParser1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSXMLParser1, + _lib._sel_alloc1, + ); return NSXMLParser._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSXMLParser1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSXMLParser1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSXMLParser1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSXMLParser1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSXMLParser1, _lib._sel_useStoredAccessor1); + _lib._class_NSXMLParser1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSXMLParser1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSXMLParser1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSXMLParser1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSXMLParser1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSXMLParser1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSXMLParser1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSXMLParser1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSXMLParser1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSXMLParser1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSXMLParser1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -63235,9 +81442,12 @@ abstract class NSXMLParserExternalEntityResolvingPolicy { } class NSFileWrapper extends NSObject { - NSFileWrapper._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSFileWrapper._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSFileWrapper] that points to the same underlying object as [other]. static NSFileWrapper castFrom(T other) { @@ -63246,59 +81456,88 @@ class NSFileWrapper extends NSObject { /// Returns a [NSFileWrapper] that wraps the given raw object pointer. static NSFileWrapper castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSFileWrapper._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSFileWrapper]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSFileWrapper1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSFileWrapper1, + ); } NSFileWrapper? initWithURL_options_error_( - NSURL url, int options, ffi.Pointer> outError) { + NSURL url, + int options, + ffi.Pointer> outError, + ) { final _ret = _lib._objc_msgSend_911( - _id, _lib._sel_initWithURL_options_error_1, url._id, options, outError); + _id, + _lib._sel_initWithURL_options_error_1, + url._id, + options, + outError, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initDirectoryWithFileWrappers_( - NSDictionary childrenByPreferredName) { - final _ret = _lib._objc_msgSend_151(_id, - _lib._sel_initDirectoryWithFileWrappers_1, childrenByPreferredName._id); + NSDictionary childrenByPreferredName, + ) { + final _ret = _lib._objc_msgSend_151( + _id, + _lib._sel_initDirectoryWithFileWrappers_1, + childrenByPreferredName._id, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initRegularFileWithContents_(NSData contents) { final _ret = _lib._objc_msgSend_225( - _id, _lib._sel_initRegularFileWithContents_1, contents._id); + _id, + _lib._sel_initRegularFileWithContents_1, + contents._id, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper initSymbolicLinkWithDestinationURL_(NSURL url) { final _ret = _lib._objc_msgSend_739( - _id, _lib._sel_initSymbolicLinkWithDestinationURL_1, url._id); + _id, + _lib._sel_initSymbolicLinkWithDestinationURL_1, + url._id, + ); return NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper? initWithSerializedRepresentation_( - NSData serializeRepresentation) { + NSData serializeRepresentation, + ) { final _ret = _lib._objc_msgSend_753( - _id, - _lib._sel_initWithSerializedRepresentation_1, - serializeRepresentation._id); + _id, + _lib._sel_initWithSerializedRepresentation_1, + serializeRepresentation._id, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); } NSFileWrapper? initWithCoder_(NSCoder inCoder) { - final _ret = - _lib._objc_msgSend_47(_id, _lib._sel_initWithCoder_1, inCoder._id); + final _ret = _lib._objc_msgSend_47( + _id, + _lib._sel_initWithCoder_1, + inCoder._id, + ); return _ret.address == 0 ? null : NSFileWrapper._(_ret, _lib, retain: true, release: true); @@ -63325,7 +81564,10 @@ class NSFileWrapper extends NSObject { set preferredFilename(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setPreferredFilename_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setPreferredFilename_1, + value?._id ?? ffi.nullptr, + ); } NSString? get filename { @@ -63337,7 +81579,10 @@ class NSFileWrapper extends NSObject { set filename(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setFilename_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setFilename_1, + value?._id ?? ffi.nullptr, + ); } NSDictionary get fileAttributes { @@ -63347,55 +81592,79 @@ class NSFileWrapper extends NSObject { set fileAttributes(NSDictionary value) { return _lib._objc_msgSend_617( - _id, _lib._sel_setFileAttributes_1, value._id); + _id, + _lib._sel_setFileAttributes_1, + value._id, + ); } bool matchesContentsOfURL_(NSURL url) { return _lib._objc_msgSend_419( - _id, _lib._sel_matchesContentsOfURL_1, url._id); + _id, + _lib._sel_matchesContentsOfURL_1, + url._id, + ); } bool readFromURL_options_error_( - NSURL url, int options, ffi.Pointer> outError) { + NSURL url, + int options, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_912( - _id, _lib._sel_readFromURL_options_error_1, url._id, options, outError); + _id, + _lib._sel_readFromURL_options_error_1, + url._id, + options, + outError, + ); } bool writeToURL_options_originalContentsURL_error_( - NSURL url, - int options, - NSURL? originalContentsURL, - ffi.Pointer> outError) { + NSURL url, + int options, + NSURL? originalContentsURL, + ffi.Pointer> outError, + ) { return _lib._objc_msgSend_913( - _id, - _lib._sel_writeToURL_options_originalContentsURL_error_1, - url._id, - options, - originalContentsURL?._id ?? ffi.nullptr, - outError); + _id, + _lib._sel_writeToURL_options_originalContentsURL_error_1, + url._id, + options, + originalContentsURL?._id ?? ffi.nullptr, + outError, + ); } NSData? get serializedRepresentation { - final _ret = - _lib._objc_msgSend_232(_id, _lib._sel_serializedRepresentation1); + final _ret = _lib._objc_msgSend_232( + _id, + _lib._sel_serializedRepresentation1, + ); return _ret.address == 0 ? null : NSData._(_ret, _lib, retain: true, release: true); } NSString addFileWrapper_(NSFileWrapper child) { - final _ret = - _lib._objc_msgSend_914(_id, _lib._sel_addFileWrapper_1, child._id); + final _ret = _lib._objc_msgSend_914( + _id, + _lib._sel_addFileWrapper_1, + child._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString addRegularFileWithContents_preferredFilename_( - NSData data, NSString fileName) { + NSData data, + NSString fileName, + ) { final _ret = _lib._objc_msgSend_915( - _id, - _lib._sel_addRegularFileWithContents_preferredFilename_1, - data._id, - fileName._id); + _id, + _lib._sel_addRegularFileWithContents_preferredFilename_1, + data._id, + fileName._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -63411,8 +81680,11 @@ class NSFileWrapper extends NSObject { } NSString? keyForFileWrapper_(NSFileWrapper child) { - final _ret = - _lib._objc_msgSend_917(_id, _lib._sel_keyForFileWrapper_1, child._id); + final _ret = _lib._objc_msgSend_917( + _id, + _lib._sel_keyForFileWrapper_1, + child._id, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); @@ -63426,8 +81698,10 @@ class NSFileWrapper extends NSObject { } NSURL? get symbolicLinkDestinationURL { - final _ret = - _lib._objc_msgSend_45(_id, _lib._sel_symbolicLinkDestinationURL1); + final _ret = _lib._objc_msgSend_45( + _id, + _lib._sel_symbolicLinkDestinationURL1, + ); return _ret.address == 0 ? null : NSURL._(_ret, _lib, retain: true, release: true); @@ -63442,13 +81716,19 @@ class NSFileWrapper extends NSObject { NSObject initSymbolicLinkWithDestination_(NSString path) { final _ret = _lib._objc_msgSend_31( - _id, _lib._sel_initSymbolicLinkWithDestination_1, path._id); + _id, + _lib._sel_initSymbolicLinkWithDestination_1, + path._id, + ); return NSObject._(_ret, _lib, retain: true, release: true); } bool needsToBeUpdatedFromPath_(NSString path) { return _lib._objc_msgSend_56( - _id, _lib._sel_needsToBeUpdatedFromPath_1, path._id); + _id, + _lib._sel_needsToBeUpdatedFromPath_1, + path._id, + ); } bool updateFromPath_(NSString path) { @@ -63456,28 +81736,38 @@ class NSFileWrapper extends NSObject { } bool writeToFile_atomically_updateFilenames_( - NSString path, bool atomicFlag, bool updateFilenamesFlag) { + NSString path, + bool atomicFlag, + bool updateFilenamesFlag, + ) { return _lib._objc_msgSend_918( - _id, - _lib._sel_writeToFile_atomically_updateFilenames_1, - path._id, - atomicFlag, - updateFilenamesFlag); + _id, + _lib._sel_writeToFile_atomically_updateFilenames_1, + path._id, + atomicFlag, + updateFilenamesFlag, + ); } NSString addFileWithPath_(NSString path) { - final _ret = - _lib._objc_msgSend_61(_id, _lib._sel_addFileWithPath_1, path._id); + final _ret = _lib._objc_msgSend_61( + _id, + _lib._sel_addFileWithPath_1, + path._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } NSString addSymbolicLinkWithDestination_preferredFilename_( - NSString path, NSString filename) { + NSString path, + NSString filename, + ) { final _ret = _lib._objc_msgSend_319( - _id, - _lib._sel_addSymbolicLinkWithDestination_preferredFilename_1, - path._id, - filename._id); + _id, + _lib._sel_addSymbolicLinkWithDestination_preferredFilename_1, + path._id, + filename._id, + ); return NSString._(_ret, _lib, retain: true, release: true); } @@ -63493,84 +81783,122 @@ class NSFileWrapper extends NSObject { } static NSFileWrapper new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileWrapper1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileWrapper1, + _lib._sel_new1, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static NSFileWrapper allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSFileWrapper1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSFileWrapper1, + _lib._sel_allocWithZone_1, + zone, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static NSFileWrapper alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSFileWrapper1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSFileWrapper1, + _lib._sel_alloc1, + ); return NSFileWrapper._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSFileWrapper1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSFileWrapper1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSFileWrapper1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSFileWrapper1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSFileWrapper1, _lib._sel_useStoredAccessor1); + _lib._class_NSFileWrapper1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSFileWrapper1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSFileWrapper1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSFileWrapper1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSFileWrapper1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSFileWrapper1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSFileWrapper1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSFileWrapper1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSFileWrapper1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSFileWrapper1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSFileWrapper1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -63586,9 +81914,12 @@ abstract class NSFileWrapperWritingOptions { } class NSURLSession extends NSObject { - NSURLSession._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSession._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSession] that points to the same underlying object as [other]. static NSURLSession castFrom(T other) { @@ -63597,41 +81928,56 @@ class NSURLSession extends NSObject { /// Returns a [NSURLSession] that wraps the given raw object pointer. static NSURLSession castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSURLSession._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSURLSession]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSURLSession1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSession1, + ); } static NSURLSession getSharedSession(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_919( - _lib._class_NSURLSession1, _lib._sel_sharedSession1); + _lib._class_NSURLSession1, + _lib._sel_sharedSession1, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } static NSURLSession sessionWithConfiguration_( - PedometerBindings _lib, NSURLSessionConfiguration configuration) { - final _ret = _lib._objc_msgSend_935(_lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_1, configuration._id); + PedometerBindings _lib, + NSURLSessionConfiguration configuration, + ) { + final _ret = _lib._objc_msgSend_935( + _lib._class_NSURLSession1, + _lib._sel_sessionWithConfiguration_1, + configuration._id, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } static NSURLSession sessionWithConfiguration_delegate_delegateQueue_( - PedometerBindings _lib, - NSURLSessionConfiguration configuration, - NSObject? delegate, - NSOperationQueue? queue) { + PedometerBindings _lib, + NSURLSessionConfiguration configuration, + NSObject? delegate, + NSOperationQueue? queue, + ) { final _ret = _lib._objc_msgSend_936( - _lib._class_NSURLSession1, - _lib._sel_sessionWithConfiguration_delegate_delegateQueue_1, - configuration._id, - delegate?._id ?? ffi.nullptr, - queue?._id ?? ffi.nullptr); + _lib._class_NSURLSession1, + _lib._sel_sessionWithConfiguration_delegate_delegateQueue_1, + configuration._id, + delegate?._id ?? ffi.nullptr, + queue?._id ?? ffi.nullptr, + ); return NSURLSession._(_ret, _lib, retain: true, release: true); } @@ -63661,7 +82007,10 @@ class NSURLSession extends NSObject { set sessionDescription(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setSessionDescription_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setSessionDescription_1, + value?._id ?? ffi.nullptr, + ); } void finishTasksAndInvalidate() { @@ -63674,49 +82023,81 @@ class NSURLSession extends NSObject { void resetWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { _lib._objc_msgSend_488( - _id, _lib._sel_resetWithCompletionHandler_1, completionHandler._id); + _id, + _lib._sel_resetWithCompletionHandler_1, + completionHandler._id, + ); } void flushWithCompletionHandler_(ObjCBlock_ffiVoid completionHandler) { _lib._objc_msgSend_488( - _id, _lib._sel_flushWithCompletionHandler_1, completionHandler._id); + _id, + _lib._sel_flushWithCompletionHandler_1, + completionHandler._id, + ); } void getTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler) { + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray completionHandler, + ) { _lib._objc_msgSend_937( - _id, _lib._sel_getTasksWithCompletionHandler_1, completionHandler._id); + _id, + _lib._sel_getTasksWithCompletionHandler_1, + completionHandler._id, + ); } void getAllTasksWithCompletionHandler_( - ObjCBlock_ffiVoid_NSArray1 completionHandler) { - _lib._objc_msgSend_938(_id, _lib._sel_getAllTasksWithCompletionHandler_1, - completionHandler._id); + ObjCBlock_ffiVoid_NSArray1 completionHandler, + ) { + _lib._objc_msgSend_938( + _id, + _lib._sel_getAllTasksWithCompletionHandler_1, + completionHandler._id, + ); } NSURLSessionDataTask dataTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_939( - _id, _lib._sel_dataTaskWithRequest_1, request._id); + _id, + _lib._sel_dataTaskWithRequest_1, + request._id, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDataTask dataTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_940(_id, _lib._sel_dataTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_940( + _id, + _lib._sel_dataTaskWithURL_1, + url._id, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_( - NSURLRequest request, NSURL fileURL) { - final _ret = _lib._objc_msgSend_942(_id, - _lib._sel_uploadTaskWithRequest_fromFile_1, request._id, fileURL._id); + NSURLRequest request, + NSURL fileURL, + ) { + final _ret = _lib._objc_msgSend_942( + _id, + _lib._sel_uploadTaskWithRequest_fromFile_1, + request._id, + fileURL._id, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_( - NSURLRequest request, NSData bodyData) { - final _ret = _lib._objc_msgSend_943(_id, - _lib._sel_uploadTaskWithRequest_fromData_1, request._id, bodyData._id); + NSURLRequest request, + NSData bodyData, + ) { + final _ret = _lib._objc_msgSend_943( + _id, + _lib._sel_uploadTaskWithRequest_fromData_1, + request._id, + bodyData._id, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } @@ -63730,63 +82111,99 @@ class NSURLSession extends NSObject { /// - Returns: A new session upload task, or nil if the resumeData is invalid. NSURLSessionUploadTask uploadTaskWithResumeData_(NSData resumeData) { final _ret = _lib._objc_msgSend_944( - _id, _lib._sel_uploadTaskWithResumeData_1, resumeData._id); + _id, + _lib._sel_uploadTaskWithResumeData_1, + resumeData._id, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithStreamedRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_945( - _id, _lib._sel_uploadTaskWithStreamedRequest_1, request._id); + _id, + _lib._sel_uploadTaskWithStreamedRequest_1, + request._id, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_946( - _id, _lib._sel_downloadTaskWithRequest_1, request._id); + _id, + _lib._sel_downloadTaskWithRequest_1, + request._id, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_947(_id, _lib._sel_downloadTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_947( + _id, + _lib._sel_downloadTaskWithURL_1, + url._id, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_(NSData resumeData) { final _ret = _lib._objc_msgSend_948( - _id, _lib._sel_downloadTaskWithResumeData_1, resumeData._id); + _id, + _lib._sel_downloadTaskWithResumeData_1, + resumeData._id, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithHostName_port_( - NSString hostname, int port) { + NSString hostname, + int port, + ) { final _ret = _lib._objc_msgSend_951( - _id, _lib._sel_streamTaskWithHostName_port_1, hostname._id, port); + _id, + _lib._sel_streamTaskWithHostName_port_1, + hostname._id, + port, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); } NSURLSessionStreamTask streamTaskWithNetService_(NSNetService service) { final _ret = _lib._objc_msgSend_959( - _id, _lib._sel_streamTaskWithNetService_1, service._id); + _id, + _lib._sel_streamTaskWithNetService_1, + service._id, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_(NSURL url) { - final _ret = - _lib._objc_msgSend_966(_id, _lib._sel_webSocketTaskWithURL_1, url._id); + final _ret = _lib._objc_msgSend_966( + _id, + _lib._sel_webSocketTaskWithURL_1, + url._id, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithURL_protocols_( - NSURL url, NSArray protocols) { - final _ret = _lib._objc_msgSend_967(_id, - _lib._sel_webSocketTaskWithURL_protocols_1, url._id, protocols._id); + NSURL url, + NSArray protocols, + ) { + final _ret = _lib._objc_msgSend_967( + _id, + _lib._sel_webSocketTaskWithURL_protocols_1, + url._id, + protocols._id, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } NSURLSessionWebSocketTask webSocketTaskWithRequest_(NSURLRequest request) { final _ret = _lib._objc_msgSend_968( - _id, _lib._sel_webSocketTaskWithRequest_1, request._id); + _id, + _lib._sel_webSocketTaskWithRequest_1, + request._id, + ); return NSURLSessionWebSocketTask._(_ret, _lib, retain: true, release: true); } @@ -63797,55 +82214,66 @@ class NSURLSession extends NSObject { } static NSURLSession new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSession1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSession1, + _lib._sel_new1, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } NSURLSessionDataTask dataTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_969( - _id, - _lib._sel_dataTaskWithRequest_completionHandler_1, - request._id, - completionHandler._id); + _id, + _lib._sel_dataTaskWithRequest_completionHandler_1, + request._id, + completionHandler._id, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } - NSURLSessionDataTask dataTaskWithURL_completionHandler_(NSURL url, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLSessionDataTask dataTaskWithURL_completionHandler_( + NSURL url, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_970( - _id, - _lib._sel_dataTaskWithURL_completionHandler_1, - url._id, - completionHandler._id); + _id, + _lib._sel_dataTaskWithURL_completionHandler_1, + url._id, + completionHandler._id, + ); return NSURLSessionDataTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromFile_completionHandler_( - NSURLRequest request, - NSURL fileURL, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + NSURL fileURL, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_971( - _id, - _lib._sel_uploadTaskWithRequest_fromFile_completionHandler_1, - request._id, - fileURL._id, - completionHandler._id); + _id, + _lib._sel_uploadTaskWithRequest_fromFile_completionHandler_1, + request._id, + fileURL._id, + completionHandler._id, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionUploadTask uploadTaskWithRequest_fromData_completionHandler_( - NSURLRequest request, - NSData? bodyData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + NSData? bodyData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_972( - _id, - _lib._sel_uploadTaskWithRequest_fromData_completionHandler_1, - request._id, - bodyData?._id ?? ffi.nullptr, - completionHandler._id); + _id, + _lib._sel_uploadTaskWithRequest_fromData_completionHandler_1, + request._id, + bodyData?._id ?? ffi.nullptr, + completionHandler._id, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } @@ -63856,171 +82284,242 @@ class NSURLSession extends NSObject { /// - Parameter completionHandler: The completion handler to call when the load request is complete. /// - Returns: A new session upload task, or nil if the resumeData is invalid. NSURLSessionUploadTask uploadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler) { + NSData resumeData, + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_973( - _id, - _lib._sel_uploadTaskWithResumeData_completionHandler_1, - resumeData._id, - completionHandler._id); + _id, + _lib._sel_uploadTaskWithResumeData_completionHandler_1, + resumeData._id, + completionHandler._id, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithRequest_completionHandler_( - NSURLRequest request, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSURLRequest request, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_974( - _id, - _lib._sel_downloadTaskWithRequest_completionHandler_1, - request._id, - completionHandler._id); + _id, + _lib._sel_downloadTaskWithRequest_completionHandler_1, + request._id, + completionHandler._id, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } - NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_(NSURL url, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSURLSessionDownloadTask downloadTaskWithURL_completionHandler_( + NSURL url, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_975( - _id, - _lib._sel_downloadTaskWithURL_completionHandler_1, - url._id, - completionHandler._id); + _id, + _lib._sel_downloadTaskWithURL_completionHandler_1, + url._id, + completionHandler._id, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } NSURLSessionDownloadTask downloadTaskWithResumeData_completionHandler_( - NSData resumeData, - ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler) { + NSData resumeData, + ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError completionHandler, + ) { final _ret = _lib._objc_msgSend_976( - _id, - _lib._sel_downloadTaskWithResumeData_completionHandler_1, - resumeData._id, - completionHandler._id); + _id, + _lib._sel_downloadTaskWithResumeData_completionHandler_1, + resumeData._id, + completionHandler._id, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: true, release: true); } static NSURLSession allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSession1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSession1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } static NSURLSession alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSURLSession1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSession1, + _lib._sel_alloc1, + ); return NSURLSession._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSession1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSession1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSession1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSURLSession1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSession1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSession1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLSession1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLSession1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSession1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSession1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSession1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSession1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSURLSession1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLSession1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSession1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSURLSession1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionConfiguration extends NSObject { - NSURLSessionConfiguration._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionConfiguration._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSessionConfiguration] that points to the same underlying object as [other]. static NSURLSessionConfiguration castFrom(T other) { - return NSURLSessionConfiguration._(other._id, other._lib, - retain: true, release: true); + return NSURLSessionConfiguration._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionConfiguration] that wraps the given raw object pointer. static NSURLSessionConfiguration castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionConfiguration._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionConfiguration._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionConfiguration]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionConfiguration1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSessionConfiguration1, + ); } static NSURLSessionConfiguration getDefaultSessionConfiguration( - PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_920(_lib._class_NSURLSessionConfiguration1, - _lib._sel_defaultSessionConfiguration1); + PedometerBindings _lib, + ) { + final _ret = _lib._objc_msgSend_920( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_defaultSessionConfiguration1, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration getEphemeralSessionConfiguration( - PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_920(_lib._class_NSURLSessionConfiguration1, - _lib._sel_ephemeralSessionConfiguration1); + PedometerBindings _lib, + ) { + final _ret = _lib._objc_msgSend_920( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_ephemeralSessionConfiguration1, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration - backgroundSessionConfigurationWithIdentifier_( - PedometerBindings _lib, NSString identifier) { + backgroundSessionConfigurationWithIdentifier_( + PedometerBindings _lib, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_921( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfigurationWithIdentifier_1, - identifier._id); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_backgroundSessionConfigurationWithIdentifier_1, + identifier._id, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } @@ -64037,31 +82536,44 @@ class NSURLSessionConfiguration extends NSObject { set requestCachePolicy(int value) { return _lib._objc_msgSend_896( - _id, _lib._sel_setRequestCachePolicy_1, value); + _id, + _lib._sel_setRequestCachePolicy_1, + value, + ); } double get timeoutIntervalForRequest { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_157_fpret( - _id, _lib._sel_timeoutIntervalForRequest1) + _id, + _lib._sel_timeoutIntervalForRequest1, + ) : _lib._objc_msgSend_157(_id, _lib._sel_timeoutIntervalForRequest1); } set timeoutIntervalForRequest(double value) { return _lib._objc_msgSend_498( - _id, _lib._sel_setTimeoutIntervalForRequest_1, value); + _id, + _lib._sel_setTimeoutIntervalForRequest_1, + value, + ); } double get timeoutIntervalForResource { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_157_fpret( - _id, _lib._sel_timeoutIntervalForResource1) + _id, + _lib._sel_timeoutIntervalForResource1, + ) : _lib._objc_msgSend_157(_id, _lib._sel_timeoutIntervalForResource1); } set timeoutIntervalForResource(double value) { return _lib._objc_msgSend_498( - _id, _lib._sel_setTimeoutIntervalForResource_1, value); + _id, + _lib._sel_setTimeoutIntervalForResource_1, + value, + ); } int get networkServiceType { @@ -64070,7 +82582,10 @@ class NSURLSessionConfiguration extends NSObject { set networkServiceType(int value) { return _lib._objc_msgSend_897( - _id, _lib._sel_setNetworkServiceType_1, value); + _id, + _lib._sel_setNetworkServiceType_1, + value, + ); } bool get allowsCellularAccess { @@ -64079,7 +82594,10 @@ class NSURLSessionConfiguration extends NSObject { set allowsCellularAccess(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAllowsCellularAccess_1, value); + _id, + _lib._sel_setAllowsCellularAccess_1, + value, + ); } bool get allowsExpensiveNetworkAccess { @@ -64088,17 +82606,25 @@ class NSURLSessionConfiguration extends NSObject { set allowsExpensiveNetworkAccess(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAllowsExpensiveNetworkAccess_1, value); + _id, + _lib._sel_setAllowsExpensiveNetworkAccess_1, + value, + ); } bool get allowsConstrainedNetworkAccess { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsConstrainedNetworkAccess1); + _id, + _lib._sel_allowsConstrainedNetworkAccess1, + ); } set allowsConstrainedNetworkAccess(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAllowsConstrainedNetworkAccess_1, value); + _id, + _lib._sel_setAllowsConstrainedNetworkAccess_1, + value, + ); } bool get requiresDNSSECValidation { @@ -64107,7 +82633,10 @@ class NSURLSessionConfiguration extends NSObject { set requiresDNSSECValidation(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setRequiresDNSSECValidation_1, value); + _id, + _lib._sel_setRequiresDNSSECValidation_1, + value, + ); } bool get waitsForConnectivity { @@ -64116,7 +82645,10 @@ class NSURLSessionConfiguration extends NSObject { set waitsForConnectivity(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setWaitsForConnectivity_1, value); + _id, + _lib._sel_setWaitsForConnectivity_1, + value, + ); } bool get discretionary { @@ -64128,16 +82660,21 @@ class NSURLSessionConfiguration extends NSObject { } NSString? get sharedContainerIdentifier { - final _ret = - _lib._objc_msgSend_44(_id, _lib._sel_sharedContainerIdentifier1); + final _ret = _lib._objc_msgSend_44( + _id, + _lib._sel_sharedContainerIdentifier1, + ); return _ret.address == 0 ? null : NSString._(_ret, _lib, retain: true, release: true); } set sharedContainerIdentifier(NSString? value) { - return _lib._objc_msgSend_501(_id, _lib._sel_setSharedContainerIdentifier_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_501( + _id, + _lib._sel_setSharedContainerIdentifier_1, + value?._id ?? ffi.nullptr, + ); } bool get sessionSendsLaunchEvents { @@ -64146,20 +82683,28 @@ class NSURLSessionConfiguration extends NSObject { set sessionSendsLaunchEvents(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setSessionSendsLaunchEvents_1, value); + _id, + _lib._sel_setSessionSendsLaunchEvents_1, + value, + ); } NSDictionary? get connectionProxyDictionary { - final _ret = - _lib._objc_msgSend_345(_id, _lib._sel_connectionProxyDictionary1); + final _ret = _lib._objc_msgSend_345( + _id, + _lib._sel_connectionProxyDictionary1, + ); return _ret.address == 0 ? null : NSDictionary._(_ret, _lib, retain: true, release: true); } set connectionProxyDictionary(NSDictionary? value) { - return _lib._objc_msgSend_670(_id, _lib._sel_setConnectionProxyDictionary_1, - value?._id ?? ffi.nullptr); + return _lib._objc_msgSend_670( + _id, + _lib._sel_setConnectionProxyDictionary_1, + value?._id ?? ffi.nullptr, + ); } int get TLSMinimumSupportedProtocol { @@ -64168,7 +82713,10 @@ class NSURLSessionConfiguration extends NSObject { set TLSMinimumSupportedProtocol(int value) { return _lib._objc_msgSend_923( - _id, _lib._sel_setTLSMinimumSupportedProtocol_1, value); + _id, + _lib._sel_setTLSMinimumSupportedProtocol_1, + value, + ); } int get TLSMaximumSupportedProtocol { @@ -64177,27 +82725,40 @@ class NSURLSessionConfiguration extends NSObject { set TLSMaximumSupportedProtocol(int value) { return _lib._objc_msgSend_923( - _id, _lib._sel_setTLSMaximumSupportedProtocol_1, value); + _id, + _lib._sel_setTLSMaximumSupportedProtocol_1, + value, + ); } int get TLSMinimumSupportedProtocolVersion { return _lib._objc_msgSend_924( - _id, _lib._sel_TLSMinimumSupportedProtocolVersion1); + _id, + _lib._sel_TLSMinimumSupportedProtocolVersion1, + ); } set TLSMinimumSupportedProtocolVersion(int value) { return _lib._objc_msgSend_925( - _id, _lib._sel_setTLSMinimumSupportedProtocolVersion_1, value); + _id, + _lib._sel_setTLSMinimumSupportedProtocolVersion_1, + value, + ); } int get TLSMaximumSupportedProtocolVersion { return _lib._objc_msgSend_924( - _id, _lib._sel_TLSMaximumSupportedProtocolVersion1); + _id, + _lib._sel_TLSMaximumSupportedProtocolVersion1, + ); } set TLSMaximumSupportedProtocolVersion(int value) { return _lib._objc_msgSend_925( - _id, _lib._sel_setTLSMaximumSupportedProtocolVersion_1, value); + _id, + _lib._sel_setTLSMaximumSupportedProtocolVersion_1, + value, + ); } bool get HTTPShouldUsePipelining { @@ -64206,7 +82767,10 @@ class NSURLSessionConfiguration extends NSObject { set HTTPShouldUsePipelining(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setHTTPShouldUsePipelining_1, value); + _id, + _lib._sel_setHTTPShouldUsePipelining_1, + value, + ); } bool get HTTPShouldSetCookies { @@ -64215,7 +82779,10 @@ class NSURLSessionConfiguration extends NSObject { set HTTPShouldSetCookies(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setHTTPShouldSetCookies_1, value); + _id, + _lib._sel_setHTTPShouldSetCookies_1, + value, + ); } int get HTTPCookieAcceptPolicy { @@ -64224,7 +82791,10 @@ class NSURLSessionConfiguration extends NSObject { set HTTPCookieAcceptPolicy(int value) { return _lib._objc_msgSend_738( - _id, _lib._sel_setHTTPCookieAcceptPolicy_1, value); + _id, + _lib._sel_setHTTPCookieAcceptPolicy_1, + value, + ); } NSDictionary? get HTTPAdditionalHeaders { @@ -64236,7 +82806,10 @@ class NSURLSessionConfiguration extends NSObject { set HTTPAdditionalHeaders(NSDictionary? value) { return _lib._objc_msgSend_670( - _id, _lib._sel_setHTTPAdditionalHeaders_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setHTTPAdditionalHeaders_1, + value?._id ?? ffi.nullptr, + ); } int get HTTPMaximumConnectionsPerHost { @@ -64245,7 +82818,10 @@ class NSURLSessionConfiguration extends NSObject { set HTTPMaximumConnectionsPerHost(int value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setHTTPMaximumConnectionsPerHost_1, value); + _id, + _lib._sel_setHTTPMaximumConnectionsPerHost_1, + value, + ); } NSHTTPCookieStorage? get HTTPCookieStorage { @@ -64257,7 +82833,10 @@ class NSURLSessionConfiguration extends NSObject { set HTTPCookieStorage(NSHTTPCookieStorage? value) { return _lib._objc_msgSend_927( - _id, _lib._sel_setHTTPCookieStorage_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setHTTPCookieStorage_1, + value?._id ?? ffi.nullptr, + ); } NSURLCredentialStorage? get URLCredentialStorage { @@ -64269,7 +82848,10 @@ class NSURLSessionConfiguration extends NSObject { set URLCredentialStorage(NSURLCredentialStorage? value) { return _lib._objc_msgSend_929( - _id, _lib._sel_setURLCredentialStorage_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setURLCredentialStorage_1, + value?._id ?? ffi.nullptr, + ); } NSURLCache? get URLCache { @@ -64281,17 +82863,25 @@ class NSURLSessionConfiguration extends NSObject { set URLCache(NSURLCache? value) { return _lib._objc_msgSend_931( - _id, _lib._sel_setURLCache_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setURLCache_1, + value?._id ?? ffi.nullptr, + ); } bool get shouldUseExtendedBackgroundIdleMode { return _lib._objc_msgSend_12( - _id, _lib._sel_shouldUseExtendedBackgroundIdleMode1); + _id, + _lib._sel_shouldUseExtendedBackgroundIdleMode1, + ); } set shouldUseExtendedBackgroundIdleMode(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setShouldUseExtendedBackgroundIdleMode_1, value); + _id, + _lib._sel_setShouldUseExtendedBackgroundIdleMode_1, + value, + ); } NSArray? get protocolClasses { @@ -64303,7 +82893,10 @@ class NSURLSessionConfiguration extends NSObject { set protocolClasses(NSArray? value) { return _lib._objc_msgSend_932( - _id, _lib._sel_setProtocolClasses_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setProtocolClasses_1, + value?._id ?? ffi.nullptr, + ); } int get multipathServiceType { @@ -64312,7 +82905,10 @@ class NSURLSessionConfiguration extends NSObject { set multipathServiceType(int value) { return _lib._objc_msgSend_934( - _id, _lib._sel_setMultipathServiceType_1, value); + _id, + _lib._sel_setMultipathServiceType_1, + value, + ); } @override @@ -64323,93 +82919,148 @@ class NSURLSessionConfiguration extends NSObject { static NSURLSessionConfiguration new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, _lib._sel_new1); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_new1, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionConfiguration backgroundSessionConfiguration_( - PedometerBindings _lib, NSString identifier) { - final _ret = _lib._objc_msgSend_921(_lib._class_NSURLSessionConfiguration1, - _lib._sel_backgroundSessionConfiguration_1, identifier._id); + PedometerBindings _lib, + NSString identifier, + ) { + final _ret = _lib._objc_msgSend_921( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_backgroundSessionConfiguration_1, + identifier._id, + ); return NSURLSessionConfiguration._(_ret, _lib, retain: true, release: true); } static NSURLSessionConfiguration allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionConfiguration1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionConfiguration alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionConfiguration1, _lib._sel_alloc1); - return NSURLSessionConfiguration._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_alloc1, + ); + return NSURLSessionConfiguration._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionConfiguration1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionConfiguration1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionConfiguration1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLSessionConfiguration1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSessionConfiguration1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSessionConfiguration1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionConfiguration1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLSessionConfiguration1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionConfiguration1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionConfiguration1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -64484,47 +83135,68 @@ abstract class NSURLSessionMultipathServiceType { } void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSArray_NSArray._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -64532,26 +83204,34 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -64559,23 +83239,36 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction(PedometerBindings lib, void Function(NSArray, NSArray, NSArray) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.fromFunction( + PedometerBindings lib, + void Function(NSArray, NSArray, NSArray) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -64587,75 +83280,99 @@ class ObjCBlock_ffiVoid_NSArray_NSArray_NSArray extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener(PedometerBindings lib, void Function(NSArray, NSArray, NSArray) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - NSArray._(arg0, lib, retain: true, release: true), - NSArray._(arg1, lib, retain: true, release: true), - NSArray._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSArray_NSArray_NSArray.listener( + PedometerBindings lib, + void Function(NSArray, NSArray, NSArray) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSArray_NSArray_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + NSArray._(arg0, lib, retain: true, release: true), + NSArray._(arg1, lib, retain: true, release: true), + NSArray._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSArray arg0, NSArray arg1, NSArray arg2) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() .asFunction< - void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>()(_id, arg0._id, arg1._id, arg2._id); + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1._id, arg2._id); } void _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSArray1_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray1_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray1_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray1_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( - arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSArray1_closureRegistry[block.ref.target.address]!( + arg0, +); class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSArray1._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -64663,20 +83380,24 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray1.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray1_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -64685,18 +83406,24 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray1.fromFunction( - PedometerBindings lib, void Function(NSArray) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure( - (ffi.Pointer arg0) => - fn(NSArray._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSArray) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure( + (ffi.Pointer arg0) => + fn(NSArray._(arg0, lib, retain: true, release: true)), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -64709,57 +83436,85 @@ class ObjCBlock_ffiVoid_NSArray1 extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray1.listener( - PedometerBindings lib, void Function(NSArray) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray1_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray1_registerClosure( - (ffi.Pointer arg0) => - fn(NSArray._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSArray) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSArray1_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray1_registerClosure( + (ffi.Pointer arg0) => + fn(NSArray._(arg0, lib, retain: true, release: true)), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSArray arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0._id); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0._id); } class NSURLSessionUploadTask extends NSURLSessionDataTask { - NSURLSessionUploadTask._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionUploadTask._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSessionUploadTask] that points to the same underlying object as [other]. static NSURLSessionUploadTask castFrom(T other) { - return NSURLSessionUploadTask._(other._id, other._lib, - retain: true, release: true); + return NSURLSessionUploadTask._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionUploadTask] that wraps the given raw object pointer. static NSURLSessionUploadTask castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionUploadTask._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionUploadTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionUploadTask]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionUploadTask1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSessionUploadTask1, + ); } @override @@ -64770,7 +83525,9 @@ class NSURLSessionUploadTask extends NSURLSessionDataTask { static NSURLSessionUploadTask new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, _lib._sel_new1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_new1, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } @@ -64781,113 +83538,157 @@ class NSURLSessionUploadTask extends NSURLSessionDataTask { /// /// - Parameter completionHandler: The completion handler to call when the upload has been successfully canceled. void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler) { + ObjCBlock_ffiVoid_NSData completionHandler, + ) { _lib._objc_msgSend_941( - _id, _lib._sel_cancelByProducingResumeData_1, completionHandler._id); + _id, + _lib._sel_cancelByProducingResumeData_1, + completionHandler._id, + ); } static NSURLSessionUploadTask allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionUploadTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionUploadTask alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionUploadTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_alloc1, + ); return NSURLSessionUploadTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionUploadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionUploadTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionUploadTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLSessionUploadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSessionUploadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSessionUploadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionUploadTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLSessionUploadTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionUploadTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionUploadTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - block.ref.target - .cast< - ffi - .NativeFunction arg0)>>() - .asFunction)>()(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => block.ref.target + .cast arg0)>>() + .asFunction)>()(arg0); final _ObjCBlock_ffiVoid_NSData_closureRegistry = )>{}; int _ObjCBlock_ffiVoid_NSData_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_registerClosure( - void Function(ffi.Pointer) fn) { + void Function(ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, ffi.Pointer arg0) => - _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, +) => _ObjCBlock_ffiVoid_NSData_closureRegistry[block.ref.target.address]!(arg0); class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { - ObjCBlock_ffiVoid_NSData._(ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ObjCBlock_ffiVoid_NSData._( + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -64895,20 +83696,24 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi - .NativeFunction arg0)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction arg0)> + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -64917,19 +83722,27 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData.fromFunction( - PedometerBindings lib, void Function(NSData?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSData?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -64942,64 +83755,98 @@ class ObjCBlock_ffiVoid_NSData extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData.listener( - PedometerBindings lib, void Function(NSData?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_registerClosure( - (ffi.Pointer arg0) => fn(arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSData?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSData_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_registerClosure( + (ffi.Pointer arg0) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer)>? - _dartFuncListenerTrampoline; + ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >? + _dartFuncListenerTrampoline; void call(NSData? arg0) => _id.ref.invoke .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0)>>() + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ) + > + >() .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, - ffi.Pointer)>()(_id, arg0?._id ?? ffi.nullptr); + void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer) + >()(_id, arg0?._id ?? ffi.nullptr); } class NSURLSessionDownloadTask extends NSURLSessionTask { - NSURLSessionDownloadTask._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionDownloadTask._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSessionDownloadTask] that points to the same underlying object as [other]. static NSURLSessionDownloadTask castFrom(T other) { - return NSURLSessionDownloadTask._(other._id, other._lib, - retain: true, release: true); + return NSURLSessionDownloadTask._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionDownloadTask] that wraps the given raw object pointer. static NSURLSessionDownloadTask castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionDownloadTask._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionDownloadTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionDownloadTask]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionDownloadTask1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSessionDownloadTask1, + ); } void cancelByProducingResumeData_( - ObjCBlock_ffiVoid_NSData completionHandler) { + ObjCBlock_ffiVoid_NSData completionHandler, + ) { _lib._objc_msgSend_941( - _id, _lib._sel_cancelByProducingResumeData_1, completionHandler._id); + _id, + _lib._sel_cancelByProducingResumeData_1, + completionHandler._id, + ); } @override @@ -65010,130 +83857,195 @@ class NSURLSessionDownloadTask extends NSURLSessionTask { static NSURLSessionDownloadTask new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_new1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_new1, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDownloadTask allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionDownloadTask alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_alloc1, + ); return NSURLSessionDownloadTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionDownloadTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSessionDownloadTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionDownloadTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionDownloadTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionStreamTask extends NSURLSessionTask { - NSURLSessionStreamTask._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionStreamTask._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSessionStreamTask] that points to the same underlying object as [other]. static NSURLSessionStreamTask castFrom(T other) { - return NSURLSessionStreamTask._(other._id, other._lib, - retain: true, release: true); + return NSURLSessionStreamTask._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionStreamTask] that wraps the given raw object pointer. static NSURLSessionStreamTask castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionStreamTask._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionStreamTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionStreamTask]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionStreamTask1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSessionStreamTask1, + ); } void readDataOfMinLength_maxLength_timeout_completionHandler_( - int minBytes, - int maxBytes, - double timeout, - ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler) { + int minBytes, + int maxBytes, + double timeout, + ObjCBlock_ffiVoid_NSData_bool_NSError completionHandler, + ) { _lib._objc_msgSend_949( - _id, - _lib._sel_readDataOfMinLength_maxLength_timeout_completionHandler_1, - minBytes, - maxBytes, - timeout, - completionHandler._id); + _id, + _lib._sel_readDataOfMinLength_maxLength_timeout_completionHandler_1, + minBytes, + maxBytes, + timeout, + completionHandler._id, + ); } - void writeData_timeout_completionHandler_(NSData data, double timeout, - ObjCBlock_ffiVoid_NSError completionHandler) { - _lib._objc_msgSend_950(_id, _lib._sel_writeData_timeout_completionHandler_1, - data._id, timeout, completionHandler._id); + void writeData_timeout_completionHandler_( + NSData data, + double timeout, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { + _lib._objc_msgSend_950( + _id, + _lib._sel_writeData_timeout_completionHandler_1, + data._id, + timeout, + completionHandler._id, + ); } void captureStreams() { @@ -65164,123 +84076,174 @@ class NSURLSessionStreamTask extends NSURLSessionTask { static NSURLSessionStreamTask new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, _lib._sel_new1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_new1, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionStreamTask allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSURLSessionStreamTask1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_allocWithZone_1, + zone, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static NSURLSessionStreamTask alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionStreamTask1, _lib._sel_alloc1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_alloc1, + ); return NSURLSessionStreamTask._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionStreamTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionStreamTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionStreamTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLSessionStreamTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSessionStreamTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSessionStreamTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionStreamTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLSessionStreamTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionStreamTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionStreamTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, bool, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = , bool, ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, bool, ffi.Pointer) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry = + < + int, + void Function(ffi.Pointer, bool, ffi.Pointer) + >{}; int _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - void Function(ffi.Pointer, bool, ffi.Pointer) fn) { + void Function(ffi.Pointer, bool, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - bool arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSData_bool_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSData_bool_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -65288,24 +84251,32 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, ffi.Bool arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSData_bool_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -65313,23 +84284,38 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction(PedometerBindings lib, void Function(NSData, bool, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, ffi.Pointer arg2) => fn( - NSData._(arg0, lib, retain: true, release: true), - arg1, - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSData_bool_NSError.fromFunction( + PedometerBindings lib, + void Function(NSData, bool, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( + ( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -65342,46 +84328,76 @@ class ObjCBlock_ffiVoid_NSData_bool_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSData_bool_NSError.listener( - PedometerBindings lib, void Function(NSData, bool, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Bool, - ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( - (ffi.Pointer arg0, bool arg1, - ffi.Pointer arg2) => - fn(NSData._(arg0, lib, retain: true, release: true), arg1, arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSData, bool, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_bool_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_bool_NSError_registerClosure( + ( + ffi.Pointer arg0, + bool arg1, + ffi.Pointer arg2, + ) => fn( + NSData._(arg0, lib, retain: true, release: true), + arg1, + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Bool, ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Bool, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSData arg0, bool arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Bool arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - bool, ffi.Pointer)>()( - _id, arg0._id, arg1, arg2?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Bool arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + bool, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1, arg2?._id ?? ffi.nullptr); } class NSNetService extends NSObject { - NSNetService._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSNetService._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSNetService] that points to the same underlying object as [other]. static NSNetService castFrom(T other) { @@ -65390,44 +84406,71 @@ class NSNetService extends NSObject { /// Returns a [NSNetService] that wraps the given raw object pointer. static NSNetService castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSNetService._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSNetService]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSNetService1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSNetService1, + ); } NSNetService initWithDomain_type_name_port_( - NSString domain, NSString type, NSString name, int port) { + NSString domain, + NSString type, + NSString name, + int port, + ) { final _ret = _lib._objc_msgSend_952( - _id, - _lib._sel_initWithDomain_type_name_port_1, - domain._id, - type._id, - name._id, - port); + _id, + _lib._sel_initWithDomain_type_name_port_1, + domain._id, + type._id, + name._id, + port, + ); return NSNetService._(_ret, _lib, retain: true, release: true); } NSNetService initWithDomain_type_name_( - NSString domain, NSString type, NSString name) { - final _ret = _lib._objc_msgSend_953(_id, - _lib._sel_initWithDomain_type_name_1, domain._id, type._id, name._id); + NSString domain, + NSString type, + NSString name, + ) { + final _ret = _lib._objc_msgSend_953( + _id, + _lib._sel_initWithDomain_type_name_1, + domain._id, + type._id, + name._id, + ); return NSNetService._(_ret, _lib, retain: true, release: true); } void scheduleInRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_707( - _id, _lib._sel_scheduleInRunLoop_forMode_1, aRunLoop._id, mode._id); + _id, + _lib._sel_scheduleInRunLoop_forMode_1, + aRunLoop._id, + mode._id, + ); } void removeFromRunLoop_forMode_(NSRunLoop aRunLoop, NSString mode) { _lib._objc_msgSend_707( - _id, _lib._sel_removeFromRunLoop_forMode_1, aRunLoop._id, mode._id); + _id, + _lib._sel_removeFromRunLoop_forMode_1, + aRunLoop._id, + mode._id, + ); } NSObject? get delegate { @@ -65439,7 +84482,10 @@ class NSNetService extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegate_1, + value?._id ?? ffi.nullptr, + ); } bool get includesPeerToPeer { @@ -65448,7 +84494,10 @@ class NSNetService extends NSObject { set includesPeerToPeer(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setIncludesPeerToPeer_1, value); + _id, + _lib._sel_setIncludesPeerToPeer_1, + value, + ); } NSString get name { @@ -65501,16 +84550,26 @@ class NSNetService extends NSObject { } static NSDictionary dictionaryFromTXTRecordData_( - PedometerBindings _lib, NSData txtData) { - final _ret = _lib._objc_msgSend_955(_lib._class_NSNetService1, - _lib._sel_dictionaryFromTXTRecordData_1, txtData._id); + PedometerBindings _lib, + NSData txtData, + ) { + final _ret = _lib._objc_msgSend_955( + _lib._class_NSNetService1, + _lib._sel_dictionaryFromTXTRecordData_1, + txtData._id, + ); return NSDictionary._(_ret, _lib, retain: true, release: true); } static NSData dataFromTXTRecordDictionary_( - PedometerBindings _lib, NSDictionary txtDictionary) { - final _ret = _lib._objc_msgSend_956(_lib._class_NSNetService1, - _lib._sel_dataFromTXTRecordDictionary_1, txtDictionary._id); + PedometerBindings _lib, + NSDictionary txtDictionary, + ) { + final _ret = _lib._objc_msgSend_956( + _lib._class_NSNetService1, + _lib._sel_dataFromTXTRecordDictionary_1, + txtDictionary._id, + ); return NSData._(_ret, _lib, retain: true, release: true); } @@ -65519,15 +84578,23 @@ class NSNetService extends NSObject { } bool getInputStream_outputStream_( - ffi.Pointer> inputStream, - ffi.Pointer> outputStream) { - return _lib._objc_msgSend_957(_id, _lib._sel_getInputStream_outputStream_1, - inputStream, outputStream); + ffi.Pointer> inputStream, + ffi.Pointer> outputStream, + ) { + return _lib._objc_msgSend_957( + _id, + _lib._sel_getInputStream_outputStream_1, + inputStream, + outputStream, + ); } bool setTXTRecordData_(NSData? recordData) { return _lib._objc_msgSend_958( - _id, _lib._sel_setTXTRecordData_1, recordData?._id ?? ffi.nullptr); + _id, + _lib._sel_setTXTRecordData_1, + recordData?._id ?? ffi.nullptr, + ); } NSData? TXTRecordData() { @@ -65552,84 +84619,122 @@ class NSNetService extends NSObject { } static NSNetService new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNetService1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNetService1, + _lib._sel_new1, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static NSNetService allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSNetService1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSNetService1, + _lib._sel_allocWithZone_1, + zone, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static NSNetService alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_NSNetService1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSNetService1, + _lib._sel_alloc1, + ); return NSNetService._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSNetService1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSNetService1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSNetService1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNetService1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSNetService1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSNetService1, _lib._sel_useStoredAccessor1); + _lib._class_NSNetService1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSNetService1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSNetService1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSNetService1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSNetService1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSNetService1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSNetService1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSNetService1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSNetService1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSNetService1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSNetService1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -65640,52 +84745,86 @@ abstract class NSNetServiceOptions { } class NSURLSessionWebSocketTask extends NSURLSessionTask { - NSURLSessionWebSocketTask._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSURLSessionWebSocketTask._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketTask] that points to the same underlying object as [other]. static NSURLSessionWebSocketTask castFrom(T other) { - return NSURLSessionWebSocketTask._(other._id, other._lib, - retain: true, release: true); + return NSURLSessionWebSocketTask._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionWebSocketTask] that wraps the given raw object pointer. static NSURLSessionWebSocketTask castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionWebSocketTask._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionWebSocketTask._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketTask]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionWebSocketTask1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSessionWebSocketTask1, + ); } - void sendMessage_completionHandler_(NSURLSessionWebSocketMessage message, - ObjCBlock_ffiVoid_NSError completionHandler) { - _lib._objc_msgSend_961(_id, _lib._sel_sendMessage_completionHandler_1, - message._id, completionHandler._id); + void sendMessage_completionHandler_( + NSURLSessionWebSocketMessage message, + ObjCBlock_ffiVoid_NSError completionHandler, + ) { + _lib._objc_msgSend_961( + _id, + _lib._sel_sendMessage_completionHandler_1, + message._id, + completionHandler._id, + ); } void receiveMessageWithCompletionHandler_( - ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError - completionHandler) { - _lib._objc_msgSend_962(_id, _lib._sel_receiveMessageWithCompletionHandler_1, - completionHandler._id); + ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError completionHandler, + ) { + _lib._objc_msgSend_962( + _id, + _lib._sel_receiveMessageWithCompletionHandler_1, + completionHandler._id, + ); } void sendPingWithPongReceiveHandler_( - ObjCBlock_ffiVoid_NSError pongReceiveHandler) { - _lib._objc_msgSend_963(_id, _lib._sel_sendPingWithPongReceiveHandler_1, - pongReceiveHandler._id); + ObjCBlock_ffiVoid_NSError pongReceiveHandler, + ) { + _lib._objc_msgSend_963( + _id, + _lib._sel_sendPingWithPongReceiveHandler_1, + pongReceiveHandler._id, + ); } void cancelWithCloseCode_reason_(int closeCode, NSData? reason) { - _lib._objc_msgSend_964(_id, _lib._sel_cancelWithCloseCode_reason_1, - closeCode, reason?._id ?? ffi.nullptr); + _lib._objc_msgSend_964( + _id, + _lib._sel_cancelWithCloseCode_reason_1, + closeCode, + reason?._id ?? ffi.nullptr, + ); } int get maximumMessageSize { @@ -65694,7 +84833,10 @@ class NSURLSessionWebSocketTask extends NSURLSessionTask { set maximumMessageSize(int value) { return _lib._objc_msgSend_634( - _id, _lib._sel_setMaximumMessageSize_1, value); + _id, + _lib._sel_setMaximumMessageSize_1, + value, + ); } int get closeCode { @@ -65716,129 +84858,210 @@ class NSURLSessionWebSocketTask extends NSURLSessionTask { static NSURLSessionWebSocketTask new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_new1); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_new1, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketTask allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketTask alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_alloc1); - return NSURLSessionWebSocketTask._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_alloc1, + ); + return NSURLSessionWebSocketTask._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSURLSessionWebSocketTask1, _lib._sel_useStoredAccessor1); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSessionWebSocketTask1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionWebSocketTask1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionWebSocketTask1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSURLSessionWebSocketMessage extends NSObject { NSURLSessionWebSocketMessage._( - ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSURLSessionWebSocketMessage] that points to the same underlying object as [other]. static NSURLSessionWebSocketMessage castFrom( - T other) { - return NSURLSessionWebSocketMessage._(other._id, other._lib, - retain: true, release: true); + T other, + ) { + return NSURLSessionWebSocketMessage._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [NSURLSessionWebSocketMessage] that wraps the given raw object pointer. static NSURLSessionWebSocketMessage castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return NSURLSessionWebSocketMessage._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return NSURLSessionWebSocketMessage._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [NSURLSessionWebSocketMessage]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_NSURLSessionWebSocketMessage1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSURLSessionWebSocketMessage1, + ); } NSURLSessionWebSocketMessage initWithData_(NSData data) { - final _ret = - _lib._objc_msgSend_225(_id, _lib._sel_initWithData_1, data._id); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_225( + _id, + _lib._sel_initWithData_1, + data._id, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } NSURLSessionWebSocketMessage initWithString_(NSString string) { - final _ret = - _lib._objc_msgSend_31(_id, _lib._sel_initWithString_1, string._id); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_31( + _id, + _lib._sel_initWithString_1, + string._id, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } int get type { @@ -65862,95 +85085,146 @@ class NSURLSessionWebSocketMessage extends NSObject { @override NSURLSessionWebSocketMessage init() { final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: true, release: true); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: true, + release: true, + ); } static NSURLSessionWebSocketMessage new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, _lib._sel_new1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_new1, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketMessage allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_allocWithZone_1, zone); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_allocWithZone_1, + zone, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static NSURLSessionWebSocketMessage alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSURLSessionWebSocketMessage1, _lib._sel_alloc1); - return NSURLSessionWebSocketMessage._(_ret, _lib, - retain: false, release: true); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_alloc1, + ); + return NSURLSessionWebSocketMessage._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_useStoredAccessor1); + return _lib._objc_msgSend_12( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { + PedometerBindings _lib, + NSString key, + ) { final _ret = _lib._objc_msgSend_55( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, - key._id); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_NSURLSessionWebSocketMessage1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_NSURLSessionWebSocketMessage1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -65961,24 +85235,30 @@ abstract class NSURLSessionWebSocketMessageType { } void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry = , ffi.Pointer)>{}; -int _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = +int +_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[id] = @@ -65987,18 +85267,23 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -66006,23 +85291,32 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66031,22 +85325,38 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.fromFunction( - PedometerBindings lib, - void Function(NSURLSessionWebSocketMessage?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : NSURLSessionWebSocketMessage._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURLSessionWebSocketMessage?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66059,41 +85369,65 @@ class ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError.listener( - PedometerBindings lib, - void Function(NSURLSessionWebSocketMessage?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSURLSessionWebSocketMessage._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURLSessionWebSocketMessage?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURLSessionWebSocketMessage_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSURLSessionWebSocketMessage._( + arg0, + lib, + retain: true, + release: true, + ), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSURLSessionWebSocketMessage? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } abstract class NSURLSessionWebSocketCloseCode { @@ -66114,29 +85448,46 @@ abstract class NSURLSessionWebSocketCloseCode { } void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -66144,18 +85495,22 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -66163,26 +85518,34 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66191,24 +85554,41 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.fromFunction( - PedometerBindings lib, - void Function(NSData?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSData?, NSURLResponse?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66220,76 +85600,120 @@ class ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError extends _ObjCBlockBase { /// /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. - ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.listener(PedometerBindings lib, - void Function(NSData?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure((ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSData._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError.listener( + PedometerBindings lib, + void Function(NSData?, NSURLResponse?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSData_NSURLResponse_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSData? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Pointer, + ) + >()( + _id, + arg0?._id ?? ffi.nullptr, + arg1?._id ?? ffi.nullptr, + arg2?._id ?? ffi.nullptr, + ); } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer)>()(arg0, arg1, arg2); -final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = , ffi.Pointer, - ffi.Pointer)>{}; + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >()(arg0, arg1, arg2); +final _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry = + < + int, + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >{}; int _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer, - ffi.Pointer) - fn) { +_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + void Function( + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + fn, +) { final id = ++_ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[id] = fn; @@ -66297,18 +85721,22 @@ ffi.Pointer } void _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2) => - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1, arg2); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, +) => _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1, arg2); class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -66316,26 +85744,34 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66344,23 +85780,41 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.fromFunction( - PedometerBindings lib, void Function(NSURL?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, ffi.Pointer arg2) => fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURL?, NSURLResponse?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66373,53 +85827,85 @@ class ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError.listener( - PedometerBindings lib, void Function(NSURL?, NSURLResponse?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1, - ffi.Pointer arg2) => - fn( - arg0.address == 0 - ? null - : NSURL._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSURLResponse._(arg1, lib, retain: true, release: true), - arg2.address == 0 ? null : NSError._(arg2, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSURL?, NSURLResponse?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSURL_NSURLResponse_NSError_registerClosure( + ( + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) => fn( + arg0.address == 0 + ? null + : NSURL._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSURLResponse._(arg1, lib, retain: true, release: true), + arg2.address == 0 + ? null + : NSError._(arg2, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function( + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; + + void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ffi.Pointer arg2, + ) + > + >() + .asFunction< + void Function( ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; - - void call(NSURL? arg0, NSURLResponse? arg1, NSError? arg2) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1, - ffi.Pointer arg2)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer, ffi.Pointer)>()( - _id, - arg0?._id ?? ffi.nullptr, - arg1?._id ?? ffi.nullptr, - arg2?._id ?? ffi.nullptr); + ffi.Pointer, + ) + >()( + _id, + arg0?._id ?? ffi.nullptr, + arg1?._id ?? ffi.nullptr, + arg2?._id ?? ffi.nullptr, + ); } class CMPedometer extends NSObject { - CMPedometer._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CMPedometer._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CMPedometer] that points to the same underlying object as [other]. static CMPedometer castFrom(T other) { @@ -66428,69 +85914,96 @@ class CMPedometer extends NSObject { /// Returns a [CMPedometer] that wraps the given raw object pointer. static CMPedometer castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CMPedometer._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CMPedometer]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_CMPedometer1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CMPedometer1, + ); } static bool isStepCountingAvailable(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometer1, _lib._sel_isStepCountingAvailable1); + _lib._class_CMPedometer1, + _lib._sel_isStepCountingAvailable1, + ); } static bool isDistanceAvailable(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometer1, _lib._sel_isDistanceAvailable1); + _lib._class_CMPedometer1, + _lib._sel_isDistanceAvailable1, + ); } static bool isFloorCountingAvailable(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometer1, _lib._sel_isFloorCountingAvailable1); + _lib._class_CMPedometer1, + _lib._sel_isFloorCountingAvailable1, + ); } static bool isPaceAvailable(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometer1, _lib._sel_isPaceAvailable1); + _lib._class_CMPedometer1, + _lib._sel_isPaceAvailable1, + ); } static bool isCadenceAvailable(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometer1, _lib._sel_isCadenceAvailable1); + _lib._class_CMPedometer1, + _lib._sel_isCadenceAvailable1, + ); } static bool isPedometerEventTrackingAvailable(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometer1, _lib._sel_isPedometerEventTrackingAvailable1); + _lib._class_CMPedometer1, + _lib._sel_isPedometerEventTrackingAvailable1, + ); } static int authorizationStatus(PedometerBindings _lib) { return _lib._objc_msgSend_977( - _lib._class_CMPedometer1, _lib._sel_authorizationStatus1); + _lib._class_CMPedometer1, + _lib._sel_authorizationStatus1, + ); } - void queryPedometerDataFromDate_toDate_withHandler_(NSDate start, NSDate end, - ObjCBlock_ffiVoid_CMPedometerData_NSError handler) { + void queryPedometerDataFromDate_toDate_withHandler_( + NSDate start, + NSDate end, + ObjCBlock_ffiVoid_CMPedometerData_NSError handler, + ) { _lib._objc_msgSend_978( - _id, - _lib._sel_queryPedometerDataFromDate_toDate_withHandler_1, - start._id, - end._id, - handler._id); + _id, + _lib._sel_queryPedometerDataFromDate_toDate_withHandler_1, + start._id, + end._id, + handler._id, + ); } void startPedometerUpdatesFromDate_withHandler_( - NSDate start, ObjCBlock_ffiVoid_CMPedometerData_NSError handler) { + NSDate start, + ObjCBlock_ffiVoid_CMPedometerData_NSError handler, + ) { _lib._objc_msgSend_979( - _id, - _lib._sel_startPedometerUpdatesFromDate_withHandler_1, - start._id, - handler._id); + _id, + _lib._sel_startPedometerUpdatesFromDate_withHandler_1, + start._id, + handler._id, + ); } void stopPedometerUpdates() { @@ -66498,9 +86011,13 @@ class CMPedometer extends NSObject { } void startPedometerEventUpdatesWithHandler_( - ObjCBlock_ffiVoid_CMPedometerEvent_NSError handler) { + ObjCBlock_ffiVoid_CMPedometerEvent_NSError handler, + ) { _lib._objc_msgSend_981( - _id, _lib._sel_startPedometerEventUpdatesWithHandler_1, handler._id); + _id, + _lib._sel_startPedometerEventUpdatesWithHandler_1, + handler._id, + ); } void stopPedometerEventUpdates() { @@ -66519,78 +86036,114 @@ class CMPedometer extends NSObject { } static CMPedometer allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CMPedometer1, _lib._sel_allocWithZone_1, zone); + _lib._class_CMPedometer1, + _lib._sel_allocWithZone_1, + zone, + ); return CMPedometer._(_ret, _lib, retain: false, release: true); } static CMPedometer alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CMPedometer1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CMPedometer1, + _lib._sel_alloc1, + ); return CMPedometer._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CMPedometer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CMPedometer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CMPedometer1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CMPedometer1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometer1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_CMPedometer1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometer1, _lib._sel_useStoredAccessor1); + _lib._class_CMPedometer1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CMPedometer1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CMPedometer1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CMPedometer1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CMPedometer1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CMPedometer1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CMPedometer1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CMPedometer1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CMPedometer1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CMPedometer1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CMPedometer1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -66603,40 +86156,49 @@ abstract class CMAuthorizationStatus { } void _ObjCBlock_ffiVoid_CMPedometerData_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_CMPedometerData_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_CMPedometerData_NSError_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_CMPedometerData_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_CMPedometerData_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_CMPedometerData_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -66644,23 +86206,32 @@ class ObjCBlock_ffiVoid_CMPedometerData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_CMPedometerData_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_CMPedometerData_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_CMPedometerData_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66669,19 +86240,33 @@ class ObjCBlock_ffiVoid_CMPedometerData_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_CMPedometerData_NSError.fromFunction( - PedometerBindings lib, void Function(CMPedometerData?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_CMPedometerData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : CMPedometerData._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(CMPedometerData?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_CMPedometerData_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : CMPedometerData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66694,63 +86279,97 @@ class ObjCBlock_ffiVoid_CMPedometerData_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_CMPedometerData_NSError.listener( - PedometerBindings lib, void Function(CMPedometerData?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_CMPedometerData_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : CMPedometerData._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(CMPedometerData?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_CMPedometerData_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_CMPedometerData_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : CMPedometerData._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(CMPedometerData? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } class CMPedometerData extends NSObject { - CMPedometerData._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CMPedometerData._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CMPedometerData] that points to the same underlying object as [other]. static CMPedometerData castFrom(T other) { - return CMPedometerData._(other._id, other._lib, - retain: true, release: true); + return CMPedometerData._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [CMPedometerData] that wraps the given raw object pointer. static CMPedometerData castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CMPedometerData._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CMPedometerData]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_CMPedometerData1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CMPedometerData1, + ); } NSDate get startDate { @@ -66817,123 +86436,170 @@ class CMPedometerData extends NSObject { } static CMPedometerData new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CMPedometerData1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CMPedometerData1, + _lib._sel_new1, + ); return CMPedometerData._(_ret, _lib, retain: false, release: true); } static CMPedometerData allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CMPedometerData1, _lib._sel_allocWithZone_1, zone); + _lib._class_CMPedometerData1, + _lib._sel_allocWithZone_1, + zone, + ); return CMPedometerData._(_ret, _lib, retain: false, release: true); } static CMPedometerData alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CMPedometerData1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CMPedometerData1, + _lib._sel_alloc1, + ); return CMPedometerData._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CMPedometerData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CMPedometerData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CMPedometerData1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CMPedometerData1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CMPedometerData1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_CMPedometerData1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometerData1, _lib._sel_useStoredAccessor1); + _lib._class_CMPedometerData1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CMPedometerData1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CMPedometerData1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CMPedometerData1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CMPedometerData1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CMPedometerData1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CMPedometerData1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_CMPedometerData1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_CMPedometerData1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CMPedometerData1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CMPedometerData1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureRegistryIndex = 0; ffi.Pointer - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { +_ObjCBlock_ffiVoid_CMPedometerEvent_NSError_registerClosure( + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_CMPedometerEvent_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_CMPedometerEvent_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -66941,23 +86607,32 @@ class ObjCBlock_ffiVoid_CMPedometerEvent_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_CMPedometerEvent_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_fnPtrTrampoline, + ).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -66966,19 +86641,33 @@ class ObjCBlock_ffiVoid_CMPedometerEvent_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_CMPedometerEvent_NSError.fromFunction( - PedometerBindings lib, void Function(CMPedometerEvent?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 ? null : CMPedometerEvent._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(CMPedometerEvent?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >( + _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline, + ).cast(), + _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : CMPedometerEvent._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -66991,63 +86680,97 @@ class ObjCBlock_ffiVoid_CMPedometerEvent_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_CMPedometerEvent_NSError.listener( - PedometerBindings lib, void Function(CMPedometerEvent?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : CMPedometerEvent._(arg0, lib, - retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(CMPedometerEvent?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_CMPedometerEvent_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : CMPedometerEvent._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(CMPedometerEvent? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } class CMPedometerEvent extends NSObject { - CMPedometerEvent._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CMPedometerEvent._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CMPedometerEvent] that points to the same underlying object as [other]. static CMPedometerEvent castFrom(T other) { - return CMPedometerEvent._(other._id, other._lib, - retain: true, release: true); + return CMPedometerEvent._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [CMPedometerEvent] that wraps the given raw object pointer. static CMPedometerEvent castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CMPedometerEvent._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CMPedometerEvent]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_CMPedometerEvent1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CMPedometerEvent1, + ); } NSDate get date { @@ -67066,84 +86789,122 @@ class CMPedometerEvent extends NSObject { } static CMPedometerEvent new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CMPedometerEvent1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CMPedometerEvent1, + _lib._sel_new1, + ); return CMPedometerEvent._(_ret, _lib, retain: false, release: true); } static CMPedometerEvent allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CMPedometerEvent1, _lib._sel_allocWithZone_1, zone); + _lib._class_CMPedometerEvent1, + _lib._sel_allocWithZone_1, + zone, + ); return CMPedometerEvent._(_ret, _lib, retain: false, release: true); } static CMPedometerEvent alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CMPedometerEvent1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CMPedometerEvent1, + _lib._sel_alloc1, + ); return CMPedometerEvent._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CMPedometerEvent1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CMPedometerEvent1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CMPedometerEvent1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CMPedometerEvent1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CMPedometerEvent1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_CMPedometerEvent1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CMPedometerEvent1, _lib._sel_useStoredAccessor1); + _lib._class_CMPedometerEvent1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CMPedometerEvent1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CMPedometerEvent1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CMPedometerEvent1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CMPedometerEvent1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CMPedometerEvent1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CMPedometerEvent1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_CMPedometerEvent1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_CMPedometerEvent1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CMPedometerEvent1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CMPedometerEvent1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -67154,27 +86915,40 @@ abstract class CMPedometerEventType { } class CLLocationManager extends NSObject { - CLLocationManager._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLLocationManager._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLLocationManager] that points to the same underlying object as [other]. static CLLocationManager castFrom(T other) { - return CLLocationManager._(other._id, other._lib, - retain: true, release: true); + return CLLocationManager._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [CLLocationManager] that wraps the given raw object pointer. static CLLocationManager castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLLocationManager._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLLocationManager]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_CLLocationManager1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLLocationManager1, + ); } bool get locationServicesEnabled { @@ -67186,30 +86960,44 @@ class CLLocationManager extends NSObject { } static bool significantLocationChangeMonitoringAvailable( - PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CLLocationManager1, - _lib._sel_significantLocationChangeMonitoringAvailable1); + PedometerBindings _lib, + ) { + return _lib._objc_msgSend_12( + _lib._class_CLLocationManager1, + _lib._sel_significantLocationChangeMonitoringAvailable1, + ); } static bool isMonitoringAvailableForClass_( - PedometerBindings _lib, NSObject regionClass) { - return _lib._objc_msgSend_0(_lib._class_CLLocationManager1, - _lib._sel_isMonitoringAvailableForClass_1, regionClass._id); + PedometerBindings _lib, + NSObject regionClass, + ) { + return _lib._objc_msgSend_0( + _lib._class_CLLocationManager1, + _lib._sel_isMonitoringAvailableForClass_1, + regionClass._id, + ); } static bool regionMonitoringAvailable(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLLocationManager1, _lib._sel_regionMonitoringAvailable1); + _lib._class_CLLocationManager1, + _lib._sel_regionMonitoringAvailable1, + ); } static bool regionMonitoringEnabled(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLLocationManager1, _lib._sel_regionMonitoringEnabled1); + _lib._class_CLLocationManager1, + _lib._sel_regionMonitoringEnabled1, + ); } static bool isRangingAvailable(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLLocationManager1, _lib._sel_isRangingAvailable1); + _lib._class_CLLocationManager1, + _lib._sel_isRangingAvailable1, + ); } int get authorizationStatus { @@ -67233,7 +87021,10 @@ class CLLocationManager extends NSObject { set delegate(NSObject? value) { return _lib._objc_msgSend_372( - _id, _lib._sel_setDelegate_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setDelegate_1, + value?._id ?? ffi.nullptr, + ); } NSString? get purpose { @@ -67245,7 +87036,10 @@ class CLLocationManager extends NSObject { set purpose(NSString? value) { return _lib._objc_msgSend_501( - _id, _lib._sel_setPurpose_1, value?._id ?? ffi.nullptr); + _id, + _lib._sel_setPurpose_1, + value?._id ?? ffi.nullptr, + ); } int get activityType { @@ -67278,32 +87072,47 @@ class CLLocationManager extends NSObject { bool get pausesLocationUpdatesAutomatically { return _lib._objc_msgSend_12( - _id, _lib._sel_pausesLocationUpdatesAutomatically1); + _id, + _lib._sel_pausesLocationUpdatesAutomatically1, + ); } set pausesLocationUpdatesAutomatically(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setPausesLocationUpdatesAutomatically_1, value); + _id, + _lib._sel_setPausesLocationUpdatesAutomatically_1, + value, + ); } bool get allowsBackgroundLocationUpdates { return _lib._objc_msgSend_12( - _id, _lib._sel_allowsBackgroundLocationUpdates1); + _id, + _lib._sel_allowsBackgroundLocationUpdates1, + ); } set allowsBackgroundLocationUpdates(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setAllowsBackgroundLocationUpdates_1, value); + _id, + _lib._sel_setAllowsBackgroundLocationUpdates_1, + value, + ); } bool get showsBackgroundLocationIndicator { return _lib._objc_msgSend_12( - _id, _lib._sel_showsBackgroundLocationIndicator1); + _id, + _lib._sel_showsBackgroundLocationIndicator1, + ); } set showsBackgroundLocationIndicator(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setShowsBackgroundLocationIndicator_1, value); + _id, + _lib._sel_setShowsBackgroundLocationIndicator_1, + value, + ); } CLLocation? get location { @@ -67329,7 +87138,10 @@ class CLLocationManager extends NSObject { set headingOrientation(int value) { return _lib._objc_msgSend_998( - _id, _lib._sel_setHeadingOrientation_1, value); + _id, + _lib._sel_setHeadingOrientation_1, + value, + ); } CLHeading? get heading { @@ -67342,9 +87154,13 @@ class CLLocationManager extends NSObject { double get maximumRegionMonitoringDistance { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_157_fpret( - _id, _lib._sel_maximumRegionMonitoringDistance1) + _id, + _lib._sel_maximumRegionMonitoringDistance1, + ) : _lib._objc_msgSend_157( - _id, _lib._sel_maximumRegionMonitoringDistance1); + _id, + _lib._sel_maximumRegionMonitoringDistance1, + ); } NSSet get monitoredRegions { @@ -67358,8 +87174,10 @@ class CLLocationManager extends NSObject { } NSSet get rangedBeaconConstraints { - final _ret = - _lib._objc_msgSend_448(_id, _lib._sel_rangedBeaconConstraints1); + final _ret = _lib._objc_msgSend_448( + _id, + _lib._sel_rangedBeaconConstraints1, + ); return NSSet._(_ret, _lib, retain: true, release: true); } @@ -67372,20 +87190,25 @@ class CLLocationManager extends NSObject { } void requestTemporaryFullAccuracyAuthorizationWithPurposeKey_completion_( - NSString purposeKey, ObjCBlock_ffiVoid_NSError? completion) { + NSString purposeKey, + ObjCBlock_ffiVoid_NSError? completion, + ) { _lib._objc_msgSend_1000( - _id, - _lib._sel_requestTemporaryFullAccuracyAuthorizationWithPurposeKey_completion_1, - purposeKey._id, - completion?._id ?? ffi.nullptr); + _id, + _lib._sel_requestTemporaryFullAccuracyAuthorizationWithPurposeKey_completion_1, + purposeKey._id, + completion?._id ?? ffi.nullptr, + ); } void requestTemporaryFullAccuracyAuthorizationWithPurposeKey_( - NSString purposeKey) { + NSString purposeKey, + ) { _lib._objc_msgSend_199( - _id, - _lib._sel_requestTemporaryFullAccuracyAuthorizationWithPurposeKey_1, - purposeKey._id); + _id, + _lib._sel_requestTemporaryFullAccuracyAuthorizationWithPurposeKey_1, + purposeKey._id, + ); } void startUpdatingLocation() { @@ -67414,20 +87237,26 @@ class CLLocationManager extends NSObject { void startMonitoringSignificantLocationChanges() { _lib._objc_msgSend_1( - _id, _lib._sel_startMonitoringSignificantLocationChanges1); + _id, + _lib._sel_startMonitoringSignificantLocationChanges1, + ); } void stopMonitoringSignificantLocationChanges() { _lib._objc_msgSend_1( - _id, _lib._sel_stopMonitoringSignificantLocationChanges1); + _id, + _lib._sel_stopMonitoringSignificantLocationChanges1, + ); } void startMonitoringLocationPushesWithCompletion_( - ObjCBlock_ffiVoid_NSData_NSError? completion) { + ObjCBlock_ffiVoid_NSData_NSError? completion, + ) { _lib._objc_msgSend_1001( - _id, - _lib._sel_startMonitoringLocationPushesWithCompletion_1, - completion?._id ?? ffi.nullptr); + _id, + _lib._sel_startMonitoringLocationPushesWithCompletion_1, + completion?._id ?? ffi.nullptr, + ); } void stopMonitoringLocationPushes() { @@ -67435,22 +87264,31 @@ class CLLocationManager extends NSObject { } void startMonitoringForRegion_desiredAccuracy_( - CLRegion region, double accuracy) { + CLRegion region, + double accuracy, + ) { _lib._objc_msgSend_1004( - _id, - _lib._sel_startMonitoringForRegion_desiredAccuracy_1, - region._id, - accuracy); + _id, + _lib._sel_startMonitoringForRegion_desiredAccuracy_1, + region._id, + accuracy, + ); } void stopMonitoringForRegion_(CLRegion region) { _lib._objc_msgSend_1005( - _id, _lib._sel_stopMonitoringForRegion_1, region._id); + _id, + _lib._sel_stopMonitoringForRegion_1, + region._id, + ); } void startMonitoringForRegion_(CLRegion region) { _lib._objc_msgSend_1005( - _id, _lib._sel_startMonitoringForRegion_1, region._id); + _id, + _lib._sel_startMonitoringForRegion_1, + region._id, + ); } void requestStateForRegion_(CLRegion region) { @@ -67459,33 +87297,50 @@ class CLLocationManager extends NSObject { void startRangingBeaconsInRegion_(CLBeaconRegion region) { _lib._objc_msgSend_1019( - _id, _lib._sel_startRangingBeaconsInRegion_1, region._id); + _id, + _lib._sel_startRangingBeaconsInRegion_1, + region._id, + ); } void stopRangingBeaconsInRegion_(CLBeaconRegion region) { _lib._objc_msgSend_1019( - _id, _lib._sel_stopRangingBeaconsInRegion_1, region._id); + _id, + _lib._sel_stopRangingBeaconsInRegion_1, + region._id, + ); } void startRangingBeaconsSatisfyingConstraint_( - CLBeaconIdentityConstraint constraint) { - _lib._objc_msgSend_1020(_id, - _lib._sel_startRangingBeaconsSatisfyingConstraint_1, constraint._id); + CLBeaconIdentityConstraint constraint, + ) { + _lib._objc_msgSend_1020( + _id, + _lib._sel_startRangingBeaconsSatisfyingConstraint_1, + constraint._id, + ); } void stopRangingBeaconsSatisfyingConstraint_( - CLBeaconIdentityConstraint constraint) { - _lib._objc_msgSend_1020(_id, - _lib._sel_stopRangingBeaconsSatisfyingConstraint_1, constraint._id); + CLBeaconIdentityConstraint constraint, + ) { + _lib._objc_msgSend_1020( + _id, + _lib._sel_stopRangingBeaconsSatisfyingConstraint_1, + constraint._id, + ); } void allowDeferredLocationUpdatesUntilTraveled_timeout_( - double distance, double timeout) { + double distance, + double timeout, + ) { _lib._objc_msgSend_1021( - _id, - _lib._sel_allowDeferredLocationUpdatesUntilTraveled_timeout_1, - distance, - timeout); + _id, + _lib._sel_allowDeferredLocationUpdatesUntilTraveled_timeout_1, + distance, + timeout, + ); } void disallowDeferredLocationUpdates() { @@ -67493,20 +87348,24 @@ class CLLocationManager extends NSObject { } static bool deferredLocationUpdatesAvailable(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CLLocationManager1, - _lib._sel_deferredLocationUpdatesAvailable1); + return _lib._objc_msgSend_12( + _lib._class_CLLocationManager1, + _lib._sel_deferredLocationUpdatesAvailable1, + ); } void requestHistoricalLocationsWithPurposeKey_sampleCount_completionHandler_( - NSString purposeKey, - int sampleCount, - ObjCBlock_ffiVoid_NSArray_NSError handler) { + NSString purposeKey, + int sampleCount, + ObjCBlock_ffiVoid_NSArray_NSError handler, + ) { _lib._objc_msgSend_1022( - _id, - _lib._sel_requestHistoricalLocationsWithPurposeKey_sampleCount_completionHandler_1, - purposeKey._id, - sampleCount, - handler._id); + _id, + _lib._sel_requestHistoricalLocationsWithPurposeKey_sampleCount_completionHandler_1, + purposeKey._id, + sampleCount, + handler._id, + ); } void startMonitoringVisits() { @@ -67524,84 +87383,122 @@ class CLLocationManager extends NSObject { } static CLLocationManager new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CLLocationManager1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLLocationManager1, + _lib._sel_new1, + ); return CLLocationManager._(_ret, _lib, retain: false, release: true); } static CLLocationManager allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLLocationManager1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLLocationManager1, + _lib._sel_allocWithZone_1, + zone, + ); return CLLocationManager._(_ret, _lib, retain: false, release: true); } static CLLocationManager alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CLLocationManager1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLLocationManager1, + _lib._sel_alloc1, + ); return CLLocationManager._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLLocationManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLLocationManager1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLLocationManager1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLLocationManager1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CLLocationManager1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_CLLocationManager1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLLocationManager1, _lib._sel_useStoredAccessor1); + _lib._class_CLLocationManager1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLLocationManager1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLLocationManager1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLLocationManager1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLLocationManager1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLLocationManager1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLLocationManager1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_CLLocationManager1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_CLLocationManager1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLLocationManager1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLLocationManager1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -67629,9 +87526,12 @@ abstract class CLActivityType { } class CLLocation extends NSObject { - CLLocation._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLLocation._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLLocation] that points to the same underlying object as [other]. static CLLocation castFrom(T other) { @@ -67640,114 +87540,132 @@ class CLLocation extends NSObject { /// Returns a [CLLocation] that wraps the given raw object pointer. static CLLocation castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLLocation._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLLocation]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_CLLocation1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLLocation1, + ); } CLLocation initWithLatitude_longitude_(double latitude, double longitude) { final _ret = _lib._objc_msgSend_986( - _id, _lib._sel_initWithLatitude_longitude_1, latitude, longitude); + _id, + _lib._sel_initWithLatitude_longitude_1, + latitude, + longitude, + ); return CLLocation._(_ret, _lib, retain: true, release: true); } CLLocation - initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_timestamp_( - CLLocationCoordinate2D coordinate, - double altitude, - double hAccuracy, - double vAccuracy, - NSDate timestamp) { + initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_timestamp_( + CLLocationCoordinate2D coordinate, + double altitude, + double hAccuracy, + double vAccuracy, + NSDate timestamp, + ) { final _ret = _lib._objc_msgSend_987( - _id, - _lib._sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_timestamp_1, - coordinate, - altitude, - hAccuracy, - vAccuracy, - timestamp._id); + _id, + _lib._sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_timestamp_1, + coordinate, + altitude, + hAccuracy, + vAccuracy, + timestamp._id, + ); return CLLocation._(_ret, _lib, retain: true, release: true); } CLLocation - initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_speed_timestamp_( - CLLocationCoordinate2D coordinate, - double altitude, - double hAccuracy, - double vAccuracy, - double course, - double speed, - NSDate timestamp) { + initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_speed_timestamp_( + CLLocationCoordinate2D coordinate, + double altitude, + double hAccuracy, + double vAccuracy, + double course, + double speed, + NSDate timestamp, + ) { final _ret = _lib._objc_msgSend_988( - _id, - _lib._sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_speed_timestamp_1, - coordinate, - altitude, - hAccuracy, - vAccuracy, - course, - speed, - timestamp._id); + _id, + _lib._sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_speed_timestamp_1, + coordinate, + altitude, + hAccuracy, + vAccuracy, + course, + speed, + timestamp._id, + ); return CLLocation._(_ret, _lib, retain: true, release: true); } CLLocation - initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_( - CLLocationCoordinate2D coordinate, - double altitude, - double hAccuracy, - double vAccuracy, - double course, - double courseAccuracy, - double speed, - double speedAccuracy, - NSDate timestamp) { + initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_( + CLLocationCoordinate2D coordinate, + double altitude, + double hAccuracy, + double vAccuracy, + double course, + double courseAccuracy, + double speed, + double speedAccuracy, + NSDate timestamp, + ) { final _ret = _lib._objc_msgSend_989( - _id, - _lib._sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_1, - coordinate, - altitude, - hAccuracy, - vAccuracy, - course, - courseAccuracy, - speed, - speedAccuracy, - timestamp._id); + _id, + _lib._sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_1, + coordinate, + altitude, + hAccuracy, + vAccuracy, + course, + courseAccuracy, + speed, + speedAccuracy, + timestamp._id, + ); return CLLocation._(_ret, _lib, retain: true, release: true); } CLLocation - initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_sourceInfo_( - CLLocationCoordinate2D coordinate, - double altitude, - double hAccuracy, - double vAccuracy, - double course, - double courseAccuracy, - double speed, - double speedAccuracy, - NSDate timestamp, - CLLocationSourceInformation sourceInfo) { + initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_sourceInfo_( + CLLocationCoordinate2D coordinate, + double altitude, + double hAccuracy, + double vAccuracy, + double course, + double courseAccuracy, + double speed, + double speedAccuracy, + NSDate timestamp, + CLLocationSourceInformation sourceInfo, + ) { final _ret = _lib._objc_msgSend_991( - _id, - _lib._sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_sourceInfo_1, - coordinate, - altitude, - hAccuracy, - vAccuracy, - course, - courseAccuracy, - speed, - speedAccuracy, - timestamp._id, - sourceInfo._id); + _id, + _lib._sel_initWithCoordinate_altitude_horizontalAccuracy_verticalAccuracy_course_courseAccuracy_speed_speedAccuracy_timestamp_sourceInfo_1, + coordinate, + altitude, + hAccuracy, + vAccuracy, + course, + courseAccuracy, + speed, + speedAccuracy, + timestamp._id, + sourceInfo._id, + ); return CLLocation._(_ret, _lib, retain: true, release: true); } @@ -67821,24 +87739,40 @@ class CLLocation extends NSObject { final _ret = _lib._objc_msgSend_994(_id, _lib._sel_sourceInformation1); return _ret.address == 0 ? null - : CLLocationSourceInformation._(_ret, _lib, - retain: true, release: true); + : CLLocationSourceInformation._( + _ret, + _lib, + retain: true, + release: true, + ); } double getDistanceFrom_(CLLocation location) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_995_fpret( - _id, _lib._sel_getDistanceFrom_1, location._id) + _id, + _lib._sel_getDistanceFrom_1, + location._id, + ) : _lib._objc_msgSend_995( - _id, _lib._sel_getDistanceFrom_1, location._id); + _id, + _lib._sel_getDistanceFrom_1, + location._id, + ); } double distanceFromLocation_(CLLocation location) { return _lib._objc_msgSend_useVariants1 ? _lib._objc_msgSend_995_fpret( - _id, _lib._sel_distanceFromLocation_1, location._id) + _id, + _lib._sel_distanceFromLocation_1, + location._id, + ) : _lib._objc_msgSend_995( - _id, _lib._sel_distanceFromLocation_1, location._id); + _id, + _lib._sel_distanceFromLocation_1, + location._id, + ); } @override @@ -67853,78 +87787,114 @@ class CLLocation extends NSObject { } static CLLocation allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLLocation1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLLocation1, + _lib._sel_allocWithZone_1, + zone, + ); return CLLocation._(_ret, _lib, retain: false, release: true); } static CLLocation alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CLLocation1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLLocation1, + _lib._sel_alloc1, + ); return CLLocation._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLLocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLLocation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLLocation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLLocation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLLocation1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_CLLocation1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLLocation1, _lib._sel_useStoredAccessor1); + _lib._class_CLLocation1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLLocation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLLocation1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLLocation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLLocation1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLLocation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLLocation1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CLLocation1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CLLocation1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLLocation1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLLocation1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -67939,40 +87909,63 @@ final class CLLocationCoordinate2D extends ffi.Struct { class CLLocationSourceInformation extends NSObject { CLLocationSourceInformation._( - ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLLocationSourceInformation] that points to the same underlying object as [other]. static CLLocationSourceInformation castFrom(T other) { - return CLLocationSourceInformation._(other._id, other._lib, - retain: true, release: true); + return CLLocationSourceInformation._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [CLLocationSourceInformation] that wraps the given raw object pointer. static CLLocationSourceInformation castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return CLLocationSourceInformation._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return CLLocationSourceInformation._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [CLLocationSourceInformation]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_CLLocationSourceInformation1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLLocationSourceInformation1, + ); } CLLocationSourceInformation - initWithSoftwareSimulationState_andExternalAccessoryState_( - bool isSoftware, bool isAccessory) { + initWithSoftwareSimulationState_andExternalAccessoryState_( + bool isSoftware, + bool isAccessory, + ) { final _ret = _lib._objc_msgSend_990( - _id, - _lib._sel_initWithSoftwareSimulationState_andExternalAccessoryState_1, - isSoftware, - isAccessory); - return CLLocationSourceInformation._(_ret, _lib, - retain: true, release: true); + _id, + _lib._sel_initWithSoftwareSimulationState_andExternalAccessoryState_1, + isSoftware, + isAccessory, + ); + return CLLocationSourceInformation._( + _ret, + _lib, + retain: true, + release: true, + ); } bool get isSimulatedBySoftware { @@ -67986,100 +87979,157 @@ class CLLocationSourceInformation extends NSObject { @override CLLocationSourceInformation init() { final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return CLLocationSourceInformation._(_ret, _lib, - retain: true, release: true); + return CLLocationSourceInformation._( + _ret, + _lib, + retain: true, + release: true, + ); } static CLLocationSourceInformation new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLLocationSourceInformation1, _lib._sel_new1); - return CLLocationSourceInformation._(_ret, _lib, - retain: false, release: true); + _lib._class_CLLocationSourceInformation1, + _lib._sel_new1, + ); + return CLLocationSourceInformation._( + _ret, + _lib, + retain: false, + release: true, + ); } static CLLocationSourceInformation allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_CLLocationSourceInformation1, - _lib._sel_allocWithZone_1, zone); - return CLLocationSourceInformation._(_ret, _lib, - retain: false, release: true); + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_CLLocationSourceInformation1, + _lib._sel_allocWithZone_1, + zone, + ); + return CLLocationSourceInformation._( + _ret, + _lib, + retain: false, + release: true, + ); } static CLLocationSourceInformation alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLLocationSourceInformation1, _lib._sel_alloc1); - return CLLocationSourceInformation._(_ret, _lib, - retain: false, release: true); + _lib._class_CLLocationSourceInformation1, + _lib._sel_alloc1, + ); + return CLLocationSourceInformation._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLLocationSourceInformation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLLocationSourceInformation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLLocationSourceInformation1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLLocationSourceInformation1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CLLocationSourceInformation1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_CLLocationSourceInformation1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLLocationSourceInformation1, _lib._sel_useStoredAccessor1); + _lib._class_CLLocationSourceInformation1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLLocationSourceInformation1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLLocationSourceInformation1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLLocationSourceInformation1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLLocationSourceInformation1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLLocationSourceInformation1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLLocationSourceInformation1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_CLLocationSourceInformation1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_CLLocationSourceInformation1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_CLLocationSourceInformation1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLLocationSourceInformation1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class CLFloor extends NSObject { - CLFloor._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLFloor._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLFloor] that points to the same underlying object as [other]. static CLFloor castFrom(T other) { @@ -68088,15 +88138,21 @@ class CLFloor extends NSObject { /// Returns a [CLFloor] that wraps the given raw object pointer. static CLFloor castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLFloor._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLFloor]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_CLFloor1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLFloor1, + ); } int get level { @@ -68115,9 +88171,14 @@ class CLFloor extends NSObject { } static CLFloor allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLFloor1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLFloor1, + _lib._sel_allocWithZone_1, + zone, + ); return CLFloor._(_ret, _lib, retain: false, release: true); } @@ -68127,65 +88188,94 @@ class CLFloor extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLFloor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLFloor1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLFloor1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLFloor1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLFloor1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_CLFloor1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLFloor1, _lib._sel_useStoredAccessor1); + _lib._class_CLFloor1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLFloor1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLFloor1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLFloor1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLFloor1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLFloor1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLFloor1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CLFloor1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CLFloor1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLFloor1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLFloor1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } @@ -68201,9 +88291,12 @@ abstract class CLDeviceOrientation { } class CLHeading extends NSObject { - CLHeading._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLHeading._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLHeading] that points to the same underlying object as [other]. static CLHeading castFrom(T other) { @@ -68212,15 +88305,21 @@ class CLHeading extends NSObject { /// Returns a [CLHeading] that wraps the given raw object pointer. static CLHeading castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLHeading._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLHeading]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_CLHeading1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLHeading1, + ); } double get magneticHeading { @@ -68276,9 +88375,14 @@ class CLHeading extends NSObject { } static CLHeading allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLHeading1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLHeading1, + _lib._sel_allocWithZone_1, + zone, + ); return CLHeading._(_ret, _lib, retain: false, release: true); } @@ -68288,73 +88392,105 @@ class CLHeading extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLHeading1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLHeading1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLHeading1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLHeading1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLHeading1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_CLHeading1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLHeading1, _lib._sel_useStoredAccessor1); + _lib._class_CLHeading1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLHeading1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLHeading1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLHeading1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLHeading1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLHeading1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLHeading1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CLHeading1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CLHeading1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLHeading1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLHeading1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class CLRegion extends NSObject { - CLRegion._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLRegion._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLRegion] that points to the same underlying object as [other]. static CLRegion castFrom(T other) { @@ -68363,25 +88499,35 @@ class CLRegion extends NSObject { /// Returns a [CLRegion] that wraps the given raw object pointer. static CLRegion castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLRegion._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLRegion]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_CLRegion1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLRegion1, + ); } CLRegion initCircularRegionWithCenter_radius_identifier_( - CLLocationCoordinate2D center, double radius, NSString identifier) { + CLLocationCoordinate2D center, + double radius, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1002( - _id, - _lib._sel_initCircularRegionWithCenter_radius_identifier_1, - center, - radius, - identifier._id); + _id, + _lib._sel_initCircularRegionWithCenter_radius_identifier_1, + center, + radius, + identifier._id, + ); return CLRegion._(_ret, _lib, retain: true, release: true); } @@ -68420,7 +88566,10 @@ class CLRegion extends NSObject { bool containsCoordinate_(CLLocationCoordinate2D coordinate) { return _lib._objc_msgSend_1003( - _id, _lib._sel_containsCoordinate_1, coordinate); + _id, + _lib._sel_containsCoordinate_1, + coordinate, + ); } @override @@ -68435,9 +88584,14 @@ class CLRegion extends NSObject { } static CLRegion allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLRegion1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLRegion1, + _lib._sel_allocWithZone_1, + zone, + ); return CLRegion._(_ret, _lib, retain: false, release: true); } @@ -68447,73 +88601,105 @@ class CLRegion extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLRegion1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLRegion1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLRegion1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLRegion1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLRegion1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_CLRegion1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLRegion1, _lib._sel_useStoredAccessor1); + _lib._class_CLRegion1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLRegion1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLRegion1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLRegion1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLRegion1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLRegion1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLRegion1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CLRegion1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CLRegion1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLRegion1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLRegion1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class CLBeaconRegion extends CLRegion { - CLBeaconRegion._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLBeaconRegion._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLBeaconRegion] that points to the same underlying object as [other]. static CLBeaconRegion castFrom(T other) { @@ -68522,104 +88708,145 @@ class CLBeaconRegion extends CLRegion { /// Returns a [CLBeaconRegion] that wraps the given raw object pointer. static CLBeaconRegion castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLBeaconRegion._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLBeaconRegion]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_CLBeaconRegion1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLBeaconRegion1, + ); } CLBeaconRegion initWithUUID_identifier_(NSUUID uuid, NSString identifier) { final _ret = _lib._objc_msgSend_1009( - _id, _lib._sel_initWithUUID_identifier_1, uuid._id, identifier._id); + _id, + _lib._sel_initWithUUID_identifier_1, + uuid._id, + identifier._id, + ); return CLBeaconRegion._(_ret, _lib, retain: true, release: true); } CLBeaconRegion initWithProximityUUID_identifier_( - NSUUID proximityUUID, NSString identifier) { + NSUUID proximityUUID, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1009( - _id, - _lib._sel_initWithProximityUUID_identifier_1, - proximityUUID._id, - identifier._id); + _id, + _lib._sel_initWithProximityUUID_identifier_1, + proximityUUID._id, + identifier._id, + ); return CLBeaconRegion._(_ret, _lib, retain: true, release: true); } CLBeaconRegion initWithUUID_major_identifier_( - NSUUID uuid, int major, NSString identifier) { + NSUUID uuid, + int major, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1010( - _id, - _lib._sel_initWithUUID_major_identifier_1, - uuid._id, - major, - identifier._id); + _id, + _lib._sel_initWithUUID_major_identifier_1, + uuid._id, + major, + identifier._id, + ); return CLBeaconRegion._(_ret, _lib, retain: true, release: true); } CLBeaconRegion initWithProximityUUID_major_identifier_( - NSUUID proximityUUID, int major, NSString identifier) { + NSUUID proximityUUID, + int major, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1010( - _id, - _lib._sel_initWithProximityUUID_major_identifier_1, - proximityUUID._id, - major, - identifier._id); + _id, + _lib._sel_initWithProximityUUID_major_identifier_1, + proximityUUID._id, + major, + identifier._id, + ); return CLBeaconRegion._(_ret, _lib, retain: true, release: true); } CLBeaconRegion initWithUUID_major_minor_identifier_( - NSUUID uuid, int major, int minor, NSString identifier) { + NSUUID uuid, + int major, + int minor, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1011( - _id, - _lib._sel_initWithUUID_major_minor_identifier_1, - uuid._id, - major, - minor, - identifier._id); + _id, + _lib._sel_initWithUUID_major_minor_identifier_1, + uuid._id, + major, + minor, + identifier._id, + ); return CLBeaconRegion._(_ret, _lib, retain: true, release: true); } CLBeaconRegion initWithProximityUUID_major_minor_identifier_( - NSUUID proximityUUID, int major, int minor, NSString identifier) { + NSUUID proximityUUID, + int major, + int minor, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1011( - _id, - _lib._sel_initWithProximityUUID_major_minor_identifier_1, - proximityUUID._id, - major, - minor, - identifier._id); + _id, + _lib._sel_initWithProximityUUID_major_minor_identifier_1, + proximityUUID._id, + major, + minor, + identifier._id, + ); return CLBeaconRegion._(_ret, _lib, retain: true, release: true); } CLBeaconRegion initWithBeaconIdentityConstraint_identifier_( - CLBeaconIdentityConstraint beaconIdentityConstraint, - NSString identifier) { + CLBeaconIdentityConstraint beaconIdentityConstraint, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1016( - _id, - _lib._sel_initWithBeaconIdentityConstraint_identifier_1, - beaconIdentityConstraint._id, - identifier._id); + _id, + _lib._sel_initWithBeaconIdentityConstraint_identifier_1, + beaconIdentityConstraint._id, + identifier._id, + ); return CLBeaconRegion._(_ret, _lib, retain: true, release: true); } NSMutableDictionary peripheralDataWithMeasuredPower_( - NSNumber? measuredPower) { + NSNumber? measuredPower, + ) { final _ret = _lib._objc_msgSend_1017( - _id, - _lib._sel_peripheralDataWithMeasuredPower_1, - measuredPower?._id ?? ffi.nullptr); + _id, + _lib._sel_peripheralDataWithMeasuredPower_1, + measuredPower?._id ?? ffi.nullptr, + ); return NSMutableDictionary._(_ret, _lib, retain: true, release: true); } CLBeaconIdentityConstraint get beaconIdentityConstraint { - final _ret = - _lib._objc_msgSend_1018(_id, _lib._sel_beaconIdentityConstraint1); - return CLBeaconIdentityConstraint._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_1018( + _id, + _lib._sel_beaconIdentityConstraint1, + ); + return CLBeaconIdentityConstraint._( + _ret, + _lib, + retain: true, + release: true, + ); } NSUUID get UUID { @@ -68652,18 +88879,25 @@ class CLBeaconRegion extends CLRegion { set notifyEntryStateOnDisplay(bool value) { return _lib._objc_msgSend_483( - _id, _lib._sel_setNotifyEntryStateOnDisplay_1, value); + _id, + _lib._sel_setNotifyEntryStateOnDisplay_1, + value, + ); } @override CLBeaconRegion initCircularRegionWithCenter_radius_identifier_( - CLLocationCoordinate2D center, double radius, NSString identifier) { + CLLocationCoordinate2D center, + double radius, + NSString identifier, + ) { final _ret = _lib._objc_msgSend_1002( - _id, - _lib._sel_initCircularRegionWithCenter_radius_identifier_1, - center, - radius, - identifier._id); + _id, + _lib._sel_initCircularRegionWithCenter_radius_identifier_1, + center, + radius, + identifier._id, + ); return CLBeaconRegion._(_ret, _lib, retain: true, release: true); } @@ -68674,92 +88908,133 @@ class CLBeaconRegion extends CLRegion { } static CLBeaconRegion new1(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CLBeaconRegion1, _lib._sel_new1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLBeaconRegion1, + _lib._sel_new1, + ); return CLBeaconRegion._(_ret, _lib, retain: false, release: true); } static CLBeaconRegion allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLBeaconRegion1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLBeaconRegion1, + _lib._sel_allocWithZone_1, + zone, + ); return CLBeaconRegion._(_ret, _lib, retain: false, release: true); } static CLBeaconRegion alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CLBeaconRegion1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLBeaconRegion1, + _lib._sel_alloc1, + ); return CLBeaconRegion._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLBeaconRegion1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLBeaconRegion1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLBeaconRegion1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLBeaconRegion1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CLBeaconRegion1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_CLBeaconRegion1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLBeaconRegion1, _lib._sel_useStoredAccessor1); + _lib._class_CLBeaconRegion1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLBeaconRegion1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLBeaconRegion1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLBeaconRegion1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLBeaconRegion1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLBeaconRegion1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLBeaconRegion1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CLBeaconRegion1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CLBeaconRegion1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLBeaconRegion1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLBeaconRegion1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class NSUUID extends NSObject { - NSUUID._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + NSUUID._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [NSUUID] that points to the same underlying object as [other]. static NSUUID castFrom(T other) { @@ -68768,15 +89043,21 @@ class NSUUID extends NSObject { /// Returns a [NSUUID] that wraps the given raw object pointer. static NSUUID castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return NSUUID._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [NSUUID]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_NSUUID1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_NSUUID1, + ); } static NSUUID UUID(PedometerBindings _lib) { @@ -68791,16 +89072,22 @@ class NSUUID extends NSObject { } NSUUID? initWithUUIDString_(NSString string) { - final _ret = - _lib._objc_msgSend_38(_id, _lib._sel_initWithUUIDString_1, string._id); + final _ret = _lib._objc_msgSend_38( + _id, + _lib._sel_initWithUUIDString_1, + string._id, + ); return _ret.address == 0 ? null : NSUUID._(_ret, _lib, retain: true, release: true); } NSUUID initWithUUIDBytes_(ffi.Pointer bytes) { - final _ret = - _lib._objc_msgSend_1006(_id, _lib._sel_initWithUUIDBytes_1, bytes); + final _ret = _lib._objc_msgSend_1006( + _id, + _lib._sel_initWithUUIDBytes_1, + bytes, + ); return NSUUID._(_ret, _lib, retain: true, release: true); } @@ -68823,9 +89110,14 @@ class NSUUID extends NSObject { } static NSUUID allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_NSUUID1, _lib._sel_allocWithZone_1, zone); + _lib._class_NSUUID1, + _lib._sel_allocWithZone_1, + zone, + ); return NSUUID._(_ret, _lib, retain: false, release: true); } @@ -68835,236 +89127,379 @@ class NSUUID extends NSObject { } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_NSUUID1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_NSUUID1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_NSUUID1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_NSUUID1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSUUID1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_NSUUID1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_NSUUID1, _lib._sel_useStoredAccessor1); + _lib._class_NSUUID1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_NSUUID1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_NSUUID1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_NSUUID1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_NSUUID1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_NSUUID1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_NSUUID1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_NSUUID1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_NSUUID1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_NSUUID1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_NSUUID1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class CLBeaconIdentityConstraint extends CLBeaconIdentityCondition { CLBeaconIdentityConstraint._( - ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLBeaconIdentityConstraint] that points to the same underlying object as [other]. static CLBeaconIdentityConstraint castFrom(T other) { - return CLBeaconIdentityConstraint._(other._id, other._lib, - retain: true, release: true); + return CLBeaconIdentityConstraint._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [CLBeaconIdentityConstraint] that wraps the given raw object pointer. static CLBeaconIdentityConstraint castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return CLBeaconIdentityConstraint._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return CLBeaconIdentityConstraint._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [CLBeaconIdentityConstraint]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_CLBeaconIdentityConstraint1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLBeaconIdentityConstraint1, + ); } @override CLBeaconIdentityConstraint initWithUUID_(NSUUID uuid) { - final _ret = - _lib._objc_msgSend_1013(_id, _lib._sel_initWithUUID_1, uuid._id); - return CLBeaconIdentityConstraint._(_ret, _lib, - retain: true, release: true); + final _ret = _lib._objc_msgSend_1013( + _id, + _lib._sel_initWithUUID_1, + uuid._id, + ); + return CLBeaconIdentityConstraint._( + _ret, + _lib, + retain: true, + release: true, + ); } @override CLBeaconIdentityConstraint initWithUUID_major_(NSUUID uuid, int major) { final _ret = _lib._objc_msgSend_1014( - _id, _lib._sel_initWithUUID_major_1, uuid._id, major); - return CLBeaconIdentityConstraint._(_ret, _lib, - retain: true, release: true); + _id, + _lib._sel_initWithUUID_major_1, + uuid._id, + major, + ); + return CLBeaconIdentityConstraint._( + _ret, + _lib, + retain: true, + release: true, + ); } @override CLBeaconIdentityConstraint initWithUUID_major_minor_( - NSUUID uuid, int major, int minor) { + NSUUID uuid, + int major, + int minor, + ) { final _ret = _lib._objc_msgSend_1015( - _id, _lib._sel_initWithUUID_major_minor_1, uuid._id, major, minor); - return CLBeaconIdentityConstraint._(_ret, _lib, - retain: true, release: true); + _id, + _lib._sel_initWithUUID_major_minor_1, + uuid._id, + major, + minor, + ); + return CLBeaconIdentityConstraint._( + _ret, + _lib, + retain: true, + release: true, + ); } @override CLBeaconIdentityConstraint init() { final _ret = _lib._objc_msgSend_2(_id, _lib._sel_init1); - return CLBeaconIdentityConstraint._(_ret, _lib, - retain: true, release: true); + return CLBeaconIdentityConstraint._( + _ret, + _lib, + retain: true, + release: true, + ); } static CLBeaconIdentityConstraint new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLBeaconIdentityConstraint1, _lib._sel_new1); - return CLBeaconIdentityConstraint._(_ret, _lib, - retain: false, release: true); + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_new1, + ); + return CLBeaconIdentityConstraint._( + _ret, + _lib, + retain: false, + release: true, + ); } static CLBeaconIdentityConstraint allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_CLBeaconIdentityConstraint1, - _lib._sel_allocWithZone_1, zone); - return CLBeaconIdentityConstraint._(_ret, _lib, - retain: false, release: true); + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_allocWithZone_1, + zone, + ); + return CLBeaconIdentityConstraint._( + _ret, + _lib, + retain: false, + release: true, + ); } static CLBeaconIdentityConstraint alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLBeaconIdentityConstraint1, _lib._sel_alloc1); - return CLBeaconIdentityConstraint._(_ret, _lib, - retain: false, release: true); + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_alloc1, + ); + return CLBeaconIdentityConstraint._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLBeaconIdentityConstraint1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLBeaconIdentityConstraint1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CLBeaconIdentityConstraint1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLBeaconIdentityConstraint1, _lib._sel_useStoredAccessor1); + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLBeaconIdentityConstraint1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLBeaconIdentityConstraint1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLBeaconIdentityConstraint1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_CLBeaconIdentityConstraint1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_CLBeaconIdentityConstraint1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLBeaconIdentityConstraint1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class CLBeaconIdentityCondition extends CLCondition { - CLBeaconIdentityCondition._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLBeaconIdentityCondition._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLBeaconIdentityCondition] that points to the same underlying object as [other]. static CLBeaconIdentityCondition castFrom(T other) { - return CLBeaconIdentityCondition._(other._id, other._lib, - retain: true, release: true); + return CLBeaconIdentityCondition._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [CLBeaconIdentityCondition] that wraps the given raw object pointer. static CLBeaconIdentityCondition castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { - return CLBeaconIdentityCondition._(other, lib, - retain: retain, release: release); + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { + return CLBeaconIdentityCondition._( + other, + lib, + retain: retain, + release: release, + ); } /// Returns whether [obj] is an instance of [CLBeaconIdentityCondition]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_CLBeaconIdentityCondition1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLBeaconIdentityCondition1, + ); } NSUUID get UUID { @@ -69087,21 +89522,36 @@ class CLBeaconIdentityCondition extends CLCondition { } CLBeaconIdentityCondition initWithUUID_(NSUUID uuid) { - final _ret = - _lib._objc_msgSend_1013(_id, _lib._sel_initWithUUID_1, uuid._id); + final _ret = _lib._objc_msgSend_1013( + _id, + _lib._sel_initWithUUID_1, + uuid._id, + ); return CLBeaconIdentityCondition._(_ret, _lib, retain: true, release: true); } CLBeaconIdentityCondition initWithUUID_major_(NSUUID uuid, int major) { final _ret = _lib._objc_msgSend_1014( - _id, _lib._sel_initWithUUID_major_1, uuid._id, major); + _id, + _lib._sel_initWithUUID_major_1, + uuid._id, + major, + ); return CLBeaconIdentityCondition._(_ret, _lib, retain: true, release: true); } CLBeaconIdentityCondition initWithUUID_major_minor_( - NSUUID uuid, int major, int minor) { + NSUUID uuid, + int major, + int minor, + ) { final _ret = _lib._objc_msgSend_1015( - _id, _lib._sel_initWithUUID_major_minor_1, uuid._id, major, minor); + _id, + _lib._sel_initWithUUID_major_minor_1, + uuid._id, + major, + minor, + ); return CLBeaconIdentityCondition._(_ret, _lib, retain: true, release: true); } @@ -69113,94 +89563,147 @@ class CLBeaconIdentityCondition extends CLCondition { static CLBeaconIdentityCondition new1(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLBeaconIdentityCondition1, _lib._sel_new1); - return CLBeaconIdentityCondition._(_ret, _lib, - retain: false, release: true); + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_new1, + ); + return CLBeaconIdentityCondition._( + _ret, + _lib, + retain: false, + release: true, + ); } static CLBeaconIdentityCondition allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { - final _ret = _lib._objc_msgSend_3(_lib._class_CLBeaconIdentityCondition1, - _lib._sel_allocWithZone_1, zone); - return CLBeaconIdentityCondition._(_ret, _lib, - retain: false, release: true); + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { + final _ret = _lib._objc_msgSend_3( + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_allocWithZone_1, + zone, + ); + return CLBeaconIdentityCondition._( + _ret, + _lib, + retain: false, + release: true, + ); } static CLBeaconIdentityCondition alloc(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLBeaconIdentityCondition1, _lib._sel_alloc1); - return CLBeaconIdentityCondition._(_ret, _lib, - retain: false, release: true); + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_alloc1, + ); + return CLBeaconIdentityCondition._( + _ret, + _lib, + retain: false, + release: true, + ); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLBeaconIdentityCondition1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLBeaconIdentityCondition1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { - return _lib._objc_msgSend_12(_lib._class_CLBeaconIdentityCondition1, - _lib._sel_accessInstanceVariablesDirectly1); + return _lib._objc_msgSend_12( + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLBeaconIdentityCondition1, _lib._sel_useStoredAccessor1); + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLBeaconIdentityCondition1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLBeaconIdentityCondition1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLBeaconIdentityCondition1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_77(_lib._class_CLBeaconIdentityCondition1, - _lib._sel_classFallbacksForKeyedArchiver1); + final _ret = _lib._objc_msgSend_77( + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { - final _ret = _lib._objc_msgSend_2(_lib._class_CLBeaconIdentityCondition1, - _lib._sel_classForKeyedUnarchiver1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLBeaconIdentityCondition1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class CLCondition extends NSObject { - CLCondition._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLCondition._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLCondition] that points to the same underlying object as [other]. static CLCondition castFrom(T other) { @@ -69209,15 +89712,21 @@ class CLCondition extends NSObject { /// Returns a [CLCondition] that wraps the given raw object pointer. static CLCondition castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLCondition._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLCondition]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_CLCondition1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLCondition1, + ); } @override @@ -69232,116 +89741,161 @@ class CLCondition extends NSObject { } static CLCondition allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLCondition1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLCondition1, + _lib._sel_allocWithZone_1, + zone, + ); return CLCondition._(_ret, _lib, retain: false, release: true); } static CLCondition alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CLCondition1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLCondition1, + _lib._sel_alloc1, + ); return CLCondition._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLCondition1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLCondition1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLCondition1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLCondition1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLCondition1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_CLCondition1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLCondition1, _lib._sel_useStoredAccessor1); + _lib._class_CLCondition1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLCondition1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLCondition1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLCondition1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLCondition1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLCondition1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLCondition1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CLCondition1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CLCondition1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLCondition1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLCondition1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSArray_NSError_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSArray_NSError_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSArray_NSError_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_NSError_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray_NSError_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_NSError_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSArray_NSError_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSArray_NSError_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSArray_NSError extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSError._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -69349,23 +89903,30 @@ class ObjCBlock_ffiVoid_NSArray_NSError extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSError.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSError_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSError_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -69373,21 +89934,30 @@ class ObjCBlock_ffiVoid_NSArray_NSError extends _ObjCBlockBase { /// This block must be invoked by native code running on the same thread as /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. - ObjCBlock_ffiVoid_NSArray_NSError.fromFunction(PedometerBindings lib, void Function(NSArray, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - NSArray._(arg0, lib, retain: true, release: true), - arg1.address == 0 ? null : NSError._(arg1, lib, retain: true, release: true)))), - lib); + ObjCBlock_ffiVoid_NSArray_NSError.fromFunction( + PedometerBindings lib, + void Function(NSArray, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSArray_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + NSArray._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -69400,45 +89970,66 @@ class ObjCBlock_ffiVoid_NSArray_NSError extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray_NSError.listener( - PedometerBindings lib, void Function(NSArray, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSError_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => - fn( - NSArray._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, - retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSArray, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener(_ObjCBlock_ffiVoid_NSArray_NSError_closureTrampoline) + ..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSError_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + NSArray._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSArray arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0._id, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0._id, arg1?._id ?? ffi.nullptr); } class CLPlacemark extends NSObject { - CLPlacemark._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLPlacemark._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLPlacemark] that points to the same underlying object as [other]. static CLPlacemark castFrom(T other) { @@ -69447,15 +90038,21 @@ class CLPlacemark extends NSObject { /// Returns a [CLPlacemark] that wraps the given raw object pointer. static CLPlacemark castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLPlacemark._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLPlacemark]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_CLPlacemark1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLPlacemark1, + ); } @override @@ -69471,7 +90068,10 @@ class CLPlacemark extends NSObject { CLPlacemark initWithPlacemark_(CLPlacemark placemark) { final _ret = _lib._objc_msgSend_1023( - _id, _lib._sel_initWithPlacemark_1, placemark._id); + _id, + _lib._sel_initWithPlacemark_1, + placemark._id, + ); return CLPlacemark._(_ret, _lib, retain: true, release: true); } @@ -69602,111 +90202,163 @@ class CLPlacemark extends NSObject { } static CLPlacemark allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLPlacemark1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLPlacemark1, + _lib._sel_allocWithZone_1, + zone, + ); return CLPlacemark._(_ret, _lib, retain: false, release: true); } static CLPlacemark alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CLPlacemark1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLPlacemark1, + _lib._sel_alloc1, + ); return CLPlacemark._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLPlacemark1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLPlacemark1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLPlacemark1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLPlacemark1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLPlacemark1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_CLPlacemark1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLPlacemark1, _lib._sel_useStoredAccessor1); + _lib._class_CLPlacemark1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLPlacemark1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLPlacemark1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLPlacemark1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLPlacemark1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLPlacemark1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLPlacemark1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CLPlacemark1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CLPlacemark1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLPlacemark1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLPlacemark1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } class CNPostalAddress extends _ObjCWrapper { - CNPostalAddress._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CNPostalAddress._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CNPostalAddress] that points to the same underlying object as [other]. static CNPostalAddress castFrom(T other) { - return CNPostalAddress._(other._id, other._lib, - retain: true, release: true); + return CNPostalAddress._( + other._id, + other._lib, + retain: true, + release: true, + ); } /// Returns a [CNPostalAddress] that wraps the given raw object pointer. static CNPostalAddress castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CNPostalAddress._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CNPostalAddress]. static bool isInstance(_ObjCWrapper obj) { - return obj._lib._objc_msgSend_0(obj._id, obj._lib._sel_isKindOfClass_1, - obj._lib._class_CNPostalAddress1); + return obj._lib._objc_msgSend_0( + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CNPostalAddress1, + ); } } class CLGeocoder extends NSObject { - CLGeocoder._(ffi.Pointer id, PedometerBindings lib, - {bool retain = false, bool release = false}) - : super._(id, lib, retain: retain, release: release); + CLGeocoder._( + ffi.Pointer id, + PedometerBindings lib, { + bool retain = false, + bool release = false, + }) : super._(id, lib, retain: retain, release: release); /// Returns a [CLGeocoder] that points to the same underlying object as [other]. static CLGeocoder castFrom(T other) { @@ -69715,108 +90367,135 @@ class CLGeocoder extends NSObject { /// Returns a [CLGeocoder] that wraps the given raw object pointer. static CLGeocoder castFromPointer( - PedometerBindings lib, ffi.Pointer other, - {bool retain = false, bool release = false}) { + PedometerBindings lib, + ffi.Pointer other, { + bool retain = false, + bool release = false, + }) { return CLGeocoder._(other, lib, retain: retain, release: release); } /// Returns whether [obj] is an instance of [CLGeocoder]. static bool isInstance(_ObjCWrapper obj) { return obj._lib._objc_msgSend_0( - obj._id, obj._lib._sel_isKindOfClass_1, obj._lib._class_CLGeocoder1); + obj._id, + obj._lib._sel_isKindOfClass_1, + obj._lib._class_CLGeocoder1, + ); } bool get geocoding { return _lib._objc_msgSend_12(_id, _lib._sel_isGeocoding1); } - void reverseGeocodeLocation_completionHandler_(CLLocation location, - ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler) { + void reverseGeocodeLocation_completionHandler_( + CLLocation location, + ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler, + ) { _lib._objc_msgSend_1026( - _id, - _lib._sel_reverseGeocodeLocation_completionHandler_1, - location._id, - completionHandler._id); + _id, + _lib._sel_reverseGeocodeLocation_completionHandler_1, + location._id, + completionHandler._id, + ); } void reverseGeocodeLocation_preferredLocale_completionHandler_( - CLLocation location, - NSLocale? locale, - ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler) { + CLLocation location, + NSLocale? locale, + ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler, + ) { _lib._objc_msgSend_1027( - _id, - _lib._sel_reverseGeocodeLocation_preferredLocale_completionHandler_1, - location._id, - locale?._id ?? ffi.nullptr, - completionHandler._id); + _id, + _lib._sel_reverseGeocodeLocation_preferredLocale_completionHandler_1, + location._id, + locale?._id ?? ffi.nullptr, + completionHandler._id, + ); } void geocodeAddressDictionary_completionHandler_( - NSDictionary addressDictionary, - ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler) { + NSDictionary addressDictionary, + ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler, + ) { _lib._objc_msgSend_1028( - _id, - _lib._sel_geocodeAddressDictionary_completionHandler_1, - addressDictionary._id, - completionHandler._id); + _id, + _lib._sel_geocodeAddressDictionary_completionHandler_1, + addressDictionary._id, + completionHandler._id, + ); } - void geocodeAddressString_inRegion_completionHandler_(NSString addressString, - CLRegion? region, ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler) { + void geocodeAddressString_inRegion_completionHandler_( + NSString addressString, + CLRegion? region, + ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler, + ) { _lib._objc_msgSend_1029( - _id, - _lib._sel_geocodeAddressString_inRegion_completionHandler_1, - addressString._id, - region?._id ?? ffi.nullptr, - completionHandler._id); + _id, + _lib._sel_geocodeAddressString_inRegion_completionHandler_1, + addressString._id, + region?._id ?? ffi.nullptr, + completionHandler._id, + ); } void geocodeAddressString_inRegion_preferredLocale_completionHandler_( - NSString addressString, - CLRegion? region, - NSLocale? locale, - ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler) { + NSString addressString, + CLRegion? region, + NSLocale? locale, + ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler, + ) { _lib._objc_msgSend_1030( - _id, - _lib._sel_geocodeAddressString_inRegion_preferredLocale_completionHandler_1, - addressString._id, - region?._id ?? ffi.nullptr, - locale?._id ?? ffi.nullptr, - completionHandler._id); + _id, + _lib._sel_geocodeAddressString_inRegion_preferredLocale_completionHandler_1, + addressString._id, + region?._id ?? ffi.nullptr, + locale?._id ?? ffi.nullptr, + completionHandler._id, + ); } - void geocodeAddressString_completionHandler_(NSString addressString, - ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler) { + void geocodeAddressString_completionHandler_( + NSString addressString, + ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler, + ) { _lib._objc_msgSend_1031( - _id, - _lib._sel_geocodeAddressString_completionHandler_1, - addressString._id, - completionHandler._id); + _id, + _lib._sel_geocodeAddressString_completionHandler_1, + addressString._id, + completionHandler._id, + ); } void cancelGeocode() { _lib._objc_msgSend_1(_id, _lib._sel_cancelGeocode1); } - void geocodePostalAddress_completionHandler_(CNPostalAddress postalAddress, - ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler) { + void geocodePostalAddress_completionHandler_( + CNPostalAddress postalAddress, + ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler, + ) { _lib._objc_msgSend_1032( - _id, - _lib._sel_geocodePostalAddress_completionHandler_1, - postalAddress._id, - completionHandler._id); + _id, + _lib._sel_geocodePostalAddress_completionHandler_1, + postalAddress._id, + completionHandler._id, + ); } void geocodePostalAddress_preferredLocale_completionHandler_( - CNPostalAddress postalAddress, - NSLocale? locale, - ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler) { + CNPostalAddress postalAddress, + NSLocale? locale, + ObjCBlock_ffiVoid_NSArray_NSError1 completionHandler, + ) { _lib._objc_msgSend_1033( - _id, - _lib._sel_geocodePostalAddress_preferredLocale_completionHandler_1, - postalAddress._id, - locale?._id ?? ffi.nullptr, - completionHandler._id); + _id, + _lib._sel_geocodePostalAddress_preferredLocale_completionHandler_1, + postalAddress._id, + locale?._id ?? ffi.nullptr, + completionHandler._id, + ); } @override @@ -69831,116 +90510,161 @@ class CLGeocoder extends NSObject { } static CLGeocoder allocWithZone_( - PedometerBindings _lib, ffi.Pointer<_NSZone> zone) { + PedometerBindings _lib, + ffi.Pointer<_NSZone> zone, + ) { final _ret = _lib._objc_msgSend_3( - _lib._class_CLGeocoder1, _lib._sel_allocWithZone_1, zone); + _lib._class_CLGeocoder1, + _lib._sel_allocWithZone_1, + zone, + ); return CLGeocoder._(_ret, _lib, retain: false, release: true); } static CLGeocoder alloc(PedometerBindings _lib) { - final _ret = - _lib._objc_msgSend_2(_lib._class_CLGeocoder1, _lib._sel_alloc1); + final _ret = _lib._objc_msgSend_2( + _lib._class_CLGeocoder1, + _lib._sel_alloc1, + ); return CLGeocoder._(_ret, _lib, retain: false, release: true); } static void cancelPreviousPerformRequestsWithTarget_selector_object_( - PedometerBindings _lib, - NSObject aTarget, - ffi.Pointer aSelector, - NSObject? anArgument) { + PedometerBindings _lib, + NSObject aTarget, + ffi.Pointer aSelector, + NSObject? anArgument, + ) { _lib._objc_msgSend_14( - _lib._class_CLGeocoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, - aTarget._id, - aSelector, - anArgument?._id ?? ffi.nullptr); + _lib._class_CLGeocoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_selector_object_1, + aTarget._id, + aSelector, + anArgument?._id ?? ffi.nullptr, + ); } static void cancelPreviousPerformRequestsWithTarget_( - PedometerBindings _lib, NSObject aTarget) { - _lib._objc_msgSend_15(_lib._class_CLGeocoder1, - _lib._sel_cancelPreviousPerformRequestsWithTarget_1, aTarget._id); + PedometerBindings _lib, + NSObject aTarget, + ) { + _lib._objc_msgSend_15( + _lib._class_CLGeocoder1, + _lib._sel_cancelPreviousPerformRequestsWithTarget_1, + aTarget._id, + ); } static bool getAccessInstanceVariablesDirectly(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLGeocoder1, _lib._sel_accessInstanceVariablesDirectly1); + _lib._class_CLGeocoder1, + _lib._sel_accessInstanceVariablesDirectly1, + ); } static bool useStoredAccessor(PedometerBindings _lib) { return _lib._objc_msgSend_12( - _lib._class_CLGeocoder1, _lib._sel_useStoredAccessor1); + _lib._class_CLGeocoder1, + _lib._sel_useStoredAccessor1, + ); } static NSSet keyPathsForValuesAffectingValueForKey_( - PedometerBindings _lib, NSString key) { - final _ret = _lib._objc_msgSend_55(_lib._class_CLGeocoder1, - _lib._sel_keyPathsForValuesAffectingValueForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + final _ret = _lib._objc_msgSend_55( + _lib._class_CLGeocoder1, + _lib._sel_keyPathsForValuesAffectingValueForKey_1, + key._id, + ); return NSSet._(_ret, _lib, retain: true, release: true); } static bool automaticallyNotifiesObserversForKey_( - PedometerBindings _lib, NSString key) { - return _lib._objc_msgSend_56(_lib._class_CLGeocoder1, - _lib._sel_automaticallyNotifiesObserversForKey_1, key._id); + PedometerBindings _lib, + NSString key, + ) { + return _lib._objc_msgSend_56( + _lib._class_CLGeocoder1, + _lib._sel_automaticallyNotifiesObserversForKey_1, + key._id, + ); } static void setKeys_triggerChangeNotificationsForDependentKey_( - PedometerBindings _lib, NSArray keys, NSString dependentKey) { + PedometerBindings _lib, + NSArray keys, + NSString dependentKey, + ) { _lib._objc_msgSend_80( - _lib._class_CLGeocoder1, - _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, - keys._id, - dependentKey._id); + _lib._class_CLGeocoder1, + _lib._sel_setKeys_triggerChangeNotificationsForDependentKey_1, + keys._id, + dependentKey._id, + ); } static NSArray classFallbacksForKeyedArchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_77( - _lib._class_CLGeocoder1, _lib._sel_classFallbacksForKeyedArchiver1); + _lib._class_CLGeocoder1, + _lib._sel_classFallbacksForKeyedArchiver1, + ); return NSArray._(_ret, _lib, retain: true, release: true); } static NSObject classForKeyedUnarchiver(PedometerBindings _lib) { final _ret = _lib._objc_msgSend_2( - _lib._class_CLGeocoder1, _lib._sel_classForKeyedUnarchiver1); + _lib._class_CLGeocoder1, + _lib._sel_classForKeyedUnarchiver1, + ); return NSObject._(_ret, _lib, retain: true, release: true); } } void _ObjCBlock_ffiVoid_NSArray_NSError1_fnPtrTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - block.ref.target - .cast< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer, - ffi.Pointer)>()(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => block.ref.target + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function(ffi.Pointer, ffi.Pointer) + >()(arg0, arg1); final _ObjCBlock_ffiVoid_NSArray_NSError1_closureRegistry = , ffi.Pointer)>{}; int _ObjCBlock_ffiVoid_NSArray_NSError1_closureRegistryIndex = 0; ffi.Pointer _ObjCBlock_ffiVoid_NSArray_NSError1_registerClosure( - void Function(ffi.Pointer, ffi.Pointer) fn) { + void Function(ffi.Pointer, ffi.Pointer) fn, +) { final id = ++_ObjCBlock_ffiVoid_NSArray_NSError1_closureRegistryIndex; _ObjCBlock_ffiVoid_NSArray_NSError1_closureRegistry[id] = fn; return ffi.Pointer.fromAddress(id); } void _ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1) => - _ObjCBlock_ffiVoid_NSArray_NSError1_closureRegistry[ - block.ref.target.address]!(arg0, arg1); + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, +) => _ObjCBlock_ffiVoid_NSArray_NSError1_closureRegistry[block + .ref + .target + .address]!(arg0, arg1); class ObjCBlock_ffiVoid_NSArray_NSError1 extends _ObjCBlockBase { ObjCBlock_ffiVoid_NSArray_NSError1._( - ffi.Pointer<_ObjCBlock> id, PedometerBindings lib, - {bool retain = false, bool release = true}) - : super._(id, lib, retain: retain, release: release); + ffi.Pointer<_ObjCBlock> id, + PedometerBindings lib, { + bool retain = false, + bool release = true, + }) : super._(id, lib, retain: retain, release: release); /// Creates a block from a C function pointer. /// @@ -69948,23 +90672,30 @@ class ObjCBlock_ffiVoid_NSArray_NSError1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSError1.fromFunctionPointer( - PedometerBindings lib, - ffi.Pointer< - ffi.NativeFunction< - ffi.Void Function(ffi.Pointer arg0, - ffi.Pointer arg1)>> - ptr) - : this._( - lib._newBlock1( - _cFuncTrampoline ??= ffi.Pointer.fromFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock>, - ffi.Pointer, - ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSError1_fnPtrTrampoline) - .cast(), - ptr.cast()), - lib); + PedometerBindings lib, + ffi.Pointer< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + > + ptr, + ) : this._( + lib._newBlock1( + _cFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSError1_fnPtrTrampoline).cast(), + ptr.cast(), + ), + lib, + ); static ffi.Pointer? _cFuncTrampoline; /// Creates a block from a Dart function. @@ -69973,22 +90704,31 @@ class ObjCBlock_ffiVoid_NSArray_NSError1 extends _ObjCBlockBase { /// the isolate that registered it. Invoking the block on the wrong thread /// will result in a crash. ObjCBlock_ffiVoid_NSArray_NSError1.fromFunction( - PedometerBindings lib, void Function(NSArray?, NSError?) fn) - : this._( - lib._newBlock1( - _dartFuncTrampoline ??= - ffi.Pointer.fromFunction, ffi.Pointer, ffi.Pointer)>( - _ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline) - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSError1_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSArray?, NSError?) fn, + ) : this._( + lib._newBlock1( + _dartFuncTrampoline ??= + ffi.Pointer.fromFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >(_ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline).cast(), + _ObjCBlock_ffiVoid_NSArray_NSError1_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.Pointer? _dartFuncTrampoline; /// Creates a listener block from a Dart function. @@ -70001,38 +90741,58 @@ class ObjCBlock_ffiVoid_NSArray_NSError1 extends _ObjCBlockBase { /// Note that unlike the default behavior of NativeCallable.listener, listener /// blocks do not keep the isolate alive. ObjCBlock_ffiVoid_NSArray_NSError1.listener( - PedometerBindings lib, void Function(NSArray?, NSError?) fn) - : this._( - lib._newBlock1( - (_dartFuncListenerTrampoline ??= - ffi.NativeCallable, ffi.Pointer, ffi.Pointer)>.listener( - _ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline) - ..keepIsolateAlive = false) - .nativeFunction - .cast(), - _ObjCBlock_ffiVoid_NSArray_NSError1_registerClosure( - (ffi.Pointer arg0, ffi.Pointer arg1) => fn( - arg0.address == 0 - ? null - : NSArray._(arg0, lib, retain: true, release: true), - arg1.address == 0 - ? null - : NSError._(arg1, lib, - retain: true, release: true)))), - lib); + PedometerBindings lib, + void Function(NSArray?, NSError?) fn, + ) : this._( + lib._newBlock1( + (_dartFuncListenerTrampoline ??= ffi.NativeCallable< + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >.listener( + _ObjCBlock_ffiVoid_NSArray_NSError1_closureTrampoline, + )..keepIsolateAlive = false) + .nativeFunction + .cast(), + _ObjCBlock_ffiVoid_NSArray_NSError1_registerClosure( + (ffi.Pointer arg0, ffi.Pointer arg1) => fn( + arg0.address == 0 + ? null + : NSArray._(arg0, lib, retain: true, release: true), + arg1.address == 0 + ? null + : NSError._(arg1, lib, retain: true, release: true), + ), + ), + ), + lib, + ); static ffi.NativeCallable< - ffi.Void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>? _dartFuncListenerTrampoline; + ffi.Void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >? + _dartFuncListenerTrampoline; void call(NSArray? arg0, NSError? arg1) => _id.ref.invoke - .cast< - ffi.NativeFunction< - ffi.Void Function( - ffi.Pointer<_ObjCBlock> block, - ffi.Pointer arg0, - ffi.Pointer arg1)>>() - .asFunction< - void Function(ffi.Pointer<_ObjCBlock>, ffi.Pointer, - ffi.Pointer)>()( - _id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); + .cast< + ffi.NativeFunction< + ffi.Void Function( + ffi.Pointer<_ObjCBlock> block, + ffi.Pointer arg0, + ffi.Pointer arg1, + ) + > + >() + .asFunction< + void Function( + ffi.Pointer<_ObjCBlock>, + ffi.Pointer, + ffi.Pointer, + ) + >()(_id, arg0?._id ?? ffi.nullptr, arg1?._id ?? ffi.nullptr); } diff --git a/experimental/pedometer/pubspec.yaml b/pedometer/pubspec.yaml similarity index 99% rename from experimental/pedometer/pubspec.yaml rename to pedometer/pubspec.yaml index d5b5211c8..b52c13419 100644 --- a/experimental/pedometer/pubspec.yaml +++ b/pedometer/pubspec.yaml @@ -4,7 +4,7 @@ version: 0.0.1 publish_to: none environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/experimental/pedometer/src/dart-sdk/include/dart_api.h b/pedometer/src/dart-sdk/include/dart_api.h similarity index 100% rename from experimental/pedometer/src/dart-sdk/include/dart_api.h rename to pedometer/src/dart-sdk/include/dart_api.h diff --git a/experimental/pedometer/src/dart-sdk/include/dart_api_dl.c b/pedometer/src/dart-sdk/include/dart_api_dl.c similarity index 100% rename from experimental/pedometer/src/dart-sdk/include/dart_api_dl.c rename to pedometer/src/dart-sdk/include/dart_api_dl.c diff --git a/experimental/pedometer/src/dart-sdk/include/dart_api_dl.h b/pedometer/src/dart-sdk/include/dart_api_dl.h similarity index 100% rename from experimental/pedometer/src/dart-sdk/include/dart_api_dl.h rename to pedometer/src/dart-sdk/include/dart_api_dl.h diff --git a/experimental/pedometer/src/dart-sdk/include/dart_native_api.h b/pedometer/src/dart-sdk/include/dart_native_api.h similarity index 100% rename from experimental/pedometer/src/dart-sdk/include/dart_native_api.h rename to pedometer/src/dart-sdk/include/dart_native_api.h diff --git a/experimental/pedometer/src/dart-sdk/include/dart_tools_api.h b/pedometer/src/dart-sdk/include/dart_tools_api.h similarity index 100% rename from experimental/pedometer/src/dart-sdk/include/dart_tools_api.h rename to pedometer/src/dart-sdk/include/dart_tools_api.h diff --git a/experimental/pedometer/src/dart-sdk/include/dart_version.h b/pedometer/src/dart-sdk/include/dart_version.h similarity index 100% rename from experimental/pedometer/src/dart-sdk/include/dart_version.h rename to pedometer/src/dart-sdk/include/dart_version.h diff --git a/experimental/pedometer/src/dart-sdk/include/internal/dart_api_dl_impl.h b/pedometer/src/dart-sdk/include/internal/dart_api_dl_impl.h similarity index 100% rename from experimental/pedometer/src/dart-sdk/include/internal/dart_api_dl_impl.h rename to pedometer/src/dart-sdk/include/internal/dart_api_dl_impl.h diff --git a/experimental/pedometer/src/health_connect/.clang-format b/pedometer/src/health_connect/.clang-format similarity index 100% rename from experimental/pedometer/src/health_connect/.clang-format rename to pedometer/src/health_connect/.clang-format diff --git a/experimental/pedometer/src/health_connect/CMakeLists.txt b/pedometer/src/health_connect/CMakeLists.txt similarity index 100% rename from experimental/pedometer/src/health_connect/CMakeLists.txt rename to pedometer/src/health_connect/CMakeLists.txt diff --git a/experimental/pedometer/src/health_connect/dartjni.h b/pedometer/src/health_connect/dartjni.h similarity index 100% rename from experimental/pedometer/src/health_connect/dartjni.h rename to pedometer/src/health_connect/dartjni.h diff --git a/experimental/pedometer/src/health_connect/health_connect.c b/pedometer/src/health_connect/health_connect.c similarity index 100% rename from experimental/pedometer/src/health_connect/health_connect.c rename to pedometer/src/health_connect/health_connect.c diff --git a/experimental/pedometer/src/pedometerHelper.h b/pedometer/src/pedometerHelper.h similarity index 100% rename from experimental/pedometer/src/pedometerHelper.h rename to pedometer/src/pedometerHelper.h diff --git a/experimental/pedometer/src/pedometerHelper.m b/pedometer/src/pedometerHelper.m similarity index 100% rename from experimental/pedometer/src/pedometerHelper.m rename to pedometer/src/pedometerHelper.m diff --git a/place_tracker/lib/main.dart b/place_tracker/lib/main.dart index 18818ce03..b1bc16b64 100644 --- a/place_tracker/lib/main.dart +++ b/place_tracker/lib/main.dart @@ -8,8 +8,10 @@ import 'package:provider/provider.dart'; import 'place_tracker_app.dart'; void main() { - runApp(ChangeNotifierProvider( - create: (context) => AppState(), - child: const PlaceTrackerApp(), - )); + runApp( + ChangeNotifierProvider( + create: (context) => AppState(), + child: const PlaceTrackerApp(), + ), + ); } diff --git a/place_tracker/lib/place.dart b/place_tracker/lib/place.dart index f922c983d..8877e3378 100644 --- a/place_tracker/lib/place.dart +++ b/place_tracker/lib/place.dart @@ -65,8 +65,4 @@ class Place { starRating.hashCode; } -enum PlaceCategory { - favorite, - visited, - wantToGo, -} +enum PlaceCategory { favorite, visited, wantToGo } diff --git a/place_tracker/lib/place_details.dart b/place_tracker/lib/place_details.dart index 660847bfa..05ff1fbdf 100644 --- a/place_tracker/lib/place_details.dart +++ b/place_tracker/lib/place_details.dart @@ -13,10 +13,7 @@ import 'stub_data.dart'; class PlaceDetails extends StatefulWidget { final Place place; - const PlaceDetails({ - required this.place, - super.key, - }); + const PlaceDetails({required this.place, super.key}); @override State createState() => _PlaceDetailsState(); @@ -107,10 +104,12 @@ class _PlaceDetailsState extends State { void _onMapCreated(GoogleMapController controller) { _mapController = controller; setState(() { - _markers.add(Marker( - markerId: MarkerId(_place.latLng.toString()), - position: _place.latLng, - )); + _markers.add( + Marker( + markerId: MarkerId(_place.latLng.toString()), + position: _place.latLng, + ), + ); }); } @@ -179,10 +178,7 @@ class _Map extends StatelessWidget { height: 240, child: GoogleMap( onMapCreated: onMapCreated, - initialCameraPosition: CameraPosition( - target: center, - zoom: 16, - ), + initialCameraPosition: CameraPosition(target: center, zoom: 16), markers: markers, zoomGesturesEnabled: false, rotateGesturesEnabled: false, @@ -199,10 +195,7 @@ class _NameTextField extends StatelessWidget { final ValueChanged onChanged; - const _NameTextField({ - required this.controller, - required this.onChanged, - }); + const _NameTextField({required this.controller, required this.onChanged}); @override Widget build(BuildContext context) { @@ -247,9 +240,10 @@ class _Reviews extends StatelessWidget { ), ), Column( - children: StubData.reviewStrings - .map((reviewText) => _buildSingleReview(reviewText)) - .toList(), + children: + StubData.reviewStrings + .map((reviewText) => _buildSingleReview(reviewText)) + .toList(), ), ], ); @@ -267,10 +261,7 @@ class _Reviews extends StatelessWidget { height: 80, decoration: BoxDecoration( borderRadius: BorderRadius.circular(40), - border: Border.all( - width: 3, - color: Colors.grey, - ), + border: Border.all(width: 3, color: Colors.grey), ), child: const Row( mainAxisAlignment: MainAxisAlignment.center, @@ -283,11 +274,7 @@ class _Reviews extends StatelessWidget { color: Colors.black87, ), ), - Icon( - Icons.star, - color: Colors.amber, - size: 36, - ), + Icon(Icons.star, color: Colors.amber, size: 36), ], ), ), @@ -302,10 +289,7 @@ class _Reviews extends StatelessWidget { ], ), ), - Divider( - height: 8, - color: Colors.grey[700], - ), + Divider(height: 8, color: Colors.grey[700]), ], ); } @@ -317,25 +301,24 @@ class _StarBar extends StatelessWidget { final int rating; final ValueChanged onChanged; - const _StarBar({ - required this.rating, - required this.onChanged, - }) : assert(rating >= 0 && rating <= maxStars); + const _StarBar({required this.rating, required this.onChanged}) + : assert(rating >= 0 && rating <= maxStars); @override Widget build(BuildContext context) { return Row( mainAxisAlignment: MainAxisAlignment.center, - children: List.generate(maxStars, (index) { - return IconButton( - icon: const Icon(Icons.star), - iconSize: 40, - color: rating > index ? Colors.amber : Colors.grey[400], - onPressed: () { - onChanged(index + 1); - }, - ); - }).toList(), + children: + List.generate(maxStars, (index) { + return IconButton( + icon: const Icon(Icons.star), + iconSize: 40, + color: rating > index ? Colors.amber : Colors.grey[400], + onPressed: () { + onChanged(index + 1); + }, + ); + }).toList(), ); } } diff --git a/place_tracker/lib/place_list.dart b/place_tracker/lib/place_list.dart index 817dd497f..46a9e29c9 100644 --- a/place_tracker/lib/place_list.dart +++ b/place_tracker/lib/place_list.dart @@ -33,10 +33,11 @@ class _PlaceListState extends State { padding: const EdgeInsets.fromLTRB(16.0, 0.0, 16.0, 8.0), controller: _scrollController, shrinkWrap: true, - children: state.places - .where((place) => place.category == state.selectedCategory) - .map((place) => _PlaceListTile(place: place)) - .toList(), + children: + state.places + .where((place) => place.category == state.selectedCategory) + .map((place) => _PlaceListTile(place: place)) + .toList(), ), ), ], @@ -45,8 +46,10 @@ class _PlaceListState extends State { void _onCategoryChanged(PlaceCategory newCategory) { _scrollController.jumpTo(0.0); - Provider.of(context, listen: false) - .setSelectedCategory(newCategory); + Provider.of( + context, + listen: false, + ).setSelectedCategory(newCategory); } } @@ -67,7 +70,7 @@ class _CategoryButton extends StatelessWidget { final buttonText = switch (category) { PlaceCategory.favorite => 'Favorites', PlaceCategory.visited => 'Visited', - PlaceCategory.wantToGo => 'Want To Go' + PlaceCategory.wantToGo => 'Want To Go', }; return Container( @@ -134,9 +137,7 @@ class _ListCategoryButtonBar extends StatelessWidget { class _PlaceListTile extends StatelessWidget { final Place place; - const _PlaceListTile({ - required this.place, - }); + const _PlaceListTile({required this.place}); @override Widget build(BuildContext context) { @@ -157,15 +158,17 @@ class _PlaceListTile extends StatelessWidget { maxLines: 3, ), Row( - children: List.generate(5, (index) { - return Icon( - Icons.star, - size: 28.0, - color: place.starRating > index - ? Colors.amber - : Colors.grey[400], - ); - }).toList(), + children: + List.generate(5, (index) { + return Icon( + Icons.star, + size: 28.0, + color: + place.starRating > index + ? Colors.amber + : Colors.grey[400], + ); + }).toList(), ), Text( place.description ?? '', @@ -174,10 +177,7 @@ class _PlaceListTile extends StatelessWidget { overflow: TextOverflow.ellipsis, ), const SizedBox(height: 16.0), - Divider( - height: 2.0, - color: Colors.grey[700], - ), + Divider(height: 2.0, color: Colors.grey[700]), ], ), ), diff --git a/place_tracker/lib/place_map.dart b/place_tracker/lib/place_map.dart index 82c237e7f..be3d65a9f 100644 --- a/place_tracker/lib/place_map.dart +++ b/place_tracker/lib/place_map.dart @@ -54,10 +54,7 @@ class MapConfiguration { class PlaceMap extends StatefulWidget { final LatLng? center; - const PlaceMap({ - super.key, - this.center, - }); + const PlaceMap({super.key, this.center}); @override State createState() => _PlaceMapState(); @@ -94,43 +91,45 @@ class _PlaceMapState extends State { Widget build(BuildContext context) { _watchMapConfigurationChanges(); var state = Provider.of(context, listen: true); - return Builder(builder: (context) { - // We need this additional builder here so that we can pass its context to - // _AddPlaceButtonBar's onSavePressed callback. This callback shows a - // SnackBar and to do this, we need a build context that has Scaffold as - // an ancestor. - return Center( - child: Stack( - children: [ - GoogleMap( - onMapCreated: onMapCreated, - initialCameraPosition: CameraPosition( - target: widget.center!, - zoom: 11.0, + return Builder( + builder: (context) { + // We need this additional builder here so that we can pass its context to + // _AddPlaceButtonBar's onSavePressed callback. This callback shows a + // SnackBar and to do this, we need a build context that has Scaffold as + // an ancestor. + return Center( + child: Stack( + children: [ + GoogleMap( + onMapCreated: onMapCreated, + initialCameraPosition: CameraPosition( + target: widget.center!, + zoom: 11.0, + ), + mapType: _currentMapType, + markers: _markers, + onCameraMove: (position) => _lastMapPosition = position.target, ), - mapType: _currentMapType, - markers: _markers, - onCameraMove: (position) => _lastMapPosition = position.target, - ), - _CategoryButtonBar( - selectedPlaceCategory: state.selectedCategory, - visible: _pendingMarker == null, - onChanged: _switchSelectedCategory, - ), - _AddPlaceButtonBar( - visible: _pendingMarker != null, - onSavePressed: () => _confirmAddPlace(context), - onCancelPressed: _cancelAddPlace, - ), - _MapFabs( - visible: _pendingMarker == null, - onAddPlacePressed: _onAddPlacePressed, - onToggleMapTypePressed: _onToggleMapTypePressed, - ), - ], - ), - ); - }); + _CategoryButtonBar( + selectedPlaceCategory: state.selectedCategory, + visible: _pendingMarker == null, + onChanged: _switchSelectedCategory, + ), + _AddPlaceButtonBar( + visible: _pendingMarker != null, + onSavePressed: () => _confirmAddPlace(context), + onCancelPressed: _cancelAddPlace, + ), + _MapFabs( + visible: _pendingMarker == null, + onAddPlacePressed: _onAddPlacePressed, + onToggleMapTypePressed: _onToggleMapTypePressed, + ), + ], + ), + ); + }, + ); } Future onMapCreated(GoogleMapController controller) async { @@ -221,8 +220,10 @@ class _PlaceMapState extends State { scaffoldMessenger.showSnackBar( SnackBar( duration: const Duration(seconds: 3), - content: - const Text('New place added.', style: TextStyle(fontSize: 16.0)), + content: const Text( + 'New place added.', + style: TextStyle(fontSize: 16.0), + ), action: SnackBarAction( label: 'Edit', onPressed: () async { @@ -278,8 +279,9 @@ class _PlaceMapState extends State { // At this point, we know the places have been updated from the list // view. We need to reconfigure the map to respect the updates. for (final place in newConfiguration.places) { - final oldPlace = - _configuration!.places.firstWhereOrNull((p) => p.id == place.id); + final oldPlace = _configuration!.places.firstWhereOrNull( + (p) => p.id == place.id, + ); if (oldPlace == null || oldPlace != place) { // New place or updated place. _updateExistingPlaceMarker(place: place); @@ -336,10 +338,9 @@ class _PlaceMapState extends State { } }); - await _zoomToFitPlaces(_getPlacesForCategory( - category, - _markedPlaces.values.toList(), - )); + await _zoomToFitPlaces( + _getPlacesForCategory(category, _markedPlaces.values.toList()), + ); } Future _switchSelectedCategory(PlaceCategory category) async { @@ -348,8 +349,9 @@ class _PlaceMapState extends State { } void _updateExistingPlaceMarker({required Place place}) { - var marker = _markedPlaces.keys - .singleWhere((value) => _markedPlaces[value]!.id == place.id); + var marker = _markedPlaces.keys.singleWhere( + (value) => _markedPlaces[value]!.id == place.id, + ); setState(() { final updatedMarker = marker.copyWith( @@ -407,16 +409,20 @@ class _PlaceMapState extends State { Future _getPlaceMarkerIcon(PlaceCategory category) => switch (category) { PlaceCategory.favorite => BitmapDescriptor.asset( - createLocalImageConfiguration(context, size: const Size.square(32)), - 'assets/heart.png'), + createLocalImageConfiguration(context, size: const Size.square(32)), + 'assets/heart.png', + ), PlaceCategory.visited => BitmapDescriptor.asset( - createLocalImageConfiguration(context, size: const Size.square(32)), - 'assets/visited.png'), + createLocalImageConfiguration(context, size: const Size.square(32)), + 'assets/visited.png', + ), PlaceCategory.wantToGo => Future.value(BitmapDescriptor.defaultMarker), }; static List _getPlacesForCategory( - PlaceCategory category, List places) { + PlaceCategory category, + List places, + ) { return places.where((place) => place.category == category).toList(); } } @@ -496,10 +502,11 @@ class _CategoryButtonBar extends StatelessWidget { children: [ FilledButton( style: FilledButton.styleFrom( - backgroundColor: - selectedPlaceCategory == PlaceCategory.favorite - ? Colors.green[700] - : Colors.lightGreen), + backgroundColor: + selectedPlaceCategory == PlaceCategory.favorite + ? Colors.green[700] + : Colors.lightGreen, + ), onPressed: () => onChanged(PlaceCategory.favorite), child: const Text( 'Favorites', @@ -508,10 +515,11 @@ class _CategoryButtonBar extends StatelessWidget { ), FilledButton( style: FilledButton.styleFrom( - backgroundColor: - selectedPlaceCategory == PlaceCategory.visited - ? Colors.green[700] - : Colors.lightGreen), + backgroundColor: + selectedPlaceCategory == PlaceCategory.visited + ? Colors.green[700] + : Colors.lightGreen, + ), onPressed: () => onChanged(PlaceCategory.visited), child: const Text( 'Visited', @@ -520,10 +528,11 @@ class _CategoryButtonBar extends StatelessWidget { ), FilledButton( style: FilledButton.styleFrom( - backgroundColor: - selectedPlaceCategory == PlaceCategory.wantToGo - ? Colors.green[700] - : Colors.lightGreen), + backgroundColor: + selectedPlaceCategory == PlaceCategory.wantToGo + ? Colors.green[700] + : Colors.lightGreen, + ), onPressed: () => onChanged(PlaceCategory.wantToGo), child: const Text( 'Want To Go', diff --git a/place_tracker/lib/place_tracker_app.dart b/place_tracker/lib/place_tracker_app.dart index e067893a1..13ad156f1 100644 --- a/place_tracker/lib/place_tracker_app.dart +++ b/place_tracker/lib/place_tracker_app.dart @@ -13,10 +13,7 @@ import 'place_list.dart'; import 'place_map.dart'; import 'stub_data.dart'; -enum PlaceTrackerViewType { - map, - list, -} +enum PlaceTrackerViewType { map, list } class PlaceTrackerApp extends StatelessWidget { const PlaceTrackerApp({super.key}); @@ -35,25 +32,26 @@ class PlaceTrackerApp extends StatelessWidget { foregroundColor: Colors.white, ), ), - routerConfig: GoRouter(routes: [ - GoRoute( - path: '/', - builder: (context, state) => const _PlaceTrackerHomePage(), - routes: [ - GoRoute( - path: 'place/:id', - builder: (context, state) { - final id = state.pathParameters['id']!; - final place = context - .read() - .places - .singleWhere((place) => place.id == id); - return PlaceDetails(place: place); - }, - ), - ], - ), - ]), + routerConfig: GoRouter( + routes: [ + GoRoute( + path: '/', + builder: (context, state) => const _PlaceTrackerHomePage(), + routes: [ + GoRoute( + path: 'place/:id', + builder: (context, state) { + final id = state.pathParameters['id']!; + final place = context.read().places.singleWhere( + (place) => place.id == id, + ); + return PlaceDetails(place: place); + }, + ), + ], + ), + ], + ), ); } } @@ -101,7 +99,7 @@ class _PlaceTrackerHomePage extends StatelessWidget { index: state.viewType == PlaceTrackerViewType.map ? 0 : 1, children: const [ PlaceMap(center: LatLng(45.521563, -122.677433)), - PlaceList() + PlaceList(), ], ), ); diff --git a/place_tracker/lib/stub_data.dart b/place_tracker/lib/stub_data.dart index 5a1f9f315..2e2467f28 100644 --- a/place_tracker/lib/stub_data.dart +++ b/place_tracker/lib/stub_data.dart @@ -148,6 +148,6 @@ class StubData { static const reviewStrings = [ 'My favorite place in Portland. The employees are wonderful and so is the food. I go here at least once a month!', 'Staff was very friendly. Great atmosphere and good music. Would recommend.', - 'Best. Place. In. Town. Period.' + 'Best. Place. In. Town. Period.', ]; } diff --git a/place_tracker/pubspec.yaml b/place_tracker/pubspec.yaml index 1d2148f8a..081132d0c 100644 --- a/place_tracker/pubspec.yaml +++ b/place_tracker/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/platform_channels/lib/main.dart b/platform_channels/lib/main.dart index d80d7cc1a..29c69570d 100644 --- a/platform_channels/lib/main.dart +++ b/platform_channels/lib/main.dart @@ -22,9 +22,7 @@ class PlatformChannelSample extends StatelessWidget { return MaterialApp.router( title: 'Platform Channel Sample', theme: ThemeData( - snackBarTheme: SnackBarThemeData( - backgroundColor: Colors.blue[500], - ), + snackBarTheme: SnackBarThemeData(backgroundColor: Colors.blue[500]), ), routerConfig: router(), ); @@ -75,22 +73,10 @@ class DemoInfo { } List demoList = [ - DemoInfo( - 'MethodChannel Demo', - '/methodChannelDemo', - ), - DemoInfo( - 'EventChannel Demo', - '/eventChannelDemo', - ), - DemoInfo( - 'Platform Image Demo', - '/platformImageDemo', - ), - DemoInfo( - 'BasicMessageChannel Demo', - '/petListScreen', - ) + DemoInfo('MethodChannel Demo', '/methodChannelDemo'), + DemoInfo('EventChannel Demo', '/eventChannelDemo'), + DemoInfo('Platform Image Demo', '/platformImageDemo'), + DemoInfo('BasicMessageChannel Demo', '/petListScreen'), ]; class HomePage extends StatelessWidget { @@ -99,9 +85,7 @@ class HomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Platform Channel Sample'), - ), + appBar: AppBar(title: const Text('Platform Channel Sample')), body: ListView( children: demoList.map((demoInfo) => DemoTile(demoInfo)).toList(), ), diff --git a/platform_channels/lib/src/accelerometer_event_channel.dart b/platform_channels/lib/src/accelerometer_event_channel.dart index c6af4cc49..a7d7b60f8 100644 --- a/platform_channels/lib/src/accelerometer_event_channel.dart +++ b/platform_channels/lib/src/accelerometer_event_channel.dart @@ -14,12 +14,12 @@ class Accelerometer { /// to value changes from the Accelerometer sensor. static Stream get readings { return _eventChannel.receiveBroadcastStream().map( - (dynamic event) => AccelerometerReadings( - event[0] as double, - event[1] as double, - event[2] as double, - ), - ); + (dynamic event) => AccelerometerReadings( + event[0] as double, + event[1] as double, + event[2] as double, + ), + ); } } diff --git a/platform_channels/lib/src/add_pet_details.dart b/platform_channels/lib/src/add_pet_details.dart index bc87007ce..756189f24 100644 --- a/platform_channels/lib/src/add_pet_details.dart +++ b/platform_channels/lib/src/add_pet_details.dart @@ -31,24 +31,19 @@ class _AddPetDetailsState extends State { icon: const Icon(Icons.add), onPressed: () { PetListMessageChannel.addPetDetails( - PetDetails( - petType: petType, - breed: breedTextController.text, - ), + PetDetails(petType: petType, breed: breedTextController.text), ); context.pop(); }, - ) + ), ], ), body: Padding( padding: const EdgeInsets.all(8.0), child: Column( children: [ - const SizedBox( - height: 8, - ), + const SizedBox(height: 8), TextField( controller: breedTextController, decoration: const InputDecoration( @@ -58,9 +53,7 @@ class _AddPetDetailsState extends State { labelText: 'Breed', ), ), - const SizedBox( - height: 8, - ), + const SizedBox(height: 8), RadioListTile( title: const Text('Dog'), value: 'Dog', diff --git a/platform_channels/lib/src/counter_method_channel.dart b/platform_channels/lib/src/counter_method_channel.dart index fe945b118..f6c6a2edd 100644 --- a/platform_channels/lib/src/counter_method_channel.dart +++ b/platform_channels/lib/src/counter_method_channel.dart @@ -15,15 +15,17 @@ class Counter { /// This method is responsible to increment and return the value of count. static Future increment({required int counterValue}) async { - final result = await methodChannel - .invokeMethod('increment', {'count': counterValue}); + final result = await methodChannel.invokeMethod('increment', { + 'count': counterValue, + }); return result!; } /// This method is responsible to decrement and return the value of count. static Future decrement({required int counterValue}) async { - final result = await methodChannel - .invokeMethod('decrement', {'count': counterValue}); + final result = await methodChannel.invokeMethod('decrement', { + 'count': counterValue, + }); return result!; } } diff --git a/platform_channels/lib/src/event_channel_demo.dart b/platform_channels/lib/src/event_channel_demo.dart index 65be2cd22..6a88a60ec 100644 --- a/platform_channels/lib/src/event_channel_demo.dart +++ b/platform_channels/lib/src/event_channel_demo.dart @@ -20,27 +20,32 @@ class EventChannelDemo extends StatelessWidget { Widget build(BuildContext context) { final textStyle = Theme.of(context).textTheme.headlineSmall; return Scaffold( - appBar: AppBar( - title: const Text('EventChannel Demo'), - ), + appBar: AppBar(title: const Text('EventChannel Demo')), body: Center( child: StreamBuilder( stream: Accelerometer.readings, builder: (context, snapshot) { return switch (snapshot) { - AsyncSnapshot(hasError: true) => - Text((snapshot.error as PlatformException).message!), + AsyncSnapshot(hasError: true) => Text( + (snapshot.error as PlatformException).message!, + ), AsyncSnapshot(hasData: true) => Column( - mainAxisAlignment: MainAxisAlignment.center, - children: [ - Text('x axis: ${snapshot.data!.x.toStringAsFixed(3)}', - style: textStyle), - Text('y axis: ${snapshot.data!.y.toStringAsFixed(3)}', - style: textStyle), - Text('z axis: ${snapshot.data!.z.toStringAsFixed(3)}', - style: textStyle) - ], - ), + mainAxisAlignment: MainAxisAlignment.center, + children: [ + Text( + 'x axis: ${snapshot.data!.x.toStringAsFixed(3)}', + style: textStyle, + ), + Text( + 'y axis: ${snapshot.data!.y.toStringAsFixed(3)}', + style: textStyle, + ), + Text( + 'z axis: ${snapshot.data!.z.toStringAsFixed(3)}', + style: textStyle, + ), + ], + ), _ => Text('No Data Available', style: textStyle), }; }, diff --git a/platform_channels/lib/src/image_basic_message_channel.dart b/platform_channels/lib/src/image_basic_message_channel.dart index 98c774940..58c5724af 100644 --- a/platform_channels/lib/src/image_basic_message_channel.dart +++ b/platform_channels/lib/src/image_basic_message_channel.dart @@ -8,8 +8,10 @@ import 'package:flutter/services.dart'; /// from a native asset. The [BasicMessageChannel] uses [StandardMessageCodec] /// since it supports [Uint8List], which is used to transport the image data. class PlatformImageFetcher { - static const _basicMessageChannel = - BasicMessageChannel('platformImageDemo', StandardMessageCodec()); + static const _basicMessageChannel = BasicMessageChannel( + 'platformImageDemo', + StandardMessageCodec(), + ); /// Method responsible for providing the platform image. static Future getImage() async { diff --git a/platform_channels/lib/src/method_channel_demo.dart b/platform_channels/lib/src/method_channel_demo.dart index 396afd188..c12f323f6 100644 --- a/platform_channels/lib/src/method_channel_demo.dart +++ b/platform_channels/lib/src/method_channel_demo.dart @@ -22,9 +22,7 @@ class _MethodChannelDemoState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('MethodChannel Demo'), - ), + appBar: AppBar(title: const Text('MethodChannel Demo')), body: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ @@ -32,9 +30,7 @@ class _MethodChannelDemoState extends State { 'Value of count is $count', style: Theme.of(context).textTheme.headlineSmall, ), - const SizedBox( - height: 16, - ), + const SizedBox(height: 16), Row( mainAxisAlignment: MainAxisAlignment.spaceEvenly, children: [ @@ -74,19 +70,17 @@ class _MethodChannelDemoState extends State { }, icon: const Icon(Icons.remove), label: const Text('Decrement'), - ) + ), ], - ) + ), ], ), ); } void showErrorMessage(BuildContext context, String errorMessage) { - ScaffoldMessenger.of(context).showSnackBar( - SnackBar( - content: Text(errorMessage), - ), - ); + ScaffoldMessenger.of( + context, + ).showSnackBar(SnackBar(content: Text(errorMessage))); } } diff --git a/platform_channels/lib/src/pet_list_message_channel.dart b/platform_channels/lib/src/pet_list_message_channel.dart index 3148f4ebc..defb6f6ea 100644 --- a/platform_channels/lib/src/pet_list_message_channel.dart +++ b/platform_channels/lib/src/pet_list_message_channel.dart @@ -9,11 +9,15 @@ import 'package:flutter/services.dart'; /// This class includes two methods [addPetDetails] and [removePet] which are used /// to add a new pet and remove a pet from the the list respectively. class PetListMessageChannel { - static const _jsonMessageCodecChannel = - BasicMessageChannel('jsonMessageCodecDemo', JSONMessageCodec()); + static const _jsonMessageCodecChannel = BasicMessageChannel( + 'jsonMessageCodecDemo', + JSONMessageCodec(), + ); - static const _binaryCodecChannel = - BasicMessageChannel('binaryCodecDemo', BinaryCodec()); + static const _binaryCodecChannel = BasicMessageChannel( + 'binaryCodecDemo', + BinaryCodec(), + ); /// Method to add a new pet to the list. /// @@ -43,9 +47,7 @@ class PetListMessageChannel { /// A model class that provides [petList] which is received from platform. class PetListModel { - PetListModel({ - required this.petList, - }); + PetListModel({required this.petList}); final List petList; @@ -53,32 +55,30 @@ class PetListModel { factory PetListModel.fromJson(String jsonString) { final jsonData = json.decode(jsonString) as Map; return PetListModel( - petList: List.from((jsonData['petList'] as List).map( - (dynamic petDetailsMap) => PetDetails.fromMap( - petDetailsMap as Map, + petList: List.from( + (jsonData['petList'] as List).map( + (dynamic petDetailsMap) => + PetDetails.fromMap(petDetailsMap as Map), ), - )), + ), ); } } /// A simple model that provides pet details like [petType] and [breed] of pet. class PetDetails { - PetDetails({ - required this.petType, - required this.breed, - }); + PetDetails({required this.petType, required this.breed}); final String petType; final String breed; factory PetDetails.fromMap(Map map) => PetDetails( - petType: map['petType'] as String, - breed: map['breed'] as String, - ); + petType: map['petType'] as String, + breed: map['breed'] as String, + ); Map toJson() => { - 'petType': petType, - 'breed': breed, - }; + 'petType': petType, + 'breed': breed, + }; } diff --git a/platform_channels/lib/src/pet_list_screen.dart b/platform_channels/lib/src/pet_list_screen.dart index 3ea9f1389..34dc810eb 100644 --- a/platform_channels/lib/src/pet_list_screen.dart +++ b/platform_channels/lib/src/pet_list_screen.dart @@ -26,8 +26,10 @@ class _PetListScreenState extends State { // Receives a string of json object from the platform and converts it // to PetModel. final scaffoldMessenger = ScaffoldMessenger.of(context); - const BasicMessageChannel('stringCodecDemo', StringCodec()) - .setMessageHandler((message) async { + const BasicMessageChannel( + 'stringCodecDemo', + StringCodec(), + ).setMessageHandler((message) async { if (message == null) { scaffoldMessenger.showSnackBar( const SnackBar( @@ -47,18 +49,17 @@ class _PetListScreenState extends State { Widget build(BuildContext context) { return Scaffold( key: scaffoldKey, - appBar: AppBar( - title: const Text('Pet List'), - ), + appBar: AppBar(title: const Text('Pet List')), floatingActionButton: FloatingActionButton( child: const Icon(Icons.add), onPressed: () { context.go('/petListScreen/addPetDetails'); }, ), - body: petListModel.petList.isEmpty - ? const Center(child: Text('Enter Pet Details')) - : BuildPetList(petListModel.petList), + body: + petListModel.petList.isEmpty + ? const Center(child: Text('Enter Pet Details')) + : BuildPetList(petListModel.petList), ); } } @@ -77,9 +78,7 @@ class BuildPetList extends StatelessWidget { itemBuilder: (context, index) { return ListTile( title: Text('Pet breed: ${petList[index].breed}'), - subtitle: Text( - 'Pet type: ${petList[index].petType}', - ), + subtitle: Text('Pet type: ${petList[index].petType}'), trailing: IconButton( icon: const Icon(Icons.delete), onPressed: () async { @@ -90,9 +89,11 @@ class BuildPetList extends StatelessWidget { const SnackBar(content: Text('Removed successfully!')), ); } catch (error) { - scaffoldMessenger.showSnackBar(SnackBar( - content: Text((error as PlatformException).message!), - )); + scaffoldMessenger.showSnackBar( + SnackBar( + content: Text((error as PlatformException).message!), + ), + ); } }, ), diff --git a/platform_channels/lib/src/platform_image_demo.dart b/platform_channels/lib/src/platform_image_demo.dart index 950d3c48b..4a8017811 100644 --- a/platform_channels/lib/src/platform_image_demo.dart +++ b/platform_channels/lib/src/platform_image_demo.dart @@ -23,9 +23,7 @@ class _PlatformImageDemoState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Platform Image Demo'), - ), + appBar: AppBar(title: const Text('Platform Image Demo')), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, @@ -47,29 +45,25 @@ class _PlatformImageDemoState extends State { ); } else if (snapshot.connectionState == ConnectionState.done) { - return Image.memory( - snapshot.data!, - fit: BoxFit.fill, - ); + return Image.memory(snapshot.data!, fit: BoxFit.fill); } return const CircularProgressIndicator(); }, ), ), ), - const SizedBox( - height: 16, - ), + const SizedBox(height: 16), FilledButton( - onPressed: imageData != null - ? null - : () { - setState(() { - imageData = PlatformImageFetcher.getImage(); - }); - }, + onPressed: + imageData != null + ? null + : () { + setState(() { + imageData = PlatformImageFetcher.getImage(); + }); + }, child: const Text('Get Image'), - ) + ), ], ), ), diff --git a/platform_channels/pubspec.yaml b/platform_channels/pubspec.yaml index bd4dcb625..241efaf89 100644 --- a/platform_channels/pubspec.yaml +++ b/platform_channels/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/platform_channels/test/home_page_test.dart b/platform_channels/test/home_page_test.dart index 0a033956c..522037d38 100644 --- a/platform_channels/test/home_page_test.dart +++ b/platform_channels/test/home_page_test.dart @@ -9,9 +9,7 @@ import 'package:platform_channels/main.dart'; void main() { group('HomePage tests', () { testWidgets('HomePage has multiple Text widgets', (tester) async { - await tester.pumpWidget(const MaterialApp( - home: HomePage(), - )); + await tester.pumpWidget(const MaterialApp(home: HomePage())); expect(find.byType(Text), findsWidgets); }); diff --git a/platform_channels/test/src/add_pet_details_test.dart b/platform_channels/test/src/add_pet_details_test.dart index 150c1fe6c..fc63ae140 100644 --- a/platform_channels/test/src/add_pet_details_test.dart +++ b/platform_channels/test/src/add_pet_details_test.dart @@ -14,17 +14,15 @@ void main() { testWidgets('Enter pet details', (tester) async { tester.binding.defaultBinaryMessenger.setMockDecodedMessageHandler( const BasicMessageChannel( - 'jsonMessageCodecDemo', JSONMessageCodec()), + 'jsonMessageCodecDemo', + JSONMessageCodec(), + ), (dynamic message) async { petList.add(message as Map); }, ); var router = app.router('/petListScreen/addPetDetails'); - await tester.pumpWidget( - MaterialApp.router( - routerConfig: router, - ), - ); + await tester.pumpWidget(MaterialApp.router(routerConfig: router)); // Enter the breed of cat. await tester.enterText(find.byType(TextField), 'Persian'); diff --git a/platform_channels/test/src/event_channel_demo_test.dart b/platform_channels/test/src/event_channel_demo_test.dart index 86b166a75..9ca672e40 100644 --- a/platform_channels/test/src/event_channel_demo_test.dart +++ b/platform_channels/test/src/event_channel_demo_test.dart @@ -21,11 +21,7 @@ void main() { // after decoding the message with codec used by the EventChannel. void emitValues(ByteData? event) { TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger - .handlePlatformMessage( - 'eventChannelDemo', - event, - (reply) {}, - ); + .handlePlatformMessage('eventChannelDemo', event, (reply) {}); } // Register a mock for EventChannel. EventChannel under the hood uses @@ -33,27 +29,26 @@ void main() { TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger .setMockMessageHandler('eventChannelDemo', (message) async { - // Decode the message into MethodCallHandler. - final methodCall = standardMethod.decodeMethodCall(message); + // Decode the message into MethodCallHandler. + final methodCall = standardMethod.decodeMethodCall(message); - if (methodCall.method == 'listen') { - // Emit new sensor values. - emitValues(standardMethod.encodeSuccessEnvelope(sensorValues)); - emitValues(null); - return standardMethod.encodeSuccessEnvelope(null); - } else if (methodCall.method == 'cancel') { - return standardMethod.encodeSuccessEnvelope(null); - } else { - fail('Expected listen or cancel'); - } - }); + if (methodCall.method == 'listen') { + // Emit new sensor values. + emitValues(standardMethod.encodeSuccessEnvelope(sensorValues)); + emitValues(null); + return standardMethod.encodeSuccessEnvelope(null); + } else if (methodCall.method == 'cancel') { + return standardMethod.encodeSuccessEnvelope(null); + } else { + fail('Expected listen or cancel'); + } + }); }); - testWidgets('EventChannel AccelerometerReadings Stream test', - (tester) async { - await tester.pumpWidget(const MaterialApp( - home: EventChannelDemo(), - )); + testWidgets('EventChannel AccelerometerReadings Stream test', ( + tester, + ) async { + await tester.pumpWidget(const MaterialApp(home: EventChannelDemo())); await tester.pumpAndSettle(); diff --git a/platform_channels/test/src/method_channel_demo_test.dart b/platform_channels/test/src/method_channel_demo_test.dart index da05eb8e2..fad8f0765 100644 --- a/platform_channels/test/src/method_channel_demo_test.dart +++ b/platform_channels/test/src/method_channel_demo_test.dart @@ -23,9 +23,7 @@ void main() { return MissingPluginException(); }, ); - await tester.pumpWidget(const MaterialApp( - home: MethodChannelDemo(), - )); + await tester.pumpWidget(const MaterialApp(home: MethodChannelDemo())); // Initially the value of count should be 0. expect(find.text('Value of count is 0'), findsOneWidget); diff --git a/platform_channels/test/src/pet_list_screen_test.dart b/platform_channels/test/src/pet_list_screen_test.dart index 74fcfeae3..c30117043 100644 --- a/platform_channels/test/src/pet_list_screen_test.dart +++ b/platform_channels/test/src/pet_list_screen_test.dart @@ -12,14 +12,13 @@ import 'package:platform_channels/src/pet_list_screen.dart'; void main() { group('PetListScreen tests', () { - const basicMessageChannel = - BasicMessageChannel('stringCodecDemo', StringCodec()); + const basicMessageChannel = BasicMessageChannel( + 'stringCodecDemo', + StringCodec(), + ); var petList = [ - { - 'petType': 'Dog', - 'breed': 'Pug', - } + {'petType': 'Dog', 'breed': 'Pug'}, ]; PetListModel? petListModel; @@ -28,29 +27,37 @@ void main() { // Mock for the pet list received from the platform. TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger .setMockDecodedMessageHandler(basicMessageChannel, (message) async { - petListModel = PetListModel.fromJson(message!); - return null; - }); + petListModel = PetListModel.fromJson(message!); + return null; + }); // Mock for the index received from the Dart to delete the pet details, // and send the updated pet list back to Dart. TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger .setMockDecodedMessageHandler( - const BasicMessageChannel( - 'binaryCodecDemo', BinaryCodec()), (message) async { - // Convert the ByteData to String. - final index = utf8.decoder.convert(message!.buffer - .asUint8List(message.offsetInBytes, message.lengthInBytes)); - - // Remove the pet details at the given index. - petList.removeAt(int.parse(index)); - - // Send the updated petList back. - final map = {'petList': petList}; - await basicMessageChannel.send(json.encode(map)); - - return null; - }); + const BasicMessageChannel( + 'binaryCodecDemo', + BinaryCodec(), + ), + (message) async { + // Convert the ByteData to String. + final index = utf8.decoder.convert( + message!.buffer.asUint8List( + message.offsetInBytes, + message.lengthInBytes, + ), + ); + + // Remove the pet details at the given index. + petList.removeAt(int.parse(index)); + + // Send the updated petList back. + final map = {'petList': petList}; + await basicMessageChannel.send(json.encode(map)); + + return null; + }, + ); }); test('convert json message to PetListModel', () { @@ -70,11 +77,9 @@ void main() { }); testWidgets('BuildPetList test', (tester) async { - await tester.pumpWidget(MaterialApp( - home: Scaffold( - body: BuildPetList(petListModel!.petList), - ), - )); + await tester.pumpWidget( + MaterialApp(home: Scaffold(body: BuildPetList(petListModel!.petList))), + ); expect(find.text('Pet type: Dog'), findsOneWidget); expect(find.text('Pet breed: Pug'), findsOneWidget); diff --git a/platform_channels/test/src/platform_image_demo_test.dart b/platform_channels/test/src/platform_image_demo_test.dart index ad587d678..65c2bb215 100644 --- a/platform_channels/test/src/platform_image_demo_test.dart +++ b/platform_channels/test/src/platform_image_demo_test.dart @@ -12,15 +12,15 @@ void main() { testWidgets('Platform Image test', (tester) async { tester.binding.defaultBinaryMessenger.setMockDecodedMessageHandler( const BasicMessageChannel( - 'platformImageDemo', StandardMessageCodec()), + 'platformImageDemo', + StandardMessageCodec(), + ), (dynamic message) async { var byteData = await rootBundle.load('assets/eat_new_orleans.jpg'); return byteData.buffer.asUint8List(); }, ); - await tester.pumpWidget(const MaterialApp( - home: PlatformImageDemo(), - )); + await tester.pumpWidget(const MaterialApp(home: PlatformImageDemo())); // Initially a PlaceHolder is displayed when imageData is null. expect(find.byType(Placeholder), findsOneWidget); diff --git a/platform_design/lib/main.dart b/platform_design/lib/main.dart index 51e1508f8..03e104892 100644 --- a/platform_design/lib/main.dart +++ b/platform_design/lib/main.dart @@ -69,10 +69,7 @@ class _PlatformAdaptingHomePageState extends State { // all 4 possible tabs. This drawer is injected into the songs tab which is // actually building the scaffold around the drawer. Widget _buildAndroidHomePage(BuildContext context) { - return SongsTab( - key: songsTabKey, - androidDrawer: _AndroidDrawer(), - ); + return SongsTab(key: songsTabKey, androidDrawer: _AndroidDrawer()); } // On iOS, the app uses a bottom tab paradigm. Here, each tab view sits inside @@ -91,10 +88,7 @@ class _PlatformAdaptingHomePageState extends State { label: SongsTab.title, icon: SongsTab.iosIcon, ), - BottomNavigationBarItem( - label: NewsTab.title, - icon: NewsTab.iosIcon, - ), + BottomNavigationBarItem(label: NewsTab.title, icon: NewsTab.iosIcon), BottomNavigationBarItem( label: ProfileTab.title, icon: ProfileTab.iosIcon, @@ -105,17 +99,17 @@ class _PlatformAdaptingHomePageState extends State { assert(index <= 2 && index >= 0, 'Unexpected tab index: $index'); return switch (index) { 0 => CupertinoTabView( - defaultTitle: SongsTab.title, - builder: (context) => SongsTab(key: songsTabKey), - ), + defaultTitle: SongsTab.title, + builder: (context) => SongsTab(key: songsTabKey), + ), 1 => CupertinoTabView( - defaultTitle: NewsTab.title, - builder: (context) => const NewsTab(), - ), + defaultTitle: NewsTab.title, + builder: (context) => const NewsTab(), + ), 2 => CupertinoTabView( - defaultTitle: ProfileTab.title, - builder: (context) => const ProfileTab(), - ), + defaultTitle: ProfileTab.title, + builder: (context) => const ProfileTab(), + ), _ => const SizedBox.shrink(), }; }, @@ -161,8 +155,10 @@ class _AndroidDrawer extends StatelessWidget { title: const Text(NewsTab.title), onTap: () { Navigator.pop(context); - Navigator.push(context, - MaterialPageRoute(builder: (context) => const NewsTab())); + Navigator.push( + context, + MaterialPageRoute(builder: (context) => const NewsTab()), + ); }, ), ListTile( @@ -170,8 +166,10 @@ class _AndroidDrawer extends StatelessWidget { title: const Text(ProfileTab.title), onTap: () { Navigator.pop(context); - Navigator.push(context, - MaterialPageRoute(builder: (context) => const ProfileTab())); + Navigator.push( + context, + MaterialPageRoute(builder: (context) => const ProfileTab()), + ); }, ), // Long drawer contents are often segmented. @@ -184,8 +182,10 @@ class _AndroidDrawer extends StatelessWidget { title: const Text(SettingsTab.title), onTap: () { Navigator.pop(context); - Navigator.push(context, - MaterialPageRoute(builder: (context) => const SettingsTab())); + Navigator.push( + context, + MaterialPageRoute(builder: (context) => const SettingsTab()), + ); }, ), ], diff --git a/platform_design/lib/news_tab.dart b/platform_design/lib/news_tab.dart index d3e8246a7..26c3a698c 100644 --- a/platform_design/lib/news_tab.dart +++ b/platform_design/lib/news_tab.dart @@ -32,8 +32,10 @@ class _NewsTabState extends State { void initState() { colors = getRandomColors(_itemsLength); titles = List.generate(_itemsLength, (index) => generateRandomHeadline()); - contents = - List.generate(_itemsLength, (index) => lorem(paragraphs: 1, words: 24)); + contents = List.generate( + _itemsLength, + (index) => lorem(paragraphs: 1, words: 24), + ); super.initState(); } @@ -44,9 +46,7 @@ class _NewsTabState extends State { child: Card( elevation: 1.5, margin: const EdgeInsets.fromLTRB(6, 12, 6, 0), - shape: RoundedRectangleBorder( - borderRadius: BorderRadius.circular(4), - ), + shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(4)), child: InkWell( // Make it splash on Android. It would happen automatically if this // was a real card but this is just a demo. Skip the splash on iOS. @@ -76,9 +76,7 @@ class _NewsTabState extends State { ), ), const Padding(padding: EdgeInsets.only(top: 8)), - Text( - contents[index], - ), + Text(contents[index]), ], ), ), @@ -96,9 +94,7 @@ class _NewsTabState extends State { Widget _buildAndroid(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text(NewsTab.title), - ), + appBar: AppBar(title: const Text(NewsTab.title)), body: ListView.builder( itemCount: _itemsLength, itemBuilder: _listBuilder, @@ -118,9 +114,6 @@ class _NewsTabState extends State { @override Widget build(context) { - return PlatformWidget( - androidBuilder: _buildAndroid, - iosBuilder: _buildIos, - ); + return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); } } diff --git a/platform_design/lib/profile_tab.dart b/platform_design/lib/profile_tab.dart index 42d166991..ddca7dbe1 100644 --- a/platform_design/lib/profile_tab.dart +++ b/platform_design/lib/profile_tab.dart @@ -54,9 +54,7 @@ class ProfileTab extends StatelessWidget { 'Into the darkness', ], ), - Expanded( - child: Container(), - ), + Expanded(child: Container()), const LogOutButton(), ], ), @@ -71,9 +69,7 @@ class ProfileTab extends StatelessWidget { Widget _buildAndroid(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text(title), - ), + appBar: AppBar(title: const Text(title)), body: _buildBody(context), ); } @@ -103,10 +99,7 @@ class ProfileTab extends StatelessWidget { @override Widget build(context) { - return PlatformWidget( - androidBuilder: _buildAndroid, - iosBuilder: _buildIos, - ); + return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); } } @@ -135,10 +128,7 @@ class PreferenceCard extends StatelessWidget { child: Padding( padding: const EdgeInsets.only(top: 40), child: Center( - child: Text( - content, - style: const TextStyle(fontSize: 48), - ), + child: Text(content, style: const TextStyle(fontSize: 48)), ), ), ), @@ -172,7 +162,8 @@ class PreferenceCard extends StatelessWidget { class LogOutButton extends StatelessWidget { static const _logoutMessage = Text( - "You can't actually log out! This is just a demo of how alerts work."); + "You can't actually log out! This is just a demo of how alerts work.", + ); const LogOutButton({super.key}); @@ -252,9 +243,6 @@ class LogOutButton extends StatelessWidget { @override Widget build(context) { - return PlatformWidget( - androidBuilder: _buildAndroid, - iosBuilder: _buildIos, - ); + return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); } } diff --git a/platform_design/lib/settings_tab.dart b/platform_design/lib/settings_tab.dart index 9eb7d36be..d9df95004 100644 --- a/platform_design/lib/settings_tab.dart +++ b/platform_design/lib/settings_tab.dart @@ -91,9 +91,7 @@ class _SettingsTabState extends State { Widget _buildAndroid(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text(SettingsTab.title), - ), + appBar: AppBar(title: const Text(SettingsTab.title)), body: _buildList(), ); } @@ -107,9 +105,6 @@ class _SettingsTabState extends State { @override Widget build(context) { - return PlatformWidget( - androidBuilder: _buildAndroid, - iosBuilder: _buildIos, - ); + return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); } } diff --git a/platform_design/lib/song_detail_tab.dart b/platform_design/lib/song_detail_tab.dart index c6c19288a..a3d1827fa 100644 --- a/platform_design/lib/song_detail_tab.dart +++ b/platform_design/lib/song_detail_tab.dart @@ -42,8 +42,13 @@ class SongDetailTab extends StatelessWidget { // to build while the hero transition is mid-flight. // // It could either be specified here or in SongsTab. - flightShuttleBuilder: (context, animation, flightDirection, - fromHeroContext, toHeroContext) { + flightShuttleBuilder: ( + context, + animation, + flightDirection, + fromHeroContext, + toHeroContext, + ) { return HeroAnimatingSongCard( song: song, color: color, @@ -51,26 +56,24 @@ class SongDetailTab extends StatelessWidget { ); }, ), - const Divider( - height: 0, - color: Colors.grey, - ), + const Divider(height: 0, color: Colors.grey), Expanded( child: ListView.builder( itemCount: 10, - itemBuilder: (context, index) => switch (index) { - 0 => const Padding( - padding: EdgeInsets.only(left: 15, top: 16, bottom: 8), - child: Text( - 'You might also like:', - style: TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, + itemBuilder: + (context, index) => switch (index) { + 0 => const Padding( + padding: EdgeInsets.only(left: 15, top: 16, bottom: 8), + child: Text( + 'You might also like:', + style: TextStyle( + fontSize: 16, + fontWeight: FontWeight.w500, + ), ), ), - ), - _ => const SongPlaceholderTile(), - }, + _ => const SongPlaceholderTile(), + }, ), ), ], @@ -83,10 +86,7 @@ class SongDetailTab extends StatelessWidget { // =========================================================================== Widget _buildAndroid(BuildContext context) { - return Scaffold( - appBar: AppBar(title: Text(song)), - body: _buildBody(), - ); + return Scaffold(appBar: AppBar(title: Text(song)), body: _buildBody()); } Widget _buildIos(BuildContext context) { @@ -101,9 +101,6 @@ class SongDetailTab extends StatelessWidget { @override Widget build(context) { - return PlatformWidget( - androidBuilder: _buildAndroid, - iosBuilder: _buildIos, - ); + return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); } } diff --git a/platform_design/lib/songs_tab.dart b/platform_design/lib/songs_tab.dart index e709ae56b..48d8d8f2a 100644 --- a/platform_design/lib/songs_tab.dart +++ b/platform_design/lib/songs_tab.dart @@ -55,9 +55,10 @@ class _SongsTabState extends State { // Show a slightly different color palette. Show poppy-ier colors on iOS // due to lighter contrasting bars and tone it down on Android. - final color = defaultTargetPlatform == TargetPlatform.iOS - ? colors[index] - : colors[index].shade400; + final color = + defaultTargetPlatform == TargetPlatform.iOS + ? colors[index] + : colors[index].shade400; return SafeArea( top: false, @@ -68,15 +69,17 @@ class _SongsTabState extends State { song: songNames[index], color: color, heroAnimation: const AlwaysStoppedAnimation(0), - onPressed: () => Navigator.of(context).push( - MaterialPageRoute( - builder: (context) => SongDetailTab( - id: index, - song: songNames[index], - color: color, + onPressed: + () => Navigator.of(context).push( + MaterialPageRoute( + builder: + (context) => SongDetailTab( + id: index, + song: songNames[index], + color: color, + ), + ), ), - ), - ), ), ), ); @@ -114,8 +117,8 @@ class _SongsTabState extends State { actions: [ IconButton( icon: const Icon(Icons.refresh), - onPressed: () async => - await _androidRefreshKey.currentState!.show(), + onPressed: + () async => await _androidRefreshKey.currentState!.show(), ), IconButton( icon: const Icon(Icons.shuffle), @@ -146,9 +149,7 @@ class _SongsTabState extends State { child: const Icon(CupertinoIcons.shuffle), ), ), - CupertinoSliverRefreshControl( - onRefresh: _refreshData, - ), + CupertinoSliverRefreshControl(onRefresh: _refreshData), SliverSafeArea( top: false, sliver: SliverPadding( @@ -167,9 +168,6 @@ class _SongsTabState extends State { @override Widget build(context) { - return PlatformWidget( - androidBuilder: _buildAndroid, - iosBuilder: _buildIos, - ); + return PlatformWidget(androidBuilder: _buildAndroid, iosBuilder: _buildIos); } } diff --git a/platform_design/lib/widgets.dart b/platform_design/lib/widgets.dart index 16d550189..7189998c1 100644 --- a/platform_design/lib/widgets.dart +++ b/platform_design/lib/widgets.dart @@ -20,13 +20,14 @@ class PlatformWidget extends StatelessWidget { @override Widget build(context) { assert( - defaultTargetPlatform == TargetPlatform.android || - defaultTargetPlatform == TargetPlatform.iOS, - 'Unexpected platform $defaultTargetPlatform'); + defaultTargetPlatform == TargetPlatform.android || + defaultTargetPlatform == TargetPlatform.iOS, + 'Unexpected platform $defaultTargetPlatform', + ); return switch (defaultTargetPlatform) { TargetPlatform.android => androidBuilder(context), TargetPlatform.iOS => iosBuilder(context), - _ => const SizedBox.shrink() + _ => const SizedBox.shrink(), }; } } @@ -65,8 +66,9 @@ class _PressableCardState extends State vsync: this, duration: const Duration(milliseconds: 40), ); - elevationAnimation = - controller.drive(CurveTween(curve: Curves.easeInOutCubic)); + elevationAnimation = controller.drive( + CurveTween(curve: Curves.easeInOutCubic), + ); super.initState(); } @@ -99,8 +101,10 @@ class _PressableCardState extends State // hero animation. You likely want to modularize them more in your own // app. child: AnimatedBuilder( - animation: - Listenable.merge([elevationAnimation, widget.flattenAnimation]), + animation: Listenable.merge([ + elevationAnimation, + widget.flattenAnimation, + ]), child: widget.child, builder: (context, child) { return Transform.scale( @@ -110,7 +114,7 @@ class _PressableCardState extends State child: Padding( padding: const EdgeInsets.symmetric(vertical: 16, horizontal: 16) * - flatten, + flatten, child: PhysicalModel( elevation: ((1 - elevationAnimation.value) * 10 + 10) * flatten, @@ -192,7 +196,8 @@ class HeroAnimatingSongCard extends StatelessWidget { ), // The play button grows in the hero animation. Padding( - padding: const EdgeInsets.only(bottom: 45) * + padding: + const EdgeInsets.only(bottom: 45) * (1 - heroAnimation.value), child: Container( height: playButtonSize, @@ -202,8 +207,11 @@ class HeroAnimatingSongCard extends StatelessWidget { color: Colors.black12, ), alignment: Alignment.center, - child: Icon(Icons.play_arrow, - size: playButtonSize, color: Colors.black38), + child: Icon( + Icons.play_arrow, + size: playButtonSize, + color: Colors.black38, + ), ), ), ], @@ -234,9 +242,7 @@ class SongPlaceholderTile extends StatelessWidget { color: Theme.of(context).textTheme.bodyMedium!.color, width: 130, ), - const Padding( - padding: EdgeInsets.only(left: 12), - ), + const Padding(padding: EdgeInsets.only(left: 12)), Expanded( child: Column( crossAxisAlignment: CrossAxisAlignment.start, @@ -342,9 +348,7 @@ void showChoices(BuildContext context, List choices) { return Center( child: Text( choices[index], - style: const TextStyle( - fontSize: 21, - ), + style: const TextStyle(fontSize: 21), ), ); }), diff --git a/platform_design/pubspec.yaml b/platform_design/pubspec.yaml index da7d3ddd1..d91118cf6 100644 --- a/platform_design/pubspec.yaml +++ b/platform_design/pubspec.yaml @@ -3,7 +3,7 @@ description: A project showcasing a Flutter app following different platform IA version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: english_words: ^4.0.0 diff --git a/platform_view_swift/lib/main.dart b/platform_view_swift/lib/main.dart index 74a5f154c..554d6945b 100644 --- a/platform_view_swift/lib/main.dart +++ b/platform_view_swift/lib/main.dart @@ -18,9 +18,7 @@ class PlatformView extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Platform View', - theme: ThemeData( - primarySwatch: Colors.grey, - ), + theme: ThemeData(primarySwatch: Colors.grey), home: const HomePage(), ); } @@ -34,23 +32,24 @@ class HomePage extends StatefulWidget { } class _HomePageState extends State { - static const MethodChannel _methodChannel = - MethodChannel('dev.flutter.sample/platform_view_swift'); + static const MethodChannel _methodChannel = MethodChannel( + 'dev.flutter.sample/platform_view_swift', + ); int _counter = 0; Future _launchPlatformCount() async { - final platformCounter = - await _methodChannel.invokeMethod('switchView', _counter); + final platformCounter = await _methodChannel.invokeMethod( + 'switchView', + _counter, + ); setState(() => _counter = platformCounter ?? 0); } @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Home page'), - ), + appBar: AppBar(title: const Text('Home page')), body: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ diff --git a/platform_view_swift/pubspec.yaml b/platform_view_swift/pubspec.yaml index ddded240e..159ee9984 100644 --- a/platform_view_swift/pubspec.yaml +++ b/platform_view_swift/pubspec.yaml @@ -4,7 +4,7 @@ description: A new Flutter project. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/provider_counter/lib/main.dart b/provider_counter/lib/main.dart index 8a970271a..1a6bdd035 100644 --- a/provider_counter/lib/main.dart +++ b/provider_counter/lib/main.dart @@ -38,11 +38,13 @@ void setupWindow() { setWindowMinSize(const Size(windowWidth, windowHeight)); setWindowMaxSize(const Size(windowWidth, windowHeight)); getCurrentScreen().then((screen) { - setWindowFrame(Rect.fromCenter( - center: screen!.frame.center, - width: windowWidth, - height: windowHeight, - )); + setWindowFrame( + Rect.fromCenter( + center: screen!.frame.center, + width: windowWidth, + height: windowHeight, + ), + ); }); } } @@ -67,9 +69,7 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Flutter Demo', - theme: ThemeData( - primarySwatch: Colors.blue, - ), + theme: ThemeData(primarySwatch: Colors.blue), home: const MyHomePage(), ); } @@ -81,9 +81,7 @@ class MyHomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Flutter Demo Home Page'), - ), + appBar: AppBar(title: const Text('Flutter Demo Home Page')), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, @@ -94,10 +92,11 @@ class MyHomePage extends StatelessWidget { // Then it uses that model to build widgets, and will trigger // rebuilds if the model is updated. Consumer( - builder: (context, counter, child) => Text( - '${counter.value}', - style: Theme.of(context).textTheme.headlineMedium, - ), + builder: + (context, counter, child) => Text( + '${counter.value}', + style: Theme.of(context).textTheme.headlineMedium, + ), ), ], ), diff --git a/provider_counter/pubspec.yaml b/provider_counter/pubspec.yaml index d641cab8f..1aa8464ce 100644 --- a/provider_counter/pubspec.yaml +++ b/provider_counter/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/provider_shopper/lib/main.dart b/provider_shopper/lib/main.dart index e20234925..111e9fe9f 100644 --- a/provider_shopper/lib/main.dart +++ b/provider_shopper/lib/main.dart @@ -31,11 +31,13 @@ void setupWindow() { setWindowMinSize(const Size(windowWidth, windowHeight)); setWindowMaxSize(const Size(windowWidth, windowHeight)); getCurrentScreen().then((screen) { - setWindowFrame(Rect.fromCenter( - center: screen!.frame.center, - width: windowWidth, - height: windowHeight, - )); + setWindowFrame( + Rect.fromCenter( + center: screen!.frame.center, + width: windowWidth, + height: windowHeight, + ), + ); }); } } @@ -44,18 +46,12 @@ GoRouter router() { return GoRouter( initialLocation: '/login', routes: [ - GoRoute( - path: '/login', - builder: (context, state) => const MyLogin(), - ), + GoRoute(path: '/login', builder: (context, state) => const MyLogin()), GoRoute( path: '/catalog', builder: (context, state) => const MyCatalog(), routes: [ - GoRoute( - path: 'cart', - builder: (context, state) => const MyCart(), - ), + GoRoute(path: 'cart', builder: (context, state) => const MyCart()), ], ), ], diff --git a/provider_shopper/lib/models/catalog.dart b/provider_shopper/lib/models/catalog.dart index a7b26df17..76470f9de 100644 --- a/provider_shopper/lib/models/catalog.dart +++ b/provider_shopper/lib/models/catalog.dart @@ -51,9 +51,9 @@ class Item { final int price = 42; Item(this.id, this.name) - // To make the sample app look nicer, each item is given one of the - // Material Design primary colors. - : color = Colors.primaries[id % Colors.primaries.length]; + // To make the sample app look nicer, each item is given one of the + // Material Design primary colors. + : color = Colors.primaries[id % Colors.primaries.length]; @override int get hashCode => id; diff --git a/provider_shopper/lib/screens/cart.dart b/provider_shopper/lib/screens/cart.dart index d8d457697..9e063600b 100644 --- a/provider_shopper/lib/screens/cart.dart +++ b/provider_shopper/lib/screens/cart.dart @@ -27,7 +27,7 @@ class MyCart extends StatelessWidget { ), ), const Divider(height: 4, color: Colors.black), - _CartTotal() + _CartTotal(), ], ), ), @@ -46,19 +46,17 @@ class _CartList extends StatelessWidget { return ListView.builder( itemCount: cart.items.length, - itemBuilder: (context, index) => ListTile( - leading: const Icon(Icons.done), - trailing: IconButton( - icon: const Icon(Icons.remove_circle_outline), - onPressed: () { - cart.remove(cart.items[index]); - }, - ), - title: Text( - cart.items[index].name, - style: itemNameStyle, - ), - ), + itemBuilder: + (context, index) => ListTile( + leading: const Icon(Icons.done), + trailing: IconButton( + icon: const Icon(Icons.remove_circle_outline), + onPressed: () { + cart.remove(cart.items[index]); + }, + ), + title: Text(cart.items[index].name, style: itemNameStyle), + ), ); } } @@ -66,8 +64,9 @@ class _CartList extends StatelessWidget { class _CartTotal extends StatelessWidget { @override Widget build(BuildContext context) { - var hugeStyle = - Theme.of(context).textTheme.displayLarge!.copyWith(fontSize: 48); + var hugeStyle = Theme.of( + context, + ).textTheme.displayLarge!.copyWith(fontSize: 48); return SizedBox( height: 200, @@ -82,13 +81,16 @@ class _CartTotal extends StatelessWidget { // The important thing is that it will not rebuild // the rest of the widgets in this build method. Consumer( - builder: (context, cart, child) => - Text('\$${cart.totalPrice}', style: hugeStyle)), + builder: + (context, cart, child) => + Text('\$${cart.totalPrice}', style: hugeStyle), + ), const SizedBox(width: 24), FilledButton( onPressed: () { ScaffoldMessenger.of(context).showSnackBar( - const SnackBar(content: Text('Buying not supported yet.'))); + const SnackBar(content: Text('Buying not supported yet.')), + ); }, style: TextButton.styleFrom(foregroundColor: Colors.white), child: const Text('BUY'), diff --git a/provider_shopper/lib/screens/catalog.dart b/provider_shopper/lib/screens/catalog.dart index dcd86ef10..555251a74 100644 --- a/provider_shopper/lib/screens/catalog.dart +++ b/provider_shopper/lib/screens/catalog.dart @@ -20,7 +20,8 @@ class MyCatalog extends StatelessWidget { const SliverToBoxAdapter(child: SizedBox(height: 12)), SliverList( delegate: SliverChildBuilderDelegate( - (context, index) => _MyListItem(index)), + (context, index) => _MyListItem(index), + ), ), ], ), @@ -47,16 +48,17 @@ class _AddButton extends StatelessWidget { ); return TextButton( - onPressed: isInCart - ? null - : () { - // If the item is not in cart, we let the user add it. - // We are using context.read() here because the callback - // is executed whenever the user taps the button. In other - // words, it is executed outside the build method. - var cart = context.read(); - cart.add(item); - }, + onPressed: + isInCart + ? null + : () { + // If the item is not in cart, we let the user add it. + // We are using context.read() here because the callback + // is executed whenever the user taps the button. In other + // words, it is executed outside the build method. + var cart = context.read(); + cart.add(item); + }, style: ButtonStyle( overlayColor: WidgetStateProperty.resolveWith((states) { if (states.contains(WidgetState.pressed)) { @@ -65,9 +67,10 @@ class _AddButton extends StatelessWidget { return null; // Defer to the widget's default. }), ), - child: isInCart - ? const Icon(Icons.check, semanticLabel: 'ADDED') - : const Text('ADD'), + child: + isInCart + ? const Icon(Icons.check, semanticLabel: 'ADDED') + : const Text('ADD'), ); } } @@ -108,16 +111,9 @@ class _MyListItem extends StatelessWidget { maxHeight: 48, child: Row( children: [ - AspectRatio( - aspectRatio: 1, - child: Container( - color: item.color, - ), - ), + AspectRatio(aspectRatio: 1, child: Container(color: item.color)), const SizedBox(width: 24), - Expanded( - child: Text(item.name, style: textTheme), - ), + Expanded(child: Text(item.name, style: textTheme)), const SizedBox(width: 24), _AddButton(item: item), ], diff --git a/provider_shopper/lib/screens/login.dart b/provider_shopper/lib/screens/login.dart index 5dd64b629..9b17ff1a4 100644 --- a/provider_shopper/lib/screens/login.dart +++ b/provider_shopper/lib/screens/login.dart @@ -17,33 +17,22 @@ class MyLogin extends StatelessWidget { child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - Text( - 'Welcome', - style: Theme.of(context).textTheme.displayLarge, - ), + Text('Welcome', style: Theme.of(context).textTheme.displayLarge), TextFormField( - decoration: const InputDecoration( - hintText: 'Username', - ), + decoration: const InputDecoration(hintText: 'Username'), ), TextFormField( - decoration: const InputDecoration( - hintText: 'Password', - ), + decoration: const InputDecoration(hintText: 'Password'), obscureText: true, ), - const SizedBox( - height: 24, - ), + const SizedBox(height: 24), ElevatedButton( onPressed: () { context.pushReplacement('/catalog'); }, - style: ElevatedButton.styleFrom( - backgroundColor: Colors.yellow, - ), + style: ElevatedButton.styleFrom(backgroundColor: Colors.yellow), child: const Text('ENTER'), - ) + ), ], ), ), diff --git a/provider_shopper/pubspec.yaml b/provider_shopper/pubspec.yaml index ea9216f93..ce80887e0 100644 --- a/provider_shopper/pubspec.yaml +++ b/provider_shopper/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/provider_shopper/test/cart_widget_test.dart b/provider_shopper/test/cart_widget_test.dart index 3f5dd00e4..5c984ebeb 100644 --- a/provider_shopper/test/cart_widget_test.dart +++ b/provider_shopper/test/cart_widget_test.dart @@ -12,22 +12,20 @@ import 'package:provider_shopper/screens/cart.dart'; CartModel? cartModel; CatalogModel? catalogModel; Widget createCartScreen() => MultiProvider( - providers: [ - Provider(create: (context) => CatalogModel()), - ChangeNotifierProxyProvider( - create: (context) => CartModel(), - update: (context, catalog, cart) { - catalogModel = catalog; - cartModel = cart; - cart!.catalog = catalogModel!; - return cart; - }, - ), - ], - child: const MaterialApp( - home: MyCart(), - ), - ); + providers: [ + Provider(create: (context) => CatalogModel()), + ChangeNotifierProxyProvider( + create: (context) => CartModel(), + update: (context, catalog, cart) { + catalogModel = catalog; + cartModel = cart; + cart!.catalog = catalogModel!; + return cart; + }, + ), + ], + child: const MaterialApp(home: MyCart()), +); void main() { group('CartScreen widget tests', () { diff --git a/provider_shopper/test/catalog_widget_test.dart b/provider_shopper/test/catalog_widget_test.dart index 48149eb5e..48b98866a 100644 --- a/provider_shopper/test/catalog_widget_test.dart +++ b/provider_shopper/test/catalog_widget_test.dart @@ -10,20 +10,18 @@ import 'package:provider_shopper/models/catalog.dart'; import 'package:provider_shopper/screens/catalog.dart'; Widget createCatalogScreen() => MultiProvider( - providers: [ - Provider(create: (context) => CatalogModel()), - ChangeNotifierProxyProvider( - create: (context) => CartModel(), - update: (context, catalog, cart) { - cart!.catalog = catalog; - return cart; - }, - ), - ], - child: const MaterialApp( - home: MyCatalog(), - ), - ); + providers: [ + Provider(create: (context) => CatalogModel()), + ChangeNotifierProxyProvider( + create: (context) => CartModel(), + update: (context, catalog, cart) { + cart!.catalog = catalog; + return cart; + }, + ), + ], + child: const MaterialApp(home: MyCatalog()), +); void main() { final catalogListItems = CatalogModel.itemNames.sublist(0, 3); @@ -39,8 +37,9 @@ void main() { } }); - testWidgets('Testing the ADD buttons and check after clicking', - (tester) async { + testWidgets('Testing the ADD buttons and check after clicking', ( + tester, + ) async { await tester.pumpWidget(createCatalogScreen()); // Should find ADD buttons on the screen. diff --git a/provider_shopper/test/login_widget_test.dart b/provider_shopper/test/login_widget_test.dart index 20e5ae4d3..0831845e1 100644 --- a/provider_shopper/test/login_widget_test.dart +++ b/provider_shopper/test/login_widget_test.dart @@ -11,19 +11,21 @@ import 'package:provider_shopper/models/catalog.dart'; void main() { testWidgets('Login page Widget test', (tester) async { - await tester.pumpWidget(MultiProvider( - providers: [ - Provider(create: (context) => CatalogModel()), - ChangeNotifierProxyProvider( - create: (context) => CartModel(), - update: (context, catalog, cart) { - cart!.catalog = catalog; - return cart; - }, - ), - ], - child: MaterialApp.router(routerConfig: router()), - )); + await tester.pumpWidget( + MultiProvider( + providers: [ + Provider(create: (context) => CatalogModel()), + ChangeNotifierProxyProvider( + create: (context) => CartModel(), + update: (context, catalog, cart) { + cart!.catalog = catalog; + return cart; + }, + ), + ], + child: MaterialApp.router(routerConfig: router()), + ), + ); // Verifying the behaviour of ENTER button. await tester.tap(find.text('ENTER')); diff --git a/rolodex/pubspec.yaml b/rolodex/pubspec.yaml index 6f2c53f28..ab8c774d1 100644 --- a/rolodex/pubspec.yaml +++ b/rolodex/pubspec.yaml @@ -19,7 +19,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.7.0-323.0.dev + sdk: ^3.7.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/simple_shader/lib/main.dart b/simple_shader/lib/main.dart index 04824c298..e314f91bf 100644 --- a/simple_shader/lib/main.dart +++ b/simple_shader/lib/main.dart @@ -14,9 +14,7 @@ class MyApp extends StatelessWidget { Widget build(BuildContext context) { return MaterialApp( title: 'Simple Shader Demo', - theme: ThemeData( - colorSchemeSeed: Colors.blue, - ), + theme: ThemeData(colorSchemeSeed: Colors.blue), home: const MyHomePage(), ); } @@ -28,20 +26,14 @@ class MyHomePage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Simple Shader Demo'), - ), + appBar: AppBar(title: const Text('Simple Shader Demo')), body: ShaderBuilder( assetKey: 'shaders/simple.frag', (context, shader, child) => CustomPaint( size: MediaQuery.of(context).size, - painter: ShaderPainter( - shader: shader, - ), - ), - child: const Center( - child: CircularProgressIndicator(), + painter: ShaderPainter(shader: shader), ), + child: const Center(child: CircularProgressIndicator()), ), ); } @@ -57,10 +49,7 @@ class ShaderPainter extends CustomPainter { shader.setFloat(1, size.height); final paint = Paint()..shader = shader; - canvas.drawRect( - Rect.fromLTWH(0, 0, size.width, size.height), - paint, - ); + canvas.drawRect(Rect.fromLTWH(0, 0, size.width, size.height), paint); } @override diff --git a/simple_shader/pubspec.yaml b/simple_shader/pubspec.yaml index bc37ede56..f71b19ea2 100644 --- a/simple_shader/pubspec.yaml +++ b/simple_shader/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/simplistic_calculator/lib/main.dart b/simplistic_calculator/lib/main.dart index 56d2bf9ca..0129f5d1d 100644 --- a/simplistic_calculator/lib/main.dart +++ b/simplistic_calculator/lib/main.dart @@ -19,11 +19,7 @@ void main() { setWindowMinSize(const Size(600, 500)); } - runApp( - const ProviderScope( - child: CalculatorApp(), - ), - ); + runApp(const ProviderScope(child: CalculatorApp())); } @immutable @@ -45,27 +41,26 @@ class CalculatorState { List? calcHistory, CalculatorEngineMode? mode, String? error, - }) => - CalculatorState( - buffer: buffer ?? this.buffer, - calcHistory: calcHistory ?? this.calcHistory, - mode: mode ?? this.mode, - error: error ?? this.error, - ); + }) => CalculatorState( + buffer: buffer ?? this.buffer, + calcHistory: calcHistory ?? this.calcHistory, + mode: mode ?? this.mode, + error: error ?? this.error, + ); } enum CalculatorEngineMode { input, result } class CalculatorEngine extends StateNotifier { CalculatorEngine() - : super( - const CalculatorState( - buffer: '0', - calcHistory: [], - mode: CalculatorEngineMode.result, - error: '', - ), - ); + : super( + const CalculatorState( + buffer: '0', + calcHistory: [], + mode: CalculatorEngineMode.result, + error: '', + ), + ); void addToBuffer(String str, {bool continueWithResult = false}) { if (state.mode == CalculatorEngineMode.result) { @@ -75,10 +70,7 @@ class CalculatorEngine extends StateNotifier { error: '', ); } else { - state = state.copyWith( - buffer: state.buffer + str, - error: '', - ); + state = state.copyWith(buffer: state.buffer + str, error: ''); } } @@ -96,7 +88,7 @@ class CalculatorEngine extends StateNotifier { void evaluate() { try { - final parser = Parser(); + final parser = GrammarParser(); final cm = ContextModel(); final exp = parser.parse(state.buffer); final result = exp.evaluate(EvaluationType.REAL, cm) as double; @@ -115,16 +107,15 @@ class CalculatorEngine extends StateNotifier { mode: CalculatorEngineMode.result, ); default: - final resultStr = result.ceil() == result - ? result.toInt().toString() - : result.toString(); + final resultStr = + result.ceil() == result + ? result.toInt().toString() + : result.toString(); state = state.copyWith( - buffer: resultStr, - mode: CalculatorEngineMode.result, - calcHistory: [ - '${state.buffer} = $resultStr', - ...state.calcHistory, - ]); + buffer: resultStr, + mode: CalculatorEngineMode.result, + calcHistory: ['${state.buffer} = $resultStr', ...state.calcHistory], + ); } } catch (err) { state = state.copyWith( @@ -138,7 +129,8 @@ class CalculatorEngine extends StateNotifier { final calculatorStateProvider = StateNotifierProvider( - (_) => CalculatorEngine()); + (_) => CalculatorEngine(), + ); class ButtonDefinition { const ButtonDefinition({ @@ -376,7 +368,7 @@ class CalculatorApp extends ConsumerWidget { 2.fr, 2.fr, 2.fr, - 2.fr + 2.fr, ], children: [ NamedAreaGridPlacement( @@ -384,26 +376,29 @@ class CalculatorApp extends ConsumerWidget { child: SizedBox.expand( child: Padding( padding: const EdgeInsets.symmetric( - horizontal: 8, vertical: 8), - child: state.error.isEmpty - ? AutoSizeText( - state.buffer, - textAlign: TextAlign.end, - style: const TextStyle( - fontSize: 80, - color: Colors.black, - ), - maxLines: 2, - ) - : AutoSizeText( - state.error, - textAlign: TextAlign.start, - style: const TextStyle( - fontSize: 80, - color: Colors.red, + horizontal: 8, + vertical: 8, + ), + child: + state.error.isEmpty + ? AutoSizeText( + state.buffer, + textAlign: TextAlign.end, + style: const TextStyle( + fontSize: 80, + color: Colors.black, + ), + maxLines: 2, + ) + : AutoSizeText( + state.error, + textAlign: TextAlign.start, + style: const TextStyle( + fontSize: 80, + color: Colors.red, + ), + maxLines: 2, ), - maxLines: 2, - ), ), ), ), @@ -426,16 +421,12 @@ class CalculatorApp extends ConsumerWidget { const ListTile( title: Text( 'History', - style: TextStyle( - fontWeight: FontWeight.bold, - ), + style: TextStyle(fontWeight: FontWeight.bold), ), ), ...state.calcHistory.map( - (result) => ListTile( - title: Text(result), - ), - ) + (result) => ListTile(title: Text(result)), + ), ], ), ), diff --git a/simplistic_calculator/pubspec.yaml b/simplistic_calculator/pubspec.yaml index 7c1889f6d..41a86b172 100644 --- a/simplistic_calculator/pubspec.yaml +++ b/simplistic_calculator/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: auto_size_text: ^3.0.0 diff --git a/simplistic_calculator/test/widget_test.dart b/simplistic_calculator/test/widget_test.dart index eacf10840..4a0e25faa 100644 --- a/simplistic_calculator/test/widget_test.dart +++ b/simplistic_calculator/test/widget_test.dart @@ -5,11 +5,7 @@ import 'package:simplistic_calculator/main.dart'; void main() { testWidgets('Calculator smoke test', (tester) async { // Build our app and trigger a frame. - await tester.pumpWidget( - const ProviderScope( - child: CalculatorApp(), - ), - ); + await tester.pumpWidget(const ProviderScope(child: CalculatorApp())); // Verify that our counter starts at 1 through 9, + and =. expect(find.text('1'), findsOneWidget); diff --git a/simplistic_editor/lib/app_state.dart b/simplistic_editor/lib/app_state.dart index 1c295e0d2..e90a10167 100644 --- a/simplistic_editor/lib/app_state.dart +++ b/simplistic_editor/lib/app_state.dart @@ -47,36 +47,40 @@ class AppStateWidget extends StatefulWidget { class AppStateWidgetState extends State { AppState _data = AppState( replacementsController: ReplacementTextEditingController( - text: 'The quick brown fox jumps over the lazy dog.'), + text: 'The quick brown fox jumps over the lazy dog.', + ), textEditingDeltaHistory: [], toggleButtonsState: {}, ); void updateTextEditingDeltaHistory(List textEditingDeltas) { - _data = _data.copyWith(textEditingDeltaHistory: [ - ..._data.textEditingDeltaHistory, - ...textEditingDeltas - ]); + _data = _data.copyWith( + textEditingDeltaHistory: [ + ..._data.textEditingDeltaHistory, + ...textEditingDeltas, + ], + ); setState(() {}); } void updateToggleButtonsStateOnSelectionChanged( - TextSelection selection, ReplacementTextEditingController controller) { + TextSelection selection, + ReplacementTextEditingController controller, + ) { // When the selection changes we want to check the replacements at the new // selection. Enable/disable toggle buttons based on the replacements found // at the new selection. - final List replacementStyles = - controller.getReplacementsAtSelection(selection); + final List replacementStyles = controller + .getReplacementsAtSelection(selection); final Set hasChanged = {}; if (replacementStyles.isEmpty) { _data = _data.copyWith( - toggleButtonsState: Set.from(_data.toggleButtonsState) - ..removeAll({ - ToggleButtonsState.bold, - ToggleButtonsState.italic, - ToggleButtonsState.underline, - }), + toggleButtonsState: Set.from(_data.toggleButtonsState)..removeAll({ + ToggleButtonsState.bold, + ToggleButtonsState.italic, + ToggleButtonsState.underline, + }), ); } @@ -185,7 +189,9 @@ class AppStateWidgetState extends State { } else { controller.disableExpand(attributeMap[index]!); controller.removeReplacementsAtRange( - replacementRange, attributeMap[index]); + replacementRange, + attributeMap[index], + ); _data = _data.copyWith(replacementsController: controller); setState(() {}); } @@ -193,9 +199,6 @@ class AppStateWidgetState extends State { @override Widget build(BuildContext context) { - return AppStateManager( - state: _data, - child: widget.child, - ); + return AppStateManager(state: _data, child: widget.child); } } diff --git a/simplistic_editor/lib/basic_text_field.dart b/simplistic_editor/lib/basic_text_field.dart index a6f655c0b..4d18b6371 100644 --- a/simplistic_editor/lib/basic_text_field.dart +++ b/simplistic_editor/lib/basic_text_field.dart @@ -86,7 +86,9 @@ class _BasicTextFieldState extends State { } void _handleSelectionChanged( - TextSelection selection, SelectionChangedCause? cause) { + TextSelection selection, + SelectionChangedCause? cause, + ) { final bool willShowSelectionHandles = _shouldShowSelectionHandles(cause); if (willShowSelectionHandles != _showSelectionHandles) { setState(() { @@ -96,9 +98,16 @@ class _BasicTextFieldState extends State { } void _onDragUpdate(DragUpdateDetails details) { - final Offset startOffset = _renderEditable.maxLines == 1 - ? Offset(_renderEditable.offset.pixels - _dragStartViewportOffset, 0.0) - : Offset(0.0, _renderEditable.offset.pixels - _dragStartViewportOffset); + final Offset startOffset = + _renderEditable.maxLines == 1 + ? Offset( + _renderEditable.offset.pixels - _dragStartViewportOffset, + 0.0, + ) + : Offset( + 0.0, + _renderEditable.offset.pixels - _dragStartViewportOffset, + ); _renderEditable.selectPositionAt( from: _startDetails.globalPosition - startOffset, @@ -145,8 +154,9 @@ class _BasicTextFieldState extends State { onPanUpdate: (dragUpdateDetails) => _onDragUpdate(dragUpdateDetails), onSecondaryTapDown: (secondaryTapDownDetails) { _renderEditable.selectWordsInRange( - from: secondaryTapDownDetails.globalPosition, - cause: SelectionChangedCause.tap); + from: secondaryTapDownDetails.globalPosition, + cause: SelectionChangedCause.tap, + ); _renderEditable.handleSecondaryTapDown(secondaryTapDownDetails); _textInputClient!.hideToolbar(); _textInputClient!.showToolbar(); @@ -172,19 +182,20 @@ class _BasicTextFieldState extends State { case TargetPlatform.linux: case TargetPlatform.windows: _renderEditable.selectWordsInRange( - from: longPressMoveUpdateDetails.globalPosition - + from: + longPressMoveUpdateDetails.globalPosition - longPressMoveUpdateDetails.offsetFromOrigin, to: longPressMoveUpdateDetails.globalPosition, cause: SelectionChangedCause.longPress, ); } }, - onLongPressEnd: (longPressEndDetails) => - _textInputClient!.showToolbar(), - onHorizontalDragStart: (dragStartDetails) => - _onDragStart(dragStartDetails), - onHorizontalDragUpdate: (dragUpdateDetails) => - _onDragUpdate(dragUpdateDetails), + onLongPressEnd: + (longPressEndDetails) => _textInputClient!.showToolbar(), + onHorizontalDragStart: + (dragStartDetails) => _onDragStart(dragStartDetails), + onHorizontalDragUpdate: + (dragUpdateDetails) => _onDragUpdate(dragUpdateDetails), child: SizedBox( height: double.infinity, width: MediaQuery.of(context).size.width, diff --git a/simplistic_editor/lib/basic_text_input_client.dart b/simplistic_editor/lib/basic_text_input_client.dart index 3e68189b1..6c550d966 100644 --- a/simplistic_editor/lib/basic_text_input_client.dart +++ b/simplistic_editor/lib/basic_text_input_client.dart @@ -12,24 +12,25 @@ import 'replacements.dart'; /// Signature for the callback that reports when the user changes the selection /// (including the cursor location). -typedef SelectionChangedCallback = void Function( - TextSelection selection, SelectionChangedCause? cause); +typedef SelectionChangedCallback = + void Function(TextSelection selection, SelectionChangedCause? cause); /// Signature for a widget builder that builds a context menu for the given /// editable field. -typedef BasicTextFieldContextMenuBuilder = Widget Function( - BuildContext context, - ClipboardStatus clipboardStatus, - VoidCallback? onCopy, - VoidCallback? onCut, - VoidCallback? onPaste, - VoidCallback? onSelectAll, - VoidCallback? onLookUp, - VoidCallback? onLiveTextInput, - VoidCallback? onSearchWeb, - VoidCallback? onShare, - TextSelectionToolbarAnchors anchors, -); +typedef BasicTextFieldContextMenuBuilder = + Widget Function( + BuildContext context, + ClipboardStatus clipboardStatus, + VoidCallback? onCopy, + VoidCallback? onCut, + VoidCallback? onPaste, + VoidCallback? onSelectAll, + VoidCallback? onLookUp, + VoidCallback? onLiveTextInput, + VoidCallback? onSearchWeb, + VoidCallback? onShare, + TextSelectionToolbarAnchors anchors, + ); /// A basic text input client. An implementation of [DeltaTextInputClient] meant to /// send/receive information from the framework to the platform's text input plugin @@ -112,7 +113,9 @@ class BasicTextInputClientState extends State @override void didChangeInputControl( - TextInputControl? oldControl, TextInputControl? newControl) { + TextInputControl? oldControl, + TextInputControl? newControl, + ) { if (_hasFocus && _hasInputConnection) { oldControl?.hide(); newControl?.show(); @@ -172,7 +175,9 @@ class BasicTextInputClientState extends State } @override - void updateEditingValue(TextEditingValue value) {/* Not using */} + void updateEditingValue(TextEditingValue value) { + /* Not using */ + } @override void updateEditingValueWithDeltas(List textEditingDeltas) { @@ -193,7 +198,7 @@ class BasicTextInputClientState extends State final bool selectionChanged = _value.selection.start != value.selection.start || - _value.selection.end != value.selection.end; + _value.selection.end != value.selection.end; manager.updateTextEditingDeltaHistory(textEditingDeltas); _value = value; @@ -206,8 +211,10 @@ class BasicTextInputClientState extends State } if (selectionChanged) { - manager.updateToggleButtonsStateOnSelectionChanged(value.selection, - widget.controller as ReplacementTextEditingController); + manager.updateToggleButtonsStateOnSelectionChanged( + value.selection, + widget.controller as ReplacementTextEditingController, + ); } } @@ -302,11 +309,14 @@ class BasicTextInputClientState extends State if (_hasFocus) { if (!_value.selection.isValid) { // Place cursor at the end if the selection is invalid when we receive focus. - final TextSelection validSelection = - TextSelection.collapsed(offset: _value.text.length); + final TextSelection validSelection = TextSelection.collapsed( + offset: _value.text.length, + ); _handleSelectionChanged(validSelection, null); - manager.updateToggleButtonsStateOnSelectionChanged(validSelection, - widget.controller as ReplacementTextEditingController); + manager.updateToggleButtonsStateOnSelectionChanged( + validSelection, + widget.controller as ReplacementTextEditingController, + ); } } } @@ -331,32 +341,38 @@ class BasicTextInputClientState extends State // These actions have yet to be implemented for this sample. static final Map> _unsupportedActions = >{ - DeleteToNextWordBoundaryIntent: DoNothingAction(consumesKey: false), - DeleteToLineBreakIntent: DoNothingAction(consumesKey: false), - ExtendSelectionToNextWordBoundaryIntent: - DoNothingAction(consumesKey: false), - ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent: - DoNothingAction(consumesKey: false), - ExtendSelectionToLineBreakIntent: DoNothingAction(consumesKey: false), - ExtendSelectionVerticallyToAdjacentLineIntent: - DoNothingAction(consumesKey: false), - ExtendSelectionVerticallyToAdjacentPageIntent: - DoNothingAction(consumesKey: false), - ExtendSelectionToNextParagraphBoundaryIntent: - DoNothingAction(consumesKey: false), - ExtendSelectionToDocumentBoundaryIntent: - DoNothingAction(consumesKey: false), - ExtendSelectionByPageIntent: DoNothingAction(consumesKey: false), - ExpandSelectionToDocumentBoundaryIntent: - DoNothingAction(consumesKey: false), - ExpandSelectionToLineBreakIntent: DoNothingAction(consumesKey: false), - ScrollToDocumentBoundaryIntent: DoNothingAction(consumesKey: false), - RedoTextIntent: DoNothingAction(consumesKey: false), - ReplaceTextIntent: DoNothingAction(consumesKey: false), - UndoTextIntent: DoNothingAction(consumesKey: false), - UpdateSelectionIntent: DoNothingAction(consumesKey: false), - TransposeCharactersIntent: DoNothingAction(consumesKey: false), - }; + DeleteToNextWordBoundaryIntent: DoNothingAction(consumesKey: false), + DeleteToLineBreakIntent: DoNothingAction(consumesKey: false), + ExtendSelectionToNextWordBoundaryIntent: DoNothingAction( + consumesKey: false, + ), + ExtendSelectionToNextParagraphBoundaryOrCaretLocationIntent: + DoNothingAction(consumesKey: false), + ExtendSelectionToLineBreakIntent: DoNothingAction(consumesKey: false), + ExtendSelectionVerticallyToAdjacentLineIntent: DoNothingAction( + consumesKey: false, + ), + ExtendSelectionVerticallyToAdjacentPageIntent: DoNothingAction( + consumesKey: false, + ), + ExtendSelectionToNextParagraphBoundaryIntent: DoNothingAction( + consumesKey: false, + ), + ExtendSelectionToDocumentBoundaryIntent: DoNothingAction( + consumesKey: false, + ), + ExtendSelectionByPageIntent: DoNothingAction(consumesKey: false), + ExpandSelectionToDocumentBoundaryIntent: DoNothingAction( + consumesKey: false, + ), + ExpandSelectionToLineBreakIntent: DoNothingAction(consumesKey: false), + ScrollToDocumentBoundaryIntent: DoNothingAction(consumesKey: false), + RedoTextIntent: DoNothingAction(consumesKey: false), + ReplaceTextIntent: DoNothingAction(consumesKey: false), + UndoTextIntent: DoNothingAction(consumesKey: false), + UpdateSelectionIntent: DoNothingAction(consumesKey: false), + TransposeCharactersIntent: DoNothingAction(consumesKey: false), + }; /// Keyboard text editing actions. // The Handling of the default text editing shortcuts with deltas @@ -372,9 +388,10 @@ class BasicTextInputClientState extends State ), ExtendSelectionByCharacterIntent: CallbackAction( - onInvoke: (intent) => - _extendSelection(intent.forward, intent.collapseSelection), - ), + onInvoke: + (intent) => + _extendSelection(intent.forward, intent.collapseSelection), + ), SelectAllTextIntent: CallbackAction( onInvoke: (intent) => selectAll(intent.cause), ), @@ -384,9 +401,7 @@ class BasicTextInputClientState extends State PasteTextIntent: CallbackAction( onInvoke: (intent) => pasteText(intent.cause), ), - DoNothingAndStopPropagationTextIntent: DoNothingAction( - consumesKey: false, - ), + DoNothingAndStopPropagationTextIntent: DoNothingAction(consumesKey: false), ..._unsupportedActions, }; @@ -447,22 +462,24 @@ class BasicTextInputClientState extends State _selection.isNormalized ? _selection.start : _selection.end; final int lastOffset = _selection.isNormalized ? _selection.end : _selection.start; - selection = - TextSelection.collapsed(offset: forward ? lastOffset : firstOffset); + selection = TextSelection.collapsed( + offset: forward ? lastOffset : firstOffset, + ); } else { if (forward && _selection.baseOffset == _value.text.length) return; if (!forward && _selection.baseOffset == 0) return; - final int adjustment = forward - ? _value.text - .substring(_selection.baseOffset) - .characters - .first - .length - : -_value.text - .substring(0, _selection.baseOffset) - .characters - .last - .length; + final int adjustment = + forward + ? _value.text + .substring(_selection.baseOffset) + .characters + .first + .length + : -_value.text + .substring(0, _selection.baseOffset) + .characters + .last + .length; selection = TextSelection.collapsed( offset: _selection.baseOffset + adjustment, ); @@ -470,13 +487,18 @@ class BasicTextInputClientState extends State } else { if (forward && _selection.extentOffset == _value.text.length) return; if (!forward && _selection.extentOffset == 0) return; - final int adjustment = forward - ? _value.text.substring(_selection.baseOffset).characters.first.length - : -_value.text - .substring(0, _selection.baseOffset) - .characters - .last - .length; + final int adjustment = + forward + ? _value.text + .substring(_selection.baseOffset) + .characters + .first + .length + : -_value.text + .substring(0, _selection.baseOffset) + .characters + .last + .length; selection = TextSelection( baseOffset: _selection.baseOffset, extentOffset: _selection.extentOffset + adjustment, @@ -494,7 +516,9 @@ class BasicTextInputClientState extends State } void _userUpdateTextEditingValueWithDelta( - TextEditingDelta textEditingDelta, SelectionChangedCause cause) { + TextEditingDelta textEditingDelta, + SelectionChangedCause cause, + ) { TextEditingValue value = _value; value = textEditingDelta.apply(value); @@ -538,14 +562,16 @@ class BasicTextInputClientState extends State void _updateComposingRectIfNeeded() { final TextRange composingRange = _value.composing; assert(mounted); - Rect? composingRect = - renderEditable.getRectForComposingRange(composingRange); + Rect? composingRect = renderEditable.getRectForComposingRange( + composingRange, + ); // Send the caret location instead if there's no marked text yet. if (composingRect == null) { assert(!composingRange.isValid || composingRange.isCollapsed); final int offset = composingRange.isValid ? composingRange.start : 0; - composingRect = - renderEditable.getLocalRectForCaret(TextPosition(offset: offset)); + composingRect = renderEditable.getLocalRectForCaret( + TextPosition(offset: offset), + ); } _textInputConnection!.setComposingRect(composingRect); } @@ -555,10 +581,12 @@ class BasicTextInputClientState extends State if (selection == null || !selection.isValid || !selection.isCollapsed) { return; } - final TextPosition currentTextPosition = - TextPosition(offset: selection.baseOffset); - final Rect caretRect = - renderEditable.getLocalRectForCaret(currentTextPosition); + final TextPosition currentTextPosition = TextPosition( + offset: selection.baseOffset, + ); + final Rect caretRect = renderEditable.getLocalRectForCaret( + currentTextPosition, + ); _textInputConnection!.setCaretRect(caretRect); } @@ -574,8 +602,9 @@ class BasicTextInputClientState extends State } _updateComposingRectIfNeeded(); _updateCaretRectIfNeeded(); - SchedulerBinding.instance - .addPostFrameCallback(_schedulePeriodicPostFrameCallbacks); + SchedulerBinding.instance.addPostFrameCallback( + _schedulePeriodicPostFrameCallbacks, + ); } /// [TextSelectionDelegate] method implementations. @@ -620,7 +649,8 @@ class BasicTextInputClientState extends State TextEditingDeltaNonTextUpdate( oldText: textEditingValue.text, selection: TextSelection.collapsed( - offset: textEditingValue.selection.end), + offset: textEditingValue.selection.end, + ), composing: TextRange.empty, ), cause, @@ -638,8 +668,10 @@ class BasicTextInputClientState extends State if (cutRange.isCollapsed) return; Clipboard.setData(ClipboardData(text: cutRange.textInside(text))); - final int lastSelectionIndex = - math.min(cutRange.baseOffset, cutRange.extentOffset); + final int lastSelectionIndex = math.min( + cutRange.baseOffset, + cutRange.extentOffset, + ); _userUpdateTextEditingValueWithDelta( TextEditingDeltaReplacement( oldText: textEditingValue.text, @@ -665,7 +697,9 @@ class BasicTextInputClientState extends State // After the paste, the cursor should be collapsed and located after the // pasted content. final int lastSelectionIndex = math.max( - pasteRange.baseOffset, pasteRange.baseOffset + data.text!.length); + pasteRange.baseOffset, + pasteRange.baseOffset + data.text!.length, + ); _userUpdateTextEditingValueWithDelta( TextEditingDeltaReplacement( @@ -683,8 +717,10 @@ class BasicTextInputClientState extends State @override void selectAll(SelectionChangedCause cause) { - final TextSelection newSelection = _value.selection - .copyWith(baseOffset: 0, extentOffset: _value.text.length); + final TextSelection newSelection = _value.selection.copyWith( + baseOffset: 0, + extentOffset: _value.text.length, + ); _userUpdateTextEditingValueWithDelta( TextEditingDeltaNonTextUpdate( oldText: textEditingValue.text, @@ -712,7 +748,9 @@ class BasicTextInputClientState extends State @override void userUpdateTextEditingValue( - TextEditingValue value, SelectionChangedCause cause) { + TextEditingValue value, + SelectionChangedCause cause, + ) { if (value == _value) return; final bool selectionChanged = _value.selection != value.selection; @@ -727,10 +765,10 @@ class BasicTextInputClientState extends State if (selectionChanged && !textChanged) { final TextEditingDeltaNonTextUpdate selectionUpdate = TextEditingDeltaNonTextUpdate( - oldText: value.text, - selection: value.selection, - composing: value.composing, - ); + oldText: value.text, + selection: value.selection, + composing: value.composing, + ); if (widget.controller is ReplacementTextEditingController) { (widget.controller as ReplacementTextEditingController) .syncReplacementRanges(selectionUpdate); @@ -741,7 +779,7 @@ class BasicTextInputClientState extends State final bool selectionRangeChanged = _value.selection.start != value.selection.start || - _value.selection.end != value.selection.end; + _value.selection.end != value.selection.end; _value = value; @@ -749,8 +787,10 @@ class BasicTextInputClientState extends State _handleSelectionChanged(_value.selection, cause); if (selectionRangeChanged) { - manager.updateToggleButtonsStateOnSelectionChanged(_value.selection, - widget.controller as ReplacementTextEditingController); + manager.updateToggleButtonsStateOnSelectionChanged( + _value.selection, + widget.controller as ReplacementTextEditingController, + ); } } } @@ -776,7 +816,9 @@ class BasicTextInputClientState extends State _textKey.currentContext!.findRenderObject()! as RenderEditable; void _handleSelectionChanged( - TextSelection selection, SelectionChangedCause? cause) { + TextSelection selection, + SelectionChangedCause? cause, + ) { // We return early if the selection is not valid. This can happen when the // text of the editable is updated at the same time as the selection is // changed by a gesture event. @@ -820,13 +862,16 @@ class BasicTextInputClientState extends State try { widget.onSelectionChanged.call(selection, cause); } catch (exception, stack) { - FlutterError.reportError(FlutterErrorDetails( - exception: exception, - stack: stack, - library: 'widgets', - context: - ErrorDescription('while calling onSelectionChanged for $cause'), - )); + FlutterError.reportError( + FlutterErrorDetails( + exception: exception, + stack: stack, + library: 'widgets', + context: ErrorDescription( + 'while calling onSelectionChanged for $cause', + ), + ), + ); } } @@ -846,40 +891,41 @@ class BasicTextInputClientState extends State onSelectionHandleTapped: () { _toggleToolbar(); }, - contextMenuBuilder: widget.contextMenuBuilder == null || kIsWeb - ? null - : (context) { - return widget.contextMenuBuilder!( - context, - _clipboardStatus!.value, - copyEnabled - ? () => copySelection(SelectionChangedCause.toolbar) - : null, - cutEnabled - ? () => cutSelection(SelectionChangedCause.toolbar) - : null, - pasteEnabled - ? () => pasteText(SelectionChangedCause.toolbar) - : null, - selectAllEnabled - ? () => selectAll(SelectionChangedCause.toolbar) - : null, - lookUpEnabled - ? () => _lookUpSelection(SelectionChangedCause.toolbar) - : null, - liveTextInputEnabled - ? () => _startLiveTextInput(SelectionChangedCause.toolbar) - : null, - searchWebEnabled - ? () => - _searchWebForSelection(SelectionChangedCause.toolbar) - : null, - shareEnabled - ? () => _shareSelection(SelectionChangedCause.toolbar) - : null, - _contextMenuAnchors, - ); - }, + contextMenuBuilder: + widget.contextMenuBuilder == null || kIsWeb + ? null + : (context) { + return widget.contextMenuBuilder!( + context, + _clipboardStatus!.value, + copyEnabled + ? () => copySelection(SelectionChangedCause.toolbar) + : null, + cutEnabled + ? () => cutSelection(SelectionChangedCause.toolbar) + : null, + pasteEnabled + ? () => pasteText(SelectionChangedCause.toolbar) + : null, + selectAllEnabled + ? () => selectAll(SelectionChangedCause.toolbar) + : null, + lookUpEnabled + ? () => _lookUpSelection(SelectionChangedCause.toolbar) + : null, + liveTextInputEnabled + ? () => _startLiveTextInput(SelectionChangedCause.toolbar) + : null, + searchWebEnabled + ? () => + _searchWebForSelection(SelectionChangedCause.toolbar) + : null, + shareEnabled + ? () => _shareSelection(SelectionChangedCause.toolbar) + : null, + _contextMenuAnchors, + ); + }, magnifierConfiguration: TextMagnifierConfiguration.disabled, ); @@ -935,18 +981,20 @@ class BasicTextInputClientState extends State final String selectedGraphemes = selection.textInside(currText); final int firstSelectedGraphemeExtent = selectedGraphemes.characters.first.length; - final Rect? startCharacterRect = - renderEditable.getRectForComposingRange(TextRange( - start: selection.start, - end: selection.start + firstSelectedGraphemeExtent, - )); + final Rect? startCharacterRect = renderEditable.getRectForComposingRange( + TextRange( + start: selection.start, + end: selection.start + firstSelectedGraphemeExtent, + ), + ); final int lastSelectedGraphemeExtent = selectedGraphemes.characters.last.length; - final Rect? endCharacterRect = - renderEditable.getRectForComposingRange(TextRange( - start: selection.end - lastSelectedGraphemeExtent, - end: selection.end, - )); + final Rect? endCharacterRect = renderEditable.getRectForComposingRange( + TextRange( + start: selection.end - lastSelectedGraphemeExtent, + end: selection.end, + ), + ); return _GlyphHeights( start: startCharacterRect?.height ?? renderEditable.preferredLineHeight, end: endCharacterRect?.height ?? renderEditable.preferredLineHeight, @@ -963,8 +1011,8 @@ class BasicTextInputClientState extends State final _GlyphHeights glyphHeights = _getGlyphHeights(); final TextSelection selection = textEditingValue.selection; - final List points = - renderEditable.getEndpointsForSelection(selection); + final List points = renderEditable + .getEndpointsForSelection(selection); return TextSelectionToolbarAnchors.fromSelection( renderBox: renderEditable, startGlyphHeight: glyphHeights.start, @@ -1015,15 +1063,13 @@ class BasicTextInputClientState extends State /// Currently this is only implemented for iOS. /// Throws an error if the selection is empty or collapsed. Future _lookUpSelection(SelectionChangedCause cause) async { - final String text = - textEditingValue.selection.textInside(textEditingValue.text); + final String text = textEditingValue.selection.textInside( + textEditingValue.text, + ); if (text.isEmpty) { return; } - await SystemChannels.platform.invokeMethod( - 'LookUp.invoke', - text, - ); + await SystemChannels.platform.invokeMethod('LookUp.invoke', text); } @override @@ -1042,13 +1088,11 @@ class BasicTextInputClientState extends State /// /// Currently this is only implemented for iOS. Future _searchWebForSelection(SelectionChangedCause cause) async { - final String text = - textEditingValue.selection.textInside(textEditingValue.text); + final String text = textEditingValue.selection.textInside( + textEditingValue.text, + ); if (text.isNotEmpty) { - await SystemChannels.platform.invokeMethod( - 'SearchWeb.invoke', - text, - ); + await SystemChannels.platform.invokeMethod('SearchWeb.invoke', text); } } @@ -1075,13 +1119,11 @@ class BasicTextInputClientState extends State /// /// Currently this is only implemented for iOS and Android. Future _shareSelection(SelectionChangedCause cause) async { - final String text = - textEditingValue.selection.textInside(textEditingValue.text); + final String text = textEditingValue.selection.textInside( + textEditingValue.text, + ); if (text.isNotEmpty) { - await SystemChannels.platform.invokeMethod( - 'Share.invoke', - text, - ); + await SystemChannels.platform.invokeMethod('Share.invoke', text); } } @@ -1322,10 +1364,7 @@ class _Editable extends MultiChildRenderObjectWidget { /// The start and end glyph heights of some range of text. @immutable class _GlyphHeights { - const _GlyphHeights({ - required this.start, - required this.end, - }); + const _GlyphHeights({required this.start, required this.end}); /// The glyph height of the first line. final double start; diff --git a/simplistic_editor/lib/formatting_toolbar.dart b/simplistic_editor/lib/formatting_toolbar.dart index 8f7e9521a..7f023cd4a 100644 --- a/simplistic_editor/lib/formatting_toolbar.dart +++ b/simplistic_editor/lib/formatting_toolbar.dart @@ -4,11 +4,7 @@ import 'app_state.dart'; import 'app_state_manager.dart'; /// The toggle buttons that can be selected. -enum ToggleButtonsState { - bold, - italic, - underline, -} +enum ToggleButtonsState { bold, italic, underline } class FormattingToolbar extends StatelessWidget { const FormattingToolbar({super.key}); @@ -25,15 +21,20 @@ class FormattingToolbar extends StatelessWidget { ToggleButtons( borderRadius: const BorderRadius.all(Radius.circular(4.0)), isSelected: [ - manager.appState.toggleButtonsState - .contains(ToggleButtonsState.bold), - manager.appState.toggleButtonsState - .contains(ToggleButtonsState.italic), - manager.appState.toggleButtonsState - .contains(ToggleButtonsState.underline), + manager.appState.toggleButtonsState.contains( + ToggleButtonsState.bold, + ), + manager.appState.toggleButtonsState.contains( + ToggleButtonsState.italic, + ), + manager.appState.toggleButtonsState.contains( + ToggleButtonsState.underline, + ), ], - onPressed: (index) => AppStateWidget.of(context) - .updateToggleButtonsStateOnButtonPressed(index), + onPressed: + (index) => AppStateWidget.of( + context, + ).updateToggleButtonsStateOnButtonPressed(index), children: const [ Icon(Icons.format_bold), Icon(Icons.format_italic), diff --git a/simplistic_editor/lib/main.dart b/simplistic_editor/lib/main.dart index 16ffc8cf4..970e8b2a9 100644 --- a/simplistic_editor/lib/main.dart +++ b/simplistic_editor/lib/main.dart @@ -20,9 +20,7 @@ class MyApp extends StatelessWidget { child: MaterialApp( debugShowCheckedModeBanner: false, title: 'Simplistic Editor', - theme: ThemeData( - primarySwatch: Colors.blue, - ), + theme: ThemeData(primarySwatch: Colors.blue), home: const MyHomePage(title: 'Simplistic Editor'), ), ); @@ -56,7 +54,9 @@ class _MyHomePageState extends State { } static Route _aboutDialogBuilder( - BuildContext context, Object? arguments) { + BuildContext context, + Object? arguments, + ) { const String aboutContent = 'TextEditingDeltas are a new feature in the latest Flutter stable release that give the user' ' finer grain control over the changes that occur during text input. There are four types of' @@ -67,10 +67,11 @@ class _MyHomePageState extends State { ' more powerful rich text editing applications such as this small example. This feature is supported on all platforms.'; return DialogRoute( context: context, - builder: (context) => const AlertDialog( - title: Center(child: Text('About')), - content: Text(aboutContent), - ), + builder: + (context) => const AlertDialog( + title: Center(child: Text('About')), + content: Text(aboutContent), + ), ); } @@ -99,17 +100,12 @@ class _MyHomePageState extends State { padding: const EdgeInsets.symmetric(horizontal: 35.0), child: BasicTextField( controller: _replacementTextEditingController, - style: const TextStyle( - fontSize: 18.0, - color: Colors.black, - ), + style: const TextStyle(fontSize: 18.0, color: Colors.black), focusNode: _focusNode, ), ), ), - const Expanded( - child: TextEditingDeltaHistoryView(), - ), + const Expanded(child: TextEditingDeltaHistoryView()), ], ), ), diff --git a/simplistic_editor/lib/replacements.dart b/simplistic_editor/lib/replacements.dart index 419a8d071..a8312ea5f 100644 --- a/simplistic_editor/lib/replacements.dart +++ b/simplistic_editor/lib/replacements.dart @@ -70,18 +70,12 @@ class TextEditingInlineSpanReplacement { range.end > deletedRange.start) && range.end <= deletedRange.end) { return copy( - range: TextRange( - start: range.start, - end: deletedRange.start, - ), + range: TextRange(start: range.start, end: deletedRange.start), ); } else if (range.start < deletedRange.start && range.end > deletedRange.end) { return copy( - range: TextRange( - start: range.start, - end: range.end - deletedLength, - ), + range: TextRange(start: range.start, end: range.end - deletedLength), ); } else if (range.start >= deletedRange.start && range.end <= deletedRange.end) { @@ -96,46 +90,29 @@ class TextEditingInlineSpanReplacement { ); } else if (range.end <= deletedRange.start && range.end < deletedRange.end) { - return copy( - range: TextRange( - start: range.start, - end: range.end, - ), - ); + return copy(range: TextRange(start: range.start, end: range.end)); } return null; } TextEditingInlineSpanReplacement? onInsertion( - TextEditingDeltaInsertion delta) { + TextEditingDeltaInsertion delta, + ) { final int insertionOffset = delta.insertionOffset; final int insertedLength = delta.textInserted.length; if (range.end == insertionOffset) { if (expand) { return copy( - range: TextRange( - start: range.start, - end: range.end + insertedLength, - ), + range: TextRange(start: range.start, end: range.end + insertedLength), ); } else { - return copy( - range: TextRange( - start: range.start, - end: range.end, - ), - ); + return copy(range: TextRange(start: range.start, end: range.end)); } } if (range.start < insertionOffset && range.end < insertionOffset) { - return copy( - range: TextRange( - start: range.start, - end: range.end, - ), - ); + return copy(range: TextRange(start: range.start, end: range.end)); } else if (range.start >= insertionOffset && range.end > insertionOffset) { return copy( range: TextRange( @@ -145,10 +122,7 @@ class TextEditingInlineSpanReplacement { ); } else if (range.start < insertionOffset && range.end > insertionOffset) { return copy( - range: TextRange( - start: range.start, - end: range.end + insertedLength, - ), + range: TextRange(start: range.start, end: range.end + insertedLength), ); } @@ -156,7 +130,8 @@ class TextEditingInlineSpanReplacement { } List? onReplacement( - TextEditingDeltaReplacement delta) { + TextEditingDeltaReplacement delta, + ) { final TextRange replacedRange = delta.replacedRange; final bool replacementShortenedText = delta.replacementText.length < delta.textReplaced.length; @@ -164,9 +139,10 @@ class TextEditingInlineSpanReplacement { delta.replacementText.length > delta.textReplaced.length; final bool replacementEqualLength = delta.replacementText.length == delta.textReplaced.length; - final int changedOffset = replacementShortenedText - ? delta.textReplaced.length - delta.replacementText.length - : delta.replacementText.length - delta.textReplaced.length; + final int changedOffset = + replacementShortenedText + ? delta.textReplaced.length - delta.replacementText.length + : delta.replacementText.length - delta.textReplaced.length; if (range.start >= replacedRange.start && (range.start < replacedRange.end && range.end > replacedRange.end)) { @@ -190,35 +166,20 @@ class TextEditingInlineSpanReplacement { ]; } else if (replacementEqualLength) { return [ - copy( - range: TextRange( - start: replacedRange.end, - end: range.end, - ), - ), + copy(range: TextRange(start: replacedRange.end, end: range.end)), ]; } } else if ((range.start < replacedRange.start && range.end > replacedRange.start) && range.end <= replacedRange.end) { return [ - copy( - range: TextRange( - start: range.start, - end: replacedRange.start, - ), - ), + copy(range: TextRange(start: range.start, end: replacedRange.start)), ]; } else if (range.start < replacedRange.start && range.end > replacedRange.end) { if (replacementShortenedText) { return [ - copy( - range: TextRange( - start: range.start, - end: replacedRange.start, - ), - ), + copy(range: TextRange(start: range.start, end: replacedRange.start)), copy( range: TextRange( start: replacedRange.end - changedOffset, @@ -228,12 +189,7 @@ class TextEditingInlineSpanReplacement { ]; } else if (replacementLengthenedText) { return [ - copy( - range: TextRange( - start: range.start, - end: replacedRange.start, - ), - ), + copy(range: TextRange(start: range.start, end: replacedRange.start)), copy( range: TextRange( start: replacedRange.end + changedOffset, @@ -243,18 +199,8 @@ class TextEditingInlineSpanReplacement { ]; } else if (replacementEqualLength) { return [ - copy( - range: TextRange( - start: range.start, - end: replacedRange.start, - ), - ), - copy( - range: TextRange( - start: replacedRange.end, - end: range.end, - ), - ), + copy(range: TextRange(start: range.start, end: replacedRange.start)), + copy(range: TextRange(start: replacedRange.end, end: range.end)), ]; } } else if (range.start >= replacedRange.start && @@ -286,21 +232,15 @@ class TextEditingInlineSpanReplacement { } } else if (range.end <= replacedRange.start && range.end < replacedRange.end) { - return [ - copy( - range: TextRange( - start: range.start, - end: range.end, - ), - ), - ]; + return [copy(range: TextRange(start: range.start, end: range.end))]; } return null; } TextEditingInlineSpanReplacement? onNonTextUpdate( - TextEditingDeltaNonTextUpdate delta) { + TextEditingDeltaNonTextUpdate delta, + ) { if (range.isCollapsed) { if (range.start != delta.selection.start && range.end != delta.selection.end) { @@ -313,41 +253,21 @@ class TextEditingInlineSpanReplacement { List? removeRange(TextRange removalRange) { if (range.start >= removalRange.start && (range.start < removalRange.end && range.end > removalRange.end)) { - return [ - copy( - range: TextRange( - start: removalRange.end, - end: range.end, - ), - ), - ]; + return [copy(range: TextRange(start: removalRange.end, end: range.end))]; } else if ((range.start < removalRange.start && range.end > removalRange.start) && range.end <= removalRange.end) { return [ - copy( - range: TextRange( - start: range.start, - end: removalRange.start, - ), - ), + copy(range: TextRange(start: range.start, end: removalRange.start)), ]; } else if (range.start < removalRange.start && range.end > removalRange.end) { return [ copy( - range: TextRange( - start: range.start, - end: removalRange.start, - ), + range: TextRange(start: range.start, end: removalRange.start), expand: removalRange.isCollapsed ? false : expand, ), - copy( - range: TextRange( - start: removalRange.end, - end: range.end, - ), - ), + copy(range: TextRange(start: removalRange.end, end: range.end)), ]; } else if (range.start >= removalRange.start && range.end <= removalRange.end) { @@ -369,7 +289,10 @@ class TextEditingInlineSpanReplacement { /// is updated to the specified value. TextEditingInlineSpanReplacement copy({TextRange? range, bool? expand}) { return TextEditingInlineSpanReplacement( - range ?? this.range, generator, expand ?? this.expand); + range ?? this.range, + generator, + expand ?? this.expand, + ); } @override @@ -397,10 +320,11 @@ class ReplacementTextEditingController extends TextEditingController { /// Creates a controller for an editable text field from an initial [TextEditingValue]. /// /// This constructor treats a null [value] argument as if it were [TextEditingValue.empty]. - ReplacementTextEditingController.fromValue(super.value, - {List? replacements, - this.composingRegionReplaceable = true}) - : super.fromValue(); + ReplacementTextEditingController.fromValue( + super.value, { + List? replacements, + this.composingRegionReplaceable = true, + }) : super.fromValue(); /// The [TextEditingInlineSpanReplacement]s that are evaluated on the editing value. /// @@ -528,9 +452,9 @@ class ReplacementTextEditingController extends TextEditingController { TextStyle? style, required bool withComposing, }) { - assert(!value.composing.isValid || - !withComposing || - value.isComposingRangeValid); + assert( + !value.composing.isValid || !withComposing || value.isComposingRangeValid, + ); // Keep a mapping of TextRanges to the InlineSpan to replace it with. final Map rangeSpanMapping = @@ -558,15 +482,20 @@ class ReplacementTextEditingController extends TextEditingController { if (composingRegionReplaceable && value.isComposingRangeValid && withComposing) { - _addToMappingWithOverlaps((value, range) { - final TextStyle composingStyle = style != null - ? style.merge(const TextStyle(decoration: TextDecoration.underline)) - : const TextStyle(decoration: TextDecoration.underline); - return TextSpan( - style: composingStyle, - text: value, - ); - }, value.composing, rangeSpanMapping, value.text); + _addToMappingWithOverlaps( + (value, range) { + final TextStyle composingStyle = + style != null + ? style.merge( + const TextStyle(decoration: TextDecoration.underline), + ) + : const TextStyle(decoration: TextDecoration.underline); + return TextSpan(style: composingStyle, text: value); + }, + value.composing, + rangeSpanMapping, + value.text, + ); } // Sort the matches by start index. Since no overlapping exists, this is safe. @@ -579,28 +508,30 @@ class ReplacementTextEditingController extends TextEditingController { int previousEndIndex = 0; for (final TextRange range in sortedRanges) { if (range.start > previousEndIndex) { - spans.add(TextSpan( - text: value.text.substring(previousEndIndex, range.start))); + spans.add( + TextSpan(text: value.text.substring(previousEndIndex, range.start)), + ); } spans.add(rangeSpanMapping[range]!); previousEndIndex = range.end; } // Add any trailing text as a regular TextSpan. if (previousEndIndex < value.text.length) { - spans.add(TextSpan( - text: value.text.substring(previousEndIndex, value.text.length))); + spans.add( + TextSpan( + text: value.text.substring(previousEndIndex, value.text.length), + ), + ); } - return TextSpan( - style: style, - children: spans, - ); + return TextSpan(style: style, children: spans); } static void _addToMappingWithOverlaps( - InlineSpanGenerator generator, - TextRange matchedRange, - Map rangeSpanMapping, - String text) { + InlineSpanGenerator generator, + TextRange matchedRange, + Map rangeSpanMapping, + String text, + ) { // In some cases we should allow for overlap. // For example in the case of two TextSpans matching the same range for replacement, // we should try to merge the styles into one TextStyle and build a new TextSpan. @@ -620,14 +551,14 @@ class ReplacementTextEditingController extends TextEditingController { overlappingTriples.add([ matchedRange.start, matchedRange.end, - generator(matchedRange.textInside(text), matchedRange).style + generator(matchedRange.textInside(text), matchedRange).style, ]); for (final TextRange overlappingRange in overlapRanges) { overlappingTriples.add([ overlappingRange.start, overlappingRange.end, - rangeSpanMapping[overlappingRange]!.style + rangeSpanMapping[overlappingRange]!.style, ]); rangeSpanMapping.remove(overlappingRange); } @@ -643,8 +574,10 @@ class ReplacementTextEditingController extends TextEditingController { if (math.max(tripleA[0] as int, tripleB[0] as int) <= math.min(tripleA[1] as int, tripleB[1] as int) && tripleA[2] == tripleB[2]) { - toRemoveRangesThatHaveBeenMerged - .addAll([tripleA, tripleB]); + toRemoveRangesThatHaveBeenMerged.addAll([ + tripleA, + tripleB, + ]); tripleA = [ math.min(tripleA[0] as int, tripleB[0] as int), math.max(tripleA[1] as int, tripleB[1] as int), @@ -697,8 +630,10 @@ class ReplacementTextEditingController extends TextEditingController { styles = styles.difference(end[endPoints[i]]!); styles.addAll(start[endPoints[i]]!); TextStyle? mergedStyles; - final TextRange uniqueRange = - TextRange(start: endPoints[i], end: otherEndPoints[i]); + final TextRange uniqueRange = TextRange( + start: endPoints[i], + end: otherEndPoints[i], + ); for (final TextStyle style in styles) { if (mergedStyles == null) { mergedStyles = style; @@ -706,14 +641,18 @@ class ReplacementTextEditingController extends TextEditingController { mergedStyles = mergedStyles.merge(style); } } - rangeSpanMapping[uniqueRange] = - TextSpan(text: uniqueRange.textInside(text), style: mergedStyles); + rangeSpanMapping[uniqueRange] = TextSpan( + text: uniqueRange.textInside(text), + style: mergedStyles, + ); } } if (!overlap) { - rangeSpanMapping[matchedRange] = - generator(matchedRange.textInside(text), matchedRange); + rangeSpanMapping[matchedRange] = generator( + matchedRange.textInside(text), + matchedRange, + ); } // Clean up collapsed ranges that we don't need to style. @@ -734,9 +673,10 @@ class ReplacementTextEditingController extends TextEditingController { for (final TextEditingInlineSpanReplacement replacement in replacements!) { if (replacement.range.end == selection.start) { - TextStyle? replacementStyle = (replacement.generator( - '', const TextRange.collapsed(0)) as TextSpan) - .style; + TextStyle? replacementStyle = + (replacement.generator('', const TextRange.collapsed(0)) + as TextSpan) + .style; if (replacementStyle! == style) { toRemove.add(replacement); toAdd.add(replacement.copy(expand: false)); @@ -771,12 +711,14 @@ class ReplacementTextEditingController extends TextEditingController { if (selection.end != replacement.range.start) { if (selection.start == replacement.range.end) { if (replacement.expand) { - stylesAtSelection - .add(replacement.generator('', replacement.range).style!); + stylesAtSelection.add( + replacement.generator('', replacement.range).style!, + ); } } else { - stylesAtSelection - .add(replacement.generator('', replacement.range).style!); + stylesAtSelection.add( + replacement.generator('', replacement.range).style!, + ); } } } @@ -785,8 +727,9 @@ class ReplacementTextEditingController extends TextEditingController { math.min(replacement.range.end, selection.end)) { if (replacement.range.start <= selection.start && replacement.range.end >= selection.end) { - stylesAtSelection - .add(replacement.generator('', replacement.range).style!); + stylesAtSelection.add( + replacement.generator('', replacement.range).style!, + ); } } } @@ -801,8 +744,10 @@ class ReplacementTextEditingController extends TextEditingController { for (int i = 0; i < replacements!.length; i++) { TextEditingInlineSpanReplacement replacement = replacements![i]; - InlineSpan replacementSpan = - replacement.generator('', const TextRange.collapsed(0)); + InlineSpan replacementSpan = replacement.generator( + '', + const TextRange.collapsed(0), + ); TextStyle? replacementStyle = replacementSpan.style; late final TextEditingInlineSpanReplacement? mutatedReplacement; @@ -810,8 +755,8 @@ class ReplacementTextEditingController extends TextEditingController { math.min(replacement.range.end, removalRange.end)) && replacementStyle != null) { if (replacementStyle == attribute!) { - List? newReplacements = - replacement.removeRange(removalRange); + List? newReplacements = replacement + .removeRange(removalRange); if (newReplacements != null) { if (newReplacements.length == 1) { diff --git a/simplistic_editor/lib/text_editing_delta_history_view.dart b/simplistic_editor/lib/text_editing_delta_history_view.dart index a9256bb82..4db34eaa6 100644 --- a/simplistic_editor/lib/text_editing_delta_history_view.dart +++ b/simplistic_editor/lib/text_editing_delta_history_view.dart @@ -7,7 +7,8 @@ class TextEditingDeltaHistoryView extends StatelessWidget { const TextEditingDeltaHistoryView({super.key}); List _buildTextEditingDeltaHistoryViews( - List textEditingDeltas) { + List textEditingDeltas, + ) { List textEditingDeltaViews = []; for (final TextEditingDelta delta in textEditingDeltas) { @@ -68,7 +69,8 @@ class TextEditingDeltaHistoryView extends StatelessWidget { children: [ Expanded( child: Tooltip( - message: 'The type of text input that is occurring.' + message: + 'The type of text input that is occurring.' ' Check out the documentation for TextEditingDelta for more information.', child: _buildTextEditingDeltaViewHeading('Delta Type'), ), @@ -127,7 +129,8 @@ class TextEditingDeltaHistoryView extends StatelessWidget { padding: const EdgeInsets.symmetric(horizontal: 35.0), itemBuilder: (context, index) { return _buildTextEditingDeltaHistoryViews( - manager.appState.textEditingDeltaHistory)[index]; + manager.appState.textEditingDeltaHistory, + )[index]; }, itemCount: manager.appState.textEditingDeltaHistory.length, separatorBuilder: (context, index) { diff --git a/simplistic_editor/pubspec.yaml b/simplistic_editor/pubspec.yaml index 2e255021c..016eb3e4c 100644 --- a/simplistic_editor/pubspec.yaml +++ b/simplistic_editor/pubspec.yaml @@ -18,7 +18,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 # Dependencies specify other packages that your package needs in order to work. # To automatically upgrade your package dependencies to the latest versions diff --git a/simplistic_editor/test/main_screen_test.dart b/simplistic_editor/test/main_screen_test.dart index c0ce80478..cb19abc71 100644 --- a/simplistic_editor/test/main_screen_test.dart +++ b/simplistic_editor/test/main_screen_test.dart @@ -18,11 +18,17 @@ void main() { // Elements on Style ToggleButton Toolbar. expect( - find.widgetWithIcon(ToggleButtons, Icons.format_bold), findsOneWidget); - expect(find.widgetWithIcon(ToggleButtons, Icons.format_italic), - findsOneWidget); - expect(find.widgetWithIcon(ToggleButtons, Icons.format_underline), - findsOneWidget); + find.widgetWithIcon(ToggleButtons, Icons.format_bold), + findsOneWidget, + ); + expect( + find.widgetWithIcon(ToggleButtons, Icons.format_italic), + findsOneWidget, + ); + expect( + find.widgetWithIcon(ToggleButtons, Icons.format_underline), + findsOneWidget, + ); // Elements on the main screen // Delta labels. @@ -35,24 +41,34 @@ void main() { // Selection delta is generated and delta history is visible. await tester.tap(find.byType(BasicTextInputClient)); await tester.pumpAndSettle(); - expect(find.widgetWithText(TextEditingDeltaView, "NonTextUpdate"), - findsOneWidget); + expect( + find.widgetWithText(TextEditingDeltaView, "NonTextUpdate"), + findsOneWidget, + ); // Find tooltips. - expect(find.byTooltip('The text that is being inserted or deleted'), - findsOneWidget); expect( - find.byTooltip( - 'The type of text input that is occurring. Check out the documentation for TextEditingDelta for more information.'), - findsOneWidget); + find.byTooltip('The text that is being inserted or deleted'), + findsOneWidget, + ); + expect( + find.byTooltip( + 'The type of text input that is occurring. Check out the documentation for TextEditingDelta for more information.', + ), + findsOneWidget, + ); expect( - find.byTooltip( - 'The offset in the text where the text input is occurring.'), - findsOneWidget); + find.byTooltip( + 'The offset in the text where the text input is occurring.', + ), + findsOneWidget, + ); expect( - find.byTooltip( - 'The new text selection range after the text input has occurred.'), - findsOneWidget); + find.byTooltip( + 'The new text selection range after the text input has occurred.', + ), + findsOneWidget, + ); // About Dialog expect(find.widgetWithIcon(IconButton, Icons.info_outline), findsOneWidget); diff --git a/testing_app/integration_test/app_test.dart b/testing_app/integration_test/app_test.dart index 13c6cf997..625b0553a 100644 --- a/testing_app/integration_test/app_test.dart +++ b/testing_app/integration_test/app_test.dart @@ -18,10 +18,7 @@ void main() { final itemFinder = find.byKey(const ValueKey('text_25')); // Scroll until the item to be found appears. - await tester.scrollUntilVisible( - itemFinder, - 500.0, - ); + await tester.scrollUntilVisible(itemFinder, 500.0); // Check if the item contains the correct text. expect(tester.widget(itemFinder).data, 'Item 25'); @@ -52,8 +49,9 @@ void main() { expect(find.text('Removed from favorites.'), findsOneWidget); }); - testWidgets('Verifying whether item gets added to favorites', - (tester) async { + testWidgets('Verifying whether item gets added to favorites', ( + tester, + ) async { await tester.pumpWidget(const TestingApp()); // Add item to favorites. diff --git a/testing_app/integration_test/perf_test.dart b/testing_app/integration_test/perf_test.dart index 68dd64044..4536de123 100644 --- a/testing_app/integration_test/perf_test.dart +++ b/testing_app/integration_test/perf_test.dart @@ -55,11 +55,7 @@ void main() { await binding.watchPerformance( () async { // Create a list of icon keys. - final iconKeys = [ - 'icon_0', - 'icon_1', - 'icon_2', - ]; + final iconKeys = ['icon_0', 'icon_1', 'icon_2']; // Add first three items to favorites. for (var icon in iconKeys) { diff --git a/testing_app/integration_test/state_mgmt_test.dart b/testing_app/integration_test/state_mgmt_test.dart index cc0b6f70d..dc272638f 100644 --- a/testing_app/integration_test/state_mgmt_test.dart +++ b/testing_app/integration_test/state_mgmt_test.dart @@ -16,9 +16,7 @@ Widget createFavoritesScreen() => ChangeNotifierProvider( favoritesList = Favorites(); return favoritesList; }, - child: const MaterialApp( - home: FavoritesPage(), - ), + child: const MaterialApp(home: FavoritesPage()), ); void main() { diff --git a/testing_app/lib/screens/favorites.dart b/testing_app/lib/screens/favorites.dart index 83c1a7751..7db6a7c12 100644 --- a/testing_app/lib/screens/favorites.dart +++ b/testing_app/lib/screens/favorites.dart @@ -15,9 +15,7 @@ class FavoritesPage extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: const Text('Favorites'), - ), + appBar: AppBar(title: const Text('Favorites')), body: Consumer( builder: (context, value, child) => value.items.isNotEmpty ? ListView.builder( @@ -26,9 +24,7 @@ class FavoritesPage extends StatelessWidget { itemBuilder: (context, index) => FavoriteItemTile(value.items[index]), ) - : const Center( - child: Text('No favorites added.'), - ), + : const Center(child: Text('No favorites added.')), ), ); } @@ -47,10 +43,7 @@ class FavoriteItemTile extends StatelessWidget { leading: CircleAvatar( backgroundColor: Colors.primaries[itemNo % Colors.primaries.length], ), - title: Text( - 'Item $itemNo', - key: Key('favorites_text_$itemNo'), - ), + title: Text('Item $itemNo', key: Key('favorites_text_$itemNo')), trailing: IconButton( key: Key('remove_icon_$itemNo'), icon: const Icon(Icons.close), diff --git a/testing_app/lib/screens/home.dart b/testing_app/lib/screens/home.dart index ea8a09c79..2eac461db 100644 --- a/testing_app/lib/screens/home.dart +++ b/testing_app/lib/screens/home.dart @@ -54,10 +54,7 @@ class ItemTile extends StatelessWidget { leading: CircleAvatar( backgroundColor: Colors.primaries[itemNo % Colors.primaries.length], ), - title: Text( - 'Item $itemNo', - key: Key('text_$itemNo'), - ), + title: Text('Item $itemNo', key: Key('text_$itemNo')), trailing: IconButton( key: Key('icon_$itemNo'), icon: favoritesList.items.contains(itemNo) @@ -69,9 +66,11 @@ class ItemTile extends StatelessWidget { : favoritesList.remove(itemNo); ScaffoldMessenger.of(context).showSnackBar( SnackBar( - content: Text(favoritesList.items.contains(itemNo) - ? 'Added to favorites.' - : 'Removed from favorites.'), + content: Text( + favoritesList.items.contains(itemNo) + ? 'Added to favorites.' + : 'Removed from favorites.', + ), duration: const Duration(seconds: 1), ), ); diff --git a/testing_app/pubspec.yaml b/testing_app/pubspec.yaml index ecfb505c8..5b4e57fbe 100644 --- a/testing_app/pubspec.yaml +++ b/testing_app/pubspec.yaml @@ -4,7 +4,7 @@ description: A sample that shows testing in Flutter. version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.6.0 dependencies: flutter: diff --git a/testing_app/test/favorites_test.dart b/testing_app/test/favorites_test.dart index 636a2a806..be9f21650 100644 --- a/testing_app/test/favorites_test.dart +++ b/testing_app/test/favorites_test.dart @@ -15,9 +15,7 @@ Widget createFavoritesScreen() => ChangeNotifierProvider( favoritesList = Favorites(); return favoritesList; }, - child: const MaterialApp( - home: FavoritesPage(), - ), + child: const MaterialApp(home: FavoritesPage()), ); void addItems() { @@ -28,8 +26,9 @@ void addItems() { void main() { group('Favorites Page Widget Tests', () { - testWidgets('Test if Placeholder shows in case of empty list', - (tester) async { + testWidgets('Test if Placeholder shows in case of empty list', ( + tester, + ) async { await tester.pumpWidget(createFavoritesScreen()); // Verify if the placeholder text shows up. diff --git a/testing_app/test/home_test.dart b/testing_app/test/home_test.dart index cd06114fb..b81deb1d4 100644 --- a/testing_app/test/home_test.dart +++ b/testing_app/test/home_test.dart @@ -10,9 +10,7 @@ import 'package:testing_app/models/favorites.dart'; Widget createHomeScreen() => ChangeNotifierProvider( create: (context) => Favorites(), - child: MaterialApp.router( - routerConfig: router(), - ), + child: MaterialApp.router(routerConfig: router()), ); void main() { diff --git a/tool/flutter_ci_script_beta.sh b/tool/flutter_ci_script_beta.sh index a9fb8d5c3..65a60255c 100755 --- a/tool/flutter_ci_script_beta.sh +++ b/tool/flutter_ci_script_beta.sh @@ -36,8 +36,8 @@ declare -ar PROJECT_NAMES=( "experimental/federated_plugin/federated_plugin_web" "experimental/federated_plugin/federated_plugin_windows" # TODO(domesticmouse): Angle brackets will be interpreted as HTML. - # "experimental/pedometer" - "experimental/pedometer/example" + # "pedometer" + "pedometer/example" "experimental/varfont_shader_puzzle" "experimental/web_dashboard" "flutter_maps_firestore" @@ -63,7 +63,8 @@ declare -ar PROJECT_NAMES=( "veggieseasons" "web_embedding/element_embedding_demo" "web/_tool" - "web/samples_index" + # TODO(ewindmill): dart:html is deprecated. Delete samples_index + # "web/samples_index" ) ci_projects "beta" "${PROJECT_NAMES[@]}" diff --git a/tool/flutter_ci_script_master.sh b/tool/flutter_ci_script_master.sh index a759824f9..ccb79ee6e 100755 --- a/tool/flutter_ci_script_master.sh +++ b/tool/flutter_ci_script_master.sh @@ -36,8 +36,8 @@ declare -ar PROJECT_NAMES=( "experimental/federated_plugin/federated_plugin_web" "experimental/federated_plugin/federated_plugin_windows" # TODO(domesticmouse): Angle brackets will be interpreted as HTML. - # "experimental/pedometer" - "experimental/pedometer/example" + # "pedometer" + "pedometer/example" "experimental/varfont_shader_puzzle" "experimental/web_dashboard" "flutter_maps_firestore" @@ -59,12 +59,14 @@ declare -ar PROJECT_NAMES=( "rolodex" "simple_shader" "simplistic_calculator" - "simplistic_editor" + # TODO(ewindmill): 'scribble' is deprecated and shouldn't be used. Use stylusHandwriting instead. + # "simplistic_editor" "testing_app" "veggieseasons" "web_embedding/element_embedding_demo" "web/_tool" - "web/samples_index" + # TODO(ewindmill): dart:html is deprecated. Delete samples_index + # "web/samples_index" ) ci_projects "master" "${PROJECT_NAMES[@]}" diff --git a/tool/flutter_ci_script_stable.sh b/tool/flutter_ci_script_stable.sh index ee14b2b49..caba5e131 100755 --- a/tool/flutter_ci_script_stable.sh +++ b/tool/flutter_ci_script_stable.sh @@ -35,8 +35,8 @@ declare -ar PROJECT_NAMES=( "experimental/federated_plugin/federated_plugin_platform_interface" "experimental/federated_plugin/federated_plugin_web" "experimental/federated_plugin/federated_plugin_windows" - "experimental/pedometer" - "experimental/pedometer/example" + "pedometer" + "pedometer/example" "experimental/varfont_shader_puzzle" "experimental/web_dashboard" "flutter_maps_firestore" @@ -62,7 +62,8 @@ declare -ar PROJECT_NAMES=( "veggieseasons" "web_embedding/element_embedding_demo" "web/_tool" - "web/samples_index" + # TODO(ewindmill): dart:html is deprecated. Delete samples_index + # "web/samples_index" ) ci_projects "stable" "${PROJECT_NAMES[@]}" diff --git a/veggieseasons/lib/data/app_state.dart b/veggieseasons/lib/data/app_state.dart index 9c802c001..e1f14cfb9 100644 --- a/veggieseasons/lib/data/app_state.dart +++ b/veggieseasons/lib/data/app_state.dart @@ -28,9 +28,10 @@ class AppState extends ChangeNotifier { Veggie getVeggie(int? id) => _veggies.singleWhere((v) => v.id == id); - List searchVeggies(String? terms) => _veggies - .where((v) => v.name.toLowerCase().contains(terms!.toLowerCase())) - .toList(); + List searchVeggies(String? terms) => + _veggies + .where((v) => v.name.toLowerCase().contains(terms!.toLowerCase())) + .toList(); void setFavorite(int? id, bool isFavorite) { var veggie = getVeggie(id); diff --git a/veggieseasons/lib/data/local_veggie_provider.dart b/veggieseasons/lib/data/local_veggie_provider.dart index 454909d31..2bbeb8277 100644 --- a/veggieseasons/lib/data/local_veggie_provider.dart +++ b/veggieseasons/lib/data/local_veggie_provider.dart @@ -22,67 +22,39 @@ class LocalVeggieProvider { trivia: const [ Trivia( 'A peck of apples (that\'s a real unit of mesaurement!) weighs approximately how many pounds?', - [ - '10 pounds', - '20 pounds', - '30 pounds', - ], + ['10 pounds', '20 pounds', '30 pounds'], 0, ), - Trivia( - 'Which of these is an actual variety of apples?', - [ - 'Dancing Turkey', - 'Winter Banana', - 'Red Sloth', - ], - 1, - ), + Trivia('Which of these is an actual variety of apples?', [ + 'Dancing Turkey', + 'Winter Banana', + 'Red Sloth', + ], 1), Trivia( 'In Greek mythology, Paris gives a golden apple marked "To the Fairest" to a goddess. Which one?', - [ - 'Hera', - 'Athena', - 'Aphrodite', - ], - 2, - ), - Trivia( - 'Apples in the supermarket can be up to how old?', - [ - '1 week', - '1 month', - '1 year', - ], + ['Hera', 'Athena', 'Aphrodite'], 2, ), + Trivia('Apples in the supermarket can be up to how old?', [ + '1 week', + '1 month', + '1 year', + ], 2), Trivia( 'How long does it take a typical apple tree to produce its first fruit?', - [ - 'One to two years', - 'Four or five years', - 'Eight to ten years', - ], + ['One to two years', 'Four or five years', 'Eight to ten years'], 1, ), Trivia( 'Archaeological evidence of humans eating apples dates back how far?', - [ - '500 C.E.', - '2000 B.C.E.', - '6500 B.C.E.', - ], + ['500 C.E.', '2000 B.C.E.', '6500 B.C.E.'], 2, ), - Trivia( - 'What are the seed pockets inside an apple called?', - [ - 'Tarsals', - 'Carpels', - 'Sacs', - ], - 1, - ), + Trivia('What are the seed pockets inside an apple called?', [ + 'Tarsals', + 'Carpels', + 'Sacs', + ], 1), ], ), Veggie( @@ -98,42 +70,26 @@ class LocalVeggieProvider { servingSize: '1 medium artichoke', caloriesPerServing: 60, trivia: const [ - Trivia( - 'Artichokes are which part of the plant?', - [ - 'Flower bud', - 'Root', - 'Seed', - ], - 0, - ), - Trivia( - '"Jerusalem artichoke" is another term for which vegetable?', - [ - 'Potato', - 'Cabbage', - 'Sunchoke', - ], - 2, - ), - Trivia( - 'Which city claims to be The Artichoke Capital of the World?', - [ - 'Castroville, California', - 'Galveston, Texas', - 'London, England', - ], - 0, - ), - Trivia( - 'Artichokes are technically which type of plant?', - [ - 'Thistle', - 'Azalea', - 'Tulip', - ], - 0, - ), + Trivia('Artichokes are which part of the plant?', [ + 'Flower bud', + 'Root', + 'Seed', + ], 0), + Trivia('"Jerusalem artichoke" is another term for which vegetable?', [ + 'Potato', + 'Cabbage', + 'Sunchoke', + ], 2), + Trivia('Which city claims to be The Artichoke Capital of the World?', [ + 'Castroville, California', + 'Galveston, Texas', + 'London, England', + ], 0), + Trivia('Artichokes are technically which type of plant?', [ + 'Thistle', + 'Azalea', + 'Tulip', + ], 0), ], ), Veggie( @@ -151,40 +107,24 @@ class LocalVeggieProvider { trivia: const [ Trivia( 'The nodules at the tip of an asparagus spear are actually which part of the plant?', - [ - 'Seeds', - 'Leaves', - 'Potective scales', - ], + ['Seeds', 'Leaves', 'Potective scales'], 1, ), - Trivia( - 'How is white asparagus made?', - [ - 'It\'s watered with milk', - 'It\'s a different species', - 'It\'s grown in the shade', - ], - 2, - ), + Trivia('How is white asparagus made?', [ + 'It\'s watered with milk', + 'It\'s a different species', + 'It\'s grown in the shade', + ], 2), Trivia( 'Asapragus spears have been observed growing how many inches in a single day?', - [ - '1', - '3', - '6', - ], + ['1', '3', '6'], 2, ), - Trivia( - 'To which flower is asparagus related?', - [ - 'Lily', - 'Rose', - 'Whole wheat', - ], - 0, - ), + Trivia('To which flower is asparagus related?', [ + 'Lily', + 'Rose', + 'Whole wheat', + ], 0), ], ), Veggie( @@ -200,40 +140,24 @@ class LocalVeggieProvider { servingSize: '1/5 medium avocado', caloriesPerServing: 50, trivia: const [ - Trivia( - 'What\'s the most popular variety of avocado?', - [ - 'Stevenson', - 'Hass', - 'Juicy Lucy', - ], - 1, - ), + Trivia('What\'s the most popular variety of avocado?', [ + 'Stevenson', + 'Hass', + 'Juicy Lucy', + ], 1), Trivia( 'The word avocado derives from "ahuacatl," found in which civilization?', - [ - 'Aztec', - 'Incan', - 'Sumerian', - ], + ['Aztec', 'Incan', 'Sumerian'], 0, ), - Trivia( - 'What percentage of an avocado is nutritional fat?', - [ - '10', - '25', - '50', - ], - 1, - ), + Trivia('What percentage of an avocado is nutritional fat?', [ + '10', + '25', + '50', + ], 1), Trivia( 'The first evidence of avocado consumption by humans dates back to what year?', - [ - '2,000 B.C.', - '6,000 B.C.', - '10,000 B.C.', - ], + ['2,000 B.C.', '6,000 B.C.', '10,000 B.C.'], 2, ), ], @@ -251,33 +175,21 @@ class LocalVeggieProvider { servingSize: '1 cup', caloriesPerServing: 62, trivia: const [ - Trivia( - 'What color are unripe blackberries?', - [ - 'Red', - 'White', - 'Brown', - ], - 0, - ), + Trivia('What color are unripe blackberries?', [ + 'Red', + 'White', + 'Brown', + ], 0), Trivia( 'The blackberry is the official fruit of which American state?', - [ - 'Washington', - 'Colorado', - 'Alabama', - ], - 2, - ), - Trivia( - 'How many varieties of blackberries are known to exist?', - [ - '500', - '1000', - '2000', - ], + ['Washington', 'Colorado', 'Alabama'], 2, ), + Trivia('How many varieties of blackberries are known to exist?', [ + '500', + '1000', + '2000', + ], 2), ], ), Veggie( @@ -293,40 +205,24 @@ class LocalVeggieProvider { servingSize: '1/4 medium cantaloupe', caloriesPerServing: 50, trivia: const [ - Trivia( - 'Which of these is another name for cantaloupe?', - [ - 'Muskmelon', - 'Crenshaw melon', - 'Rindfruit', - ], - 0, - ), - Trivia( - 'The word "cantaloupe" is a reference to what?', - [ - 'The Latin word for a ring of seeds', - 'The gardens of a castle in Italy', - 'An aphid species that feeds on cantaloupe leaves', - ], - 1, - ), - Trivia( - 'Cantaloupes grow on what kind of plant?', - [ - 'Tree', - 'Shrub', - 'Vine', - ], - 2, - ), + Trivia('Which of these is another name for cantaloupe?', [ + 'Muskmelon', + 'Crenshaw melon', + 'Rindfruit', + ], 0), + Trivia('The word "cantaloupe" is a reference to what?', [ + 'The Latin word for a ring of seeds', + 'The gardens of a castle in Italy', + 'An aphid species that feeds on cantaloupe leaves', + ], 1), + Trivia('Cantaloupes grow on what kind of plant?', [ + 'Tree', + 'Shrub', + 'Vine', + ], 2), Trivia( 'The most expensive melons in Japan can sell for up to how much?', - [ - '\$100', - '\$1,000', - '\$10,000', - ], + ['\$100', '\$1,000', '\$10,000'], 2, ), ], @@ -346,49 +242,29 @@ class LocalVeggieProvider { trivia: const [ Trivia( 'The quote "Cauliflower is nothing but cabbage with a college education" is attributed to whom?', - [ - 'Cesar Romero', - 'Mark Twain', - 'Lucille Ball', - ], + ['Cesar Romero', 'Mark Twain', 'Lucille Ball'], 1, ), Trivia( 'The edible head of a cauliflower plant is sometimes called what?', - [ - 'The curd', - 'The cow', - 'The cudgel', - ], + ['The curd', 'The cow', 'The cudgel'], 0, ), Trivia( 'Cauliflower is related closest to which of these other plants?', - [ - 'Mustard greens', - 'Apples', - 'Potatoes', - ], - 0, - ), - Trivia( - 'Cauliflower\'s green spiral-shaped cousin is known as what?', - [ - 'Romesco', - 'Brittany cabbage', - 'Muscle sprouts', - ], - 0, - ), - Trivia( - 'Green cauliflower is sometimes called what?', - [ - 'Broccoflower', - 'Avocadoflower', - 'Gross', - ], - 0, - ), + ['Mustard greens', 'Apples', 'Potatoes'], + 0, + ), + Trivia('Cauliflower\'s green spiral-shaped cousin is known as what?', [ + 'Romesco', + 'Brittany cabbage', + 'Muscle sprouts', + ], 0), + Trivia('Green cauliflower is sometimes called what?', [ + 'Broccoflower', + 'Avocadoflower', + 'Gross', + ], 0), ], ), Veggie( @@ -404,33 +280,21 @@ class LocalVeggieProvider { servingSize: '1/2 cup, chopped', caloriesPerServing: 4, trivia: const [ - Trivia( - 'What\'s another name for Belgian endive?', - [ - 'Radicchio', - 'St. Paul\'s lettuce', - 'Witloof chicory', - ], - 2, - ), - Trivia( - 'How does endive propagate itself?', - [ - 'By seed', - 'By rhizome', - 'By packing up and moving to Des Moines', - ], - 0, - ), - Trivia( - 'Some farmers cover their endive with shade to reduce what?', - [ - 'Size', - 'Toughness', - 'Bitterness', - ], - 2, - ), + Trivia('What\'s another name for Belgian endive?', [ + 'Radicchio', + 'St. Paul\'s lettuce', + 'Witloof chicory', + ], 2), + Trivia('How does endive propagate itself?', [ + 'By seed', + 'By rhizome', + 'By packing up and moving to Des Moines', + ], 0), + Trivia('Some farmers cover their endive with shade to reduce what?', [ + 'Size', + 'Toughness', + 'Bitterness', + ], 2), ], ), Veggie( @@ -446,33 +310,21 @@ class LocalVeggieProvider { servingSize: '1 large fig', caloriesPerServing: 50, trivia: const [ - Trivia( - 'Which of these isn\'t a variety of figs?', - [ - 'Brown Turkey', - 'Green Ischia', - 'Red Racer', - ], - 2, - ), - Trivia( - 'A fig\'s natural sugar content is around what?', - [ - '25%', - '50%', - '75%', - ], - 1, - ), - Trivia( - 'How much sun should be used to ripen figs?', - [ - 'Shade', - 'Partial shade', - 'Full sun', - ], - 2, - ), + Trivia('Which of these isn\'t a variety of figs?', [ + 'Brown Turkey', + 'Green Ischia', + 'Red Racer', + ], 2), + Trivia('A fig\'s natural sugar content is around what?', [ + '25%', + '50%', + '75%', + ], 1), + Trivia('How much sun should be used to ripen figs?', [ + 'Shade', + 'Partial shade', + 'Full sun', + ], 2), ], ), Veggie( @@ -488,42 +340,26 @@ class LocalVeggieProvider { servingSize: '3/4 cup', caloriesPerServing: 90, trivia: const [ - Trivia( - 'How long ago were grapes introduced to the Americas?', - [ - '100 years', - '200 years', - '300 years', - ], - 2, - ), - Trivia( - 'Which of these is not an actual color of grapes?', - [ - 'Pink', - 'Yellow', - 'Brown', - ], - 2, - ), + Trivia('How long ago were grapes introduced to the Americas?', [ + '100 years', + '200 years', + '300 years', + ], 2), + Trivia('Which of these is not an actual color of grapes?', [ + 'Pink', + 'Yellow', + 'Brown', + ], 2), Trivia( 'About how many millions of tons of grapes are produced each year?', - [ - '40', - '80', - '120', - ], + ['40', '80', '120'], 1, ), - Trivia( - 'There are about how many known varieties of grapes?', - [ - '2,000', - '4,000', - '8,000', - ], - 2, - ), + Trivia('There are about how many known varieties of grapes?', [ + '2,000', + '4,000', + '8,000', + ], 2), ], ), Veggie( @@ -539,33 +375,21 @@ class LocalVeggieProvider { servingSize: '1 medium pepper', caloriesPerServing: 25, trivia: const [ - Trivia( - 'What\'s the Australian term for a bell pepper?', - [ - 'Capsicum', - 'Ringer', - 'John Dobbins', - ], - 0, - ), - Trivia( - 'How are green peppers produced?', - [ - 'They\'re picked before ripening', - 'They\'re grown in the shade', - 'They\'re a distinct species', - ], - 0, - ), - Trivia( - 'How quickly can a green pepper grow from seed to harvest?', - [ - '10 weeks', - '20 weeks', - '30 weeks', - ], - 0, - ), + Trivia('What\'s the Australian term for a bell pepper?', [ + 'Capsicum', + 'Ringer', + 'John Dobbins', + ], 0), + Trivia('How are green peppers produced?', [ + 'They\'re picked before ripening', + 'They\'re grown in the shade', + 'They\'re a distinct species', + ], 0), + Trivia('How quickly can a green pepper grow from seed to harvest?', [ + '10 weeks', + '20 weeks', + '30 weeks', + ], 0), ], ), Veggie( @@ -581,33 +405,21 @@ class LocalVeggieProvider { servingSize: '1 pepper', caloriesPerServing: 20, trivia: const [ - Trivia( - 'How high can habaneros rate on the Scoville scale?', - [ - '200,000 units', - '600,000 units', - '1,000,000 units', - ], - 1, - ), + Trivia('How high can habaneros rate on the Scoville scale?', [ + '200,000 units', + '600,000 units', + '1,000,000 units', + ], 1), Trivia( 'Which of these is a pepper known to be hotter than the habanero?', - [ - 'Serrano pepper', - 'Hatch chile', - 'Pepper X', - ], - 2, - ), - Trivia( - 'Which of these isn\'t a variety of habaneros?', - [ - 'White giant', - 'Condor\'s beak', - 'Saucy tyrant', - ], + ['Serrano pepper', 'Hatch chile', 'Pepper X'], 2, ), + Trivia('Which of these isn\'t a variety of habaneros?', [ + 'White giant', + 'Condor\'s beak', + 'Saucy tyrant', + ], 2), ], ), Veggie( @@ -623,31 +435,19 @@ class LocalVeggieProvider { servingSize: '1 cup, chopped', caloriesPerServing: 33, trivia: const [ - Trivia( - 'Kale is sweeter when harvested after what?', - [ - 'Sundown', - 'The first frost', - 'Reading it a sad story', - ], - 1, - ), - Trivia( - 'Which of these isn\'t a color in which Kale can be found?', - [ - 'Purple', - 'White', - 'Orange', - ], - 2, - ), + Trivia('Kale is sweeter when harvested after what?', [ + 'Sundown', + 'The first frost', + 'Reading it a sad story', + ], 1), + Trivia('Which of these isn\'t a color in which Kale can be found?', [ + 'Purple', + 'White', + 'Orange', + ], 2), Trivia( 'One serving of kale provides what percentage of a typical person\'s requirement for vitamin K?', - [ - '100%', - '300%', - '900%', - ], + ['100%', '300%', '900%'], 2, ), ], @@ -665,31 +465,19 @@ class LocalVeggieProvider { servingSize: '2 medium kiwis', caloriesPerServing: 90, trivia: const [ - Trivia( - 'Europeans sometimes refer to kiwi as what?', - [ - 'Chinese gooseberry', - 'Gem berries', - 'Bulbfruit', - ], - 0, - ), - Trivia( - 'On what type of plant do kiwi grow?', - [ - 'Tree', - 'Shrub', - 'Vine', - ], - 2, - ), + Trivia('Europeans sometimes refer to kiwi as what?', [ + 'Chinese gooseberry', + 'Gem berries', + 'Bulbfruit', + ], 0), + Trivia('On what type of plant do kiwi grow?', [ + 'Tree', + 'Shrub', + 'Vine', + ], 2), Trivia( 'Compared to oranges, kiwi typically contain how much vitamin C?', - [ - 'Half as much', - 'About the same', - 'Twice as much', - ], + ['Half as much', 'About the same', 'Twice as much'], 2, ), ], @@ -709,38 +497,22 @@ class LocalVeggieProvider { trivia: const [ Trivia( 'A lemon tree can produce up to how many pounds of fruit each year?', - [ - '100', - '300', - '600', - ], + ['100', '300', '600'], 2, ), - Trivia( - 'Which of these isn\'t a type of lemon?', - [ - 'Acid', - 'Sarcastic', - 'Sweet', - ], - 1, - ), - Trivia( - 'What percent of a typical lemon is composed of juice?', - [ - '20%', - '40%', - '60%', - ], - 0, - ), + Trivia('Which of these isn\'t a type of lemon?', [ + 'Acid', + 'Sarcastic', + 'Sweet', + ], 1), + Trivia('What percent of a typical lemon is composed of juice?', [ + '20%', + '40%', + '60%', + ], 0), Trivia( 'Which lemon variety is prized for its sweeter-than-averga flavor?', - [ - 'Hookeye', - 'Meyer', - 'Minnesota Stomp', - ], + ['Hookeye', 'Meyer', 'Minnesota Stomp'], 1, ), ], @@ -758,31 +530,19 @@ class LocalVeggieProvider { servingSize: '1 medium lime', caloriesPerServing: 20, trivia: const [ - Trivia( - 'Which American state is famous for its Key Lime Pie?', - [ - 'Pennsylvania', - 'Arizona', - 'Florida', - ], - 2, - ), + Trivia('Which American state is famous for its Key Lime Pie?', [ + 'Pennsylvania', + 'Arizona', + 'Florida', + ], 2), Trivia( 'Dried limes are a particularly popular soup ingredient in which part of the world?', - [ - 'Middle East', - 'Africa', - 'Australia', - ], + ['Middle East', 'Africa', 'Australia'], 0, ), Trivia( 'Sailors once carried limes on their ships to help against which condition?', - [ - 'Influenza', - 'Scurvy', - 'Boredom', - ], + ['Influenza', 'Scurvy', 'Boredom'], 1, ), ], @@ -809,24 +569,16 @@ class LocalVeggieProvider { ], 1, ), - Trivia( - 'To which nut is the mango closely related?', - [ - 'Cashew', - 'Peanut', - 'Walnut', - ], - 0, - ), - Trivia( - 'In which country did mangos originate?', - [ - 'India', - 'Madagascar', - 'Belize', - ], - 0, - ), + Trivia('To which nut is the mango closely related?', [ + 'Cashew', + 'Peanut', + 'Walnut', + ], 0), + Trivia('In which country did mangos originate?', [ + 'India', + 'Madagascar', + 'Belize', + ], 0), ], ), Veggie( @@ -842,40 +594,24 @@ class LocalVeggieProvider { servingSize: '5 medium \'shrooms', caloriesPerServing: 20, trivia: const [ - Trivia( - 'Someone who loves eating mushrooms is called what?', - [ - 'A mycophagist', - 'A philologist', - 'A phlebotomist', - ], - 0, - ), + Trivia('Someone who loves eating mushrooms is called what?', [ + 'A mycophagist', + 'A philologist', + 'A phlebotomist', + ], 0), Trivia( 'Morel mushrooms are particulary prized by cooks of which style of cuisine?', - [ - 'French', - 'Italian', - 'Japanese', - ], + ['French', 'Italian', 'Japanese'], 0, ), Trivia( 'The largest living organism ever identified is what type of mushroom?', - [ - 'Shiitake mushroom', - 'Honey mushroom', - 'Glory mushroom', - ], + ['Shiitake mushroom', 'Honey mushroom', 'Glory mushroom'], 1, ), Trivia( 'One mushroom cousin is the truffle. Which color truffle is the most prized?', - [ - 'White', - 'Black', - 'Brown', - ], + ['White', 'Black', 'Brown'], 0, ), ], @@ -893,33 +629,21 @@ class LocalVeggieProvider { servingSize: '1 medium nectarine', caloriesPerServing: 60, trivia: const [ - Trivia( - 'Nectarines are technically a variety of which other fruit?', - [ - 'Peach', - 'Plum', - 'Cherry', - ], - 0, - ), - Trivia( - 'Nectarines are sometimes called what?', - [ - 'Neckless geese', - 'Giant grapes', - 'Shaved peaches', - ], - 2, - ), - Trivia( - 'Nectarines are thought to have originated in which country?', - [ - 'China', - 'Italy', - 'Ethiopia', - ], - 0, - ), + Trivia('Nectarines are technically a variety of which other fruit?', [ + 'Peach', + 'Plum', + 'Cherry', + ], 0), + Trivia('Nectarines are sometimes called what?', [ + 'Neckless geese', + 'Giant grapes', + 'Shaved peaches', + ], 2), + Trivia('Nectarines are thought to have originated in which country?', [ + 'China', + 'Italy', + 'Ethiopia', + ], 0), ], ), Veggie( @@ -935,33 +659,21 @@ class LocalVeggieProvider { servingSize: '1 fruit', caloriesPerServing: 32, trivia: const [ - Trivia( - 'What\'s the most commonly grown variety of persimmon?', - [ - 'Sugar', - 'Yellowbird', - 'Kaki', - ], - 2, - ), - Trivia( - 'The word "persimmon" is derived from which language?', - [ - 'Latin', - 'Indo-European', - 'Powhatan', - ], - 2, - ), - Trivia( - 'Which of these is an alternate variety of persimmon?', - [ - 'Black Sapote', - 'Green Troubador', - 'Red Captain', - ], - 0, - ), + Trivia('What\'s the most commonly grown variety of persimmon?', [ + 'Sugar', + 'Yellowbird', + 'Kaki', + ], 2), + Trivia('The word "persimmon" is derived from which language?', [ + 'Latin', + 'Indo-European', + 'Powhatan', + ], 2), + Trivia('Which of these is an alternate variety of persimmon?', [ + 'Black Sapote', + 'Green Troubador', + 'Red Captain', + ], 0), ], ), Veggie( @@ -977,33 +689,21 @@ class LocalVeggieProvider { servingSize: '2 medium plums', caloriesPerServing: 70, trivia: const [ - Trivia( - 'Plums should be handled with care because...?', - [ - 'They\'re particularly sticky', - 'They bruise easily', - 'It\'s easy to hurt their feelings', - ], - 1, - ), - Trivia( - 'A dried plum is known as what?', - [ - 'A prune', - 'An apricot', - 'A raisin', - ], - 0, - ), - Trivia( - 'A sugar plum typically contains how much plum juice?', - [ - '0%', - '25%', - '50%', - ], - 0, - ), + Trivia('Plums should be handled with care because...?', [ + 'They\'re particularly sticky', + 'They bruise easily', + 'It\'s easy to hurt their feelings', + ], 1), + Trivia('A dried plum is known as what?', [ + 'A prune', + 'An apricot', + 'A raisin', + ], 0), + Trivia('A sugar plum typically contains how much plum juice?', [ + '0%', + '25%', + '50%', + ], 0), ], ), Veggie( @@ -1019,31 +719,19 @@ class LocalVeggieProvider { servingSize: '1 medium spud', caloriesPerServing: 110, trivia: const [ - Trivia( - 'Which country consumes the most fried potatoes per capita?', - [ - 'United States', - 'Belgium', - 'Ireland', - ], - 1, - ), + Trivia('Which country consumes the most fried potatoes per capita?', [ + 'United States', + 'Belgium', + 'Ireland', + ], 1), Trivia( 'Who is credited with introducing French Fries to the United States?', - [ - 'Thomas Jefferson', - 'Betsy Ross', - 'Alexander Hamilton', - ], + ['Thomas Jefferson', 'Betsy Ross', 'Alexander Hamilton'], 0, ), Trivia( 'The world record for loongest curly fry stands at how many inches?', - [ - '38', - '58', - '78', - ], + ['38', '58', '78'], 0, ), ], @@ -1061,24 +749,16 @@ class LocalVeggieProvider { servingSize: '2 cups shredded', caloriesPerServing: 20, trivia: const [ - Trivia( - 'Radicchio is a particuarly good source of which mineral?', - [ - 'Manganese', - 'Mercury', - 'Molybdenum', - ], - 0, - ), - Trivia( - 'Radicchio should be stored at what temperature?', - [ - 'Room temperature', - 'Refrigerator temperature', - 'Freezer temperature', - ], - 1, - ), + Trivia('Radicchio is a particuarly good source of which mineral?', [ + 'Manganese', + 'Mercury', + 'Molybdenum', + ], 0), + Trivia('Radicchio should be stored at what temperature?', [ + 'Room temperature', + 'Refrigerator temperature', + 'Freezer temperature', + ], 1), Trivia( 'What happens to the taste of radicchio once the plant flowers?', [ @@ -1103,31 +783,19 @@ class LocalVeggieProvider { servingSize: '7 radishes', caloriesPerServing: 10, trivia: const [ - Trivia( - 'Which ancient civilization is known to have used radish oil?', - [ - 'Egyptian', - 'Sumerian', - 'Incan', - ], - 0, - ), + Trivia('Which ancient civilization is known to have used radish oil?', [ + 'Egyptian', + 'Sumerian', + 'Incan', + ], 0), Trivia( 'What\'s the name of the radish commonly used in Japanese cuisine?', - [ - 'Daisuki', - 'Daijin', - 'Daikon', - ], + ['Daisuki', 'Daijin', 'Daikon'], 2, ), Trivia( 'The annual "Night of the Radishes" festival takes place just before Christmas Eve in which country?', - [ - 'Mexico', - 'France', - 'South Korea', - ], + ['Mexico', 'France', 'South Korea'], 0, ), ], @@ -1145,33 +813,21 @@ class LocalVeggieProvider { servingSize: '1 cup diced butternut', caloriesPerServing: 63, trivia: const [ - Trivia( - 'Which of these is not a type of squash?', - [ - 'Zucchini', - 'Spaghetti', - 'Martini', - ], - 2, - ), - Trivia( - 'Gourds like squash are also handy as what?', - [ - 'Containers', - 'Furniture', - 'Musical instruments', - ], - 0, - ), - Trivia( - 'Which country is the world\'s largest importer of squashes?', - [ - 'China', - 'United States', - 'Russia', - ], - 1, - ), + Trivia('Which of these is not a type of squash?', [ + 'Zucchini', + 'Spaghetti', + 'Martini', + ], 2), + Trivia('Gourds like squash are also handy as what?', [ + 'Containers', + 'Furniture', + 'Musical instruments', + ], 0), + Trivia('Which country is the world\'s largest importer of squashes?', [ + 'China', + 'United States', + 'Russia', + ], 1), ], ), Veggie( @@ -1188,33 +844,21 @@ class LocalVeggieProvider { servingSize: '8 medium strawberries', caloriesPerServing: 50, trivia: const [ - Trivia( - 'How many seeds are in the average strawberry?', - [ - '50', - '100', - '200', - ], - 2, - ), - Trivia( - 'Strawberries are closely related to which type of flower?', - [ - 'The rose', - 'The daisy', - 'The tulip', - ], - 0, - ), - Trivia( - 'Strawberries are unique among fruit for what reason?', - [ - 'Their seeds are on the outside', - 'Their flowers are striped', - 'Their plants have a taproot', - ], - 0, - ), + Trivia('How many seeds are in the average strawberry?', [ + '50', + '100', + '200', + ], 2), + Trivia('Strawberries are closely related to which type of flower?', [ + 'The rose', + 'The daisy', + 'The tulip', + ], 0), + Trivia('Strawberries are unique among fruit for what reason?', [ + 'Their seeds are on the outside', + 'Their flowers are striped', + 'Their plants have a taproot', + ], 0), ], ), Veggie( @@ -1232,31 +876,19 @@ class LocalVeggieProvider { trivia: const [ Trivia( 'The tangelo is thought to be a cross between oranges and which other fruit?', - [ - 'Peach', - 'Plum', - 'Pummelo', - ], - 2, - ), - Trivia( - 'Which of these is a variety of tangelo?', - [ - 'Orlando', - 'Bluebonnet', - 'Creakey Pete', - ], - 0, - ), - Trivia( - 'A typical tangelo is about what size?', - [ - 'Golf ball', - 'Baseball', - 'Bowling ball', - ], - 1, - ), + ['Peach', 'Plum', 'Pummelo'], + 2, + ), + Trivia('Which of these is a variety of tangelo?', [ + 'Orlando', + 'Bluebonnet', + 'Creakey Pete', + ], 0), + Trivia('A typical tangelo is about what size?', [ + 'Golf ball', + 'Baseball', + 'Bowling ball', + ], 1), ], ), Veggie( @@ -1272,33 +904,21 @@ class LocalVeggieProvider { servingSize: '1 medium tomato', caloriesPerServing: 25, trivia: const [ - Trivia( - 'French speakers sometimes refer to tomatoes with which name?', - [ - 'Piet de terre', - 'Mille-feuille', - 'Pomme d\'amour', - ], - 2, - ), + Trivia('French speakers sometimes refer to tomatoes with which name?', [ + 'Piet de terre', + 'Mille-feuille', + 'Pomme d\'amour', + ], 2), Trivia( 'The largest tomato known to have been grown weighed in at how many pounds?', - [ - '8', - '10', - '12', - ], - 0, - ), - Trivia( - 'Which country is the world\'s largest producer of tomatoes?', - [ - 'China', - 'Italy', - 'Ecuador', - ], + ['8', '10', '12'], 0, ), + Trivia('Which country is the world\'s largest producer of tomatoes?', [ + 'China', + 'Italy', + 'Ecuador', + ], 0), ], ), Veggie( @@ -1314,40 +934,20 @@ class LocalVeggieProvider { servingSize: '2 cups diced', caloriesPerServing: 80, trivia: const [ - Trivia( - 'How much of a watermelon is water?', - [ - '50%', - '75%', - '90%', - ], - 2, - ), + Trivia('How much of a watermelon is water?', ['50%', '75%', '90%'], 2), Trivia( 'Which nation is famous for growing watermelons in unsual shapes like cubes and hearts?', - [ - 'Armenia', - 'Japan', - 'Saudi Arabia', - ], + ['Armenia', 'Japan', 'Saudi Arabia'], 1, ), Trivia( 'Which U.S. state declared the watermelon to be its state vegetable (that\'s right, vegetable)?', - [ - 'Kansas', - 'Iowa', - 'Oklahoma', - ], + ['Kansas', 'Iowa', 'Oklahoma'], 2, ), Trivia( 'Early explorers to the Americas used watermelons as which piece of equipment?', - [ - 'Stools', - 'Pillows', - 'Canteens', - ], + ['Stools', 'Pillows', 'Canteens'], 2, ), ], @@ -1367,29 +967,17 @@ class LocalVeggieProvider { trivia: const [ Trivia( 'Which compound (not found in bell peppers) is responsible for many peppers\' spicy taste?', - [ - 'Alum', - 'Capsacin', - 'Calcium', - ], + ['Alum', 'Capsacin', 'Calcium'], 1, ), Trivia( 'In comparison to green peppers, how expensive are their orange cousins?', - [ - 'Cheaper', - 'About the same', - 'More expensive', - ], + ['Cheaper', 'About the same', 'More expensive'], 2, ), Trivia( 'Who is generally credited with giving bell peppers their peppery name?', - [ - 'Christopher Columbus', - 'Benjamin Franklin', - 'Eleanor Roosevelt', - ], + ['Christopher Columbus', 'Benjamin Franklin', 'Eleanor Roosevelt'], 0, ), ], diff --git a/veggieseasons/lib/data/preferences.dart b/veggieseasons/lib/data/preferences.dart index 5ae157669..07f16cad0 100644 --- a/veggieseasons/lib/data/preferences.dart +++ b/veggieseasons/lib/data/preferences.dart @@ -66,8 +66,10 @@ class Preferences extends ChangeNotifier { // Store preferred categories as a comma-separated string containing their // indices. - await prefs.setString(_preferredCategoriesKey, - _preferredCategories.map((c) => c.index.toString()).join(',')); + await prefs.setString( + _preferredCategoriesKey, + _preferredCategories.map((c) => c.index.toString()).join(','), + ); } Future _loadFromSharedPrefs() async { diff --git a/veggieseasons/lib/data/veggie.dart b/veggieseasons/lib/data/veggie.dart index 5b489a5c1..feeb83bd5 100644 --- a/veggieseasons/lib/data/veggie.dart +++ b/veggieseasons/lib/data/veggie.dart @@ -25,12 +25,7 @@ enum VeggieCategory { vegetable, } -enum Season { - winter, - spring, - summer, - autumn, -} +enum Season { winter, spring, summer, autumn } class Trivia { final String question; diff --git a/veggieseasons/lib/main.dart b/veggieseasons/lib/main.dart index e50308ae8..5d9bf692f 100644 --- a/veggieseasons/lib/main.dart +++ b/veggieseasons/lib/main.dart @@ -30,12 +30,7 @@ void main() { ]); setupWindow(); - runApp( - const RootRestorationScope( - restorationId: 'root', - child: VeggieApp(), - ), - ); + runApp(const RootRestorationScope(restorationId: 'root', child: VeggieApp())); } const double windowWidth = 480; @@ -47,11 +42,13 @@ void setupWindow() { setWindowMinSize(const Size(windowWidth, windowHeight)); setWindowMaxSize(const Size(windowWidth, windowHeight)); getCurrentScreen().then((screen) { - setWindowFrame(Rect.fromCenter( - center: screen!.frame.center, - width: windowWidth, - height: windowHeight, - )); + setWindowFrame( + Rect.fromCenter( + center: screen!.frame.center, + width: windowWidth, + height: windowHeight, + ), + ); }); } } @@ -87,12 +84,8 @@ class _VeggieAppState extends State with RestorationMixin { Widget build(BuildContext context) { return MultiProvider( providers: [ - ChangeNotifierProvider.value( - value: _appState.value, - ), - ChangeNotifierProvider( - create: (_) => Preferences()..load(), - ), + ChangeNotifierProvider.value(value: _appState.value), + ChangeNotifierProvider(create: (_) => Preferences()..load()), ], child: CupertinoApp.router( theme: Styles.veggieThemeData, @@ -142,9 +135,7 @@ class _VeggieAppState extends State with RestorationMixin { child: const ListScreen(restorationId: 'list'), ); }, - routes: [ - _buildDetailsRoute(), - ], + routes: [_buildDetailsRoute()], ), GoRoute( path: '/favorites', @@ -155,9 +146,7 @@ class _VeggieAppState extends State with RestorationMixin { child: const FavoritesScreen(restorationId: 'favorites'), ); }, - routes: [ - _buildDetailsRoute(), - ], + routes: [_buildDetailsRoute()], ), GoRoute( path: '/search', @@ -168,9 +157,7 @@ class _VeggieAppState extends State with RestorationMixin { child: const SearchScreen(restorationId: 'search'), ); }, - routes: [ - _buildDetailsRoute(), - ], + routes: [_buildDetailsRoute()], ), GoRoute( path: '/settings', @@ -187,7 +174,8 @@ class _VeggieAppState extends State with RestorationMixin { path: 'categories', pageBuilder: (context, state) { return VeggieCategorySettingsScreen.pageBuilder( - context); + context, + ); }, ), GoRoute( @@ -217,10 +205,7 @@ class _VeggieAppState extends State with RestorationMixin { final veggieId = int.parse(state.pathParameters['id']!); return CupertinoPage( restorationId: 'route.details', - child: DetailsScreen( - id: veggieId, - restorationId: 'details', - ), + child: DetailsScreen(id: veggieId, restorationId: 'details'), ); }, ); diff --git a/veggieseasons/lib/screens/details.dart b/veggieseasons/lib/screens/details.dart index 2290f4707..1b1fc0fab 100644 --- a/veggieseasons/lib/screens/details.dart +++ b/veggieseasons/lib/screens/details.dart @@ -62,10 +62,7 @@ class ServingInfoChart extends StatelessWidget { Row( mainAxisSize: MainAxisSize.max, children: [ - Text( - 'Calories', - style: Styles.detailsServingLabelText(themeData), - ), + Text('Calories', style: Styles.detailsServingLabelText(themeData)), const Spacer(), Text( '${veggie.caloriesPerServing} kCal', @@ -78,30 +75,18 @@ class ServingInfoChart extends StatelessWidget { Row( mainAxisSize: MainAxisSize.max, children: [ - Text( - 'Vitamin A', - style: Styles.detailsServingLabelText(themeData), - ), + Text('Vitamin A', style: Styles.detailsServingLabelText(themeData)), const Spacer(), - _buildVitaminText( - veggie.vitaminAPercentage, - prefs.desiredCalories, - ), + _buildVitaminText(veggie.vitaminAPercentage, prefs.desiredCalories), ], ), const SizedBox(height: 24), Row( mainAxisSize: MainAxisSize.max, children: [ - Text( - 'Vitamin C', - style: Styles.detailsServingLabelText(themeData), - ), + Text('Vitamin C', style: Styles.detailsServingLabelText(themeData)), const Spacer(), - _buildVitaminText( - veggie.vitaminCPercentage, - prefs.desiredCalories, - ), + _buildVitaminText(veggie.vitaminCPercentage, prefs.desiredCalories), ], ), Padding( @@ -139,20 +124,14 @@ class InfoView extends StatelessWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.stretch, children: [ - Text( - veggie.name, - style: Styles.detailsTitleText(themeData), - ), + Text(veggie.name, style: Styles.detailsTitleText(themeData)), const SizedBox(height: 8), Text( veggie.shortDescription, style: CupertinoTheme.of(context).textTheme.textStyle, ), const SizedBox(height: 16), - Text( - 'Seasons', - style: Styles.detailsServingLabelText(themeData), - ), + Text('Seasons', style: Styles.detailsServingLabelText(themeData)), const SizedBox(height: 12), Row( mainAxisSize: MainAxisSize.max, @@ -164,17 +143,19 @@ class InfoView extends StatelessWidget { children: [ Icon( Styles.seasonIconData[season], - color: veggie.seasons.contains(season) - ? Styles.seasonColors[season] - : const Color.fromRGBO(128, 128, 128, 1), + color: + veggie.seasons.contains(season) + ? Styles.seasonColors[season] + : const Color.fromRGBO(128, 128, 128, 1), size: 24, ), const SizedBox(height: 4), Text( season.name.characters.first.toUpperCase() + season.name.characters.skip(1).string, - style: Styles.minorText(CupertinoTheme.of(context)) - .copyWith(fontSize: 11), + style: Styles.minorText( + CupertinoTheme.of(context), + ).copyWith(fontSize: 11), ), ], ), @@ -227,37 +208,37 @@ class DetailsScreen extends StatelessWidget { child: Row( mainAxisSize: MainAxisSize.min, children: [ - ShareButton( - () { - showCupertinoModalPopup( - context: context, - builder: (context) { - return CupertinoActionSheet( - title: Text('Share ${veggie.name}'), - message: Text(veggie.shortDescription), - actions: [ - CupertinoActionSheetAction( - onPressed: () { - Navigator.pop(context); - }, - child: const Text('OK'), - ), - ], - ); - }, + ShareButton(() { + showCupertinoModalPopup( + context: context, + builder: (context) { + return CupertinoActionSheet( + title: Text('Share ${veggie.name}'), + message: Text(veggie.shortDescription), + actions: [ + CupertinoActionSheetAction( + onPressed: () { + Navigator.pop(context); + }, + child: const Text('OK'), + ), + ], + ); + }, + ); + }), + const SizedBox(width: 8), + Builder( + builder: (context) { + final appState = Provider.of(context); + final veggie = appState.getVeggie(id); + + return FavoriteButton( + () => appState.setFavorite(id, !veggie.isFavorite), + veggie.isFavorite, ); }, ), - const SizedBox(width: 8), - Builder(builder: (context) { - final appState = Provider.of(context); - final veggie = appState.getVeggie(id); - - return FavoriteButton( - () => appState.setFavorite(id, !veggie.isFavorite), - veggie.isFavorite, - ); - }), ], ), ), diff --git a/veggieseasons/lib/screens/favorites.dart b/veggieseasons/lib/screens/favorites.dart index 3f4bcf914..e10e62bd1 100644 --- a/veggieseasons/lib/screens/favorites.dart +++ b/veggieseasons/lib/screens/favorites.dart @@ -25,25 +25,26 @@ class FavoritesScreen extends StatelessWidget { middle: Text('My Garden'), ), child: Center( - child: model.favoriteVeggies.isEmpty - ? Padding( - padding: const EdgeInsets.symmetric(horizontal: 24), - child: Text( - 'You haven\'t added any favorite veggies to your garden yet.', - style: CupertinoTheme.of(context).textTheme.textStyle, + child: + model.favoriteVeggies.isEmpty + ? Padding( + padding: const EdgeInsets.symmetric(horizontal: 24), + child: Text( + 'You haven\'t added any favorite veggies to your garden yet.', + style: CupertinoTheme.of(context).textTheme.textStyle, + ), + ) + : ListView( + restorationId: 'list', + children: [ + const SizedBox(height: 24), + for (Veggie veggie in model.favoriteVeggies) + Padding( + padding: const EdgeInsets.fromLTRB(16, 0, 16, 24), + child: VeggieHeadline(veggie), + ), + ], ), - ) - : ListView( - restorationId: 'list', - children: [ - const SizedBox(height: 24), - for (Veggie veggie in model.favoriteVeggies) - Padding( - padding: const EdgeInsets.fromLTRB(16, 0, 16, 24), - child: VeggieHeadline(veggie), - ), - ], - ), ), ); }, diff --git a/veggieseasons/lib/screens/list.dart b/veggieseasons/lib/screens/list.dart index 3408c05b3..b8d3afc2e 100644 --- a/veggieseasons/lib/screens/list.dart +++ b/veggieseasons/lib/screens/list.dart @@ -16,16 +16,20 @@ class ListScreen extends StatelessWidget { final String? restorationId; - Widget _generateVeggieCard(Veggie veggie, Preferences prefs, - {bool inSeason = true}) { + Widget _generateVeggieCard( + Veggie veggie, + Preferences prefs, { + bool inSeason = true, + }) { return Padding( padding: const EdgeInsets.only(left: 16, right: 16, bottom: 24), child: FutureBuilder>( - future: prefs.preferredCategories, - builder: (context, snapshot) { - final data = snapshot.data ?? {}; - return VeggieCard(veggie, inSeason, data.contains(veggie.category)); - }), + future: prefs.preferredCategories, + builder: (context, snapshot) { + final data = snapshot.data ?? {}; + return VeggieCard(veggie, inSeason, data.contains(veggie.category)); + }, + ), ); } @@ -39,7 +43,8 @@ class ListScreen extends StatelessWidget { final themeData = CupertinoTheme.of(context); return AnnotatedRegion( value: SystemUiOverlayStyle( - statusBarBrightness: MediaQuery.platformBrightnessOf(context)), + statusBarBrightness: MediaQuery.platformBrightnessOf(context), + ), child: SafeArea( bottom: false, child: ListView.builder( @@ -49,8 +54,10 @@ class ListScreen extends StatelessWidget { if (index == 0) { return Padding( padding: const EdgeInsets.fromLTRB(16, 24, 16, 16), - child: Text('In season today', - style: Styles.headlineText(themeData)), + child: Text( + 'In season today', + style: Styles.headlineText(themeData), + ), ); } else if (index <= appState.availableVeggies.length) { return _generateVeggieCard( @@ -60,15 +67,19 @@ class ListScreen extends StatelessWidget { } else if (index <= appState.availableVeggies.length + 1) { return Padding( padding: const EdgeInsets.fromLTRB(16, 24, 16, 16), - child: Text('Not in season', - style: Styles.headlineText(themeData)), + child: Text( + 'Not in season', + style: Styles.headlineText(themeData), + ), ); } else { var relativeIndex = index - (appState.availableVeggies.length + 2); return _generateVeggieCard( - appState.unavailableVeggies[relativeIndex], prefs, - inSeason: false); + appState.unavailableVeggies[relativeIndex], + prefs, + inSeason: false, + ); } }, ), diff --git a/veggieseasons/lib/screens/settings.dart b/veggieseasons/lib/screens/settings.dart index 350b6735a..8e1e91f5e 100644 --- a/veggieseasons/lib/screens/settings.dart +++ b/veggieseasons/lib/screens/settings.dart @@ -58,10 +58,7 @@ class VeggieCategorySettingsScreen extends StatelessWidget { }, ); } else { - toggle = const CupertinoSwitch( - value: false, - onChanged: null, - ); + toggle = const CupertinoSwitch(value: false, onChanged: null); } tiles.add( @@ -136,9 +133,10 @@ class CalorieSettingsScreen extends StatelessWidget { : Styles.transparentColor, backgroundColor: Styles.transparentColor, ), - onTap: snapshot.hasData - ? () => model.setDesiredCalories(cals) - : null, + onTap: + snapshot.hasData + ? () => model.setDesiredCalories(cals) + : null, ), ); } @@ -147,12 +145,14 @@ class CalorieSettingsScreen extends StatelessWidget { header: Text( 'Available calorie levels'.toUpperCase(), style: Styles.settingsGroupHeaderText( - CupertinoTheme.of(context)), + CupertinoTheme.of(context), + ), ), footer: Text( 'These are used for serving calculations', style: Styles.settingsGroupFooterText( - CupertinoTheme.of(context)), + CupertinoTheme.of(context), + ), ), children: tiles, ); @@ -176,7 +176,9 @@ class SettingsScreen extends StatefulWidget { class _SettingsScreenState extends State { CupertinoListTile _buildCaloriesTile( - BuildContext context, Preferences prefs) { + BuildContext context, + Preferences prefs, + ) { return CupertinoListTile.notched( leading: const SettingsIcon( backgroundColor: CupertinoColors.systemBlue, @@ -198,7 +200,9 @@ class _SettingsScreenState extends State { } CupertinoListTile _buildCategoriesTile( - BuildContext context, Preferences prefs) { + BuildContext context, + Preferences prefs, + ) { return CupertinoListTile.notched( leading: const SettingsIcon( backgroundColor: CupertinoColors.systemOrange, @@ -211,7 +215,9 @@ class _SettingsScreenState extends State { } CupertinoListTile _buildRestoreDefaultsTile( - BuildContext context, Preferences prefs) { + BuildContext context, + Preferences prefs, + ) { return CupertinoListTile.notched( leading: const SettingsIcon( backgroundColor: CupertinoColors.systemRed, @@ -221,28 +227,29 @@ class _SettingsScreenState extends State { onTap: () { showCupertinoDialog( context: context, - builder: (context) => CupertinoAlertDialog( - title: const Text('Are you sure?'), - content: const Text( - 'Are you sure you want to reset the current settings?', - ), - actions: [ - CupertinoDialogAction( - isDestructiveAction: true, - child: const Text('Yes'), - onPressed: () async { - await prefs.restoreDefaults(); - if (!context.mounted) return; - context.pop(); - }, + builder: + (context) => CupertinoAlertDialog( + title: const Text('Are you sure?'), + content: const Text( + 'Are you sure you want to reset the current settings?', + ), + actions: [ + CupertinoDialogAction( + isDestructiveAction: true, + child: const Text('Yes'), + onPressed: () async { + await prefs.restoreDefaults(); + if (!context.mounted) return; + context.pop(); + }, + ), + CupertinoDialogAction( + isDefaultAction: true, + child: const Text('No'), + onPressed: () => context.pop(), + ), + ], ), - CupertinoDialogAction( - isDefaultAction: true, - child: const Text('No'), - onPressed: () => context.pop(), - ) - ], - ), ); }, ); @@ -253,29 +260,24 @@ class _SettingsScreenState extends State { final prefs = Provider.of(context); return CupertinoPageScaffold( - backgroundColor: - Styles.scaffoldBackground(CupertinoTheme.brightnessOf(context)), + backgroundColor: Styles.scaffoldBackground( + CupertinoTheme.brightnessOf(context), + ), child: CustomScrollView( slivers: [ - const CupertinoSliverNavigationBar( - largeTitle: Text('Settings'), - ), + const CupertinoSliverNavigationBar(largeTitle: Text('Settings')), SliverList( - delegate: SliverChildListDelegate( - [ - CupertinoListSection.insetGrouped( - children: [ - _buildCaloriesTile(context, prefs), - _buildCategoriesTile(context, prefs), - ], - ), - CupertinoListSection.insetGrouped( - children: [ - _buildRestoreDefaultsTile(context, prefs), - ], - ), - ], - ), + delegate: SliverChildListDelegate([ + CupertinoListSection.insetGrouped( + children: [ + _buildCaloriesTile(context, prefs), + _buildCategoriesTile(context, prefs), + ], + ), + CupertinoListSection.insetGrouped( + children: [_buildRestoreDefaultsTile(context, prefs)], + ), + ]), ), ], ), @@ -302,13 +304,7 @@ class SettingsIcon extends StatelessWidget { borderRadius: BorderRadius.circular(5), color: backgroundColor, ), - child: Center( - child: Icon( - icon, - color: foregroundColor, - size: 20, - ), - ), + child: Center(child: Icon(icon, color: foregroundColor, size: 20)), ); } } diff --git a/veggieseasons/lib/styles.dart b/veggieseasons/lib/styles.dart index 14650c129..da9c3ab4c 100644 --- a/veggieseasons/lib/styles.dart +++ b/veggieseasons/lib/styles.dart @@ -21,22 +21,20 @@ abstract class Styles { ), ); - static TextStyle headlineText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontSize: 32, - fontWeight: FontWeight.bold, - ); + static TextStyle headlineText(CupertinoThemeData themeData) => themeData + .textTheme + .textStyle + .copyWith(fontSize: 32, fontWeight: FontWeight.bold); - static TextStyle minorText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - color: const Color.fromRGBO(128, 128, 128, 1), - ); + static TextStyle minorText(CupertinoThemeData themeData) => themeData + .textTheme + .textStyle + .copyWith(color: const Color.fromRGBO(128, 128, 128, 1)); - static TextStyle headlineName(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontSize: 24, - fontWeight: FontWeight.bold, - ); + static TextStyle headlineName(CupertinoThemeData themeData) => themeData + .textTheme + .textStyle + .copyWith(fontSize: 24, fontWeight: FontWeight.bold); static TextStyle cardTitleText(CupertinoThemeData themeData) => themeData.textTheme.textStyle.copyWith( @@ -45,26 +43,23 @@ abstract class Styles { fontWeight: FontWeight.bold, ); - static TextStyle cardCategoryText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - color: const Color.fromRGBO(255, 255, 255, 0.9), - ); + static TextStyle cardCategoryText(CupertinoThemeData themeData) => themeData + .textTheme + .textStyle + .copyWith(color: const Color.fromRGBO(255, 255, 255, 0.9)); static TextStyle cardDescriptionText(CupertinoThemeData themeData) => themeData.textTheme.textStyle.copyWith( color: const Color.fromRGBO(0, 0, 0, 0.9), ); - static TextStyle detailsTitleText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontSize: 30, - fontWeight: FontWeight.bold, - ); + static TextStyle detailsTitleText(CupertinoThemeData themeData) => themeData + .textTheme + .textStyle + .copyWith(fontSize: 30, fontWeight: FontWeight.bold); static TextStyle detailsPreferredCategoryText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontWeight: FontWeight.bold, - ); + themeData.textTheme.textStyle.copyWith(fontWeight: FontWeight.bold); static TextStyle detailsBoldDescriptionText(CupertinoThemeData themeData) => themeData.textTheme.textStyle.copyWith( @@ -79,24 +74,16 @@ abstract class Styles { ); static TextStyle detailsServingLabelText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontWeight: FontWeight.bold, - ); + themeData.textTheme.textStyle.copyWith(fontWeight: FontWeight.bold); static TextStyle detailsServingNoteText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontStyle: FontStyle.italic, - ); + themeData.textTheme.textStyle.copyWith(fontStyle: FontStyle.italic); static TextStyle triviaFinishedTitleText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontSize: 32, - ); + themeData.textTheme.textStyle.copyWith(fontSize: 32); static TextStyle triviaFinishedBigText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontSize: 48, - ); + themeData.textTheme.textStyle.copyWith(fontSize: 48); static TextStyle settingsGroupHeaderText(CupertinoThemeData themeData) => themeData.textTheme.textStyle.copyWith( @@ -126,10 +113,7 @@ abstract class Styles { static const closeButtonPressed = Color(0xff808080); static TextStyle settingsItemSubtitleText(CupertinoThemeData themeData) => - themeData.textTheme.textStyle.copyWith( - fontSize: 12, - letterSpacing: -0.2, - ); + themeData.textTheme.textStyle.copyWith(fontSize: 12, letterSpacing: -0.2); static const Color searchCursorColor = Color.fromRGBO(0, 122, 255, 1); @@ -224,6 +208,6 @@ abstract class Styles { static const servingInfoBorderColor = Color(0xffb0b0b0); static const ColorFilter desaturatedColorFilter = - // 222222 is a random color that has low color saturation. - ColorFilter.mode(Color(0xff222222), BlendMode.saturation); + // 222222 is a random color that has low color saturation. + ColorFilter.mode(Color(0xff222222), BlendMode.saturation); } diff --git a/veggieseasons/lib/widgets/detail_buttons.dart b/veggieseasons/lib/widgets/detail_buttons.dart index 58294502c..c10727bf9 100644 --- a/veggieseasons/lib/widgets/detail_buttons.dart +++ b/veggieseasons/lib/widgets/detail_buttons.dart @@ -9,10 +9,7 @@ import '../styles.dart'; /// Partially overlays and then blurs its child's background. class FrostedBox extends StatelessWidget { - const FrostedBox({ - this.child, - super.key, - }); + const FrostedBox({this.child, super.key}); final Widget? child; @@ -21,9 +18,7 @@ class FrostedBox extends StatelessWidget { return BackdropFilter( filter: ui.ImageFilter.blur(sigmaX: 10, sigmaY: 10), child: DecoratedBox( - decoration: const BoxDecoration( - color: Styles.frostedBackground, - ), + decoration: const BoxDecoration(color: Styles.frostedBackground), child: child, ), ); @@ -67,33 +62,35 @@ class _ColorChangingIconState @override void forEachTween(TweenVisitor visitor) { - _colorTween = visitor( - _colorTween, - widget.color, - (dynamic value) => ColorTween(begin: value as Color?), - ) as ColorTween?; + _colorTween = + visitor( + _colorTween, + widget.color, + (dynamic value) => ColorTween(begin: value as Color?), + ) + as ColorTween?; } } /// A close button that invokes a callback when pressed. class CloseButton extends _DetailPageButton { const CloseButton(VoidCallback onPressed, {super.key}) - : super(onPressed, CupertinoIcons.chevron_back); + : super(onPressed, CupertinoIcons.chevron_back); } /// A share button that invokes a callback when pressed. class ShareButton extends _DetailPageButton { const ShareButton(VoidCallback onPressed, {super.key}) - : super(onPressed, CupertinoIcons.share); + : super(onPressed, CupertinoIcons.share); } /// A favorite button that invokes a callback when pressed. class FavoriteButton extends _DetailPageButton { const FavoriteButton(VoidCallback onPressed, bool isFavorite, {super.key}) - : super( - onPressed, - isFavorite ? CupertinoIcons.heart_fill : CupertinoIcons.heart, - ); + : super( + onPressed, + isFavorite ? CupertinoIcons.heart_fill : CupertinoIcons.heart, + ); } class _DetailPageButton extends StatefulWidget { @@ -127,16 +124,15 @@ class _DetailPageButtonState extends State<_DetailPageButton> { child: Container( width: 30, height: 30, - decoration: BoxDecoration( - borderRadius: BorderRadius.circular(15), - ), + decoration: BoxDecoration(borderRadius: BorderRadius.circular(15)), child: Center( child: ColorChangingIcon( widget.icon, duration: const Duration(milliseconds: 300), - color: tapInProgress - ? Styles.closeButtonPressed - : Styles.closeButtonUnpressed, + color: + tapInProgress + ? Styles.closeButtonPressed + : Styles.closeButtonUnpressed, size: 20, ), ), diff --git a/veggieseasons/lib/widgets/veggie_card.dart b/veggieseasons/lib/widgets/veggie_card.dart index 21ba68589..474fb6a9c 100644 --- a/veggieseasons/lib/widgets/veggie_card.dart +++ b/veggieseasons/lib/widgets/veggie_card.dart @@ -29,21 +29,20 @@ class PressableCard extends StatelessWidget { return GestureDetector( onTap: onPressed, child: Container( - decoration: BoxDecoration( - borderRadius: borderRadius, - ), - child: ClipRRect( - borderRadius: borderRadius, - child: child, - ), + decoration: BoxDecoration(borderRadius: borderRadius), + child: ClipRRect(borderRadius: borderRadius, child: child), ), ); } } class VeggieCard extends StatelessWidget { - const VeggieCard(this.veggie, this.isInSeason, this.isPreferredCategory, - {super.key}); + const VeggieCard( + this.veggie, + this.isInSeason, + this.isPreferredCategory, { + super.key, + }); /// Veggie to be displayed by the card. final Veggie veggie; @@ -64,10 +63,7 @@ class VeggieCard extends StatelessWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - Text( - veggie.name, - style: Styles.cardTitleText(themeData), - ), + Text(veggie.name, style: Styles.cardTitleText(themeData)), const SizedBox(height: 8), Text( veggie.shortDescription, @@ -99,9 +95,7 @@ class VeggieCard extends StatelessWidget { fit: BoxFit.cover, colorFilter: isInSeason ? null : Styles.desaturatedColorFilter, - image: AssetImage( - veggie.imageAssetPath, - ), + image: AssetImage(veggie.imageAssetPath), ), ), ), diff --git a/veggieseasons/lib/widgets/veggie_headline.dart b/veggieseasons/lib/widgets/veggie_headline.dart index 2ef52bef5..e2a2277cb 100644 --- a/veggieseasons/lib/widgets/veggie_headline.dart +++ b/veggieseasons/lib/widgets/veggie_headline.dart @@ -32,10 +32,7 @@ class ZoomClipAssetImage extends StatelessWidget { child: OverflowBox( maxHeight: height! * zoom, maxWidth: width! * zoom, - child: Image.asset( - imageAsset, - fit: BoxFit.fill, - ), + child: Image.asset(imageAsset, fit: BoxFit.fill), ), ), ); @@ -96,10 +93,7 @@ class VeggieHeadline extends StatelessWidget { children: [ Row( children: [ - Text( - veggie.name, - style: Styles.headlineName(themeData), - ), + Text(veggie.name, style: Styles.headlineName(themeData)), ..._buildSeasonDots(veggie.seasons), ], ), @@ -109,7 +103,7 @@ class VeggieHeadline extends StatelessWidget { ), ], ), - ) + ), ], ), ); diff --git a/veggieseasons/lib/widgets/veggie_seasons_page.dart b/veggieseasons/lib/widgets/veggie_seasons_page.dart index 76f240219..0bc642f01 100644 --- a/veggieseasons/lib/widgets/veggie_seasons_page.dart +++ b/veggieseasons/lib/widgets/veggie_seasons_page.dart @@ -40,6 +40,5 @@ class VeggieSeasonsPageRoute extends PageRoute { BuildContext context, Animation animation, Animation secondaryAnimation, - ) => - _page.child; + ) => _page.child; } diff --git a/veggieseasons/pubspec.yaml b/veggieseasons/pubspec.yaml index 05e546d29..b65293a71 100644 --- a/veggieseasons/pubspec.yaml +++ b/veggieseasons/pubspec.yaml @@ -5,7 +5,7 @@ publish_to: none version: 1.2.0 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/web/_packages/web_startup_analyzer/example/lib/main.dart b/web/_packages/web_startup_analyzer/example/lib/main.dart index c0445dc64..ed3c9181b 100644 --- a/web/_packages/web_startup_analyzer/example/lib/main.dart +++ b/web/_packages/web_startup_analyzer/example/lib/main.dart @@ -16,21 +16,17 @@ main() async { print(json.encode({'firstFrame': analyzer.onFirstFrame.value})); }); analyzer.onFirstPaint.addListener(() { - print(json.encode({ - 'firstPaint': analyzer.onFirstPaint.value?.$1, - 'firstContentfulPaint': analyzer.onFirstPaint.value?.$2, - })); + print( + json.encode({ + 'firstPaint': analyzer.onFirstPaint.value?.$1, + 'firstContentfulPaint': analyzer.onFirstPaint.value?.$2, + }), + ); }); analyzer.onAdditionalFrames.addListener(() { - print(json.encode({ - 'additionalFrames': analyzer.onAdditionalFrames.value, - })); + print(json.encode({'additionalFrames': analyzer.onAdditionalFrames.value})); }); - runApp( - WebStartupAnalyzerSample( - analyzer: analyzer, - ), - ); + runApp(WebStartupAnalyzerSample(analyzer: analyzer)); } class WebStartupAnalyzerSample extends StatelessWidget { @@ -102,12 +98,14 @@ class _WebStartupAnalyzerScreenState extends State { ), if (widget.analyzer.firstPaint != null) TimingWidget( - name: 'First paint', - timingMs: widget.analyzer.firstPaint!), + name: 'First paint', + timingMs: widget.analyzer.firstPaint!, + ), if (widget.analyzer.firstContentfulPaint != null) TimingWidget( - name: 'First contentful paint', - timingMs: widget.analyzer.firstContentfulPaint!), + name: 'First contentful paint', + timingMs: widget.analyzer.firstContentfulPaint!, + ), if (widget.analyzer.additionalFrames != null) ...[ for (var i in widget.analyzer.additionalFrames!) TimingWidget(name: 'Frame', timingMs: i.toDouble()), @@ -130,11 +128,7 @@ class TimingWidget extends StatelessWidget { final String name; final double timingMs; - const TimingWidget({ - super.key, - required this.name, - required this.timingMs, - }); + const TimingWidget({super.key, required this.name, required this.timingMs}); @override Widget build(BuildContext context) { diff --git a/web/_packages/web_startup_analyzer/example/pubspec.yaml b/web/_packages/web_startup_analyzer/example/pubspec.yaml index 049c8d561..9ca345183 100644 --- a/web/_packages/web_startup_analyzer/example/pubspec.yaml +++ b/web/_packages/web_startup_analyzer/example/pubspec.yaml @@ -3,7 +3,7 @@ description: "flutter_web_startup_analyzer example" publish_to: 'none' # Remove this line if you wish to publish to pub.dev version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 flutter: ^3.16.0 dependencies: flutter: diff --git a/web/_packages/web_startup_analyzer/lib/src/frame_analyzer.dart b/web/_packages/web_startup_analyzer/lib/src/frame_analyzer.dart index 80635d124..257dc6fbf 100644 --- a/web/_packages/web_startup_analyzer/lib/src/frame_analyzer.dart +++ b/web/_packages/web_startup_analyzer/lib/src/frame_analyzer.dart @@ -16,7 +16,7 @@ class FrameAnalyzer { List additionalFrameTimes = []; FrameAnalyzer(this._binding, {this.additionalFrames = 10}) - : _remainingFrames = additionalFrames; + : _remainingFrames = additionalFrames; Future captureAdditionalFrames() { _binding.addTimingsCallback(_timingsCallback); diff --git a/web/_packages/web_startup_analyzer/lib/src/web_startup_analyzer.dart b/web/_packages/web_startup_analyzer/lib/src/web_startup_analyzer.dart index 3a2d765f6..c20e23392 100644 --- a/web/_packages/web_startup_analyzer/lib/src/web_startup_analyzer.dart +++ b/web/_packages/web_startup_analyzer/lib/src/web_startup_analyzer.dart @@ -52,9 +52,11 @@ class WebStartupAnalyzer extends WebStartupAnalyzerBase { List? get additionalFrames => _additionalFrames; WebStartupAnalyzer({int additionalFrameCount = 5}) - : _widgetsBinding = WidgetsFlutterBinding.ensureInitialized() { - _frameAnalyzer = - FrameAnalyzer(_widgetsBinding, additionalFrames: additionalFrameCount); + : _widgetsBinding = WidgetsFlutterBinding.ensureInitialized() { + _frameAnalyzer = FrameAnalyzer( + _widgetsBinding, + additionalFrames: additionalFrameCount, + ); _captureStartupMetrics(); startupTiming = { 'domContentLoaded': domContentLoaded, @@ -76,8 +78,11 @@ class WebStartupAnalyzer extends WebStartupAnalyzerBase { _additionalFrames = value; onAdditionalFrames.value = value; }); - onChange = - Listenable.merge([onFirstFrame, onFirstPaint, onAdditionalFrames]); + onChange = Listenable.merge([ + onFirstFrame, + onFirstPaint, + onAdditionalFrames, + ]); } _captureStartupMetrics() { diff --git a/web/_packages/web_startup_analyzer/pubspec.yaml b/web/_packages/web_startup_analyzer/pubspec.yaml index 4e00789d9..68184fe85 100644 --- a/web/_packages/web_startup_analyzer/pubspec.yaml +++ b/web/_packages/web_startup_analyzer/pubspec.yaml @@ -3,7 +3,7 @@ description: "Captures web startup timing data in a Flutter web app" version: 0.1.0-wip environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 flutter: ^3.16.0 dependencies: diff --git a/web/_tool/build_ci.dart b/web/_tool/build_ci.dart index 3ec79211a..28cea420c 100644 --- a/web/_tool/build_ci.dart +++ b/web/_tool/build_ci.dart @@ -11,14 +11,14 @@ const ignoredDirectories = [ '_tool', '_packages/web_startup_analyzer', '_packages/web_startup_analyzer/example', - 'samples_index' + 'samples_index', ]; void main() async { final packageDirs = [ ...listPackageDirs(Directory.current) .map((path) => p.relative(path, from: Directory.current.path)) - .where((path) => !ignoredDirectories.contains(path)) + .where((path) => !ignoredDirectories.contains(path)), ]; print('Building the sample index...'); @@ -26,8 +26,9 @@ void main() async { await _run('samples_index', 'flutter', ['pub', 'run', 'grinder', 'deploy']); // Create the directory each Flutter Web sample lives in - Directory(p.join(Directory.current.path, 'samples_index', 'public', 'web')) - .createSync(recursive: true); + Directory( + p.join(Directory.current.path, 'samples_index', 'public', 'web'), + ).createSync(recursive: true); for (var i = 0; i < packageDirs.length; i++) { var directory = packageDirs[i]; @@ -36,10 +37,19 @@ void main() async { // Create the target directory var directoryName = p.basename(directory); - var sourceBuildDir = - p.join(Directory.current.path, directory, 'build', 'web'); - var targetDirectory = p.join(Directory.current.path, 'samples_index', - 'public', 'web', directoryName); + var sourceBuildDir = p.join( + Directory.current.path, + directory, + 'build', + 'web', + ); + var targetDirectory = p.join( + Directory.current.path, + 'samples_index', + 'public', + 'web', + directoryName, + ); // Build the sample and copy the files await _run(directory, 'flutter', ['pub', 'get']); @@ -53,7 +63,10 @@ void main() async { // Invokes run() and exits if the sub-process failed. Future _run( - String workingDir, String commandName, List args) async { + String workingDir, + String commandName, + List args, +) async { var success = await run(workingDir, commandName, args); if (!success) { exit(1); diff --git a/web/_tool/common.dart b/web/_tool/common.dart index 90b3fa430..7ae66a54c 100644 --- a/web/_tool/common.dart +++ b/web/_tool/common.dart @@ -9,7 +9,10 @@ const ansiRed = 31; const ansiMagenta = 35; Future run( - String workingDir, String commandName, List args) async { + String workingDir, + String commandName, + List args, +) async { var commandDescription = '`${([commandName, ...args]).join(' ')}`'; logWrapped(ansiMagenta, ' Running $commandDescription'); @@ -25,7 +28,9 @@ Future run( if (exitCode != 0) { logWrapped( - ansiRed, ' Failed! ($exitCode) – $workingDir – $commandDescription'); + ansiRed, + ' Failed! ($exitCode) – $workingDir – $commandDescription', + ); return false; } else { logWrapped(ansiGreen, ' Success! – $workingDir – $commandDescription'); diff --git a/web/_tool/fix_base_tags.dart b/web/_tool/fix_base_tags.dart index 7c6f066ad..1dd2fc612 100644 --- a/web/_tool/fix_base_tags.dart +++ b/web/_tool/fix_base_tags.dart @@ -13,12 +13,14 @@ Future main() async { /// contain `` Future fixBaseTags() async { print('currentDir = ${Directory.current.path}'); - var builtSamplesDir = Directory(p.joinAll([ - // Parent directory - ...p.split(Directory.current.path), - // path to built samples - ...p.split('samples_index/public/web') - ])); + var builtSamplesDir = Directory( + p.joinAll([ + // Parent directory + ...p.split(Directory.current.path), + // path to built samples + ...p.split('samples_index/public/web'), + ]), + ); if (!await builtSamplesDir.exists()) { print('${builtSamplesDir.path} does not exist.'); exit(1); @@ -40,7 +42,9 @@ Future fixBaseTags() async { continue; } var newContents = contents.replaceFirst( - regex, ''); + regex, + '', + ); await index.writeAsString(newContents); } } diff --git a/web/_tool/peanut_post_build.dart b/web/_tool/peanut_post_build.dart index c7482751f..b7b72239f 100644 --- a/web/_tool/peanut_post_build.dart +++ b/web/_tool/peanut_post_build.dart @@ -66,8 +66,10 @@ void _updateHtml(File htmlFile, String buildDir, String exampleDir) { final newContent = content .replaceFirst('', '\n$_analytics') - .replaceFirst(_emptyTitle, - '${_prettyName(exampleDir)} - Flutter web sample'); + .replaceFirst( + _emptyTitle, + '${_prettyName(exampleDir)} - Flutter web sample', + ); if (newContent == content) { print('!!! Did not replace contents in $filePath'); @@ -79,10 +81,13 @@ void _updateHtml(File htmlFile, String buildDir, String exampleDir) { final _underscoreOrSlash = RegExp('_|/'); -String _prettyName(String input) => - input.split(_underscoreOrSlash).where((e) => e.isNotEmpty).map((e) { +String _prettyName(String input) => input + .split(_underscoreOrSlash) + .where((e) => e.isNotEmpty) + .map((e) { return e.substring(0, 1).toUpperCase() + e.substring(1); - }).join(' '); + }) + .join(' '); // flutter.github.io const _analyticsId = 'UA-67589403-8'; diff --git a/web/_tool/pubspec.yaml b/web/_tool/pubspec.yaml index eaf56590e..774df566c 100644 --- a/web/_tool/pubspec.yaml +++ b/web/_tool/pubspec.yaml @@ -2,7 +2,7 @@ name: tool publish_to: none environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: markdown: ^7.0.0 diff --git a/web/_tool/verify_packages.dart b/web/_tool/verify_packages.dart index 41c37ea49..1da0c70f2 100644 --- a/web/_tool/verify_packages.dart +++ b/web/_tool/verify_packages.dart @@ -9,10 +9,11 @@ import 'package:path/path.dart' as p; import 'common.dart'; void main() async { - final packageDirs = listPackageDirs(Directory.current) - .map((path) => p.relative(path, from: Directory.current.path)) - .where((path) => !p.dirname(path).startsWith('_')) - .toList(); + final packageDirs = + listPackageDirs(Directory.current) + .map((path) => p.relative(path, from: Directory.current.path)) + .where((path) => !p.dirname(path).startsWith('_')) + .toList(); print('Package dirs:\n${packageDirs.map((path) => ' $path').join('\n')}'); @@ -34,11 +35,14 @@ void main() async { results.add(false); continue; } - results.add(await run( - dir, - 'dart', - ['analyze', '--fatal-infos', '--fatal-warnings', '.'], - )); + results.add( + await run(dir, 'dart', [ + 'analyze', + '--fatal-infos', + '--fatal-warnings', + '.', + ]), + ); _printStatus(results); } @@ -52,6 +56,8 @@ void _printStatus(List results) { var success = (successCount == results.length); var pct = 100 * successCount / results.length; - logWrapped(success ? ansiGreen : ansiRed, - '$successCount of ${results.length} (${pct.toStringAsFixed(2)}%)'); + logWrapped( + success ? ansiGreen : ansiRed, + '$successCount of ${results.length} (${pct.toStringAsFixed(2)}%)', + ); } diff --git a/web/samples_index/pubspec.yaml b/web/samples_index/pubspec.yaml index f80252203..92d065156 100644 --- a/web/samples_index/pubspec.yaml +++ b/web/samples_index/pubspec.yaml @@ -13,6 +13,7 @@ dependencies: mdc_web: ^0.6.0 path: ^1.8.3 sass_builder: ^2.2.1 + web: ^1.1.0 yaml: ^3.1.2 dev_dependencies: diff --git a/web_embedding/element_embedding_demo/lib/main.dart b/web_embedding/element_embedding_demo/lib/main.dart index 871e9ee9d..76aeca841 100644 --- a/web_embedding/element_embedding_demo/lib/main.dart +++ b/web_embedding/element_embedding_demo/lib/main.dart @@ -125,16 +125,12 @@ class _CounterDemoState extends State { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: Text(widget.title), - ), + appBar: AppBar(title: Text(widget.title)), body: Center( child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - const Text( - 'You have pushed the button this many times:', - ), + const Text('You have pushed the button this many times:'), Text( '${widget.numToDisplay}', style: Theme.of(context).textTheme.headlineMedium, @@ -157,9 +153,7 @@ class TextFieldDemo extends StatelessWidget { @override Widget build(BuildContext context) { return Scaffold( - appBar: AppBar( - title: Text(title), - ), + appBar: AppBar(title: Text(title)), body: const Center( child: Padding( padding: EdgeInsets.all(14.0), @@ -224,9 +218,7 @@ class _CustomDemoState extends State { 'COUNT WITH DASH!', style: TextStyle(color: Colors.white, fontSize: 18), ), - const SizedBox( - height: 26, - ), + const SizedBox(height: 26), Container( width: 98, height: 98, @@ -287,9 +279,7 @@ class _CustomDemoState extends State { ), ), ), - const SizedBox( - width: 12, - ), + const SizedBox(width: 12), Center( child: Container( width: 42, diff --git a/web_embedding/element_embedding_demo/pubspec.yaml b/web_embedding/element_embedding_demo/pubspec.yaml index df2b65325..afa31c129 100644 --- a/web_embedding/element_embedding_demo/pubspec.yaml +++ b/web_embedding/element_embedding_demo/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: 'none' version: 1.0.0+1 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 dependencies: flutter: diff --git a/web_embedding/ng-flutter/flutter/lib/main.dart b/web_embedding/ng-flutter/flutter/lib/main.dart index 1b27ea716..d550b44e5 100644 --- a/web_embedding/ng-flutter/flutter/lib/main.dart +++ b/web_embedding/ng-flutter/flutter/lib/main.dart @@ -20,8 +20,9 @@ class MyApp extends StatefulWidget { } class _MyAppState extends State { - final ValueNotifier _screen = - ValueNotifier(DemoScreen.counter); + final ValueNotifier _screen = ValueNotifier( + DemoScreen.counter, + ); final ValueNotifier _counter = ValueNotifier(0); final ValueNotifier _text = ValueNotifier(''); @@ -60,8 +61,8 @@ class _MyAppState extends State { } Widget demoScreenRouter(DemoScreen which) => switch (which) { - DemoScreen.counter => CounterDemo(counter: _counter), - DemoScreen.text => TextFieldDemo(text: _text), - DemoScreen.dash => DashDemo(text: _text) - }; + DemoScreen.counter => CounterDemo(counter: _counter), + DemoScreen.text => TextFieldDemo(text: _text), + DemoScreen.dash => DashDemo(text: _text), + }; } diff --git a/web_embedding/ng-flutter/flutter/lib/pages/counter.dart b/web_embedding/ng-flutter/flutter/lib/pages/counter.dart index 7c64aac9a..b2524c46e 100644 --- a/web_embedding/ng-flutter/flutter/lib/pages/counter.dart +++ b/web_embedding/ng-flutter/flutter/lib/pages/counter.dart @@ -1,10 +1,7 @@ import 'package:flutter/material.dart'; class CounterDemo extends StatefulWidget { - const CounterDemo({ - super.key, - required this.counter, - }); + const CounterDemo({super.key, required this.counter}); final ValueNotifier counter; @@ -24,15 +21,14 @@ class _CounterDemoState extends State { child: Column( mainAxisAlignment: MainAxisAlignment.center, children: [ - const Text( - 'You have pushed the button this many times:', - ), + const Text('You have pushed the button this many times:'), ValueListenableBuilder( valueListenable: widget.counter, - builder: (context, value, child) => Text( - '$value', - style: Theme.of(context).textTheme.headlineMedium, - ), + builder: + (context, value, child) => Text( + '$value', + style: Theme.of(context).textTheme.headlineMedium, + ), ), ], ), diff --git a/web_embedding/ng-flutter/flutter/lib/pages/dash.dart b/web_embedding/ng-flutter/flutter/lib/pages/dash.dart index 9ba12adeb..3e97a92e9 100644 --- a/web_embedding/ng-flutter/flutter/lib/pages/dash.dart +++ b/web_embedding/ng-flutter/flutter/lib/pages/dash.dart @@ -21,9 +21,12 @@ class _DashDemoState extends State { super.initState(); // Initial value of the text box. _totalCharCount = widget.text.value.length; - textController = TextEditingController.fromValue(TextEditingValue( + textController = TextEditingController.fromValue( + TextEditingValue( text: widget.text.value, - selection: TextSelection.collapsed(offset: widget.text.value.length))); + selection: TextSelection.collapsed(offset: widget.text.value.length), + ), + ); // Report changes. textController.addListener(_onTextControllerChange); // Listen to changes from the outside. @@ -73,10 +76,9 @@ class _DashDemoState extends State { children: [ Text( 'COUNT WITH DASH!', - style: Theme.of(context) - .textTheme - .titleLarge! - .copyWith(color: Colors.white), + style: Theme.of( + context, + ).textTheme.titleLarge!.copyWith(color: Colors.white), ), // Bordered dash avatar Padding( @@ -101,10 +103,9 @@ class _DashDemoState extends State { ), Text( '$_totalCharCount', - style: Theme.of(context) - .textTheme - .displayLarge! - .copyWith(color: Colors.white), + style: Theme.of( + context, + ).textTheme.displayLarge!.copyWith(color: Colors.white), ), ], ), diff --git a/web_embedding/ng-flutter/flutter/lib/pages/text.dart b/web_embedding/ng-flutter/flutter/lib/pages/text.dart index e32664e5f..7f5c6aabf 100644 --- a/web_embedding/ng-flutter/flutter/lib/pages/text.dart +++ b/web_embedding/ng-flutter/flutter/lib/pages/text.dart @@ -15,9 +15,12 @@ class _TextFieldDemoState extends State { void initState() { super.initState(); // Initial value of the text box. - textController = TextEditingController.fromValue(TextEditingValue( + textController = TextEditingController.fromValue( + TextEditingValue( text: widget.text.value, - selection: TextSelection.collapsed(offset: widget.text.value.length))); + selection: TextSelection.collapsed(offset: widget.text.value.length), + ), + ); // Report changes. textController.addListener(_onTextControllerChange); // Listen to changes from the outside. diff --git a/web_embedding/ng-flutter/flutter/lib/src/js_interop/counter_state_manager.dart b/web_embedding/ng-flutter/flutter/lib/src/js_interop/counter_state_manager.dart index ce970e07a..6990fe0fd 100644 --- a/web_embedding/ng-flutter/flutter/lib/src/js_interop/counter_state_manager.dart +++ b/web_embedding/ng-flutter/flutter/lib/src/js_interop/counter_state_manager.dart @@ -25,9 +25,9 @@ class DemoAppStateManager { required ValueNotifier screen, required ValueNotifier counter, required ValueNotifier text, - }) : _counter = counter, - _text = text, - _screen = screen; + }) : _counter = counter, + _text = text, + _screen = screen; final ValueNotifier _screen; final ValueNotifier _counter; diff --git a/web_embedding/ng-flutter/flutter/pubspec.yaml b/web_embedding/ng-flutter/flutter/pubspec.yaml index 4ac7d725c..5d3292570 100644 --- a/web_embedding/ng-flutter/flutter/pubspec.yaml +++ b/web_embedding/ng-flutter/flutter/pubspec.yaml @@ -4,7 +4,7 @@ publish_to: none version: 1.0.0 environment: - sdk: ^3.5.0 + sdk: ^3.7.0-0 flutter: ">=3.22.0" dependencies: