From 6987ef6afbabaab596c32e3d858b467d52458450 Mon Sep 17 00:00:00 2001 From: BitcoinZavior Date: Wed, 21 Feb 2024 17:28:00 -0500 Subject: [PATCH 01/74] .gitignore updated --- README.md | 2 +- pubspec.lock | 653 --------------------------------------------------- pubspec.yaml | 5 +- 3 files changed, 4 insertions(+), 656 deletions(-) delete mode 100644 pubspec.lock diff --git a/README.md b/README.md index 3439fecb..60c5a57a 100644 --- a/README.md +++ b/README.md @@ -176,7 +176,7 @@ final internalAddress = The latest API documentation is available [here](https://pub.dev/documentation/bdk_flutter/latest/bdk_flutter/bdk_flutter-library.html) -### Example Projects +### Example Projects - **\*BDK Flutter Demo App:** The [BDK Flutter Demo App](https://github.com/LtbLightning/bdk-flutter-demo-app) is a simple bitcoin app built in flutter to serve as a reference app to demonstrate `bdk-flutter` api usage. diff --git a/pubspec.lock b/pubspec.lock deleted file mode 100644 index afca8982..00000000 --- a/pubspec.lock +++ /dev/null @@ -1,653 +0,0 @@ -# Generated by pub -# See https://dart.dev/tools/pub/glossary#lockfile -packages: - _fe_analyzer_shared: - dependency: transitive - description: - name: _fe_analyzer_shared - sha256: eb376e9acf6938204f90eb3b1f00b578640d3188b4c8a8ec054f9f479af8d051 - url: "https://pub.dev" - source: hosted - version: "64.0.0" - analyzer: - dependency: transitive - description: - name: analyzer - sha256: "69f54f967773f6c26c7dcb13e93d7ccee8b17a641689da39e878d5cf13b06893" - url: "https://pub.dev" - source: hosted - version: "6.2.0" - archive: - dependency: "direct main" - description: - name: archive - sha256: "22600aa1e926be775fa5fe7e6894e7fb3df9efda8891c73f70fb3262399a432d" - url: "https://pub.dev" - source: hosted - version: "3.4.10" - args: - dependency: transitive - description: - name: args - sha256: eef6c46b622e0494a36c5a12d10d77fb4e855501a91c1b9ef9339326e58f0596 - url: "https://pub.dev" - source: hosted - version: "2.4.2" - async: - dependency: transitive - description: - name: async - sha256: "947bfcf187f74dbc5e146c9eb9c0f10c9f8b30743e341481c1e2ed3ecc18c20c" - url: "https://pub.dev" - source: hosted - version: "2.11.0" - boolean_selector: - dependency: transitive - description: - name: boolean_selector - sha256: "6cfb5af12253eaf2b368f07bacc5a80d1301a071c73360d746b7f2e32d762c66" - url: "https://pub.dev" - source: hosted - version: "2.1.1" - build: - dependency: transitive - description: - name: build - sha256: "80184af8b6cb3e5c1c4ec6d8544d27711700bc3e6d2efad04238c7b5290889f0" - url: "https://pub.dev" - source: hosted - version: "2.4.1" - build_cli_annotations: - dependency: transitive - description: - name: build_cli_annotations - sha256: b59d2769769efd6c9ff6d4c4cede0be115a566afc591705c2040b707534b1172 - url: "https://pub.dev" - source: hosted - version: "2.1.0" - build_config: - dependency: transitive - description: - name: build_config - sha256: bf80fcfb46a29945b423bd9aad884590fb1dc69b330a4d4700cac476af1708d1 - url: "https://pub.dev" - source: hosted - version: "1.1.1" - build_daemon: - dependency: transitive - description: - name: build_daemon - sha256: "0343061a33da9c5810b2d6cee51945127d8f4c060b7fbdd9d54917f0a3feaaa1" - url: "https://pub.dev" - source: hosted - version: "4.0.1" - build_resolvers: - dependency: transitive - description: - name: build_resolvers - sha256: "339086358431fa15d7eca8b6a36e5d783728cf025e559b834f4609a1fcfb7b0a" - url: "https://pub.dev" - source: hosted - version: "2.4.2" - build_runner: - dependency: "direct dev" - description: - name: build_runner - sha256: "581bacf68f89ec8792f5e5a0b2c4decd1c948e97ce659dc783688c8a88fbec21" - url: "https://pub.dev" - source: hosted - version: "2.4.8" - build_runner_core: - dependency: transitive - description: - name: build_runner_core - sha256: c9e32d21dd6626b5c163d48b037ce906bbe428bc23ab77bcd77bb21e593b6185 - url: "https://pub.dev" - source: hosted - version: "7.2.11" - built_collection: - dependency: transitive - description: - name: built_collection - sha256: "376e3dd27b51ea877c28d525560790aee2e6fbb5f20e2f85d5081027d94e2100" - url: "https://pub.dev" - source: hosted - version: "5.1.1" - built_value: - dependency: transitive - description: - name: built_value - sha256: c9aabae0718ec394e5bc3c7272e6bb0dc0b32201a08fe185ec1d8401d3e39309 - url: "https://pub.dev" - source: hosted - version: "8.8.1" - characters: - dependency: transitive - description: - name: characters - sha256: "04a925763edad70e8443c99234dc3328f442e811f1d8fd1a72f1c8ad0f69a605" - url: "https://pub.dev" - source: hosted - version: "1.3.0" - checked_yaml: - dependency: transitive - description: - name: checked_yaml - sha256: feb6bed21949061731a7a75fc5d2aa727cf160b91af9a3e464c5e3a32e28b5ff - url: "https://pub.dev" - source: hosted - version: "2.0.3" - cli_util: - dependency: transitive - description: - name: cli_util - sha256: c05b7406fdabc7a49a3929d4af76bcaccbbffcbcdcf185b082e1ae07da323d19 - url: "https://pub.dev" - source: hosted - version: "0.4.1" - clock: - dependency: transitive - description: - name: clock - sha256: cb6d7f03e1de671e34607e909a7213e31d7752be4fb66a86d29fe1eb14bfb5cf - url: "https://pub.dev" - source: hosted - version: "1.1.1" - code_builder: - dependency: transitive - description: - name: code_builder - sha256: f692079e25e7869c14132d39f223f8eec9830eb76131925143b2129c4bb01b37 - url: "https://pub.dev" - source: hosted - version: "4.10.0" - collection: - dependency: transitive - description: - name: collection - sha256: ee67cb0715911d28db6bf4af1026078bd6f0128b07a5f66fb2ed94ec6783c09a - url: "https://pub.dev" - source: hosted - version: "1.18.0" - convert: - dependency: transitive - description: - name: convert - sha256: "0f08b14755d163f6e2134cb58222dd25ea2a2ee8a195e53983d57c075324d592" - url: "https://pub.dev" - source: hosted - version: "3.1.1" - crypto: - dependency: transitive - description: - name: crypto - sha256: ff625774173754681d66daaf4a448684fb04b78f902da9cb3d308c19cc5e8bab - url: "https://pub.dev" - source: hosted - version: "3.0.3" - dart_style: - dependency: transitive - description: - name: dart_style - sha256: "40ae61a5d43feea6d24bd22c0537a6629db858963b99b4bc1c3db80676f32368" - url: "https://pub.dev" - source: hosted - version: "2.3.4" - fake_async: - dependency: transitive - description: - name: fake_async - sha256: "511392330127add0b769b75a987850d136345d9227c6b94c96a04cf4a391bf78" - url: "https://pub.dev" - source: hosted - version: "1.3.1" - ffi: - dependency: "direct main" - description: - name: ffi - sha256: "7bf0adc28a23d395f19f3f1eb21dd7cfd1dd9f8e1c50051c069122e6853bc878" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - ffigen: - dependency: "direct dev" - description: - name: ffigen - sha256: "3a80687577e7e51ba915114742f389a128e8aa241c52ce69a0f70aecb8e14365" - url: "https://pub.dev" - source: hosted - version: "9.0.1" - file: - dependency: transitive - description: - name: file - sha256: "5fc22d7c25582e38ad9a8515372cd9a93834027aacf1801cf01164dac0ffa08c" - url: "https://pub.dev" - source: hosted - version: "7.0.0" - fixnum: - dependency: transitive - description: - name: fixnum - sha256: "25517a4deb0c03aa0f32fd12db525856438902d9c16536311e76cdc57b31d7d1" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - flutter: - dependency: "direct main" - description: flutter - source: sdk - version: "0.0.0" - flutter_rust_bridge: - dependency: "direct main" - description: - name: flutter_rust_bridge - sha256: "02720226035257ad0b571c1256f43df3e1556a499f6bcb004849a0faaa0e87f0" - url: "https://pub.dev" - source: hosted - version: "1.82.6" - flutter_test: - dependency: "direct dev" - description: flutter - source: sdk - version: "0.0.0" - freezed: - dependency: "direct main" - description: - name: freezed - sha256: "6c5031daae12c7072b3a87eff98983076434b4889ef2a44384d0cae3f82372ba" - url: "https://pub.dev" - source: hosted - version: "2.4.6" - freezed_annotation: - dependency: "direct main" - description: - name: freezed_annotation - sha256: c3fd9336eb55a38cc1bbd79ab17573113a8deccd0ecbbf926cca3c62803b5c2d - url: "https://pub.dev" - source: hosted - version: "2.4.1" - frontend_server_client: - dependency: transitive - description: - name: frontend_server_client - sha256: "408e3ca148b31c20282ad6f37ebfa6f4bdc8fede5b74bc2f08d9d92b55db3612" - url: "https://pub.dev" - source: hosted - version: "3.2.0" - glob: - dependency: transitive - description: - name: glob - sha256: "0e7014b3b7d4dac1ca4d6114f82bf1782ee86745b9b42a92c9289c23d8a0ab63" - url: "https://pub.dev" - source: hosted - version: "2.1.2" - graphs: - dependency: transitive - description: - name: graphs - sha256: aedc5a15e78fc65a6e23bcd927f24c64dd995062bcd1ca6eda65a3cff92a4d19 - url: "https://pub.dev" - source: hosted - version: "2.3.1" - http: - dependency: "direct main" - description: - name: http - sha256: d4872660c46d929f6b8a9ef4e7a7eff7e49bbf0c4ec3f385ee32df5119175139 - url: "https://pub.dev" - source: hosted - version: "1.1.2" - http_multi_server: - dependency: transitive - description: - name: http_multi_server - sha256: "97486f20f9c2f7be8f514851703d0119c3596d14ea63227af6f7a481ef2b2f8b" - url: "https://pub.dev" - source: hosted - version: "3.2.1" - http_parser: - dependency: transitive - description: - name: http_parser - sha256: "2aa08ce0341cc9b354a498388e30986515406668dbcc4f7c950c3e715496693b" - url: "https://pub.dev" - source: hosted - version: "4.0.2" - io: - dependency: transitive - description: - name: io - sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - js: - dependency: transitive - description: - name: js - sha256: f2c445dce49627136094980615a031419f7f3eb393237e4ecd97ac15dea343f3 - url: "https://pub.dev" - source: hosted - version: "0.6.7" - json_annotation: - dependency: transitive - description: - name: json_annotation - sha256: b10a7b2ff83d83c777edba3c6a0f97045ddadd56c944e1a23a3fdf43a1bf4467 - url: "https://pub.dev" - source: hosted - version: "4.8.1" - lints: - dependency: "direct dev" - description: - name: lints - sha256: cbf8d4b858bb0134ef3ef87841abdf8d63bfc255c266b7bf6b39daa1085c4290 - url: "https://pub.dev" - source: hosted - version: "3.0.0" - logging: - dependency: transitive - description: - name: logging - sha256: "623a88c9594aa774443aa3eb2d41807a48486b5613e67599fb4c41c0ad47c340" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - matcher: - dependency: transitive - description: - name: matcher - sha256: "1803e76e6653768d64ed8ff2e1e67bea3ad4b923eb5c56a295c3e634bad5960e" - url: "https://pub.dev" - source: hosted - version: "0.12.16" - material_color_utilities: - dependency: transitive - description: - name: material_color_utilities - sha256: "9528f2f296073ff54cb9fee677df673ace1218163c3bc7628093e7eed5203d41" - url: "https://pub.dev" - source: hosted - version: "0.5.0" - meta: - dependency: "direct main" - description: - name: meta - sha256: a6e590c838b18133bb482a2745ad77c5bb7715fb0451209e1a7567d416678b8e - url: "https://pub.dev" - source: hosted - version: "1.10.0" - mime: - dependency: transitive - description: - name: mime - sha256: e4ff8e8564c03f255408decd16e7899da1733852a9110a58fe6d1b817684a63e - url: "https://pub.dev" - source: hosted - version: "1.0.4" - mockito: - dependency: "direct main" - description: - name: mockito - sha256: "6841eed20a7befac0ce07df8116c8b8233ed1f4486a7647c7fc5a02ae6163917" - url: "https://pub.dev" - source: hosted - version: "5.4.4" - package_config: - dependency: transitive - description: - name: package_config - sha256: "1c5b77ccc91e4823a5af61ee74e6b972db1ef98c2ff5a18d3161c982a55448bd" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - path: - dependency: transitive - description: - name: path - sha256: "8829d8a55c13fc0e37127c29fedf290c102f4e40ae94ada574091fe0ff96c917" - url: "https://pub.dev" - source: hosted - version: "1.8.3" - petitparser: - dependency: transitive - description: - name: petitparser - sha256: c15605cd28af66339f8eb6fbe0e541bfe2d1b72d5825efc6598f3e0a31b9ad27 - url: "https://pub.dev" - source: hosted - version: "6.0.2" - pointycastle: - dependency: transitive - description: - name: pointycastle - sha256: "7c1e5f0d23c9016c5bbd8b1473d0d3fb3fc851b876046039509e18e0c7485f2c" - url: "https://pub.dev" - source: hosted - version: "3.7.3" - pool: - dependency: transitive - description: - name: pool - sha256: "20fe868b6314b322ea036ba325e6fc0711a22948856475e2c2b6306e8ab39c2a" - url: "https://pub.dev" - source: hosted - version: "1.5.1" - pub_semver: - dependency: transitive - description: - name: pub_semver - sha256: "40d3ab1bbd474c4c2328c91e3a7df8c6dd629b79ece4c4bd04bee496a224fb0c" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - pubspec_parse: - dependency: transitive - description: - name: pubspec_parse - sha256: c63b2876e58e194e4b0828fcb080ad0e06d051cb607a6be51a9e084f47cb9367 - url: "https://pub.dev" - source: hosted - version: "1.2.3" - puppeteer: - dependency: transitive - description: - name: puppeteer - sha256: eedeaae6ec5d2e54f9ae22ab4d6b3dda2e8791c356cc783046d06c287ffe11d8 - url: "https://pub.dev" - source: hosted - version: "3.6.0" - quiver: - dependency: transitive - description: - name: quiver - sha256: b1c1ac5ce6688d77f65f3375a9abb9319b3cb32486bdc7a1e0fdf004d7ba4e47 - url: "https://pub.dev" - source: hosted - version: "3.2.1" - shelf: - dependency: transitive - description: - name: shelf - sha256: ad29c505aee705f41a4d8963641f91ac4cee3c8fad5947e033390a7bd8180fa4 - url: "https://pub.dev" - source: hosted - version: "1.4.1" - shelf_static: - dependency: transitive - description: - name: shelf_static - sha256: a41d3f53c4adf0f57480578c1d61d90342cd617de7fc8077b1304643c2d85c1e - url: "https://pub.dev" - source: hosted - version: "1.1.2" - shelf_web_socket: - dependency: transitive - description: - name: shelf_web_socket - sha256: "9ca081be41c60190ebcb4766b2486a7d50261db7bd0f5d9615f2d653637a84c1" - url: "https://pub.dev" - source: hosted - version: "1.0.4" - sky_engine: - dependency: transitive - description: flutter - source: sdk - version: "0.0.99" - source_gen: - dependency: transitive - description: - name: source_gen - sha256: "14658ba5f669685cd3d63701d01b31ea748310f7ab854e471962670abcf57832" - url: "https://pub.dev" - source: hosted - version: "1.5.0" - source_span: - dependency: transitive - description: - name: source_span - sha256: "53e943d4206a5e30df338fd4c6e7a077e02254531b138a15aec3bd143c1a8b3c" - url: "https://pub.dev" - source: hosted - version: "1.10.0" - sprintf: - dependency: transitive - description: - name: sprintf - sha256: "1fc9ffe69d4df602376b52949af107d8f5703b77cda567c4d7d86a0693120f23" - url: "https://pub.dev" - source: hosted - version: "7.0.0" - stack_trace: - dependency: transitive - description: - name: stack_trace - sha256: "73713990125a6d93122541237550ee3352a2d84baad52d375a4cad2eb9b7ce0b" - url: "https://pub.dev" - source: hosted - version: "1.11.1" - stream_channel: - dependency: transitive - description: - name: stream_channel - sha256: ba2aa5d8cc609d96bbb2899c28934f9e1af5cddbd60a827822ea467161eb54e7 - url: "https://pub.dev" - source: hosted - version: "2.1.2" - stream_transform: - dependency: transitive - description: - name: stream_transform - sha256: "14a00e794c7c11aa145a170587321aedce29769c08d7f58b1d141da75e3b1c6f" - url: "https://pub.dev" - source: hosted - version: "2.1.0" - string_scanner: - dependency: transitive - description: - name: string_scanner - sha256: "556692adab6cfa87322a115640c11f13cb77b3f076ddcc5d6ae3c20242bedcde" - url: "https://pub.dev" - source: hosted - version: "1.2.0" - term_glyph: - dependency: transitive - description: - name: term_glyph - sha256: a29248a84fbb7c79282b40b8c72a1209db169a2e0542bce341da992fe1bc7e84 - url: "https://pub.dev" - source: hosted - version: "1.2.1" - test_api: - dependency: transitive - description: - name: test_api - sha256: "5c2f730018264d276c20e4f1503fd1308dfbbae39ec8ee63c5236311ac06954b" - url: "https://pub.dev" - source: hosted - version: "0.6.1" - timing: - dependency: transitive - description: - name: timing - sha256: "70a3b636575d4163c477e6de42f247a23b315ae20e86442bebe32d3cabf61c32" - url: "https://pub.dev" - source: hosted - version: "1.0.1" - tuple: - dependency: transitive - description: - name: tuple - sha256: a97ce2013f240b2f3807bcbaf218765b6f301c3eff91092bcfa23a039e7dd151 - url: "https://pub.dev" - source: hosted - version: "2.0.2" - typed_data: - dependency: transitive - description: - name: typed_data - sha256: facc8d6582f16042dd49f2463ff1bd6e2c9ef9f3d5da3d9b087e244a7b564b3c - url: "https://pub.dev" - source: hosted - version: "1.3.2" - uuid: - dependency: "direct main" - description: - name: uuid - sha256: cd210a09f7c18cbe5a02511718e0334de6559871052c90a90c0cca46a4aa81c8 - url: "https://pub.dev" - source: hosted - version: "4.3.3" - vector_math: - dependency: transitive - description: - name: vector_math - sha256: "80b3257d1492ce4d091729e3a67a60407d227c27241d6927be0130c98e741803" - url: "https://pub.dev" - source: hosted - version: "2.1.4" - watcher: - dependency: transitive - description: - name: watcher - sha256: "3d2ad6751b3c16cf07c7fca317a1413b3f26530319181b37e3b9039b84fc01d8" - url: "https://pub.dev" - source: hosted - version: "1.1.0" - web: - dependency: transitive - description: - name: web - sha256: afe077240a270dcfd2aafe77602b4113645af95d0ad31128cc02bce5ac5d5152 - url: "https://pub.dev" - source: hosted - version: "0.3.0" - web_socket_channel: - dependency: transitive - description: - name: web_socket_channel - sha256: d88238e5eac9a42bb43ca4e721edba3c08c6354d4a53063afaa568516217621b - url: "https://pub.dev" - source: hosted - version: "2.4.0" - yaml: - dependency: transitive - description: - name: yaml - sha256: "75769501ea3489fca56601ff33454fe45507ea3bfb014161abc3b43ae25989d5" - url: "https://pub.dev" - source: hosted - version: "3.1.2" - yaml_edit: - dependency: transitive - description: - name: yaml_edit - sha256: "1579d4a0340a83cf9e4d580ea51a16329c916973bffd5bd4b45e911b25d46bfd" - url: "https://pub.dev" - source: hosted - version: "2.1.1" -sdks: - dart: ">=3.2.0 <4.0.0" - flutter: ">=3.0.0" diff --git a/pubspec.yaml b/pubspec.yaml index 39acf135..9fbf9ee2 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -11,6 +11,7 @@ dependencies: flutter: sdk: flutter flutter_rust_bridge: ">1.82.3 <= 1.82.6" + plugin_platform_interface: ^2.0.2 ffi: ^2.0.1 freezed: ^2.3.5 freezed_annotation: ^2.2.0 @@ -18,7 +19,7 @@ dependencies: meta: ^1.10.0 uuid: ^4.2.2 http: ^1.1.0 - archive: ^3.4.10 + archive: ^3.4.6 dev_dependencies: flutter_test: @@ -38,4 +39,4 @@ flutter: ios: ffiPlugin: true macos: - ffiPlugin: true \ No newline at end of file + ffiPlugin: true From 3f991b151a544ffc2b8944fd7728788375476b1e Mon Sep 17 00:00:00 2001 From: BitcoinZavior Date: Thu, 22 Feb 2024 16:46:00 -0500 Subject: [PATCH 02/74] code cleanup --- README.md | 4 +- lib/src/generated/bindings.dart | 2156 ++++------- lib/src/generated/bridge_definitions.dart | 234 +- .../generated/bridge_definitions.freezed.dart | 3190 ++++++----------- pubspec.lock | 661 ++++ 5 files changed, 2602 insertions(+), 3643 deletions(-) create mode 100644 pubspec.lock diff --git a/README.md b/README.md index 60c5a57a..fdb79a46 100644 --- a/README.md +++ b/README.md @@ -176,9 +176,9 @@ final internalAddress = The latest API documentation is available [here](https://pub.dev/documentation/bdk_flutter/latest/bdk_flutter/bdk_flutter-library.html) -### Example Projects +### Example Projects -- **\*BDK Flutter Demo App:** The [BDK Flutter Demo App](https://github.com/LtbLightning/bdk-flutter-demo-app) +- **\*BDK Flutter Demo App:** The [BDK Flutter Demo App](https://github.com/LtbLightning/bdk-flutter-quickstart) is a simple bitcoin app built in flutter to serve as a reference app to demonstrate `bdk-flutter` api usage. ### How to build diff --git a/lib/src/generated/bindings.dart b/lib/src/generated/bindings.dart index 9d3d6924..e5a541a1 100644 --- a/lib/src/generated/bindings.dart +++ b/lib/src/generated/bindings.dart @@ -19,19 +19,15 @@ import 'dart:ffi' as ffi; class RustBdkFfiImpl implements RustBdkFfi { final RustBdkFfiPlatform _platform; - factory RustBdkFfiImpl(ExternalLibrary dylib) => - RustBdkFfiImpl.raw(RustBdkFfiPlatform(dylib)); + factory RustBdkFfiImpl(ExternalLibrary dylib) => RustBdkFfiImpl.raw(RustBdkFfiPlatform(dylib)); /// Only valid on web/WASM platforms. - factory RustBdkFfiImpl.wasm(FutureOr module) => - RustBdkFfiImpl(module as ExternalLibrary); + factory RustBdkFfiImpl.wasm(FutureOr module) => RustBdkFfiImpl(module as ExternalLibrary); RustBdkFfiImpl.raw(this._platform); - Future createBlockchainStaticMethodApi( - {required BlockchainConfig config, dynamic hint}) { + Future createBlockchainStaticMethodApi({required BlockchainConfig config, dynamic hint}) { var arg0 = _platform.api2wire_box_autoadd_blockchain_config(config); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_create_blockchain__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_create_blockchain__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kCreateBlockchainStaticMethodApiConstMeta, @@ -40,19 +36,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kCreateBlockchainStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "create_blockchain__static_method__Api", - argNames: ["config"], - ); + FlutterRustBridgeTaskConstMeta get kCreateBlockchainStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( + debugName: "create_blockchain__static_method__Api", + argNames: ["config"], + ); - Future getHeightStaticMethodApi( - {required String blockchainId, dynamic hint}) { + Future getHeightStaticMethodApi({required String blockchainId, dynamic hint}) { var arg0 = _platform.api2wire_String(blockchainId); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_get_height__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_get_height__static_method__Api(port_, arg0), parseSuccessData: _wire2api_u32, parseErrorData: _wire2api_error, constMeta: kGetHeightStaticMethodApiConstMeta, @@ -61,21 +53,17 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kGetHeightStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kGetHeightStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "get_height__static_method__Api", argNames: ["blockchainId"], ); Future getBlockchainHashStaticMethodApi( - {required int blockchainHeight, - required String blockchainId, - dynamic hint}) { + {required int blockchainHeight, required String blockchainId, dynamic hint}) { var arg0 = api2wire_u32(blockchainHeight); var arg1 = _platform.api2wire_String(blockchainId); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_get_blockchain_hash__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_get_blockchain_hash__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kGetBlockchainHashStaticMethodApiConstMeta, @@ -84,20 +72,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kGetBlockchainHashStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "get_blockchain_hash__static_method__Api", - argNames: ["blockchainHeight", "blockchainId"], - ); + FlutterRustBridgeTaskConstMeta get kGetBlockchainHashStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( + debugName: "get_blockchain_hash__static_method__Api", + argNames: ["blockchainHeight", "blockchainId"], + ); - Future estimateFeeStaticMethodApi( - {required int target, required String blockchainId, dynamic hint}) { + Future estimateFeeStaticMethodApi({required int target, required String blockchainId, dynamic hint}) { var arg0 = _platform.api2wire_u64(target); var arg1 = _platform.api2wire_String(blockchainId); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_estimate_fee__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_estimate_fee__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_f32, parseErrorData: _wire2api_error, constMeta: kEstimateFeeStaticMethodApiConstMeta, @@ -106,19 +90,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kEstimateFeeStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kEstimateFeeStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "estimate_fee__static_method__Api", argNames: ["target", "blockchainId"], ); - Future broadcastStaticMethodApi( - {required String tx, required String blockchainId, dynamic hint}) { + Future broadcastStaticMethodApi({required String tx, required String blockchainId, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); var arg1 = _platform.api2wire_String(blockchainId); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_broadcast__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_broadcast__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kBroadcastStaticMethodApiConstMeta, @@ -127,18 +108,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kBroadcastStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kBroadcastStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "broadcast__static_method__Api", argNames: ["tx", "blockchainId"], ); - Future createTransactionStaticMethodApi( - {required Uint8List tx, dynamic hint}) { + Future createTransactionStaticMethodApi({required Uint8List tx, dynamic hint}) { var arg0 = _platform.api2wire_uint_8_list(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_create_transaction__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_create_transaction__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kCreateTransactionStaticMethodApiConstMeta, @@ -147,18 +125,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kCreateTransactionStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "create_transaction__static_method__Api", - argNames: ["tx"], - ); + FlutterRustBridgeTaskConstMeta get kCreateTransactionStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( + debugName: "create_transaction__static_method__Api", + argNames: ["tx"], + ); Future txTxidStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_tx_txid__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_tx_txid__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kTxTxidStaticMethodApiConstMeta, @@ -167,8 +142,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kTxTxidStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kTxTxidStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "tx_txid__static_method__Api", argNames: ["tx"], ); @@ -176,8 +150,7 @@ class RustBdkFfiImpl implements RustBdkFfi { Future weightStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_weight__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_weight__static_method__Api(port_, arg0), parseSuccessData: _wire2api_u64, parseErrorData: null, constMeta: kWeightStaticMethodApiConstMeta, @@ -186,8 +159,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kWeightStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kWeightStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "weight__static_method__Api", argNames: ["tx"], ); @@ -195,8 +167,7 @@ class RustBdkFfiImpl implements RustBdkFfi { Future sizeStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_size__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_size__static_method__Api(port_, arg0), parseSuccessData: _wire2api_u64, parseErrorData: null, constMeta: kSizeStaticMethodApiConstMeta, @@ -205,8 +176,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kSizeStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kSizeStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "size__static_method__Api", argNames: ["tx"], ); @@ -214,8 +184,7 @@ class RustBdkFfiImpl implements RustBdkFfi { Future vsizeStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_vsize__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_vsize__static_method__Api(port_, arg0), parseSuccessData: _wire2api_u64, parseErrorData: null, constMeta: kVsizeStaticMethodApiConstMeta, @@ -224,18 +193,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kVsizeStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kVsizeStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "vsize__static_method__Api", argNames: ["tx"], ); - Future serializeTxStaticMethodApi( - {required String tx, dynamic hint}) { + Future serializeTxStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_serialize_tx__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_serialize_tx__static_method__Api(port_, arg0), parseSuccessData: _wire2api_uint_8_list, parseErrorData: null, constMeta: kSerializeTxStaticMethodApiConstMeta, @@ -244,8 +210,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kSerializeTxStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kSerializeTxStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "serialize_tx__static_method__Api", argNames: ["tx"], ); @@ -253,8 +218,7 @@ class RustBdkFfiImpl implements RustBdkFfi { Future isCoinBaseStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_is_coin_base__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_is_coin_base__static_method__Api(port_, arg0), parseSuccessData: _wire2api_bool, parseErrorData: null, constMeta: kIsCoinBaseStaticMethodApiConstMeta, @@ -263,18 +227,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kIsCoinBaseStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kIsCoinBaseStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "is_coin_base__static_method__Api", argNames: ["tx"], ); - Future isExplicitlyRbfStaticMethodApi( - {required String tx, dynamic hint}) { + Future isExplicitlyRbfStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_is_explicitly_rbf__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_is_explicitly_rbf__static_method__Api(port_, arg0), parseSuccessData: _wire2api_bool, parseErrorData: null, constMeta: kIsExplicitlyRbfStaticMethodApiConstMeta, @@ -283,18 +244,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kIsExplicitlyRbfStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kIsExplicitlyRbfStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "is_explicitly_rbf__static_method__Api", argNames: ["tx"], ); - Future isLockTimeEnabledStaticMethodApi( - {required String tx, dynamic hint}) { + Future isLockTimeEnabledStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_is_lock_time_enabled__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_is_lock_time_enabled__static_method__Api(port_, arg0), parseSuccessData: _wire2api_bool, parseErrorData: null, constMeta: kIsLockTimeEnabledStaticMethodApiConstMeta, @@ -303,18 +261,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kIsLockTimeEnabledStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "is_lock_time_enabled__static_method__Api", - argNames: ["tx"], - ); + FlutterRustBridgeTaskConstMeta get kIsLockTimeEnabledStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( + debugName: "is_lock_time_enabled__static_method__Api", + argNames: ["tx"], + ); Future versionStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_version__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_version__static_method__Api(port_, arg0), parseSuccessData: _wire2api_i32, parseErrorData: null, constMeta: kVersionStaticMethodApiConstMeta, @@ -323,8 +278,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kVersionStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kVersionStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "version__static_method__Api", argNames: ["tx"], ); @@ -332,8 +286,7 @@ class RustBdkFfiImpl implements RustBdkFfi { Future lockTimeStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_lock_time__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_lock_time__static_method__Api(port_, arg0), parseSuccessData: _wire2api_u32, parseErrorData: null, constMeta: kLockTimeStaticMethodApiConstMeta, @@ -342,8 +295,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kLockTimeStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kLockTimeStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "lock_time__static_method__Api", argNames: ["tx"], ); @@ -351,8 +303,7 @@ class RustBdkFfiImpl implements RustBdkFfi { Future> inputStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_input__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_input__static_method__Api(port_, arg0), parseSuccessData: _wire2api_list_tx_in, parseErrorData: null, constMeta: kInputStaticMethodApiConstMeta, @@ -361,18 +312,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kInputStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kInputStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "input__static_method__Api", argNames: ["tx"], ); - Future> outputStaticMethodApi( - {required String tx, dynamic hint}) { + Future> outputStaticMethodApi({required String tx, dynamic hint}) { var arg0 = _platform.api2wire_String(tx); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_output__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_output__static_method__Api(port_, arg0), parseSuccessData: _wire2api_list_tx_out, parseErrorData: null, constMeta: kOutputStaticMethodApiConstMeta, @@ -381,18 +329,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kOutputStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kOutputStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "output__static_method__Api", argNames: ["tx"], ); - Future serializePsbtStaticMethodApi( - {required String psbtStr, dynamic hint}) { + Future serializePsbtStaticMethodApi({required String psbtStr, dynamic hint}) { var arg0 = _platform.api2wire_String(psbtStr); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_serialize_psbt__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_serialize_psbt__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kSerializePsbtStaticMethodApiConstMeta, @@ -401,18 +346,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kSerializePsbtStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kSerializePsbtStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "serialize_psbt__static_method__Api", argNames: ["psbtStr"], ); - Future psbtTxidStaticMethodApi( - {required String psbtStr, dynamic hint}) { + Future psbtTxidStaticMethodApi({required String psbtStr, dynamic hint}) { var arg0 = _platform.api2wire_String(psbtStr); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_psbt_txid__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_psbt_txid__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kPsbtTxidStaticMethodApiConstMeta, @@ -421,18 +363,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kPsbtTxidStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kPsbtTxidStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "psbt_txid__static_method__Api", argNames: ["psbtStr"], ); - Future extractTxStaticMethodApi( - {required String psbtStr, dynamic hint}) { + Future extractTxStaticMethodApi({required String psbtStr, dynamic hint}) { var arg0 = _platform.api2wire_String(psbtStr); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_extract_tx__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_extract_tx__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kExtractTxStaticMethodApiConstMeta, @@ -441,18 +380,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kExtractTxStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kExtractTxStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "extract_tx__static_method__Api", argNames: ["psbtStr"], ); - Future psbtFeeRateStaticMethodApi( - {required String psbtStr, dynamic hint}) { + Future psbtFeeRateStaticMethodApi({required String psbtStr, dynamic hint}) { var arg0 = _platform.api2wire_String(psbtStr); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_psbt_fee_rate__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_psbt_fee_rate__static_method__Api(port_, arg0), parseSuccessData: _wire2api_opt_box_autoadd_f32, parseErrorData: null, constMeta: kPsbtFeeRateStaticMethodApiConstMeta, @@ -461,18 +397,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kPsbtFeeRateStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kPsbtFeeRateStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "psbt_fee_rate__static_method__Api", argNames: ["psbtStr"], ); - Future psbtFeeAmountStaticMethodApi( - {required String psbtStr, dynamic hint}) { + Future psbtFeeAmountStaticMethodApi({required String psbtStr, dynamic hint}) { var arg0 = _platform.api2wire_String(psbtStr); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_psbt_fee_amount__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_psbt_fee_amount__static_method__Api(port_, arg0), parseSuccessData: _wire2api_opt_box_autoadd_u64, parseErrorData: null, constMeta: kPsbtFeeAmountStaticMethodApiConstMeta, @@ -481,19 +414,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kPsbtFeeAmountStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kPsbtFeeAmountStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "psbt_fee_amount__static_method__Api", argNames: ["psbtStr"], ); - Future combinePsbtStaticMethodApi( - {required String psbtStr, required String other, dynamic hint}) { + Future combinePsbtStaticMethodApi({required String psbtStr, required String other, dynamic hint}) { var arg0 = _platform.api2wire_String(psbtStr); var arg1 = _platform.api2wire_String(other); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_combine_psbt__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_combine_psbt__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kCombinePsbtStaticMethodApiConstMeta, @@ -502,18 +432,15 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kCombinePsbtStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kCombinePsbtStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "combine_psbt__static_method__Api", argNames: ["psbtStr", "other"], ); - Future jsonSerializeStaticMethodApi( - {required String psbtStr, dynamic hint}) { + Future jsonSerializeStaticMethodApi({required String psbtStr, dynamic hint}) { var arg0 = _platform.api2wire_String(psbtStr); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => - _platform.inner.wire_json_serialize__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_json_serialize__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kJsonSerializeStaticMethodApiConstMeta, @@ -522,8 +449,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kJsonSerializeStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kJsonSerializeStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "json_serialize__static_method__Api", argNames: ["psbtStr"], ); @@ -546,8 +472,7 @@ class RustBdkFfiImpl implements RustBdkFfi { var arg0 = _platform.api2wire_String(walletId); var arg1 = _platform.api2wire_list_script_amount(recipients); var arg2 = _platform.api2wire_list_out_point(utxos); - var arg3 = _platform - .api2wire_opt_box_autoadd___record__out_point_String_usize(foreignUtxo); + var arg3 = _platform.api2wire_opt_box_autoadd___record__out_point_String_usize(foreignUtxo); var arg4 = _platform.api2wire_list_out_point(unspendable); var arg5 = api2wire_change_spend_policy(changePolicy); var arg6 = manuallySelectedOnly; @@ -558,9 +483,8 @@ class RustBdkFfiImpl implements RustBdkFfi { var arg11 = _platform.api2wire_opt_box_autoadd_rbf_value(rbf); var arg12 = _platform.api2wire_uint_8_list(data); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_tx_builder_finish__static_method__Api(port_, arg0, arg1, arg2, - arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12), + callFfi: (port_) => _platform.inner.wire_tx_builder_finish__static_method__Api( + port_, arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12), parseSuccessData: _wire2api___record__String_transaction_details, parseErrorData: _wire2api_error, constMeta: kTxBuilderFinishStaticMethodApiConstMeta, @@ -583,8 +507,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kTxBuilderFinishStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kTxBuilderFinishStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "tx_builder_finish__static_method__Api", argNames: [ "walletId", @@ -619,44 +542,26 @@ class RustBdkFfiImpl implements RustBdkFfi { var arg5 = _platform.api2wire_opt_box_autoadd_u32(nSequence); return _platform.executeNormal(FlutterRustBridgeTask( callFfi: (port_) => _platform.inner - .wire_bump_fee_tx_builder_finish__static_method__Api( - port_, arg0, arg1, arg2, arg3, arg4, arg5), + .wire_bump_fee_tx_builder_finish__static_method__Api(port_, arg0, arg1, arg2, arg3, arg4, arg5), parseSuccessData: _wire2api___record__String_transaction_details, parseErrorData: _wire2api_error, constMeta: kBumpFeeTxBuilderFinishStaticMethodApiConstMeta, - argValues: [ - txid, - feeRate, - allowShrinking, - walletId, - enableRbf, - nSequence - ], + argValues: [txid, feeRate, allowShrinking, walletId, enableRbf, nSequence], hint: hint, )); } - FlutterRustBridgeTaskConstMeta - get kBumpFeeTxBuilderFinishStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "bump_fee_tx_builder_finish__static_method__Api", - argNames: [ - "txid", - "feeRate", - "allowShrinking", - "walletId", - "enableRbf", - "nSequence" - ], - ); - - Future createDescriptorStaticMethodApi( - {required String descriptor, required Network network, dynamic hint}) { + FlutterRustBridgeTaskConstMeta get kBumpFeeTxBuilderFinishStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "bump_fee_tx_builder_finish__static_method__Api", + argNames: ["txid", "feeRate", "allowShrinking", "walletId", "enableRbf", "nSequence"], + ); + + Future createDescriptorStaticMethodApi({required String descriptor, required Network network, dynamic hint}) { var arg0 = _platform.api2wire_String(descriptor); var arg1 = api2wire_network(network); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_create_descriptor__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_create_descriptor__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kCreateDescriptorStaticMethodApiConstMeta, @@ -665,25 +570,18 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kCreateDescriptorStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "create_descriptor__static_method__Api", - argNames: ["descriptor", "network"], - ); + FlutterRustBridgeTaskConstMeta get kCreateDescriptorStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( + debugName: "create_descriptor__static_method__Api", + argNames: ["descriptor", "network"], + ); Future newBip44DescriptorStaticMethodApi( - {required KeychainKind keyChainKind, - required String secretKey, - required Network network, - dynamic hint}) { + {required KeychainKind keyChainKind, required String secretKey, required Network network, dynamic hint}) { var arg0 = api2wire_keychain_kind(keyChainKind); var arg1 = _platform.api2wire_String(secretKey); var arg2 = api2wire_network(network); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_new_bip44_descriptor__static_method__Api( - port_, arg0, arg1, arg2), + callFfi: (port_) => _platform.inner.wire_new_bip44_descriptor__static_method__Api(port_, arg0, arg1, arg2), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kNewBip44DescriptorStaticMethodApiConstMeta, @@ -692,12 +590,11 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kNewBip44DescriptorStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "new_bip44_descriptor__static_method__Api", - argNames: ["keyChainKind", "secretKey", "network"], - ); + FlutterRustBridgeTaskConstMeta get kNewBip44DescriptorStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "new_bip44_descriptor__static_method__Api", + argNames: ["keyChainKind", "secretKey", "network"], + ); Future newBip44PublicStaticMethodApi( {required KeychainKind keyChainKind, @@ -710,9 +607,7 @@ class RustBdkFfiImpl implements RustBdkFfi { var arg2 = api2wire_network(network); var arg3 = _platform.api2wire_String(fingerprint); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_new_bip44_public__static_method__Api( - port_, arg0, arg1, arg2, arg3), + callFfi: (port_) => _platform.inner.wire_new_bip44_public__static_method__Api(port_, arg0, arg1, arg2, arg3), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kNewBip44PublicStaticMethodApiConstMeta, @@ -721,24 +616,18 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kNewBip44PublicStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kNewBip44PublicStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "new_bip44_public__static_method__Api", argNames: ["keyChainKind", "publicKey", "network", "fingerprint"], ); Future newBip49DescriptorStaticMethodApi( - {required KeychainKind keyChainKind, - required String secretKey, - required Network network, - dynamic hint}) { + {required KeychainKind keyChainKind, required String secretKey, required Network network, dynamic hint}) { var arg0 = api2wire_keychain_kind(keyChainKind); var arg1 = _platform.api2wire_String(secretKey); var arg2 = api2wire_network(network); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_new_bip49_descriptor__static_method__Api( - port_, arg0, arg1, arg2), + callFfi: (port_) => _platform.inner.wire_new_bip49_descriptor__static_method__Api(port_, arg0, arg1, arg2), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kNewBip49DescriptorStaticMethodApiConstMeta, @@ -747,12 +636,11 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kNewBip49DescriptorStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "new_bip49_descriptor__static_method__Api", - argNames: ["keyChainKind", "secretKey", "network"], - ); + FlutterRustBridgeTaskConstMeta get kNewBip49DescriptorStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "new_bip49_descriptor__static_method__Api", + argNames: ["keyChainKind", "secretKey", "network"], + ); Future newBip49PublicStaticMethodApi( {required KeychainKind keyChainKind, @@ -765,9 +653,7 @@ class RustBdkFfiImpl implements RustBdkFfi { var arg2 = api2wire_network(network); var arg3 = _platform.api2wire_String(fingerprint); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_new_bip49_public__static_method__Api( - port_, arg0, arg1, arg2, arg3), + callFfi: (port_) => _platform.inner.wire_new_bip49_public__static_method__Api(port_, arg0, arg1, arg2, arg3), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kNewBip49PublicStaticMethodApiConstMeta, @@ -776,24 +662,18 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kNewBip49PublicStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kNewBip49PublicStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "new_bip49_public__static_method__Api", argNames: ["keyChainKind", "publicKey", "network", "fingerprint"], ); Future newBip84DescriptorStaticMethodApi( - {required KeychainKind keyChainKind, - required String secretKey, - required Network network, - dynamic hint}) { + {required KeychainKind keyChainKind, required String secretKey, required Network network, dynamic hint}) { var arg0 = api2wire_keychain_kind(keyChainKind); var arg1 = _platform.api2wire_String(secretKey); var arg2 = api2wire_network(network); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_new_bip84_descriptor__static_method__Api( - port_, arg0, arg1, arg2), + callFfi: (port_) => _platform.inner.wire_new_bip84_descriptor__static_method__Api(port_, arg0, arg1, arg2), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kNewBip84DescriptorStaticMethodApiConstMeta, @@ -802,12 +682,11 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kNewBip84DescriptorStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "new_bip84_descriptor__static_method__Api", - argNames: ["keyChainKind", "secretKey", "network"], - ); + FlutterRustBridgeTaskConstMeta get kNewBip84DescriptorStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "new_bip84_descriptor__static_method__Api", + argNames: ["keyChainKind", "secretKey", "network"], + ); Future newBip84PublicStaticMethodApi( {required KeychainKind keyChainKind, @@ -820,9 +699,7 @@ class RustBdkFfiImpl implements RustBdkFfi { var arg2 = api2wire_network(network); var arg3 = _platform.api2wire_String(fingerprint); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_new_bip84_public__static_method__Api( - port_, arg0, arg1, arg2, arg3), + callFfi: (port_) => _platform.inner.wire_new_bip84_public__static_method__Api(port_, arg0, arg1, arg2, arg3), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kNewBip84PublicStaticMethodApiConstMeta, @@ -831,24 +708,18 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kNewBip84PublicStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kNewBip84PublicStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "new_bip84_public__static_method__Api", argNames: ["keyChainKind", "publicKey", "network", "fingerprint"], ); Future newBip86DescriptorStaticMethodApi( - {required KeychainKind keyChainKind, - required String secretKey, - required Network network, - dynamic hint}) { + {required KeychainKind keyChainKind, required String secretKey, required Network network, dynamic hint}) { var arg0 = api2wire_keychain_kind(keyChainKind); var arg1 = _platform.api2wire_String(secretKey); var arg2 = api2wire_network(network); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_new_bip86_descriptor__static_method__Api( - port_, arg0, arg1, arg2), + callFfi: (port_) => _platform.inner.wire_new_bip86_descriptor__static_method__Api(port_, arg0, arg1, arg2), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kNewBip86DescriptorStaticMethodApiConstMeta, @@ -857,12 +728,11 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kNewBip86DescriptorStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "new_bip86_descriptor__static_method__Api", - argNames: ["keyChainKind", "secretKey", "network"], - ); + FlutterRustBridgeTaskConstMeta get kNewBip86DescriptorStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "new_bip86_descriptor__static_method__Api", + argNames: ["keyChainKind", "secretKey", "network"], + ); Future newBip86PublicStaticMethodApi( {required KeychainKind keyChainKind, @@ -875,9 +745,7 @@ class RustBdkFfiImpl implements RustBdkFfi { var arg2 = api2wire_network(network); var arg3 = _platform.api2wire_String(fingerprint); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_new_bip86_public__static_method__Api( - port_, arg0, arg1, arg2, arg3), + callFfi: (port_) => _platform.inner.wire_new_bip86_public__static_method__Api(port_, arg0, arg1, arg2, arg3), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kNewBip86PublicStaticMethodApiConstMeta, @@ -886,8 +754,7 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta get kNewBip86PublicStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( + FlutterRustBridgeTaskConstMeta get kNewBip86PublicStaticMethodApiConstMeta => const FlutterRustBridgeTaskConstMeta( debugName: "new_bip86_public__static_method__Api", argNames: ["keyChainKind", "publicKey", "network", "fingerprint"], ); @@ -897,9 +764,7 @@ class RustBdkFfiImpl implements RustBdkFfi { var arg0 = _platform.api2wire_String(descriptor); var arg1 = api2wire_network(network); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_descriptor_as_string_private__static_method__Api( - port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_descriptor_as_string_private__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kDescriptorAsStringPrivateStaticMethodApiConstMeta, @@ -908,20 +773,18 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kDescriptorAsStringPrivateStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "descriptor_as_string_private__static_method__Api", - argNames: ["descriptor", "network"], - ); + FlutterRustBridgeTaskConstMeta get kDescriptorAsStringPrivateStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "descriptor_as_string_private__static_method__Api", + argNames: ["descriptor", "network"], + ); Future descriptorAsStringStaticMethodApi( {required String descriptor, required Network network, dynamic hint}) { var arg0 = _platform.api2wire_String(descriptor); var arg1 = api2wire_network(network); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_descriptor_as_string__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_descriptor_as_string__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kDescriptorAsStringStaticMethodApiConstMeta, @@ -930,20 +793,18 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kDescriptorAsStringStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "descriptor_as_string__static_method__Api", - argNames: ["descriptor", "network"], - ); + FlutterRustBridgeTaskConstMeta get kDescriptorAsStringStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "descriptor_as_string__static_method__Api", + argNames: ["descriptor", "network"], + ); Future maxSatisfactionWeightStaticMethodApi( {required String descriptor, required Network network, dynamic hint}) { var arg0 = _platform.api2wire_String(descriptor); var arg1 = api2wire_network(network); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_max_satisfaction_weight__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_max_satisfaction_weight__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_usize, parseErrorData: _wire2api_error, constMeta: kMaxSatisfactionWeightStaticMethodApiConstMeta, @@ -952,25 +813,19 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kMaxSatisfactionWeightStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "max_satisfaction_weight__static_method__Api", - argNames: ["descriptor", "network"], - ); + FlutterRustBridgeTaskConstMeta get kMaxSatisfactionWeightStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "max_satisfaction_weight__static_method__Api", + argNames: ["descriptor", "network"], + ); Future createDescriptorSecretStaticMethodApi( - {required Network network, - required String mnemonic, - String? password, - dynamic hint}) { + {required Network network, required String mnemonic, String? password, dynamic hint}) { var arg0 = api2wire_network(network); var arg1 = _platform.api2wire_String(mnemonic); var arg2 = _platform.api2wire_opt_String(password); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_create_descriptor_secret__static_method__Api( - port_, arg0, arg1, arg2), + callFfi: (port_) => _platform.inner.wire_create_descriptor_secret__static_method__Api(port_, arg0, arg1, arg2), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kCreateDescriptorSecretStaticMethodApiConstMeta, @@ -979,19 +834,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kCreateDescriptorSecretStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "create_descriptor_secret__static_method__Api", - argNames: ["network", "mnemonic", "password"], - ); + FlutterRustBridgeTaskConstMeta get kCreateDescriptorSecretStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "create_descriptor_secret__static_method__Api", + argNames: ["network", "mnemonic", "password"], + ); - Future descriptorSecretFromStringStaticMethodApi( - {required String secret, dynamic hint}) { + Future descriptorSecretFromStringStaticMethodApi({required String secret, dynamic hint}) { var arg0 = _platform.api2wire_String(secret); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_descriptor_secret_from_string__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_descriptor_secret_from_string__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_FrbAnyhowException, constMeta: kDescriptorSecretFromStringStaticMethodApiConstMeta, @@ -1000,20 +852,17 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kDescriptorSecretFromStringStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "descriptor_secret_from_string__static_method__Api", - argNames: ["secret"], - ); + FlutterRustBridgeTaskConstMeta get kDescriptorSecretFromStringStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "descriptor_secret_from_string__static_method__Api", + argNames: ["secret"], + ); - Future extendDescriptorSecretStaticMethodApi( - {required String secret, required String path, dynamic hint}) { + Future extendDescriptorSecretStaticMethodApi({required String secret, required String path, dynamic hint}) { var arg0 = _platform.api2wire_String(secret); var arg1 = _platform.api2wire_String(path); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_extend_descriptor_secret__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_extend_descriptor_secret__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_String, parseErrorData: null, constMeta: kExtendDescriptorSecretStaticMethodApiConstMeta, @@ -1022,20 +871,17 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kExtendDescriptorSecretStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "extend_descriptor_secret__static_method__Api", - argNames: ["secret", "path"], - ); + FlutterRustBridgeTaskConstMeta get kExtendDescriptorSecretStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "extend_descriptor_secret__static_method__Api", + argNames: ["secret", "path"], + ); - Future deriveDescriptorSecretStaticMethodApi( - {required String secret, required String path, dynamic hint}) { + Future deriveDescriptorSecretStaticMethodApi({required String secret, required String path, dynamic hint}) { var arg0 = _platform.api2wire_String(secret); var arg1 = _platform.api2wire_String(path); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_derive_descriptor_secret__static_method__Api(port_, arg0, arg1), + callFfi: (port_) => _platform.inner.wire_derive_descriptor_secret__static_method__Api(port_, arg0, arg1), parseSuccessData: _wire2api_String, parseErrorData: null, constMeta: kDeriveDescriptorSecretStaticMethodApiConstMeta, @@ -1044,20 +890,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kDeriveDescriptorSecretStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "derive_descriptor_secret__static_method__Api", - argNames: ["secret", "path"], - ); + FlutterRustBridgeTaskConstMeta get kDeriveDescriptorSecretStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "derive_descriptor_secret__static_method__Api", + argNames: ["secret", "path"], + ); - Future descriptorSecretAsSecretBytesStaticMethodApi( - {required String secret, dynamic hint}) { + Future descriptorSecretAsSecretBytesStaticMethodApi({required String secret, dynamic hint}) { var arg0 = _platform.api2wire_String(secret); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_descriptor_secret_as_secret_bytes__static_method__Api( - port_, arg0), + callFfi: (port_) => _platform.inner.wire_descriptor_secret_as_secret_bytes__static_method__Api(port_, arg0), parseSuccessData: _wire2api_uint_8_list, parseErrorData: _wire2api_error, constMeta: kDescriptorSecretAsSecretBytesStaticMethodApiConstMeta, @@ -1066,19 +908,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kDescriptorSecretAsSecretBytesStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "descriptor_secret_as_secret_bytes__static_method__Api", - argNames: ["secret"], - ); + FlutterRustBridgeTaskConstMeta get kDescriptorSecretAsSecretBytesStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "descriptor_secret_as_secret_bytes__static_method__Api", + argNames: ["secret"], + ); - Future descriptorSecretAsPublicStaticMethodApi( - {required String secret, dynamic hint}) { + Future descriptorSecretAsPublicStaticMethodApi({required String secret, dynamic hint}) { var arg0 = _platform.api2wire_String(secret); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_descriptor_secret_as_public__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_descriptor_secret_as_public__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kDescriptorSecretAsPublicStaticMethodApiConstMeta, @@ -1087,19 +926,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kDescriptorSecretAsPublicStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "descriptor_secret_as_public__static_method__Api", - argNames: ["secret"], - ); + FlutterRustBridgeTaskConstMeta get kDescriptorSecretAsPublicStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "descriptor_secret_as_public__static_method__Api", + argNames: ["secret"], + ); - Future createDerivationPathStaticMethodApi( - {required String path, dynamic hint}) { + Future createDerivationPathStaticMethodApi({required String path, dynamic hint}) { var arg0 = _platform.api2wire_String(path); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_create_derivation_path__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_create_derivation_path__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kCreateDerivationPathStaticMethodApiConstMeta, @@ -1108,19 +944,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kCreateDerivationPathStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "create_derivation_path__static_method__Api", - argNames: ["path"], - ); + FlutterRustBridgeTaskConstMeta get kCreateDerivationPathStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "create_derivation_path__static_method__Api", + argNames: ["path"], + ); - Future descriptorPublicFromStringStaticMethodApi( - {required String publicKey, dynamic hint}) { + Future descriptorPublicFromStringStaticMethodApi({required String publicKey, dynamic hint}) { var arg0 = _platform.api2wire_String(publicKey); return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_descriptor_public_from_string__static_method__Api(port_, arg0), + callFfi: (port_) => _platform.inner.wire_descriptor_public_from_string__static_method__Api(port_, arg0), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kDescriptorPublicFromStringStaticMethodApiConstMeta, @@ -1129,25 +962,19 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kDescriptorPublicFromStringStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "descriptor_public_from_string__static_method__Api", - argNames: ["publicKey"], - ); + FlutterRustBridgeTaskConstMeta get kDescriptorPublicFromStringStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "descriptor_public_from_string__static_method__Api", + argNames: ["publicKey"], + ); Future createDescriptorPublicStaticMethodApi( - {String? xpub, - required String path, - required bool derive, - dynamic hint}) { + {String? xpub, required String path, required bool derive, dynamic hint}) { var arg0 = _platform.api2wire_opt_String(xpub); var arg1 = _platform.api2wire_String(path); var arg2 = derive; return _platform.executeNormal(FlutterRustBridgeTask( - callFfi: (port_) => _platform.inner - .wire_create_descriptor_public__static_method__Api( - port_, arg0, arg1, arg2), + callFfi: (port_) => _platform.inner.wire_create_descriptor_public__static_method__Api(port_, arg0, arg1, arg2), parseSuccessData: _wire2api_String, parseErrorData: _wire2api_error, constMeta: kCreateDescriptorPublicStaticMethodApiConstMeta, @@ -1156,19 +983,16 @@ class RustBdkFfiImpl implements RustBdkFfi { )); } - FlutterRustBridgeTaskConstMeta - get kCreateDescriptorPublicStaticMethodApiConstMeta => - const FlutterRustBridgeTaskConstMeta( - debugName: "create_descriptor_public__static_method__Api", - argNames: ["xpub", "path", "derive"], - ); + FlutterRustBridgeTaskConstMeta get kCreateDescriptorPublicStaticMethodApiConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "create_descriptor_public__static_method__Api", + argNames: ["xpub", "path", "derive"], + ); - Future