diff --git a/packages/flutter_nekoton_bridge/ios/Classes/frb.h b/packages/flutter_nekoton_bridge/ios/Classes/frb.h index 1f8f129b..7046aaf0 100644 --- a/packages/flutter_nekoton_bridge/ios/Classes/frb.h +++ b/packages/flutter_nekoton_bridge/ios/Classes/frb.h @@ -444,6 +444,12 @@ void wire_make_full_account_boc(int64_t port_, struct wire_uint_8_list *account_ void wire_parse_full_account_boc(int64_t port_, struct wire_uint_8_list *account); +void wire_compute_storage_fee(int64_t port_, + struct wire_uint_8_list *config, + struct wire_uint_8_list *account, + uint32_t utime, + bool is_masterchain); + void wire_test_logger_info(int64_t port_, struct wire_uint_8_list *string); void wire_test_logger_debug(int64_t port_, struct wire_uint_8_list *string); @@ -1229,6 +1235,7 @@ static int64_t dummy_method_to_enforce_bundling(void) { dummy_var ^= ((int64_t) (void*) wire_encode_internal_message); dummy_var ^= ((int64_t) (void*) wire_make_full_account_boc); dummy_var ^= ((int64_t) (void*) wire_parse_full_account_boc); + dummy_var ^= ((int64_t) (void*) wire_compute_storage_fee); dummy_var ^= ((int64_t) (void*) wire_test_logger_info); dummy_var ^= ((int64_t) (void*) wire_test_logger_debug); dummy_var ^= ((int64_t) (void*) wire_test_logger_warn); diff --git a/packages/flutter_nekoton_bridge/lib/example_related/mega_struct.freezed.dart b/packages/flutter_nekoton_bridge/lib/example_related/mega_struct.freezed.dart index 39edd87f..47150d53 100644 --- a/packages/flutter_nekoton_bridge/lib/example_related/mega_struct.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/example_related/mega_struct.freezed.dart @@ -12,7 +12,7 @@ part of 'mega_struct.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#adding-getters-and-methods-to-our-models'); Coords _$CoordsFromJson(Map json) { return _Coords.fromJson(json); @@ -144,7 +144,7 @@ class _$CoordsImpl with DiagnosticableTreeMixin implements _Coords { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CoordsImpl && @@ -346,7 +346,7 @@ class _$MegaStructImpl with DiagnosticableTreeMixin implements _MegaStruct { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MegaStructImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/account_to_add.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/account_to_add.freezed.dart index 4f7b915f..dfed11cb 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/account_to_add.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/account_to_add.freezed.dart @@ -12,7 +12,7 @@ part of 'account_to_add.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#adding-getters-and-methods-to-our-models'); AccountToAdd _$AccountToAddFromJson(Map json) { return _AccountToAdd.fromJson(json); @@ -217,7 +217,7 @@ class _$AccountToAddImpl implements _AccountToAdd { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AccountToAddImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/additional_assets.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/additional_assets.freezed.dart index 24ac0303..e1ab47a8 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/additional_assets.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/additional_assets.freezed.dart @@ -12,7 +12,7 @@ part of 'additional_assets.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#adding-getters-and-methods-to-our-models'); AdditionalAssets _$AdditionalAssetsFromJson(Map json) { return _AdditionalAssets.fromJson(json); @@ -140,7 +140,7 @@ class _$AdditionalAssetsImpl implements _AdditionalAssets { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AdditionalAssetsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/assets_list.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/assets_list.freezed.dart index 8950db6c..f3db4773 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/assets_list.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/assets_list.freezed.dart @@ -12,7 +12,7 @@ part of 'assets_list.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#adding-getters-and-methods-to-our-models'); AssetsList _$AssetsListFromJson(Map json) { return _AssetsList.fromJson(json); @@ -176,7 +176,7 @@ class _$AssetsListImpl extends _AssetsList { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AssetsListImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/depool_asset.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/depool_asset.freezed.dart index 6540f3e7..11871cf1 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/depool_asset.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/depool_asset.freezed.dart @@ -12,7 +12,7 @@ part of 'depool_asset.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#adding-getters-and-methods-to-our-models'); DePoolAsset _$DePoolAssetFromJson(Map json) { return _DePoolAsset.fromJson(json); @@ -124,7 +124,7 @@ class _$DePoolAssetImpl implements _DePoolAsset { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DePoolAssetImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/token_wallet_asset.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/token_wallet_asset.freezed.dart index b83e4fc5..9a0af892 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/token_wallet_asset.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/token_wallet_asset.freezed.dart @@ -12,7 +12,7 @@ part of 'token_wallet_asset.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#adding-getters-and-methods-to-our-models'); TokenWalletAsset _$TokenWalletAssetFromJson(Map json) { return _TokenWalletAsset.fromJson(json); @@ -125,7 +125,7 @@ class _$TokenWalletAssetImpl implements _TokenWalletAsset { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenWalletAssetImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/ton_wallet_asset.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/ton_wallet_asset.freezed.dart index 6b27c1eb..51bef132 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/ton_wallet_asset.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/ton_wallet_asset.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_asset.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#adding-getters-and-methods-to-our-models'); TonWalletAsset _$TonWalletAssetFromJson(Map json) { return _TonWalletAsset.fromJson(json); @@ -174,7 +174,7 @@ class _$TonWalletAssetImpl extends _TonWalletAsset { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletAssetImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/wallet_type.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/wallet_type.freezed.dart index 4d0cf8e8..4cab5a91 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/wallet_type.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/accounts_storage/models/wallet_type.freezed.dart @@ -12,7 +12,7 @@ part of 'wallet_type.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#adding-getters-and-methods-to-our-models'); WalletType _$WalletTypeFromJson(Map json) { switch (json['type']) { @@ -156,7 +156,7 @@ class _$MultisigImpl implements _Multisig { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MultisigImpl && @@ -300,7 +300,7 @@ class _$WalletV3Impl implements _WalletV3 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WalletV3Impl); } @@ -432,7 +432,7 @@ class _$HighloadWalletV2Impl implements _HighloadWalletV2 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$HighloadWalletV2Impl); } @@ -564,7 +564,7 @@ class _$WalletTypeEverWalletImpl implements _WalletTypeEverWallet { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WalletTypeEverWalletImpl); diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/keystore/models/key_store_entry.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/keystore/models/key_store_entry.freezed.dart index 579c45d6..d77e88d1 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/keystore/models/key_store_entry.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/keystore/models/key_store_entry.freezed.dart @@ -12,7 +12,7 @@ part of 'key_store_entry.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#adding-getters-and-methods-to-our-models'); KeyStoreEntry _$KeyStoreEntryFromJson(Map json) { return _KeyStoreEntry.fromJson(json); @@ -204,7 +204,7 @@ class _$KeyStoreEntryImpl extends _KeyStoreEntry { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$KeyStoreEntryImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/accounts_list.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/accounts_list.freezed.dart index 4c739c50..71ccf42c 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/accounts_list.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/accounts_list.freezed.dart @@ -12,7 +12,7 @@ part of 'accounts_list.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#adding-getters-and-methods-to-our-models'); AccountsList _$AccountsListFromJson(Map json) { return _AccountsList.fromJson(json); @@ -139,7 +139,7 @@ class _$AccountsListImpl implements _AccountsList { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AccountsListImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/address.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/address.freezed.dart index ed70a68c..a374395f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/address.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/address.freezed.dart @@ -12,7 +12,7 @@ part of 'address.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#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$Address { @@ -96,7 +96,7 @@ class _$FromStringImpl extends _FromString { final String address; @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$FromStringImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/blockchain_config.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/blockchain_config.freezed.dart index a64ea3c5..acc1047c 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/blockchain_config.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/blockchain_config.freezed.dart @@ -12,7 +12,7 @@ part of 'blockchain_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#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#adding-getters-and-methods-to-our-models'); BlockchainConfig _$BlockchainConfigFromJson(Map json) { return _BlockchainConfig.fromJson(json); @@ -156,7 +156,7 @@ class _$BlockchainConfigImpl implements _BlockchainConfig { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$BlockchainConfigImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/contract_state.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/contract_state.freezed.dart index 63a7e3eb..78714104 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/contract_state.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/contract_state.freezed.dart @@ -12,7 +12,7 @@ part of 'contract_state.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#adding-getters-and-methods-to-our-models'); ContractState _$ContractStateFromJson(Map json) { return _ContractState.fromJson(json); @@ -209,7 +209,7 @@ class _$ContractStateImpl implements _ContractState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ContractStateImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/existing_contract.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/existing_contract.freezed.dart index 8b1e5bfa..6cdb6787 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/existing_contract.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/existing_contract.freezed.dart @@ -12,7 +12,7 @@ part of 'existing_contract.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#adding-getters-and-methods-to-our-models'); ExistingContract _$ExistingContractFromJson(Map json) { return _ExistingContract.fromJson(json); @@ -170,7 +170,7 @@ class _$ExistingContractImpl implements _ExistingContract { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ExistingContractImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/expiration.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/expiration.freezed.dart index 3416d06a..0afd337f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/expiration.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/expiration.freezed.dart @@ -12,7 +12,7 @@ part of 'expiration.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#adding-getters-and-methods-to-our-models'); Expiration _$ExpirationFromJson(Map json) { switch (json['type']) { @@ -129,7 +129,7 @@ class _$NeverImpl implements _Never { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$NeverImpl); } @@ -272,7 +272,7 @@ class _$TimeoutImpl implements _Timeout { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TimeoutImpl && @@ -428,7 +428,7 @@ class _$TimestampImpl implements _Timestamp { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TimestampImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/full_contract_state.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/full_contract_state.freezed.dart index 01572c4a..db5d7fb7 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/full_contract_state.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/full_contract_state.freezed.dart @@ -12,7 +12,7 @@ part of 'full_contract_state.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#adding-getters-and-methods-to-our-models'); FullContractState _$FullContractStateFromJson(Map json) { return _FullContractState.fromJson(json); @@ -225,7 +225,7 @@ class _$FullContractStateImpl implements _FullContractState { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$FullContractStateImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/gen_timings.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/gen_timings.freezed.dart index de525730..a4d9c482 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/gen_timings.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/gen_timings.freezed.dart @@ -12,7 +12,7 @@ part of 'gen_timings.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#adding-getters-and-methods-to-our-models'); GenTimings _$GenTimingsFromJson(Map json) { return _GenTimings.fromJson(json); @@ -124,7 +124,7 @@ class _$GenTimingsImpl implements _GenTimings { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$GenTimingsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/internal_message.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/internal_message.freezed.dart index 56626bf8..e52049ff 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/internal_message.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/internal_message.freezed.dart @@ -12,7 +12,7 @@ part of 'internal_message.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#adding-getters-and-methods-to-our-models'); InternalMessage _$InternalMessageFromJson(Map json) { return _InternalMessage.fromJson(json); @@ -208,7 +208,7 @@ class _$InternalMessageImpl implements _InternalMessage { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$InternalMessageImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/last_transaction_id.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/last_transaction_id.freezed.dart index af0e2bc4..d0f8faf6 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/last_transaction_id.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/last_transaction_id.freezed.dart @@ -12,7 +12,7 @@ part of 'last_transaction_id.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#adding-getters-and-methods-to-our-models'); LastTransactionId _$LastTransactionIdFromJson(Map json) { return _LastTransactionId.fromJson(json); @@ -144,7 +144,7 @@ class _$LastTransactionIdImpl implements _LastTransactionId { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$LastTransactionIdImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/message.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/message.freezed.dart index f18618c1..66a68f7f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/message.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/message.freezed.dart @@ -12,7 +12,7 @@ part of 'message.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#adding-getters-and-methods-to-our-models'); Message _$MessageFromJson(Map json) { return _Message.fromJson(json); @@ -257,7 +257,7 @@ class _$MessageImpl implements _Message { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MessageImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/models_lib.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/models_lib.dart index dbff7cef..eceffae0 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/models_lib.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/models_lib.dart @@ -25,3 +25,4 @@ export 'transactions_batch_type.dart'; export 'transactions_list.dart'; export 'address.dart'; export 'public_key.dart'; +export 'storage_fee_info.dart'; diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_message_expired_payload.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_message_expired_payload.freezed.dart index 6684ae63..a276f412 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_message_expired_payload.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_message_expired_payload.freezed.dart @@ -12,7 +12,7 @@ part of 'on_message_expired_payload.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#adding-getters-and-methods-to-our-models'); OnMessageExpiredPayload _$OnMessageExpiredPayloadFromJson( Map json) { @@ -132,7 +132,7 @@ class _$OnMessageExpiredPayloadImpl implements _OnMessageExpiredPayload { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$OnMessageExpiredPayloadImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_message_sent_payload.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_message_sent_payload.freezed.dart index 9b6cf81c..a3372e2d 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_message_sent_payload.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_message_sent_payload.freezed.dart @@ -12,7 +12,7 @@ part of 'on_message_sent_payload.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#adding-getters-and-methods-to-our-models'); OnMessageSentPayload _$OnMessageSentPayloadFromJson(Map json) { return _OnMessageSentPayload.fromJson(json); @@ -157,7 +157,7 @@ class _$OnMessageSentPayloadImpl implements _OnMessageSentPayload { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$OnMessageSentPayloadImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_state_changed_payload.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_state_changed_payload.freezed.dart index 93a437b7..410f345e 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_state_changed_payload.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_state_changed_payload.freezed.dart @@ -12,7 +12,7 @@ part of 'on_state_changed_payload.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#adding-getters-and-methods-to-our-models'); OnStateChangedPayload _$OnStateChangedPayloadFromJson( Map json) { @@ -129,7 +129,7 @@ class _$OnStateChangedPayloadImpl implements _OnStateChangedPayload { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$OnStateChangedPayloadImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_transactions_found_payload.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_transactions_found_payload.freezed.dart index 78de595c..7b5ce3f5 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_transactions_found_payload.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/on_transactions_found_payload.freezed.dart @@ -12,7 +12,7 @@ part of 'on_transactions_found_payload.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#adding-getters-and-methods-to-our-models'); OnTransactionsFoundPayload _$OnTransactionsFoundPayloadFromJson( Map json) { @@ -153,7 +153,7 @@ class _$OnTransactionsFoundPayloadImpl implements _OnTransactionsFoundPayload { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$OnTransactionsFoundPayloadImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/pending_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/pending_transaction.freezed.dart index 6c396490..74c30e2b 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/pending_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/pending_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'pending_transaction.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#adding-getters-and-methods-to-our-models'); PendingTransaction _$PendingTransactionFromJson(Map json) { return _PendingTransaction.fromJson(json); @@ -166,7 +166,7 @@ class _$PendingTransactionImpl extends _PendingTransaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PendingTransactionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/public_key.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/public_key.freezed.dart index aaec858b..3c1678ef 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/public_key.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/public_key.freezed.dart @@ -12,7 +12,7 @@ part of 'public_key.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#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$PublicKey { @@ -97,7 +97,7 @@ class _$FromStringImpl extends _FromString { final String publicKey; @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$FromStringImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/raw_contract_state.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/raw_contract_state.freezed.dart index 7f03512b..ef5e6f5d 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/raw_contract_state.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/raw_contract_state.freezed.dart @@ -12,7 +12,7 @@ part of 'raw_contract_state.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#adding-getters-and-methods-to-our-models'); RawContractState _$RawContractStateFromJson(Map json) { switch (json['type']) { @@ -150,7 +150,7 @@ class _$NotExistsImpl implements _NotExists { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$NotExistsImpl && @@ -311,7 +311,7 @@ class _$ExistsImpl implements _Exists { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ExistsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/raw_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/raw_transaction.freezed.dart index 449f5f49..b21f21b2 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/raw_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/raw_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'raw_transaction.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#adding-getters-and-methods-to-our-models'); RawTransaction _$RawTransactionFromJson(Map json) { return _RawTransaction.fromJson(json); @@ -137,7 +137,7 @@ class _$RawTransactionImpl implements _RawTransaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$RawTransactionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.dart new file mode 100644 index 00000000..d95e4fc9 --- /dev/null +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.dart @@ -0,0 +1,18 @@ +import 'package:freezed_annotation/freezed_annotation.dart'; + +part 'storage_fee_info.freezed.dart'; +part 'storage_fee_info.g.dart'; + +@freezed +sealed class StorageFeeInfo with _$StorageFeeInfo { + const factory StorageFeeInfo({ + required final String storageFee, + required final String storageFeeDebt, + required final String? accountStatus, + required final String freezeDueLimit, + required final String deleteDueLimit, + }) = _StorageFeeInfo; + + factory StorageFeeInfo.fromJson(Map json) => + _$StorageFeeInfoFromJson(json); +} diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.freezed.dart new file mode 100644 index 00000000..af639692 --- /dev/null +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.freezed.dart @@ -0,0 +1,242 @@ +// coverage:ignore-file +// GENERATED CODE - DO NOT MODIFY BY HAND +// ignore_for_file: type=lint +// ignore_for_file: unused_element, deprecated_member_use, deprecated_member_use_from_same_package, use_function_type_syntax_for_parameters, unnecessary_const, avoid_init_to_null, invalid_override_different_default_values_named, prefer_expression_function_bodies, annotate_overrides, invalid_annotation_target, unnecessary_question_mark + +part of 'storage_fee_info.dart'; + +// ************************************************************************** +// FreezedGenerator +// ************************************************************************** + +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'); + +StorageFeeInfo _$StorageFeeInfoFromJson(Map json) { + return _StorageFeeInfo.fromJson(json); +} + +/// @nodoc +mixin _$StorageFeeInfo { + String get storageFee => throw _privateConstructorUsedError; + String get storageFeeDebt => throw _privateConstructorUsedError; + String? get accountStatus => throw _privateConstructorUsedError; + String get freezeDueLimit => throw _privateConstructorUsedError; + String get deleteDueLimit => throw _privateConstructorUsedError; + + Map toJson() => throw _privateConstructorUsedError; + @JsonKey(ignore: true) + $StorageFeeInfoCopyWith get copyWith => + throw _privateConstructorUsedError; +} + +/// @nodoc +abstract class $StorageFeeInfoCopyWith<$Res> { + factory $StorageFeeInfoCopyWith( + StorageFeeInfo value, $Res Function(StorageFeeInfo) then) = + _$StorageFeeInfoCopyWithImpl<$Res, StorageFeeInfo>; + @useResult + $Res call( + {String storageFee, + String storageFeeDebt, + String? accountStatus, + String freezeDueLimit, + String deleteDueLimit}); +} + +/// @nodoc +class _$StorageFeeInfoCopyWithImpl<$Res, $Val extends StorageFeeInfo> + implements $StorageFeeInfoCopyWith<$Res> { + _$StorageFeeInfoCopyWithImpl(this._value, this._then); + + // ignore: unused_field + final $Val _value; + // ignore: unused_field + final $Res Function($Val) _then; + + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? storageFee = null, + Object? storageFeeDebt = null, + Object? accountStatus = freezed, + Object? freezeDueLimit = null, + Object? deleteDueLimit = null, + }) { + return _then(_value.copyWith( + storageFee: null == storageFee + ? _value.storageFee + : storageFee // ignore: cast_nullable_to_non_nullable + as String, + storageFeeDebt: null == storageFeeDebt + ? _value.storageFeeDebt + : storageFeeDebt // ignore: cast_nullable_to_non_nullable + as String, + accountStatus: freezed == accountStatus + ? _value.accountStatus + : accountStatus // ignore: cast_nullable_to_non_nullable + as String?, + freezeDueLimit: null == freezeDueLimit + ? _value.freezeDueLimit + : freezeDueLimit // ignore: cast_nullable_to_non_nullable + as String, + deleteDueLimit: null == deleteDueLimit + ? _value.deleteDueLimit + : deleteDueLimit // ignore: cast_nullable_to_non_nullable + as String, + ) as $Val); + } +} + +/// @nodoc +abstract class _$$StorageFeeInfoImplCopyWith<$Res> + implements $StorageFeeInfoCopyWith<$Res> { + factory _$$StorageFeeInfoImplCopyWith(_$StorageFeeInfoImpl value, + $Res Function(_$StorageFeeInfoImpl) then) = + __$$StorageFeeInfoImplCopyWithImpl<$Res>; + @override + @useResult + $Res call( + {String storageFee, + String storageFeeDebt, + String? accountStatus, + String freezeDueLimit, + String deleteDueLimit}); +} + +/// @nodoc +class __$$StorageFeeInfoImplCopyWithImpl<$Res> + extends _$StorageFeeInfoCopyWithImpl<$Res, _$StorageFeeInfoImpl> + implements _$$StorageFeeInfoImplCopyWith<$Res> { + __$$StorageFeeInfoImplCopyWithImpl( + _$StorageFeeInfoImpl _value, $Res Function(_$StorageFeeInfoImpl) _then) + : super(_value, _then); + + @pragma('vm:prefer-inline') + @override + $Res call({ + Object? storageFee = null, + Object? storageFeeDebt = null, + Object? accountStatus = freezed, + Object? freezeDueLimit = null, + Object? deleteDueLimit = null, + }) { + return _then(_$StorageFeeInfoImpl( + storageFee: null == storageFee + ? _value.storageFee + : storageFee // ignore: cast_nullable_to_non_nullable + as String, + storageFeeDebt: null == storageFeeDebt + ? _value.storageFeeDebt + : storageFeeDebt // ignore: cast_nullable_to_non_nullable + as String, + accountStatus: freezed == accountStatus + ? _value.accountStatus + : accountStatus // ignore: cast_nullable_to_non_nullable + as String?, + freezeDueLimit: null == freezeDueLimit + ? _value.freezeDueLimit + : freezeDueLimit // ignore: cast_nullable_to_non_nullable + as String, + deleteDueLimit: null == deleteDueLimit + ? _value.deleteDueLimit + : deleteDueLimit // ignore: cast_nullable_to_non_nullable + as String, + )); + } +} + +/// @nodoc +@JsonSerializable() +class _$StorageFeeInfoImpl implements _StorageFeeInfo { + const _$StorageFeeInfoImpl( + {required this.storageFee, + required this.storageFeeDebt, + required this.accountStatus, + required this.freezeDueLimit, + required this.deleteDueLimit}); + + factory _$StorageFeeInfoImpl.fromJson(Map json) => + _$$StorageFeeInfoImplFromJson(json); + + @override + final String storageFee; + @override + final String storageFeeDebt; + @override + final String? accountStatus; + @override + final String freezeDueLimit; + @override + final String deleteDueLimit; + + @override + String toString() { + return 'StorageFeeInfo(storageFee: $storageFee, storageFeeDebt: $storageFeeDebt, accountStatus: $accountStatus, freezeDueLimit: $freezeDueLimit, deleteDueLimit: $deleteDueLimit)'; + } + + @override + bool operator ==(Object other) { + return identical(this, other) || + (other.runtimeType == runtimeType && + other is _$StorageFeeInfoImpl && + (identical(other.storageFee, storageFee) || + other.storageFee == storageFee) && + (identical(other.storageFeeDebt, storageFeeDebt) || + other.storageFeeDebt == storageFeeDebt) && + (identical(other.accountStatus, accountStatus) || + other.accountStatus == accountStatus) && + (identical(other.freezeDueLimit, freezeDueLimit) || + other.freezeDueLimit == freezeDueLimit) && + (identical(other.deleteDueLimit, deleteDueLimit) || + other.deleteDueLimit == deleteDueLimit)); + } + + @JsonKey(ignore: true) + @override + int get hashCode => Object.hash(runtimeType, storageFee, storageFeeDebt, + accountStatus, freezeDueLimit, deleteDueLimit); + + @JsonKey(ignore: true) + @override + @pragma('vm:prefer-inline') + _$$StorageFeeInfoImplCopyWith<_$StorageFeeInfoImpl> get copyWith => + __$$StorageFeeInfoImplCopyWithImpl<_$StorageFeeInfoImpl>( + this, _$identity); + + @override + Map toJson() { + return _$$StorageFeeInfoImplToJson( + this, + ); + } +} + +abstract class _StorageFeeInfo implements StorageFeeInfo { + const factory _StorageFeeInfo( + {required final String storageFee, + required final String storageFeeDebt, + required final String? accountStatus, + required final String freezeDueLimit, + required final String deleteDueLimit}) = _$StorageFeeInfoImpl; + + factory _StorageFeeInfo.fromJson(Map json) = + _$StorageFeeInfoImpl.fromJson; + + @override + String get storageFee; + @override + String get storageFeeDebt; + @override + String? get accountStatus; + @override + String get freezeDueLimit; + @override + String get deleteDueLimit; + @override + @JsonKey(ignore: true) + _$$StorageFeeInfoImplCopyWith<_$StorageFeeInfoImpl> get copyWith => + throw _privateConstructorUsedError; +} diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.g.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.g.dart new file mode 100644 index 00000000..e67018c1 --- /dev/null +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/storage_fee_info.g.dart @@ -0,0 +1,26 @@ +// GENERATED CODE - DO NOT MODIFY BY HAND + +part of 'storage_fee_info.dart'; + +// ************************************************************************** +// JsonSerializableGenerator +// ************************************************************************** + +_$StorageFeeInfoImpl _$$StorageFeeInfoImplFromJson(Map json) => + _$StorageFeeInfoImpl( + storageFee: json['storageFee'] as String, + storageFeeDebt: json['storageFeeDebt'] as String, + accountStatus: json['accountStatus'] as String?, + freezeDueLimit: json['freezeDueLimit'] as String, + deleteDueLimit: json['deleteDueLimit'] as String, + ); + +Map _$$StorageFeeInfoImplToJson( + _$StorageFeeInfoImpl instance) => + { + 'storageFee': instance.storageFee, + 'storageFeeDebt': instance.storageFeeDebt, + 'accountStatus': instance.accountStatus, + 'freezeDueLimit': instance.freezeDueLimit, + 'deleteDueLimit': instance.deleteDueLimit, + }; diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/subscription_handler_message.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/subscription_handler_message.freezed.dart index f99da3e0..18a1a51c 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/subscription_handler_message.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/subscription_handler_message.freezed.dart @@ -12,7 +12,7 @@ part of 'subscription_handler_message.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#adding-getters-and-methods-to-our-models'); SubscriptionHandlerMessage _$SubscriptionHandlerMessageFromJson( Map json) { @@ -132,7 +132,7 @@ class _$SubscriptionHandlerMessageImpl implements _SubscriptionHandlerMessage { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SubscriptionHandlerMessageImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction.freezed.dart index 17fedd3d..175d8f32 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'transaction.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#adding-getters-and-methods-to-our-models'); Transaction _$TransactionFromJson(Map json) { return _Transaction.fromJson(json); @@ -345,7 +345,7 @@ class _$TransactionImpl extends _Transaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TransactionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction_id.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction_id.freezed.dart index cc036631..1768c953 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction_id.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction_id.freezed.dart @@ -12,7 +12,7 @@ part of 'transaction_id.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#adding-getters-and-methods-to-our-models'); TransactionId _$TransactionIdFromJson(Map json) { return _TransactionId.fromJson(json); @@ -124,7 +124,7 @@ class _$TransactionIdImpl implements _TransactionId { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TransactionIdImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction_with_data.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction_with_data.freezed.dart index 0cfcc6a3..6180d11a 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction_with_data.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transaction_with_data.freezed.dart @@ -12,7 +12,7 @@ part of 'transaction_with_data.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#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$TransactionWithData { @@ -132,7 +132,7 @@ class _$TransactionWithDataImpl extends _TransactionWithData { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TransactionWithDataImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transactions_batch_info.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transactions_batch_info.freezed.dart index c804debb..d7964d24 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transactions_batch_info.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transactions_batch_info.freezed.dart @@ -12,7 +12,7 @@ part of 'transactions_batch_info.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#adding-getters-and-methods-to-our-models'); TransactionsBatchInfo _$TransactionsBatchInfoFromJson( Map json) { @@ -142,7 +142,7 @@ class _$TransactionsBatchInfoImpl implements _TransactionsBatchInfo { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TransactionsBatchInfoImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transactions_list.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transactions_list.freezed.dart index e95cdc5f..b426a901 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transactions_list.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/models/transactions_list.freezed.dart @@ -12,7 +12,7 @@ part of 'transactions_list.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#adding-getters-and-methods-to-our-models'); TransactionsList _$TransactionsListFromJson(Map json) { return _TransactionsList.fromJson(json); @@ -187,7 +187,7 @@ class _$TransactionsListImpl implements _TransactionsList { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TransactionsListImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/on_balance_changed_payload.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/on_balance_changed_payload.freezed.dart index 16f12a36..b4373101 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/on_balance_changed_payload.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/on_balance_changed_payload.freezed.dart @@ -12,7 +12,7 @@ part of 'on_balance_changed_payload.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#adding-getters-and-methods-to-our-models'); OnBalanceChangedPayload _$OnBalanceChangedPayloadFromJson( Map json) { @@ -119,7 +119,7 @@ class _$OnBalanceChangedPayloadImpl implements _OnBalanceChangedPayload { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$OnBalanceChangedPayloadImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/root_token_contract_details.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/root_token_contract_details.freezed.dart index 8fbb6fe0..c0a15c5f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/root_token_contract_details.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/root_token_contract_details.freezed.dart @@ -12,7 +12,7 @@ part of 'root_token_contract_details.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#adding-getters-and-methods-to-our-models'); RootTokenContractDetails _$RootTokenContractDetailsFromJson( Map json) { @@ -213,7 +213,7 @@ class _$RootTokenContractDetailsImpl implements _RootTokenContractDetails { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$RootTokenContractDetailsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/symbol.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/symbol.freezed.dart index 1204704f..a8e3b90e 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/symbol.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/symbol.freezed.dart @@ -12,7 +12,7 @@ part of 'symbol.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#adding-getters-and-methods-to-our-models'); Symbol _$SymbolFromJson(Map json) { return _Symbol.fromJson(json); @@ -166,7 +166,7 @@ class _$SymbolImpl implements _Symbol { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SymbolImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_incoming_transfer.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_incoming_transfer.freezed.dart index 8fd23fcc..0a5fd6dd 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_incoming_transfer.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_incoming_transfer.freezed.dart @@ -12,7 +12,7 @@ part of 'token_incoming_transfer.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#adding-getters-and-methods-to-our-models'); TokenIncomingTransfer _$TokenIncomingTransferFromJson( Map json) { @@ -144,7 +144,7 @@ class _$TokenIncomingTransferImpl implements _TokenIncomingTransfer { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenIncomingTransferImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_outgoing_transfer.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_outgoing_transfer.freezed.dart index 002586ad..02c73288 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_outgoing_transfer.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_outgoing_transfer.freezed.dart @@ -12,7 +12,7 @@ part of 'token_outgoing_transfer.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#adding-getters-and-methods-to-our-models'); TokenOutgoingTransfer _$TokenOutgoingTransferFromJson( Map json) { @@ -144,7 +144,7 @@ class _$TokenOutgoingTransferImpl implements _TokenOutgoingTransfer { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenOutgoingTransferImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_swap_back.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_swap_back.freezed.dart index 757346ff..827b51a6 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_swap_back.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_swap_back.freezed.dart @@ -12,7 +12,7 @@ part of 'token_swap_back.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#adding-getters-and-methods-to-our-models'); TokenSwapBack _$TokenSwapBackFromJson(Map json) { return _TokenSwapBack.fromJson(json); @@ -162,7 +162,7 @@ class _$TokenSwapBackImpl implements _TokenSwapBack { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenSwapBackImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_details.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_details.freezed.dart index a6a57cfc..d25aa958 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_details.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_details.freezed.dart @@ -12,7 +12,7 @@ part of 'token_wallet_details.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#adding-getters-and-methods-to-our-models'); TokenWalletDetails _$TokenWalletDetailsFromJson(Map json) { return _TokenWalletDetails.fromJson(json); @@ -172,7 +172,7 @@ class _$TokenWalletDetailsImpl implements _TokenWalletDetails { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenWalletDetailsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_transaction.freezed.dart index 6213ca30..7886d587 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'token_wallet_transaction.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#adding-getters-and-methods-to-our-models'); TokenWalletTransaction _$TokenWalletTransactionFromJson( Map json) { @@ -185,7 +185,7 @@ class _$IncomingTransferImpl implements _IncomingTransfer { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$IncomingTransferImpl && @@ -373,7 +373,7 @@ class _$OutgoingTransferImpl implements _OutgoingTransfer { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$OutgoingTransferImpl && @@ -561,7 +561,7 @@ class _$SwapBackImpl implements _SwapBack { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SwapBackImpl && @@ -738,7 +738,7 @@ class _$AcceptImpl implements _Accept { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AcceptImpl && @@ -916,7 +916,7 @@ class _$TransferBouncedImpl implements _TransferBounced { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TransferBouncedImpl && @@ -1097,7 +1097,7 @@ class _$SwapBackBouncedImpl implements _SwapBackBounced { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SwapBackBouncedImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_transaction_with_data.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_transaction_with_data.freezed.dart index 240ad04d..d0ea43d2 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_transaction_with_data.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/token_wallet_transaction_with_data.freezed.dart @@ -12,7 +12,7 @@ part of 'token_wallet_transaction_with_data.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#adding-getters-and-methods-to-our-models'); TokenWalletTransactionWithData _$TokenWalletTransactionWithDataFromJson( Map json) { @@ -163,7 +163,7 @@ class _$TokenWalletTransactionWithDataImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenWalletTransactionWithDataImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/transfer_recipient.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/transfer_recipient.freezed.dart index 7d7b1c40..faf722f0 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/transfer_recipient.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/token_wallet/models/transfer_recipient.freezed.dart @@ -12,7 +12,7 @@ part of 'transfer_recipient.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#adding-getters-and-methods-to-our-models'); TransferRecipient _$TransferRecipientFromJson(Map json) { switch (json['type']) { @@ -174,7 +174,7 @@ class _$OwnerWalletImpl implements _OwnerWallet { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$OwnerWalletImpl && @@ -332,7 +332,7 @@ class _$TokenWalletImpl implements _TokenWallet { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenWalletImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/de_pool_on_round_complete_notification.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/de_pool_on_round_complete_notification.freezed.dart index b701b83a..46232e2e 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/de_pool_on_round_complete_notification.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/de_pool_on_round_complete_notification.freezed.dart @@ -12,7 +12,7 @@ part of 'de_pool_on_round_complete_notification.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#adding-getters-and-methods-to-our-models'); DePoolOnRoundCompleteNotification _$DePoolOnRoundCompleteNotificationFromJson( Map json) { @@ -227,7 +227,7 @@ class _$DePoolOnRoundCompleteNotificationImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DePoolOnRoundCompleteNotificationImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/de_pool_receive_answer_notification.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/de_pool_receive_answer_notification.freezed.dart index 2aaefbf3..d9327bd7 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/de_pool_receive_answer_notification.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/de_pool_receive_answer_notification.freezed.dart @@ -12,7 +12,7 @@ part of 'de_pool_receive_answer_notification.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#adding-getters-and-methods-to-our-models'); DePoolReceiveAnswerNotification _$DePoolReceiveAnswerNotificationFromJson( Map json) { @@ -134,7 +134,7 @@ class _$DePoolReceiveAnswerNotificationImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DePoolReceiveAnswerNotificationImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/existing_wallet_info.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/existing_wallet_info.freezed.dart index 0fe99585..64da3526 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/existing_wallet_info.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/existing_wallet_info.freezed.dart @@ -12,7 +12,7 @@ part of 'existing_wallet_info.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#adding-getters-and-methods-to-our-models'); ExistingWalletInfo _$ExistingWalletInfoFromJson(Map json) { return _ExistingWalletInfo.fromJson(json); @@ -208,7 +208,7 @@ class _$ExistingWalletInfoImpl implements _ExistingWalletInfo { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ExistingWalletInfoImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/known_payload.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/known_payload.freezed.dart index bdc60183..937e96ab 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/known_payload.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/known_payload.freezed.dart @@ -12,7 +12,7 @@ part of 'known_payload.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#adding-getters-and-methods-to-our-models'); KnownPayload _$KnownPayloadFromJson(Map json) { switch (json['type']) { @@ -150,7 +150,7 @@ class _$CommentImpl implements _Comment { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CommentImpl && @@ -319,7 +319,7 @@ class _$TokenOutgoingTransferImpl implements _TokenOutgoingTransfer { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenOutgoingTransferImpl && @@ -490,7 +490,7 @@ class _$TokenSwapBackImpl implements _TokenSwapBack { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenSwapBackImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_confirm_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_confirm_transaction.freezed.dart index 7f2d3152..22ca547a 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_confirm_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_confirm_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'multisig_confirm_transaction.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#adding-getters-and-methods-to-our-models'); MultisigConfirmTransaction _$MultisigConfirmTransactionFromJson( Map json) { @@ -145,7 +145,7 @@ class _$MultisigConfirmTransactionImpl implements _MultisigConfirmTransaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MultisigConfirmTransactionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_pending_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_pending_transaction.freezed.dart index e41b6a29..975de882 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_pending_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_pending_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'multisig_pending_transaction.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#adding-getters-and-methods-to-our-models'); MultisigPendingTransaction _$MultisigPendingTransactionFromJson( Map json) { @@ -315,7 +315,7 @@ class _$MultisigPendingTransactionImpl implements _MultisigPendingTransaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MultisigPendingTransactionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_send_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_send_transaction.freezed.dart index a67681d8..4a8c2b0c 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_send_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_send_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'multisig_send_transaction.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#adding-getters-and-methods-to-our-models'); MultisigSendTransaction _$MultisigSendTransactionFromJson( Map json) { @@ -198,7 +198,7 @@ class _$MultisigSendTransactionImpl implements _MultisigSendTransaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MultisigSendTransactionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_submit_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_submit_transaction.freezed.dart index 04713d3f..2f714e71 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_submit_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_submit_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'multisig_submit_transaction.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#adding-getters-and-methods-to-our-models'); MultisigSubmitTransaction _$MultisigSubmitTransactionFromJson( Map json) { @@ -241,7 +241,7 @@ class _$MultisigSubmitTransactionImpl implements _MultisigSubmitTransaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MultisigSubmitTransactionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_transaction.freezed.dart index f2754215..1e9f0722 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/multisig_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'multisig_transaction.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#adding-getters-and-methods-to-our-models'); MultisigTransaction _$MultisigTransactionFromJson(Map json) { switch (json['type']) { @@ -157,7 +157,7 @@ class _$SendImpl implements _Send { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SendImpl && @@ -324,7 +324,7 @@ class _$SubmitImpl implements _Submit { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SubmitImpl && @@ -491,7 +491,7 @@ class _$ConfirmImpl implements _Confirm { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ConfirmImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/token_wallet_deployed_notification.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/token_wallet_deployed_notification.freezed.dart index 0cb18ee1..d154fc48 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/token_wallet_deployed_notification.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/token_wallet_deployed_notification.freezed.dart @@ -12,7 +12,7 @@ part of 'token_wallet_deployed_notification.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#adding-getters-and-methods-to-our-models'); TokenWalletDeployedNotification _$TokenWalletDeployedNotificationFromJson( Map json) { @@ -134,7 +134,7 @@ class _$TokenWalletDeployedNotificationImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenWalletDeployedNotificationImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/ton_wallet_details.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/ton_wallet_details.freezed.dart index 5a1654ed..de397de3 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/ton_wallet_details.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/ton_wallet_details.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_details.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#adding-getters-and-methods-to-our-models'); TonWalletDetails _$TonWalletDetailsFromJson(Map json) { return _TonWalletDetails.fromJson(json); @@ -199,7 +199,7 @@ class _$TonWalletDetailsImpl implements _TonWalletDetails { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletDetailsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/ton_wallet_transaction_with_data.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/ton_wallet_transaction_with_data.freezed.dart index 21cdc23e..4868200f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/ton_wallet_transaction_with_data.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/ton_wallet_transaction_with_data.freezed.dart @@ -12,7 +12,7 @@ part of 'ton_wallet_transaction_with_data.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#adding-getters-and-methods-to-our-models'); TonWalletTransactionWithData _$TonWalletTransactionWithDataFromJson( Map json) { @@ -162,7 +162,7 @@ class _$TonWalletTransactionWithDataImpl extends _TonWalletTransactionWithData { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TonWalletTransactionWithDataImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/transaction_additional_info.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/transaction_additional_info.freezed.dart index c5e1be91..1c1f2e99 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/transaction_additional_info.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/transaction_additional_info.freezed.dart @@ -12,7 +12,7 @@ part of 'transaction_additional_info.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#adding-getters-and-methods-to-our-models'); TransactionAdditionalInfo _$TransactionAdditionalInfoFromJson( Map json) { @@ -175,7 +175,7 @@ class _$CommentImpl implements _Comment { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$CommentImpl && @@ -365,7 +365,7 @@ class _$DePoolOnRoundCompleteImpl implements _DePoolOnRoundComplete { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DePoolOnRoundCompleteImpl && @@ -557,7 +557,7 @@ class _$DePoolReceiveAnswerImpl implements _DePoolReceiveAnswer { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DePoolReceiveAnswerImpl && @@ -748,7 +748,7 @@ class _$TokenWalletDeployedImpl implements _TokenWalletDeployed { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$TokenWalletDeployedImpl && @@ -939,7 +939,7 @@ class _$WalletInteractionImpl implements _WalletInteraction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WalletInteractionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/wallet_interaction_info.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/wallet_interaction_info.freezed.dart index b876b104..635e39cf 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/wallet_interaction_info.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/wallet_interaction_info.freezed.dart @@ -12,7 +12,7 @@ part of 'wallet_interaction_info.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#adding-getters-and-methods-to-our-models'); WalletInteractionInfo _$WalletInteractionInfoFromJson( Map json) { @@ -199,7 +199,7 @@ class _$WalletInteractionInfoImpl implements _WalletInteractionInfo { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WalletInteractionInfoImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/wallet_interaction_method.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/wallet_interaction_method.freezed.dart index d2d75695..cb7ef27f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/wallet_interaction_method.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/core/ton_wallet/models/wallet_interaction_method.freezed.dart @@ -12,7 +12,7 @@ part of 'wallet_interaction_method.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#adding-getters-and-methods-to-our-models'); WalletInteractionMethod _$WalletInteractionMethodFromJson( Map json) { @@ -124,7 +124,7 @@ class _$WalletV3TransferImpl implements _WalletV3Transfer { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$WalletV3TransferImpl); } @@ -272,7 +272,7 @@ class _$MultisigImpl implements _Multisig { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$MultisigImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input.freezed.dart index bcbfdd6c..dc7d2920 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_create_input.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#adding-getters-and-methods-to-our-models'); DerivedKeyCreateInput _$DerivedKeyCreateInputFromJson( Map json) { @@ -153,7 +153,7 @@ class _$ImportImpl implements _Import { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ImportImpl && @@ -314,7 +314,7 @@ class _$DeriveImpl implements _Derive { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DeriveImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input_derive.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input_derive.freezed.dart index 2675442f..446296a8 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input_derive.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input_derive.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_create_input_derive.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#adding-getters-and-methods-to-our-models'); DerivedKeyCreateInputDerive _$DerivedKeyCreateInputDeriveFromJson( Map json) { @@ -190,7 +190,7 @@ class _$DerivedKeyCreateInputDeriveDeriveImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyCreateInputDeriveDeriveImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input_import.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input_import.freezed.dart index 3972487e..f8539338 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input_import.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_create_input_import.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_create_input_import.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#adding-getters-and-methods-to-our-models'); DerivedKeyCreateInputImport _$DerivedKeyCreateInputImportFromJson( Map json) { @@ -161,7 +161,7 @@ class _$DerivedKeyCreateInputImportImportImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyCreateInputImportImportImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_export_output.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_export_output.freezed.dart index 5a22043e..84e18752 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_export_output.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_export_output.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_export_output.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#adding-getters-and-methods-to-our-models'); DerivedKeyExportOutput _$DerivedKeyExportOutputFromJson( Map json) { @@ -116,7 +116,7 @@ class _$DerivedKeyExportOutputImpl implements _DerivedKeyExportOutput { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyExportOutputImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_export_params.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_export_params.freezed.dart index 8cfaa6a2..b1976986 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_export_params.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_export_params.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_export_params.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#adding-getters-and-methods-to-our-models'); DerivedKeyExportSeedParams _$DerivedKeyExportSeedParamsFromJson( Map json) { @@ -157,7 +157,7 @@ class _$DerivedKeyExportSeedParamsImpl implements _DerivedKeyExportSeedParams { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyExportSeedParamsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_get_public_keys.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_get_public_keys.freezed.dart index 093721dd..465b65d2 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_get_public_keys.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_get_public_keys.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_get_public_keys.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#adding-getters-and-methods-to-our-models'); DerivedKeyGetPublicKeys _$DerivedKeyGetPublicKeysFromJson( Map json) { @@ -186,7 +186,7 @@ class _$DerivedKeyGetPublicKeysRenameImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyGetPublicKeysRenameImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params.freezed.dart index a681eb3b..9417fb2e 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_sign_params.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#adding-getters-and-methods-to-our-models'); DerivedKeyPassword _$DerivedKeyPasswordFromJson(Map json) { switch (json['type']) { @@ -151,7 +151,7 @@ class _$ByAccountIdImpl implements _ByAccountId { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ByAccountIdImpl && @@ -314,7 +314,7 @@ class _$ByPublicKeyImpl implements _ByPublicKey { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ByPublicKeyImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params_by_account_id.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params_by_account_id.freezed.dart index baa7a62a..d8912c08 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params_by_account_id.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params_by_account_id.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_sign_params_by_account_id.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#adding-getters-and-methods-to-our-models'); DerivedKeyPasswordByAccountId _$DerivedKeyPasswordByAccountIdFromJson( Map json) { @@ -174,7 +174,7 @@ class _$DerivedKeyPasswordByAccountIdByAccountIdImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyPasswordByAccountIdByAccountIdImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params_by_public_key.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params_by_public_key.freezed.dart index 99ee749b..5fa31c69 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params_by_public_key.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_sign_params_by_public_key.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_sign_params_by_public_key.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#adding-getters-and-methods-to-our-models'); DerivedKeyPasswordByPublicKey _$DerivedKeyPasswordByPublicKeyFromJson( Map json) { @@ -185,7 +185,7 @@ class _$DerivedKeyPasswordByPublicKeyByPublicKeyImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyPasswordByPublicKeyByPublicKeyImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params.freezed.dart index 15fc0a50..caa59d99 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_update_params.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#adding-getters-and-methods-to-our-models'); DerivedKeyUpdateParams _$DerivedKeyUpdateParamsFromJson( Map json) { @@ -155,7 +155,7 @@ class _$RenameKeyImpl implements _RenameKey { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$RenameKeyImpl && @@ -321,7 +321,7 @@ class _$ChangePasswordImpl implements _ChangePassword { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ChangePasswordImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params_change_password.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params_change_password.freezed.dart index 000e8930..4e55bc63 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params_change_password.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params_change_password.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_update_params_change_password.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#adding-getters-and-methods-to-our-models'); DerivedKeyUpdateParamsChangePassword _$DerivedKeyUpdateParamsChangePasswordFromJson(Map json) { @@ -193,7 +193,7 @@ class _$DerivedKeyUpdateParamsChangePasswordChangePasswordImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyUpdateParamsChangePasswordChangePasswordImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params_rename_key.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params_rename_key.freezed.dart index 6cfa373f..4ba7e9f5 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params_rename_key.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/derived_key/derived_key_update_params_rename_key.freezed.dart @@ -12,7 +12,7 @@ part of 'derived_key_update_params_rename_key.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#adding-getters-and-methods-to-our-models'); DerivedKeyUpdateParamsRenameKey _$DerivedKeyUpdateParamsRenameKeyFromJson( Map json) { @@ -172,7 +172,7 @@ class _$DerivedKeyUpdateParamsRenameKeyRenameKeyImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DerivedKeyUpdateParamsRenameKeyRenameKeyImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_create_input.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_create_input.freezed.dart index e5377182..552e5633 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_create_input.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_create_input.freezed.dart @@ -12,7 +12,7 @@ part of 'encrypted_key_create_input.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#adding-getters-and-methods-to-our-models'); EncryptedKeyCreateInput _$EncryptedKeyCreateInputFromJson( Map json) { @@ -193,7 +193,7 @@ class _$EncryptedKeyCreateInputImpl implements _EncryptedKeyCreateInput { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$EncryptedKeyCreateInputImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_export_output.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_export_output.freezed.dart index 742c2121..08a09838 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_export_output.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_export_output.freezed.dart @@ -12,7 +12,7 @@ part of 'encrypted_key_export_output.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#adding-getters-and-methods-to-our-models'); EncryptedKeyExportSeedOutput _$EncryptedKeyExportSeedOutputFromJson( Map json) { @@ -150,7 +150,7 @@ class _$EncryptedKeyExportSeedOutputImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$EncryptedKeyExportSeedOutputImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_get_public_keys.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_get_public_keys.freezed.dart index 40cb0554..017ea2d8 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_get_public_keys.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_get_public_keys.freezed.dart @@ -12,7 +12,7 @@ part of 'encrypted_key_get_public_keys.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#adding-getters-and-methods-to-our-models'); EncryptedKeyGetPublicKeys _$EncryptedKeyGetPublicKeysFromJson( Map json) { @@ -132,7 +132,7 @@ class _$EncryptedKeyGetPublicKeysRenameImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$EncryptedKeyGetPublicKeysRenameImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_password.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_password.freezed.dart index 8ee15ea7..d9de26a8 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_password.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_password.freezed.dart @@ -12,7 +12,7 @@ part of 'encrypted_key_password.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#adding-getters-and-methods-to-our-models'); EncryptedKeyPassword _$EncryptedKeyPasswordFromJson(Map json) { return _EncryptedKeyPassword.fromJson(json); @@ -151,7 +151,7 @@ class _$EncryptedKeyPasswordImpl implements _EncryptedKeyPassword { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$EncryptedKeyPasswordImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params.freezed.dart index 48dbb11a..750ac3ee 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params.freezed.dart @@ -12,7 +12,7 @@ part of 'encrypted_key_update_params.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#adding-getters-and-methods-to-our-models'); EncryptedKeyUpdateParams _$EncryptedKeyUpdateParamsFromJson( Map json) { @@ -156,7 +156,7 @@ class _$RenameImpl implements _Rename { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$RenameImpl && @@ -322,7 +322,7 @@ class _$ChangePasswordImpl implements _ChangePassword { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ChangePasswordImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params_change_password.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params_change_password.freezed.dart index 65da80cf..e68bf4eb 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params_change_password.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params_change_password.freezed.dart @@ -12,7 +12,7 @@ part of 'encrypted_key_update_params_change_password.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#adding-getters-and-methods-to-our-models'); EncryptedKeyUpdateParamsChangePassword _$EncryptedKeyUpdateParamsChangePasswordFromJson( @@ -194,7 +194,7 @@ class _$EncryptedKeyUpdateParamsChangePasswordChangePasswordImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params_rename.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params_rename.freezed.dart index 7d4c467f..e9454808 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params_rename.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/encrypted_key/encrypted_key_update_params_rename.freezed.dart @@ -12,7 +12,7 @@ part of 'encrypted_key_update_params_rename.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#adding-getters-and-methods-to-our-models'); EncryptedKeyUpdateParamsRename _$EncryptedKeyUpdateParamsRenameFromJson( Map json) { @@ -148,7 +148,7 @@ class _$EncryptedKeyUpdateParamsRenameRenameImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$EncryptedKeyUpdateParamsRenameRenameImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_key_create_input.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_key_create_input.freezed.dart index 67b43c02..cd903750 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_key_create_input.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_key_create_input.freezed.dart @@ -12,7 +12,7 @@ part of 'ledger_key_create_input.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#adding-getters-and-methods-to-our-models'); LedgerKeyCreateInput _$LedgerKeyCreateInputFromJson(Map json) { return _LedgerKeyCreateInput.fromJson(json); @@ -125,7 +125,7 @@ class _$LedgerKeyCreateInputImpl implements _LedgerKeyCreateInput { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$LedgerKeyCreateInputImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_key_get_public_keys.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_key_get_public_keys.freezed.dart index b4ff63a4..887f7996 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_key_get_public_keys.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_key_get_public_keys.freezed.dart @@ -12,7 +12,7 @@ part of 'ledger_key_get_public_keys.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#adding-getters-and-methods-to-our-models'); LedgerKeyGetPublicKeys _$LedgerKeyGetPublicKeysFromJson( Map json) { @@ -132,7 +132,7 @@ class _$LedgerKeyGetPublicKeysRenameImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$LedgerKeyGetPublicKeysRenameImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_sign_input.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_sign_input.freezed.dart index 65393854..ec613a47 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_sign_input.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_sign_input.freezed.dart @@ -12,7 +12,7 @@ part of 'ledger_sign_input.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#adding-getters-and-methods-to-our-models'); LedgerSignInput _$LedgerSignInputFromJson(Map json) { return _LedgerSignInput.fromJson(json); @@ -152,7 +152,7 @@ class _$LedgerSignInputImpl implements _LedgerSignInput { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$LedgerSignInputImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_update_key_input.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_update_key_input.freezed.dart index 9de3111e..185cca2a 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_update_key_input.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_update_key_input.freezed.dart @@ -12,7 +12,7 @@ part of 'ledger_update_key_input.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#adding-getters-and-methods-to-our-models'); LedgerUpdateKeyInput _$LedgerUpdateKeyInputFromJson(Map json) { switch (json['type']) { @@ -123,7 +123,7 @@ class _$LedgerUpdateKeyInputImpl implements _LedgerUpdateKeyInput { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$LedgerUpdateKeyInputImpl); @@ -276,7 +276,7 @@ class _$LedgerUpdateKeyInputRenameImpl implements _LedgerUpdateKeyInputRename { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$LedgerUpdateKeyInputRenameImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_update_key_input_rename.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_update_key_input_rename.freezed.dart index 8cca8451..8dba6c2e 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_update_key_input_rename.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/ledger_key/ledger_update_key_input_rename.freezed.dart @@ -12,7 +12,7 @@ part of 'ledger_update_key_input_rename.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#adding-getters-and-methods-to-our-models'); LedgerUpdateKeyInputRename _$LedgerUpdateKeyInputRenameFromJson( Map json) { @@ -147,7 +147,7 @@ class _$LedgerUpdateKeyInputRenameRenameImpl } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$LedgerUpdateKeyInputRenameRenameImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/encrypted_data.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/encrypted_data.freezed.dart index d993f1cc..7fd7015f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/encrypted_data.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/encrypted_data.freezed.dart @@ -12,7 +12,7 @@ part of 'encrypted_data.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#adding-getters-and-methods-to-our-models'); EncryptedData _$EncryptedDataFromJson(Map json) { return _EncryptedData.fromJson(json); @@ -202,7 +202,7 @@ class _$EncryptedDataImpl implements _EncryptedData { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$EncryptedDataImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/keypair.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/keypair.freezed.dart index 66b91fd3..cd681927 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/keypair.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/keypair.freezed.dart @@ -12,7 +12,7 @@ part of 'keypair.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#adding-getters-and-methods-to-our-models'); Keypair _$KeypairFromJson(Map json) { return _Keypair.fromJson(json); @@ -145,7 +145,7 @@ class _$KeypairImpl implements _Keypair { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$KeypairImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/signed_message.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/signed_message.freezed.dart index 571f74d3..b3a1bac7 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/signed_message.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/models/signed_message.freezed.dart @@ -12,7 +12,7 @@ part of 'signed_message.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#adding-getters-and-methods-to-our-models'); SignedMessage _$SignedMessageFromJson(Map json) { return _SignedMessage.fromJson(json); @@ -148,7 +148,7 @@ class _$SignedMessageImpl implements _SignedMessage { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$SignedMessageImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password.freezed.dart index 7ba59cc4..95722d3f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password.freezed.dart @@ -12,7 +12,7 @@ part of 'password.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#adding-getters-and-methods-to-our-models'); Password _$PasswordFromJson(Map json) { switch (json['type']) { @@ -149,7 +149,7 @@ class _$ExplicitImpl implements _Explicit { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ExplicitImpl && @@ -281,7 +281,7 @@ class _$FromCacheImpl implements _FromCache { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$FromCacheImpl); } diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password_cache_behavior.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password_cache_behavior.freezed.dart index e279f08b..af631c28 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password_cache_behavior.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password_cache_behavior.freezed.dart @@ -12,7 +12,7 @@ part of 'password_cache_behavior.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#adding-getters-and-methods-to-our-models'); PasswordCacheBehavior _$PasswordCacheBehaviorFromJson( Map json) { @@ -150,7 +150,7 @@ class _$StoreImpl implements _Store { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$StoreImpl && @@ -287,7 +287,7 @@ class _$RemoveImpl implements _Remove { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$RemoveImpl); } @@ -409,7 +409,7 @@ class _$NopImpl implements _Nop { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$NopImpl); } diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password_explicit.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password_explicit.freezed.dart index 19321832..34519271 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password_explicit.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/crypto/password_cache/password_explicit.freezed.dart @@ -12,7 +12,7 @@ part of 'password_explicit.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#adding-getters-and-methods-to-our-models'); PasswordExplicit _$PasswordExplicitFromJson(Map json) { return _PasswordExplicitExplicit.fromJson(json); @@ -141,7 +141,7 @@ class _$PasswordExplicitExplicitImpl implements _PasswordExplicitExplicit { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$PasswordExplicitExplicitImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/external/models/gql_network_settings.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/external/models/gql_network_settings.freezed.dart index 5a032e6f..793acfc1 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/external/models/gql_network_settings.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/external/models/gql_network_settings.freezed.dart @@ -12,7 +12,7 @@ part of 'gql_network_settings.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#adding-getters-and-methods-to-our-models'); GqlNetworkSettings _$GqlNetworkSettingsFromJson(Map json) { return _GqlNetworkSettings.fromJson(json); @@ -185,7 +185,7 @@ class _$GqlNetworkSettingsImpl implements _GqlNetworkSettings { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$GqlNetworkSettingsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/external/models/jrpc_network_settings.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/external/models/jrpc_network_settings.freezed.dart index ec6e0932..ebabc3ea 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/external/models/jrpc_network_settings.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/external/models/jrpc_network_settings.freezed.dart @@ -12,7 +12,7 @@ part of 'jrpc_network_settings.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#adding-getters-and-methods-to-our-models'); JrpcNetworkSettings _$JrpcNetworkSettingsFromJson(Map json) { return _JrpcNetworkSettings.fromJson(json); @@ -111,7 +111,7 @@ class _$JrpcNetworkSettingsImpl implements _JrpcNetworkSettings { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$JrpcNetworkSettingsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/external/models/ledger_signature_context.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/external/models/ledger_signature_context.freezed.dart index 0c9f6d5b..09cfdcaa 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/external/models/ledger_signature_context.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/external/models/ledger_signature_context.freezed.dart @@ -12,7 +12,7 @@ part of 'ledger_signature_context.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#adding-getters-and-methods-to-our-models'); LedgerSignatureContext _$LedgerSignatureContextFromJson( Map json) { @@ -182,7 +182,7 @@ class _$LedgerSignatureContextImpl implements _LedgerSignatureContext { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$LedgerSignatureContextImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/external/models/proto_network_settings.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/external/models/proto_network_settings.freezed.dart index 3c7c0b4e..31a3350c 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/external/models/proto_network_settings.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/external/models/proto_network_settings.freezed.dart @@ -12,7 +12,7 @@ part of 'proto_network_settings.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#adding-getters-and-methods-to-our-models'); ProtoNetworkSettings _$ProtoNetworkSettingsFromJson(Map json) { return _ProtoNetworkSettings.fromJson(json); @@ -112,7 +112,7 @@ class _$ProtoNetworkSettingsImpl implements _ProtoNetworkSettings { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ProtoNetworkSettingsImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/abi.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/abi.dart index e9936a48..35e3ba1a 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/abi.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/abi.dart @@ -446,3 +446,23 @@ Future parseFullAccountBoc(String account) async { return FullContractState.fromJson(jsonDecode(state)); } + +/// [config] - value from [Transport.getBlockchainConfig] +/// [account] - base64-encoded boc +/// [utime] - seconds +/// [isMasterchain] - default: false +Future computeStorageFee({ + required String config, + required String account, + required int utime, + bool? isMasterchain, +}) async { + final data = await createLib().computeStorageFee( + config: config, + account: account, + utime: utime, + isMasterchain: isMasterchain ?? false, + ); + + return StorageFeeInfo.fromJson(jsonDecode(data)); +} diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/abi_param.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/abi_param.freezed.dart index b358fc83..c4ed8e74 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/abi_param.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/abi_param.freezed.dart @@ -12,7 +12,7 @@ part of 'abi_param.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#adding-getters-and-methods-to-our-models'); AbiParam _$AbiParamFromJson(Map json) { return _AbiParam.fromJson(json); @@ -147,7 +147,7 @@ class _$AbiParamImpl implements _AbiParam { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$AbiParamImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_event.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_event.freezed.dart index 0d966300..4b65ae0c 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_event.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_event.freezed.dart @@ -12,7 +12,7 @@ part of 'decoded_event.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#adding-getters-and-methods-to-our-models'); DecodedEvent _$DecodedEventFromJson(Map json) { return _DecodedEvent.fromJson(json); @@ -131,7 +131,7 @@ class _$DecodedEventImpl implements _DecodedEvent { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DecodedEventImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_input.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_input.freezed.dart index c2f28138..e0cad9ea 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_input.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_input.freezed.dart @@ -12,7 +12,7 @@ part of 'decoded_input.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#adding-getters-and-methods-to-our-models'); DecodedInput _$DecodedInputFromJson(Map json) { return _DecodedInput.fromJson(json); @@ -131,7 +131,7 @@ class _$DecodedInputImpl implements _DecodedInput { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DecodedInputImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_output.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_output.freezed.dart index d0af5f02..fdf7e17f 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_output.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_output.freezed.dart @@ -12,7 +12,7 @@ part of 'decoded_output.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#adding-getters-and-methods-to-our-models'); DecodedOutput _$DecodedOutputFromJson(Map json) { return _DecodedOutput.fromJson(json); @@ -131,7 +131,7 @@ class _$DecodedOutputImpl implements _DecodedOutput { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DecodedOutputImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_transaction.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_transaction.freezed.dart index a8034924..4cc49c64 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_transaction.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_transaction.freezed.dart @@ -12,7 +12,7 @@ part of 'decoded_transaction.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#adding-getters-and-methods-to-our-models'); DecodedTransaction _$DecodedTransactionFromJson(Map json) { return _DecodedTransaction.fromJson(json); @@ -155,7 +155,7 @@ class _$DecodedTransactionImpl implements _DecodedTransaction { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DecodedTransactionImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_transaction_event.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_transaction_event.freezed.dart index e8bf2968..fb70060d 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_transaction_event.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/decoded_transaction_event.freezed.dart @@ -12,7 +12,7 @@ part of 'decoded_transaction_event.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#adding-getters-and-methods-to-our-models'); DecodedTransactionEvent _$DecodedTransactionEventFromJson( Map json) { @@ -136,7 +136,7 @@ class _$DecodedTransactionEventImpl implements _DecodedTransactionEvent { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$DecodedTransactionEventImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/execution_output.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/execution_output.freezed.dart index 1dc18f18..f0a1025a 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/execution_output.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/execution_output.freezed.dart @@ -12,7 +12,7 @@ part of 'execution_output.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#adding-getters-and-methods-to-our-models'); ExecutionOutput _$ExecutionOutputFromJson(Map json) { return _ExecutionOutput.fromJson(json); @@ -139,7 +139,7 @@ class _$ExecutionOutputImpl implements _ExecutionOutput { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$ExecutionOutputImpl && diff --git a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/function_call.freezed.dart b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/function_call.freezed.dart index e2d126f7..9be4d5f1 100644 --- a/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/function_call.freezed.dart +++ b/packages/flutter_nekoton_bridge/lib/nekoton/helpers/models/function_call.freezed.dart @@ -12,7 +12,7 @@ part of 'function_call.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#adding-getters-and-methods-to-our-models'); FunctionCall _$FunctionCallFromJson(Map json) { return _FunctionCall.fromJson(json); @@ -146,7 +146,7 @@ class _$FunctionCallImpl implements _FunctionCall { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && other is _$FunctionCallImpl && diff --git a/packages/nekoton_bridge/lib/src/bridge_generated.dart b/packages/nekoton_bridge/lib/src/bridge_generated.dart index d1db5dd3..5f63b279 100644 --- a/packages/nekoton_bridge/lib/src/bridge_generated.dart +++ b/packages/nekoton_bridge/lib/src/bridge_generated.dart @@ -343,6 +343,15 @@ abstract class NekotonBridge { FlutterRustBridgeTaskConstMeta get kParseFullAccountBocConstMeta; + Future computeStorageFee( + {required String config, + required String account, + required int utime, + required bool isMasterchain, + dynamic hint}); + + FlutterRustBridgeTaskConstMeta get kComputeStorageFeeConstMeta; + ///---------------------------- /// CONTENT OF src/utils/tests_api.rs ///---------------------------- @@ -4545,6 +4554,32 @@ class NekotonBridgeImpl implements NekotonBridge { argNames: ["account"], ); + Future computeStorageFee( + {required String config, + required String account, + required int utime, + required bool isMasterchain, + dynamic hint}) { + var arg0 = _platform.api2wire_String(config); + var arg1 = _platform.api2wire_String(account); + var arg2 = api2wire_u32(utime); + var arg3 = isMasterchain; + return _platform.executeNormal(FlutterRustBridgeTask( + callFfi: (port_) => _platform.inner + .wire_compute_storage_fee(port_, arg0, arg1, arg2, arg3), + parseSuccessData: _wire2api_String, + constMeta: kComputeStorageFeeConstMeta, + argValues: [config, account, utime, isMasterchain], + hint: hint, + )); + } + + FlutterRustBridgeTaskConstMeta get kComputeStorageFeeConstMeta => + const FlutterRustBridgeTaskConstMeta( + debugName: "compute_storage_fee", + argNames: ["config", "account", "utime", "isMasterchain"], + ); + Future testLoggerInfo({required String string, dynamic hint}) { var arg0 = _platform.api2wire_String(string); return _platform.executeNormal(FlutterRustBridgeTask( diff --git a/packages/nekoton_bridge/lib/src/bridge_generated.freezed.dart b/packages/nekoton_bridge/lib/src/bridge_generated.freezed.dart index 18251ad2..0fd7f86a 100644 --- a/packages/nekoton_bridge/lib/src/bridge_generated.freezed.dart +++ b/packages/nekoton_bridge/lib/src/bridge_generated.freezed.dart @@ -12,7 +12,7 @@ part of 'bridge_generated.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#adding-getters-and-methods-to-our-models'); /// @nodoc mixin _$DynamicValue { @@ -135,20 +135,20 @@ class _$DynamicValueCopyWithImpl<$Res, $Val extends DynamicValue> } /// @nodoc -abstract class _$$DynamicValue_U16CopyWith<$Res> { - factory _$$DynamicValue_U16CopyWith( - _$DynamicValue_U16 value, $Res Function(_$DynamicValue_U16) then) = - __$$DynamicValue_U16CopyWithImpl<$Res>; +abstract class _$$DynamicValue_U16ImplCopyWith<$Res> { + factory _$$DynamicValue_U16ImplCopyWith(_$DynamicValue_U16Impl value, + $Res Function(_$DynamicValue_U16Impl) then) = + __$$DynamicValue_U16ImplCopyWithImpl<$Res>; @useResult $Res call({int field0}); } /// @nodoc -class __$$DynamicValue_U16CopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_U16> - implements _$$DynamicValue_U16CopyWith<$Res> { - __$$DynamicValue_U16CopyWithImpl( - _$DynamicValue_U16 _value, $Res Function(_$DynamicValue_U16) _then) +class __$$DynamicValue_U16ImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_U16Impl> + implements _$$DynamicValue_U16ImplCopyWith<$Res> { + __$$DynamicValue_U16ImplCopyWithImpl(_$DynamicValue_U16Impl _value, + $Res Function(_$DynamicValue_U16Impl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -156,7 +156,7 @@ class __$$DynamicValue_U16CopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_U16( + return _then(_$DynamicValue_U16Impl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -167,8 +167,8 @@ class __$$DynamicValue_U16CopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_U16 implements DynamicValue_U16 { - const _$DynamicValue_U16(this.field0); +class _$DynamicValue_U16Impl implements DynamicValue_U16 { + const _$DynamicValue_U16Impl(this.field0); @override final int field0; @@ -179,10 +179,10 @@ class _$DynamicValue_U16 implements DynamicValue_U16 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_U16 && + other is _$DynamicValue_U16Impl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -192,8 +192,9 @@ class _$DynamicValue_U16 implements DynamicValue_U16 { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_U16CopyWith<_$DynamicValue_U16> get copyWith => - __$$DynamicValue_U16CopyWithImpl<_$DynamicValue_U16>(this, _$identity); + _$$DynamicValue_U16ImplCopyWith<_$DynamicValue_U16Impl> get copyWith => + __$$DynamicValue_U16ImplCopyWithImpl<_$DynamicValue_U16Impl>( + this, _$identity); @override @optionalTypeArgs @@ -319,29 +320,29 @@ class _$DynamicValue_U16 implements DynamicValue_U16 { } abstract class DynamicValue_U16 implements DynamicValue { - const factory DynamicValue_U16(final int field0) = _$DynamicValue_U16; + const factory DynamicValue_U16(final int field0) = _$DynamicValue_U16Impl; int get field0; @JsonKey(ignore: true) - _$$DynamicValue_U16CopyWith<_$DynamicValue_U16> get copyWith => + _$$DynamicValue_U16ImplCopyWith<_$DynamicValue_U16Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_U32CopyWith<$Res> { - factory _$$DynamicValue_U32CopyWith( - _$DynamicValue_U32 value, $Res Function(_$DynamicValue_U32) then) = - __$$DynamicValue_U32CopyWithImpl<$Res>; +abstract class _$$DynamicValue_U32ImplCopyWith<$Res> { + factory _$$DynamicValue_U32ImplCopyWith(_$DynamicValue_U32Impl value, + $Res Function(_$DynamicValue_U32Impl) then) = + __$$DynamicValue_U32ImplCopyWithImpl<$Res>; @useResult $Res call({int field0}); } /// @nodoc -class __$$DynamicValue_U32CopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_U32> - implements _$$DynamicValue_U32CopyWith<$Res> { - __$$DynamicValue_U32CopyWithImpl( - _$DynamicValue_U32 _value, $Res Function(_$DynamicValue_U32) _then) +class __$$DynamicValue_U32ImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_U32Impl> + implements _$$DynamicValue_U32ImplCopyWith<$Res> { + __$$DynamicValue_U32ImplCopyWithImpl(_$DynamicValue_U32Impl _value, + $Res Function(_$DynamicValue_U32Impl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -349,7 +350,7 @@ class __$$DynamicValue_U32CopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_U32( + return _then(_$DynamicValue_U32Impl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -360,8 +361,8 @@ class __$$DynamicValue_U32CopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_U32 implements DynamicValue_U32 { - const _$DynamicValue_U32(this.field0); +class _$DynamicValue_U32Impl implements DynamicValue_U32 { + const _$DynamicValue_U32Impl(this.field0); @override final int field0; @@ -372,10 +373,10 @@ class _$DynamicValue_U32 implements DynamicValue_U32 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_U32 && + other is _$DynamicValue_U32Impl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -385,8 +386,9 @@ class _$DynamicValue_U32 implements DynamicValue_U32 { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_U32CopyWith<_$DynamicValue_U32> get copyWith => - __$$DynamicValue_U32CopyWithImpl<_$DynamicValue_U32>(this, _$identity); + _$$DynamicValue_U32ImplCopyWith<_$DynamicValue_U32Impl> get copyWith => + __$$DynamicValue_U32ImplCopyWithImpl<_$DynamicValue_U32Impl>( + this, _$identity); @override @optionalTypeArgs @@ -512,29 +514,29 @@ class _$DynamicValue_U32 implements DynamicValue_U32 { } abstract class DynamicValue_U32 implements DynamicValue { - const factory DynamicValue_U32(final int field0) = _$DynamicValue_U32; + const factory DynamicValue_U32(final int field0) = _$DynamicValue_U32Impl; int get field0; @JsonKey(ignore: true) - _$$DynamicValue_U32CopyWith<_$DynamicValue_U32> get copyWith => + _$$DynamicValue_U32ImplCopyWith<_$DynamicValue_U32Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_I32CopyWith<$Res> { - factory _$$DynamicValue_I32CopyWith( - _$DynamicValue_I32 value, $Res Function(_$DynamicValue_I32) then) = - __$$DynamicValue_I32CopyWithImpl<$Res>; +abstract class _$$DynamicValue_I32ImplCopyWith<$Res> { + factory _$$DynamicValue_I32ImplCopyWith(_$DynamicValue_I32Impl value, + $Res Function(_$DynamicValue_I32Impl) then) = + __$$DynamicValue_I32ImplCopyWithImpl<$Res>; @useResult $Res call({int field0}); } /// @nodoc -class __$$DynamicValue_I32CopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_I32> - implements _$$DynamicValue_I32CopyWith<$Res> { - __$$DynamicValue_I32CopyWithImpl( - _$DynamicValue_I32 _value, $Res Function(_$DynamicValue_I32) _then) +class __$$DynamicValue_I32ImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_I32Impl> + implements _$$DynamicValue_I32ImplCopyWith<$Res> { + __$$DynamicValue_I32ImplCopyWithImpl(_$DynamicValue_I32Impl _value, + $Res Function(_$DynamicValue_I32Impl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -542,7 +544,7 @@ class __$$DynamicValue_I32CopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_I32( + return _then(_$DynamicValue_I32Impl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -553,8 +555,8 @@ class __$$DynamicValue_I32CopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_I32 implements DynamicValue_I32 { - const _$DynamicValue_I32(this.field0); +class _$DynamicValue_I32Impl implements DynamicValue_I32 { + const _$DynamicValue_I32Impl(this.field0); @override final int field0; @@ -565,10 +567,10 @@ class _$DynamicValue_I32 implements DynamicValue_I32 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_I32 && + other is _$DynamicValue_I32Impl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -578,8 +580,9 @@ class _$DynamicValue_I32 implements DynamicValue_I32 { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_I32CopyWith<_$DynamicValue_I32> get copyWith => - __$$DynamicValue_I32CopyWithImpl<_$DynamicValue_I32>(this, _$identity); + _$$DynamicValue_I32ImplCopyWith<_$DynamicValue_I32Impl> get copyWith => + __$$DynamicValue_I32ImplCopyWithImpl<_$DynamicValue_I32Impl>( + this, _$identity); @override @optionalTypeArgs @@ -705,29 +708,29 @@ class _$DynamicValue_I32 implements DynamicValue_I32 { } abstract class DynamicValue_I32 implements DynamicValue { - const factory DynamicValue_I32(final int field0) = _$DynamicValue_I32; + const factory DynamicValue_I32(final int field0) = _$DynamicValue_I32Impl; int get field0; @JsonKey(ignore: true) - _$$DynamicValue_I32CopyWith<_$DynamicValue_I32> get copyWith => + _$$DynamicValue_I32ImplCopyWith<_$DynamicValue_I32Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_U64CopyWith<$Res> { - factory _$$DynamicValue_U64CopyWith( - _$DynamicValue_U64 value, $Res Function(_$DynamicValue_U64) then) = - __$$DynamicValue_U64CopyWithImpl<$Res>; +abstract class _$$DynamicValue_U64ImplCopyWith<$Res> { + factory _$$DynamicValue_U64ImplCopyWith(_$DynamicValue_U64Impl value, + $Res Function(_$DynamicValue_U64Impl) then) = + __$$DynamicValue_U64ImplCopyWithImpl<$Res>; @useResult $Res call({int field0}); } /// @nodoc -class __$$DynamicValue_U64CopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_U64> - implements _$$DynamicValue_U64CopyWith<$Res> { - __$$DynamicValue_U64CopyWithImpl( - _$DynamicValue_U64 _value, $Res Function(_$DynamicValue_U64) _then) +class __$$DynamicValue_U64ImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_U64Impl> + implements _$$DynamicValue_U64ImplCopyWith<$Res> { + __$$DynamicValue_U64ImplCopyWithImpl(_$DynamicValue_U64Impl _value, + $Res Function(_$DynamicValue_U64Impl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -735,7 +738,7 @@ class __$$DynamicValue_U64CopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_U64( + return _then(_$DynamicValue_U64Impl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -746,8 +749,8 @@ class __$$DynamicValue_U64CopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_U64 implements DynamicValue_U64 { - const _$DynamicValue_U64(this.field0); +class _$DynamicValue_U64Impl implements DynamicValue_U64 { + const _$DynamicValue_U64Impl(this.field0); @override final int field0; @@ -758,10 +761,10 @@ class _$DynamicValue_U64 implements DynamicValue_U64 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_U64 && + other is _$DynamicValue_U64Impl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -771,8 +774,9 @@ class _$DynamicValue_U64 implements DynamicValue_U64 { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_U64CopyWith<_$DynamicValue_U64> get copyWith => - __$$DynamicValue_U64CopyWithImpl<_$DynamicValue_U64>(this, _$identity); + _$$DynamicValue_U64ImplCopyWith<_$DynamicValue_U64Impl> get copyWith => + __$$DynamicValue_U64ImplCopyWithImpl<_$DynamicValue_U64Impl>( + this, _$identity); @override @optionalTypeArgs @@ -898,29 +902,29 @@ class _$DynamicValue_U64 implements DynamicValue_U64 { } abstract class DynamicValue_U64 implements DynamicValue { - const factory DynamicValue_U64(final int field0) = _$DynamicValue_U64; + const factory DynamicValue_U64(final int field0) = _$DynamicValue_U64Impl; int get field0; @JsonKey(ignore: true) - _$$DynamicValue_U64CopyWith<_$DynamicValue_U64> get copyWith => + _$$DynamicValue_U64ImplCopyWith<_$DynamicValue_U64Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_I64CopyWith<$Res> { - factory _$$DynamicValue_I64CopyWith( - _$DynamicValue_I64 value, $Res Function(_$DynamicValue_I64) then) = - __$$DynamicValue_I64CopyWithImpl<$Res>; +abstract class _$$DynamicValue_I64ImplCopyWith<$Res> { + factory _$$DynamicValue_I64ImplCopyWith(_$DynamicValue_I64Impl value, + $Res Function(_$DynamicValue_I64Impl) then) = + __$$DynamicValue_I64ImplCopyWithImpl<$Res>; @useResult $Res call({int field0}); } /// @nodoc -class __$$DynamicValue_I64CopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_I64> - implements _$$DynamicValue_I64CopyWith<$Res> { - __$$DynamicValue_I64CopyWithImpl( - _$DynamicValue_I64 _value, $Res Function(_$DynamicValue_I64) _then) +class __$$DynamicValue_I64ImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_I64Impl> + implements _$$DynamicValue_I64ImplCopyWith<$Res> { + __$$DynamicValue_I64ImplCopyWithImpl(_$DynamicValue_I64Impl _value, + $Res Function(_$DynamicValue_I64Impl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -928,7 +932,7 @@ class __$$DynamicValue_I64CopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_I64( + return _then(_$DynamicValue_I64Impl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -939,8 +943,8 @@ class __$$DynamicValue_I64CopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_I64 implements DynamicValue_I64 { - const _$DynamicValue_I64(this.field0); +class _$DynamicValue_I64Impl implements DynamicValue_I64 { + const _$DynamicValue_I64Impl(this.field0); @override final int field0; @@ -951,10 +955,10 @@ class _$DynamicValue_I64 implements DynamicValue_I64 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_I64 && + other is _$DynamicValue_I64Impl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -964,8 +968,9 @@ class _$DynamicValue_I64 implements DynamicValue_I64 { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_I64CopyWith<_$DynamicValue_I64> get copyWith => - __$$DynamicValue_I64CopyWithImpl<_$DynamicValue_I64>(this, _$identity); + _$$DynamicValue_I64ImplCopyWith<_$DynamicValue_I64Impl> get copyWith => + __$$DynamicValue_I64ImplCopyWithImpl<_$DynamicValue_I64Impl>( + this, _$identity); @override @optionalTypeArgs @@ -1091,29 +1096,29 @@ class _$DynamicValue_I64 implements DynamicValue_I64 { } abstract class DynamicValue_I64 implements DynamicValue { - const factory DynamicValue_I64(final int field0) = _$DynamicValue_I64; + const factory DynamicValue_I64(final int field0) = _$DynamicValue_I64Impl; int get field0; @JsonKey(ignore: true) - _$$DynamicValue_I64CopyWith<_$DynamicValue_I64> get copyWith => + _$$DynamicValue_I64ImplCopyWith<_$DynamicValue_I64Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_F32CopyWith<$Res> { - factory _$$DynamicValue_F32CopyWith( - _$DynamicValue_F32 value, $Res Function(_$DynamicValue_F32) then) = - __$$DynamicValue_F32CopyWithImpl<$Res>; +abstract class _$$DynamicValue_F32ImplCopyWith<$Res> { + factory _$$DynamicValue_F32ImplCopyWith(_$DynamicValue_F32Impl value, + $Res Function(_$DynamicValue_F32Impl) then) = + __$$DynamicValue_F32ImplCopyWithImpl<$Res>; @useResult $Res call({double field0}); } /// @nodoc -class __$$DynamicValue_F32CopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_F32> - implements _$$DynamicValue_F32CopyWith<$Res> { - __$$DynamicValue_F32CopyWithImpl( - _$DynamicValue_F32 _value, $Res Function(_$DynamicValue_F32) _then) +class __$$DynamicValue_F32ImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_F32Impl> + implements _$$DynamicValue_F32ImplCopyWith<$Res> { + __$$DynamicValue_F32ImplCopyWithImpl(_$DynamicValue_F32Impl _value, + $Res Function(_$DynamicValue_F32Impl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1121,7 +1126,7 @@ class __$$DynamicValue_F32CopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_F32( + return _then(_$DynamicValue_F32Impl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -1132,8 +1137,8 @@ class __$$DynamicValue_F32CopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_F32 implements DynamicValue_F32 { - const _$DynamicValue_F32(this.field0); +class _$DynamicValue_F32Impl implements DynamicValue_F32 { + const _$DynamicValue_F32Impl(this.field0); @override final double field0; @@ -1144,10 +1149,10 @@ class _$DynamicValue_F32 implements DynamicValue_F32 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_F32 && + other is _$DynamicValue_F32Impl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -1157,8 +1162,9 @@ class _$DynamicValue_F32 implements DynamicValue_F32 { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_F32CopyWith<_$DynamicValue_F32> get copyWith => - __$$DynamicValue_F32CopyWithImpl<_$DynamicValue_F32>(this, _$identity); + _$$DynamicValue_F32ImplCopyWith<_$DynamicValue_F32Impl> get copyWith => + __$$DynamicValue_F32ImplCopyWithImpl<_$DynamicValue_F32Impl>( + this, _$identity); @override @optionalTypeArgs @@ -1284,29 +1290,29 @@ class _$DynamicValue_F32 implements DynamicValue_F32 { } abstract class DynamicValue_F32 implements DynamicValue { - const factory DynamicValue_F32(final double field0) = _$DynamicValue_F32; + const factory DynamicValue_F32(final double field0) = _$DynamicValue_F32Impl; double get field0; @JsonKey(ignore: true) - _$$DynamicValue_F32CopyWith<_$DynamicValue_F32> get copyWith => + _$$DynamicValue_F32ImplCopyWith<_$DynamicValue_F32Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_F64CopyWith<$Res> { - factory _$$DynamicValue_F64CopyWith( - _$DynamicValue_F64 value, $Res Function(_$DynamicValue_F64) then) = - __$$DynamicValue_F64CopyWithImpl<$Res>; +abstract class _$$DynamicValue_F64ImplCopyWith<$Res> { + factory _$$DynamicValue_F64ImplCopyWith(_$DynamicValue_F64Impl value, + $Res Function(_$DynamicValue_F64Impl) then) = + __$$DynamicValue_F64ImplCopyWithImpl<$Res>; @useResult $Res call({double field0}); } /// @nodoc -class __$$DynamicValue_F64CopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_F64> - implements _$$DynamicValue_F64CopyWith<$Res> { - __$$DynamicValue_F64CopyWithImpl( - _$DynamicValue_F64 _value, $Res Function(_$DynamicValue_F64) _then) +class __$$DynamicValue_F64ImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_F64Impl> + implements _$$DynamicValue_F64ImplCopyWith<$Res> { + __$$DynamicValue_F64ImplCopyWithImpl(_$DynamicValue_F64Impl _value, + $Res Function(_$DynamicValue_F64Impl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1314,7 +1320,7 @@ class __$$DynamicValue_F64CopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_F64( + return _then(_$DynamicValue_F64Impl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -1325,8 +1331,8 @@ class __$$DynamicValue_F64CopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_F64 implements DynamicValue_F64 { - const _$DynamicValue_F64(this.field0); +class _$DynamicValue_F64Impl implements DynamicValue_F64 { + const _$DynamicValue_F64Impl(this.field0); @override final double field0; @@ -1337,10 +1343,10 @@ class _$DynamicValue_F64 implements DynamicValue_F64 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_F64 && + other is _$DynamicValue_F64Impl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -1350,8 +1356,9 @@ class _$DynamicValue_F64 implements DynamicValue_F64 { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_F64CopyWith<_$DynamicValue_F64> get copyWith => - __$$DynamicValue_F64CopyWithImpl<_$DynamicValue_F64>(this, _$identity); + _$$DynamicValue_F64ImplCopyWith<_$DynamicValue_F64Impl> get copyWith => + __$$DynamicValue_F64ImplCopyWithImpl<_$DynamicValue_F64Impl>( + this, _$identity); @override @optionalTypeArgs @@ -1477,29 +1484,29 @@ class _$DynamicValue_F64 implements DynamicValue_F64 { } abstract class DynamicValue_F64 implements DynamicValue { - const factory DynamicValue_F64(final double field0) = _$DynamicValue_F64; + const factory DynamicValue_F64(final double field0) = _$DynamicValue_F64Impl; double get field0; @JsonKey(ignore: true) - _$$DynamicValue_F64CopyWith<_$DynamicValue_F64> get copyWith => + _$$DynamicValue_F64ImplCopyWith<_$DynamicValue_F64Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_StringCopyWith<$Res> { - factory _$$DynamicValue_StringCopyWith(_$DynamicValue_String value, - $Res Function(_$DynamicValue_String) then) = - __$$DynamicValue_StringCopyWithImpl<$Res>; +abstract class _$$DynamicValue_StringImplCopyWith<$Res> { + factory _$$DynamicValue_StringImplCopyWith(_$DynamicValue_StringImpl value, + $Res Function(_$DynamicValue_StringImpl) then) = + __$$DynamicValue_StringImplCopyWithImpl<$Res>; @useResult $Res call({String field0}); } /// @nodoc -class __$$DynamicValue_StringCopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_String> - implements _$$DynamicValue_StringCopyWith<$Res> { - __$$DynamicValue_StringCopyWithImpl( - _$DynamicValue_String _value, $Res Function(_$DynamicValue_String) _then) +class __$$DynamicValue_StringImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_StringImpl> + implements _$$DynamicValue_StringImplCopyWith<$Res> { + __$$DynamicValue_StringImplCopyWithImpl(_$DynamicValue_StringImpl _value, + $Res Function(_$DynamicValue_StringImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1507,7 +1514,7 @@ class __$$DynamicValue_StringCopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_String( + return _then(_$DynamicValue_StringImpl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -1518,8 +1525,8 @@ class __$$DynamicValue_StringCopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_String implements DynamicValue_String { - const _$DynamicValue_String(this.field0); +class _$DynamicValue_StringImpl implements DynamicValue_String { + const _$DynamicValue_StringImpl(this.field0); @override final String field0; @@ -1530,10 +1537,10 @@ class _$DynamicValue_String implements DynamicValue_String { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_String && + other is _$DynamicValue_StringImpl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -1543,8 +1550,8 @@ class _$DynamicValue_String implements DynamicValue_String { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_StringCopyWith<_$DynamicValue_String> get copyWith => - __$$DynamicValue_StringCopyWithImpl<_$DynamicValue_String>( + _$$DynamicValue_StringImplCopyWith<_$DynamicValue_StringImpl> get copyWith => + __$$DynamicValue_StringImplCopyWithImpl<_$DynamicValue_StringImpl>( this, _$identity); @override @@ -1672,29 +1679,29 @@ class _$DynamicValue_String implements DynamicValue_String { abstract class DynamicValue_String implements DynamicValue { const factory DynamicValue_String(final String field0) = - _$DynamicValue_String; + _$DynamicValue_StringImpl; String get field0; @JsonKey(ignore: true) - _$$DynamicValue_StringCopyWith<_$DynamicValue_String> get copyWith => + _$$DynamicValue_StringImplCopyWith<_$DynamicValue_StringImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_VecU8CopyWith<$Res> { - factory _$$DynamicValue_VecU8CopyWith(_$DynamicValue_VecU8 value, - $Res Function(_$DynamicValue_VecU8) then) = - __$$DynamicValue_VecU8CopyWithImpl<$Res>; +abstract class _$$DynamicValue_VecU8ImplCopyWith<$Res> { + factory _$$DynamicValue_VecU8ImplCopyWith(_$DynamicValue_VecU8Impl value, + $Res Function(_$DynamicValue_VecU8Impl) then) = + __$$DynamicValue_VecU8ImplCopyWithImpl<$Res>; @useResult $Res call({Uint8List field0}); } /// @nodoc -class __$$DynamicValue_VecU8CopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_VecU8> - implements _$$DynamicValue_VecU8CopyWith<$Res> { - __$$DynamicValue_VecU8CopyWithImpl( - _$DynamicValue_VecU8 _value, $Res Function(_$DynamicValue_VecU8) _then) +class __$$DynamicValue_VecU8ImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_VecU8Impl> + implements _$$DynamicValue_VecU8ImplCopyWith<$Res> { + __$$DynamicValue_VecU8ImplCopyWithImpl(_$DynamicValue_VecU8Impl _value, + $Res Function(_$DynamicValue_VecU8Impl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1702,7 +1709,7 @@ class __$$DynamicValue_VecU8CopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_VecU8( + return _then(_$DynamicValue_VecU8Impl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -1713,8 +1720,8 @@ class __$$DynamicValue_VecU8CopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_VecU8 implements DynamicValue_VecU8 { - const _$DynamicValue_VecU8(this.field0); +class _$DynamicValue_VecU8Impl implements DynamicValue_VecU8 { + const _$DynamicValue_VecU8Impl(this.field0); @override final Uint8List field0; @@ -1725,10 +1732,10 @@ class _$DynamicValue_VecU8 implements DynamicValue_VecU8 { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_VecU8 && + other is _$DynamicValue_VecU8Impl && const DeepCollectionEquality().equals(other.field0, field0)); } @@ -1739,8 +1746,8 @@ class _$DynamicValue_VecU8 implements DynamicValue_VecU8 { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_VecU8CopyWith<_$DynamicValue_VecU8> get copyWith => - __$$DynamicValue_VecU8CopyWithImpl<_$DynamicValue_VecU8>( + _$$DynamicValue_VecU8ImplCopyWith<_$DynamicValue_VecU8Impl> get copyWith => + __$$DynamicValue_VecU8ImplCopyWithImpl<_$DynamicValue_VecU8Impl>( this, _$identity); @override @@ -1868,29 +1875,31 @@ class _$DynamicValue_VecU8 implements DynamicValue_VecU8 { abstract class DynamicValue_VecU8 implements DynamicValue { const factory DynamicValue_VecU8(final Uint8List field0) = - _$DynamicValue_VecU8; + _$DynamicValue_VecU8Impl; Uint8List get field0; @JsonKey(ignore: true) - _$$DynamicValue_VecU8CopyWith<_$DynamicValue_VecU8> get copyWith => + _$$DynamicValue_VecU8ImplCopyWith<_$DynamicValue_VecU8Impl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_MegaStructCopyWith<$Res> { - factory _$$DynamicValue_MegaStructCopyWith(_$DynamicValue_MegaStruct value, - $Res Function(_$DynamicValue_MegaStruct) then) = - __$$DynamicValue_MegaStructCopyWithImpl<$Res>; +abstract class _$$DynamicValue_MegaStructImplCopyWith<$Res> { + factory _$$DynamicValue_MegaStructImplCopyWith( + _$DynamicValue_MegaStructImpl value, + $Res Function(_$DynamicValue_MegaStructImpl) then) = + __$$DynamicValue_MegaStructImplCopyWithImpl<$Res>; @useResult $Res call({String field0}); } /// @nodoc -class __$$DynamicValue_MegaStructCopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_MegaStruct> - implements _$$DynamicValue_MegaStructCopyWith<$Res> { - __$$DynamicValue_MegaStructCopyWithImpl(_$DynamicValue_MegaStruct _value, - $Res Function(_$DynamicValue_MegaStruct) _then) +class __$$DynamicValue_MegaStructImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_MegaStructImpl> + implements _$$DynamicValue_MegaStructImplCopyWith<$Res> { + __$$DynamicValue_MegaStructImplCopyWithImpl( + _$DynamicValue_MegaStructImpl _value, + $Res Function(_$DynamicValue_MegaStructImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -1898,7 +1907,7 @@ class __$$DynamicValue_MegaStructCopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_MegaStruct( + return _then(_$DynamicValue_MegaStructImpl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -1909,8 +1918,8 @@ class __$$DynamicValue_MegaStructCopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_MegaStruct implements DynamicValue_MegaStruct { - const _$DynamicValue_MegaStruct(this.field0); +class _$DynamicValue_MegaStructImpl implements DynamicValue_MegaStruct { + const _$DynamicValue_MegaStructImpl(this.field0); @override final String field0; @@ -1921,10 +1930,10 @@ class _$DynamicValue_MegaStruct implements DynamicValue_MegaStruct { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_MegaStruct && + other is _$DynamicValue_MegaStructImpl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -1934,9 +1943,9 @@ class _$DynamicValue_MegaStruct implements DynamicValue_MegaStruct { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_MegaStructCopyWith<_$DynamicValue_MegaStruct> get copyWith => - __$$DynamicValue_MegaStructCopyWithImpl<_$DynamicValue_MegaStruct>( - this, _$identity); + _$$DynamicValue_MegaStructImplCopyWith<_$DynamicValue_MegaStructImpl> + get copyWith => __$$DynamicValue_MegaStructImplCopyWithImpl< + _$DynamicValue_MegaStructImpl>(this, _$identity); @override @optionalTypeArgs @@ -2063,29 +2072,29 @@ class _$DynamicValue_MegaStruct implements DynamicValue_MegaStruct { abstract class DynamicValue_MegaStruct implements DynamicValue { const factory DynamicValue_MegaStruct(final String field0) = - _$DynamicValue_MegaStruct; + _$DynamicValue_MegaStructImpl; String get field0; @JsonKey(ignore: true) - _$$DynamicValue_MegaStructCopyWith<_$DynamicValue_MegaStruct> get copyWith => - throw _privateConstructorUsedError; + _$$DynamicValue_MegaStructImplCopyWith<_$DynamicValue_MegaStructImpl> + get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_ErrorCopyWith<$Res> { - factory _$$DynamicValue_ErrorCopyWith(_$DynamicValue_Error value, - $Res Function(_$DynamicValue_Error) then) = - __$$DynamicValue_ErrorCopyWithImpl<$Res>; +abstract class _$$DynamicValue_ErrorImplCopyWith<$Res> { + factory _$$DynamicValue_ErrorImplCopyWith(_$DynamicValue_ErrorImpl value, + $Res Function(_$DynamicValue_ErrorImpl) then) = + __$$DynamicValue_ErrorImplCopyWithImpl<$Res>; @useResult $Res call({ErrorCode field0}); } /// @nodoc -class __$$DynamicValue_ErrorCopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_Error> - implements _$$DynamicValue_ErrorCopyWith<$Res> { - __$$DynamicValue_ErrorCopyWithImpl( - _$DynamicValue_Error _value, $Res Function(_$DynamicValue_Error) _then) +class __$$DynamicValue_ErrorImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_ErrorImpl> + implements _$$DynamicValue_ErrorImplCopyWith<$Res> { + __$$DynamicValue_ErrorImplCopyWithImpl(_$DynamicValue_ErrorImpl _value, + $Res Function(_$DynamicValue_ErrorImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2093,7 +2102,7 @@ class __$$DynamicValue_ErrorCopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$DynamicValue_Error( + return _then(_$DynamicValue_ErrorImpl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -2104,8 +2113,8 @@ class __$$DynamicValue_ErrorCopyWithImpl<$Res> /// @nodoc -class _$DynamicValue_Error implements DynamicValue_Error { - const _$DynamicValue_Error(this.field0); +class _$DynamicValue_ErrorImpl implements DynamicValue_Error { + const _$DynamicValue_ErrorImpl(this.field0); @override final ErrorCode field0; @@ -2116,10 +2125,10 @@ class _$DynamicValue_Error implements DynamicValue_Error { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$DynamicValue_Error && + other is _$DynamicValue_ErrorImpl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -2129,8 +2138,8 @@ class _$DynamicValue_Error implements DynamicValue_Error { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$DynamicValue_ErrorCopyWith<_$DynamicValue_Error> get copyWith => - __$$DynamicValue_ErrorCopyWithImpl<_$DynamicValue_Error>( + _$$DynamicValue_ErrorImplCopyWith<_$DynamicValue_ErrorImpl> get copyWith => + __$$DynamicValue_ErrorImplCopyWithImpl<_$DynamicValue_ErrorImpl>( this, _$identity); @override @@ -2258,34 +2267,34 @@ class _$DynamicValue_Error implements DynamicValue_Error { abstract class DynamicValue_Error implements DynamicValue { const factory DynamicValue_Error(final ErrorCode field0) = - _$DynamicValue_Error; + _$DynamicValue_ErrorImpl; ErrorCode get field0; @JsonKey(ignore: true) - _$$DynamicValue_ErrorCopyWith<_$DynamicValue_Error> get copyWith => + _$$DynamicValue_ErrorImplCopyWith<_$DynamicValue_ErrorImpl> get copyWith => throw _privateConstructorUsedError; } /// @nodoc -abstract class _$$DynamicValue_NoneCopyWith<$Res> { - factory _$$DynamicValue_NoneCopyWith( - _$DynamicValue_None value, $Res Function(_$DynamicValue_None) then) = - __$$DynamicValue_NoneCopyWithImpl<$Res>; +abstract class _$$DynamicValue_NoneImplCopyWith<$Res> { + factory _$$DynamicValue_NoneImplCopyWith(_$DynamicValue_NoneImpl value, + $Res Function(_$DynamicValue_NoneImpl) then) = + __$$DynamicValue_NoneImplCopyWithImpl<$Res>; } /// @nodoc -class __$$DynamicValue_NoneCopyWithImpl<$Res> - extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_None> - implements _$$DynamicValue_NoneCopyWith<$Res> { - __$$DynamicValue_NoneCopyWithImpl( - _$DynamicValue_None _value, $Res Function(_$DynamicValue_None) _then) +class __$$DynamicValue_NoneImplCopyWithImpl<$Res> + extends _$DynamicValueCopyWithImpl<$Res, _$DynamicValue_NoneImpl> + implements _$$DynamicValue_NoneImplCopyWith<$Res> { + __$$DynamicValue_NoneImplCopyWithImpl(_$DynamicValue_NoneImpl _value, + $Res Function(_$DynamicValue_NoneImpl) _then) : super(_value, _then); } /// @nodoc -class _$DynamicValue_None implements DynamicValue_None { - const _$DynamicValue_None(); +class _$DynamicValue_NoneImpl implements DynamicValue_None { + const _$DynamicValue_NoneImpl(); @override String toString() { @@ -2293,9 +2302,9 @@ class _$DynamicValue_None implements DynamicValue_None { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$DynamicValue_None); + (other.runtimeType == runtimeType && other is _$DynamicValue_NoneImpl); } @override @@ -2425,7 +2434,7 @@ class _$DynamicValue_None implements DynamicValue_None { } abstract class DynamicValue_None implements DynamicValue { - const factory DynamicValue_None() = _$DynamicValue_None; + const factory DynamicValue_None() = _$DynamicValue_NoneImpl; } /// @nodoc @@ -2500,25 +2509,25 @@ class _$KeySignerCopyWithImpl<$Res, $Val extends KeySigner> } /// @nodoc -abstract class _$$KeySigner_EncryptedCopyWith<$Res> { - factory _$$KeySigner_EncryptedCopyWith(_$KeySigner_Encrypted value, - $Res Function(_$KeySigner_Encrypted) then) = - __$$KeySigner_EncryptedCopyWithImpl<$Res>; +abstract class _$$KeySigner_EncryptedImplCopyWith<$Res> { + factory _$$KeySigner_EncryptedImplCopyWith(_$KeySigner_EncryptedImpl value, + $Res Function(_$KeySigner_EncryptedImpl) then) = + __$$KeySigner_EncryptedImplCopyWithImpl<$Res>; } /// @nodoc -class __$$KeySigner_EncryptedCopyWithImpl<$Res> - extends _$KeySignerCopyWithImpl<$Res, _$KeySigner_Encrypted> - implements _$$KeySigner_EncryptedCopyWith<$Res> { - __$$KeySigner_EncryptedCopyWithImpl( - _$KeySigner_Encrypted _value, $Res Function(_$KeySigner_Encrypted) _then) +class __$$KeySigner_EncryptedImplCopyWithImpl<$Res> + extends _$KeySignerCopyWithImpl<$Res, _$KeySigner_EncryptedImpl> + implements _$$KeySigner_EncryptedImplCopyWith<$Res> { + __$$KeySigner_EncryptedImplCopyWithImpl(_$KeySigner_EncryptedImpl _value, + $Res Function(_$KeySigner_EncryptedImpl) _then) : super(_value, _then); } /// @nodoc -class _$KeySigner_Encrypted implements KeySigner_Encrypted { - const _$KeySigner_Encrypted(); +class _$KeySigner_EncryptedImpl implements KeySigner_Encrypted { + const _$KeySigner_EncryptedImpl(); @override String toString() { @@ -2526,9 +2535,10 @@ class _$KeySigner_Encrypted implements KeySigner_Encrypted { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$KeySigner_Encrypted); + (other.runtimeType == runtimeType && + other is _$KeySigner_EncryptedImpl); } @override @@ -2610,29 +2620,29 @@ class _$KeySigner_Encrypted implements KeySigner_Encrypted { } abstract class KeySigner_Encrypted implements KeySigner { - const factory KeySigner_Encrypted() = _$KeySigner_Encrypted; + const factory KeySigner_Encrypted() = _$KeySigner_EncryptedImpl; } /// @nodoc -abstract class _$$KeySigner_DerivedCopyWith<$Res> { - factory _$$KeySigner_DerivedCopyWith( - _$KeySigner_Derived value, $Res Function(_$KeySigner_Derived) then) = - __$$KeySigner_DerivedCopyWithImpl<$Res>; +abstract class _$$KeySigner_DerivedImplCopyWith<$Res> { + factory _$$KeySigner_DerivedImplCopyWith(_$KeySigner_DerivedImpl value, + $Res Function(_$KeySigner_DerivedImpl) then) = + __$$KeySigner_DerivedImplCopyWithImpl<$Res>; } /// @nodoc -class __$$KeySigner_DerivedCopyWithImpl<$Res> - extends _$KeySignerCopyWithImpl<$Res, _$KeySigner_Derived> - implements _$$KeySigner_DerivedCopyWith<$Res> { - __$$KeySigner_DerivedCopyWithImpl( - _$KeySigner_Derived _value, $Res Function(_$KeySigner_Derived) _then) +class __$$KeySigner_DerivedImplCopyWithImpl<$Res> + extends _$KeySignerCopyWithImpl<$Res, _$KeySigner_DerivedImpl> + implements _$$KeySigner_DerivedImplCopyWith<$Res> { + __$$KeySigner_DerivedImplCopyWithImpl(_$KeySigner_DerivedImpl _value, + $Res Function(_$KeySigner_DerivedImpl) _then) : super(_value, _then); } /// @nodoc -class _$KeySigner_Derived implements KeySigner_Derived { - const _$KeySigner_Derived(); +class _$KeySigner_DerivedImpl implements KeySigner_Derived { + const _$KeySigner_DerivedImpl(); @override String toString() { @@ -2640,9 +2650,9 @@ class _$KeySigner_Derived implements KeySigner_Derived { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$KeySigner_Derived); + (other.runtimeType == runtimeType && other is _$KeySigner_DerivedImpl); } @override @@ -2724,29 +2734,29 @@ class _$KeySigner_Derived implements KeySigner_Derived { } abstract class KeySigner_Derived implements KeySigner { - const factory KeySigner_Derived() = _$KeySigner_Derived; + const factory KeySigner_Derived() = _$KeySigner_DerivedImpl; } /// @nodoc -abstract class _$$KeySigner_LedgerCopyWith<$Res> { - factory _$$KeySigner_LedgerCopyWith( - _$KeySigner_Ledger value, $Res Function(_$KeySigner_Ledger) then) = - __$$KeySigner_LedgerCopyWithImpl<$Res>; +abstract class _$$KeySigner_LedgerImplCopyWith<$Res> { + factory _$$KeySigner_LedgerImplCopyWith(_$KeySigner_LedgerImpl value, + $Res Function(_$KeySigner_LedgerImpl) then) = + __$$KeySigner_LedgerImplCopyWithImpl<$Res>; } /// @nodoc -class __$$KeySigner_LedgerCopyWithImpl<$Res> - extends _$KeySignerCopyWithImpl<$Res, _$KeySigner_Ledger> - implements _$$KeySigner_LedgerCopyWith<$Res> { - __$$KeySigner_LedgerCopyWithImpl( - _$KeySigner_Ledger _value, $Res Function(_$KeySigner_Ledger) _then) +class __$$KeySigner_LedgerImplCopyWithImpl<$Res> + extends _$KeySignerCopyWithImpl<$Res, _$KeySigner_LedgerImpl> + implements _$$KeySigner_LedgerImplCopyWith<$Res> { + __$$KeySigner_LedgerImplCopyWithImpl(_$KeySigner_LedgerImpl _value, + $Res Function(_$KeySigner_LedgerImpl) _then) : super(_value, _then); } /// @nodoc -class _$KeySigner_Ledger implements KeySigner_Ledger { - const _$KeySigner_Ledger(); +class _$KeySigner_LedgerImpl implements KeySigner_Ledger { + const _$KeySigner_LedgerImpl(); @override String toString() { @@ -2754,9 +2764,9 @@ class _$KeySigner_Ledger implements KeySigner_Ledger { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$KeySigner_Ledger); + (other.runtimeType == runtimeType && other is _$KeySigner_LedgerImpl); } @override @@ -2838,24 +2848,24 @@ class _$KeySigner_Ledger implements KeySigner_Ledger { } abstract class KeySigner_Ledger implements KeySigner { - const factory KeySigner_Ledger() = _$KeySigner_Ledger; + const factory KeySigner_Ledger() = _$KeySigner_LedgerImpl; } /// @nodoc -abstract class _$$KeySigner_StubCopyWith<$Res> { - factory _$$KeySigner_StubCopyWith( - _$KeySigner_Stub value, $Res Function(_$KeySigner_Stub) then) = - __$$KeySigner_StubCopyWithImpl<$Res>; +abstract class _$$KeySigner_StubImplCopyWith<$Res> { + factory _$$KeySigner_StubImplCopyWith(_$KeySigner_StubImpl value, + $Res Function(_$KeySigner_StubImpl) then) = + __$$KeySigner_StubImplCopyWithImpl<$Res>; @useResult $Res call({bool field0}); } /// @nodoc -class __$$KeySigner_StubCopyWithImpl<$Res> - extends _$KeySignerCopyWithImpl<$Res, _$KeySigner_Stub> - implements _$$KeySigner_StubCopyWith<$Res> { - __$$KeySigner_StubCopyWithImpl( - _$KeySigner_Stub _value, $Res Function(_$KeySigner_Stub) _then) +class __$$KeySigner_StubImplCopyWithImpl<$Res> + extends _$KeySignerCopyWithImpl<$Res, _$KeySigner_StubImpl> + implements _$$KeySigner_StubImplCopyWith<$Res> { + __$$KeySigner_StubImplCopyWithImpl( + _$KeySigner_StubImpl _value, $Res Function(_$KeySigner_StubImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -2863,7 +2873,7 @@ class __$$KeySigner_StubCopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$KeySigner_Stub( + return _then(_$KeySigner_StubImpl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -2874,8 +2884,8 @@ class __$$KeySigner_StubCopyWithImpl<$Res> /// @nodoc -class _$KeySigner_Stub implements KeySigner_Stub { - const _$KeySigner_Stub(this.field0); +class _$KeySigner_StubImpl implements KeySigner_Stub { + const _$KeySigner_StubImpl(this.field0); @override final bool field0; @@ -2886,10 +2896,10 @@ class _$KeySigner_Stub implements KeySigner_Stub { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$KeySigner_Stub && + other is _$KeySigner_StubImpl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -2899,8 +2909,9 @@ class _$KeySigner_Stub implements KeySigner_Stub { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$KeySigner_StubCopyWith<_$KeySigner_Stub> get copyWith => - __$$KeySigner_StubCopyWithImpl<_$KeySigner_Stub>(this, _$identity); + _$$KeySigner_StubImplCopyWith<_$KeySigner_StubImpl> get copyWith => + __$$KeySigner_StubImplCopyWithImpl<_$KeySigner_StubImpl>( + this, _$identity); @override @optionalTypeArgs @@ -2978,11 +2989,11 @@ class _$KeySigner_Stub implements KeySigner_Stub { } abstract class KeySigner_Stub implements KeySigner { - const factory KeySigner_Stub(final bool field0) = _$KeySigner_Stub; + const factory KeySigner_Stub(final bool field0) = _$KeySigner_StubImpl; bool get field0; @JsonKey(ignore: true) - _$$KeySigner_StubCopyWith<_$KeySigner_Stub> get copyWith => + _$$KeySigner_StubImplCopyWith<_$KeySigner_StubImpl> get copyWith => throw _privateConstructorUsedError; } @@ -3047,25 +3058,25 @@ class _$MnemonicTypeCopyWithImpl<$Res, $Val extends MnemonicType> } /// @nodoc -abstract class _$$MnemonicType_LegacyCopyWith<$Res> { - factory _$$MnemonicType_LegacyCopyWith(_$MnemonicType_Legacy value, - $Res Function(_$MnemonicType_Legacy) then) = - __$$MnemonicType_LegacyCopyWithImpl<$Res>; +abstract class _$$MnemonicType_LegacyImplCopyWith<$Res> { + factory _$$MnemonicType_LegacyImplCopyWith(_$MnemonicType_LegacyImpl value, + $Res Function(_$MnemonicType_LegacyImpl) then) = + __$$MnemonicType_LegacyImplCopyWithImpl<$Res>; } /// @nodoc -class __$$MnemonicType_LegacyCopyWithImpl<$Res> - extends _$MnemonicTypeCopyWithImpl<$Res, _$MnemonicType_Legacy> - implements _$$MnemonicType_LegacyCopyWith<$Res> { - __$$MnemonicType_LegacyCopyWithImpl( - _$MnemonicType_Legacy _value, $Res Function(_$MnemonicType_Legacy) _then) +class __$$MnemonicType_LegacyImplCopyWithImpl<$Res> + extends _$MnemonicTypeCopyWithImpl<$Res, _$MnemonicType_LegacyImpl> + implements _$$MnemonicType_LegacyImplCopyWith<$Res> { + __$$MnemonicType_LegacyImplCopyWithImpl(_$MnemonicType_LegacyImpl _value, + $Res Function(_$MnemonicType_LegacyImpl) _then) : super(_value, _then); } /// @nodoc -class _$MnemonicType_Legacy implements MnemonicType_Legacy { - const _$MnemonicType_Legacy(); +class _$MnemonicType_LegacyImpl implements MnemonicType_Legacy { + const _$MnemonicType_LegacyImpl(); @override String toString() { @@ -3073,9 +3084,10 @@ class _$MnemonicType_Legacy implements MnemonicType_Legacy { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || - (other.runtimeType == runtimeType && other is _$MnemonicType_Legacy); + (other.runtimeType == runtimeType && + other is _$MnemonicType_LegacyImpl); } @override @@ -3145,24 +3157,24 @@ class _$MnemonicType_Legacy implements MnemonicType_Legacy { } abstract class MnemonicType_Legacy implements MnemonicType { - const factory MnemonicType_Legacy() = _$MnemonicType_Legacy; + const factory MnemonicType_Legacy() = _$MnemonicType_LegacyImpl; } /// @nodoc -abstract class _$$MnemonicType_LabsCopyWith<$Res> { - factory _$$MnemonicType_LabsCopyWith( - _$MnemonicType_Labs value, $Res Function(_$MnemonicType_Labs) then) = - __$$MnemonicType_LabsCopyWithImpl<$Res>; +abstract class _$$MnemonicType_LabsImplCopyWith<$Res> { + factory _$$MnemonicType_LabsImplCopyWith(_$MnemonicType_LabsImpl value, + $Res Function(_$MnemonicType_LabsImpl) then) = + __$$MnemonicType_LabsImplCopyWithImpl<$Res>; @useResult $Res call({int field0}); } /// @nodoc -class __$$MnemonicType_LabsCopyWithImpl<$Res> - extends _$MnemonicTypeCopyWithImpl<$Res, _$MnemonicType_Labs> - implements _$$MnemonicType_LabsCopyWith<$Res> { - __$$MnemonicType_LabsCopyWithImpl( - _$MnemonicType_Labs _value, $Res Function(_$MnemonicType_Labs) _then) +class __$$MnemonicType_LabsImplCopyWithImpl<$Res> + extends _$MnemonicTypeCopyWithImpl<$Res, _$MnemonicType_LabsImpl> + implements _$$MnemonicType_LabsImplCopyWith<$Res> { + __$$MnemonicType_LabsImplCopyWithImpl(_$MnemonicType_LabsImpl _value, + $Res Function(_$MnemonicType_LabsImpl) _then) : super(_value, _then); @pragma('vm:prefer-inline') @@ -3170,7 +3182,7 @@ class __$$MnemonicType_LabsCopyWithImpl<$Res> $Res call({ Object? field0 = null, }) { - return _then(_$MnemonicType_Labs( + return _then(_$MnemonicType_LabsImpl( null == field0 ? _value.field0 : field0 // ignore: cast_nullable_to_non_nullable @@ -3181,8 +3193,8 @@ class __$$MnemonicType_LabsCopyWithImpl<$Res> /// @nodoc -class _$MnemonicType_Labs implements MnemonicType_Labs { - const _$MnemonicType_Labs(this.field0); +class _$MnemonicType_LabsImpl implements MnemonicType_Labs { + const _$MnemonicType_LabsImpl(this.field0); @override final int field0; @@ -3193,10 +3205,10 @@ class _$MnemonicType_Labs implements MnemonicType_Labs { } @override - bool operator ==(dynamic other) { + bool operator ==(Object other) { return identical(this, other) || (other.runtimeType == runtimeType && - other is _$MnemonicType_Labs && + other is _$MnemonicType_LabsImpl && (identical(other.field0, field0) || other.field0 == field0)); } @@ -3206,8 +3218,9 @@ class _$MnemonicType_Labs implements MnemonicType_Labs { @JsonKey(ignore: true) @override @pragma('vm:prefer-inline') - _$$MnemonicType_LabsCopyWith<_$MnemonicType_Labs> get copyWith => - __$$MnemonicType_LabsCopyWithImpl<_$MnemonicType_Labs>(this, _$identity); + _$$MnemonicType_LabsImplCopyWith<_$MnemonicType_LabsImpl> get copyWith => + __$$MnemonicType_LabsImplCopyWithImpl<_$MnemonicType_LabsImpl>( + this, _$identity); @override @optionalTypeArgs @@ -3273,10 +3286,10 @@ class _$MnemonicType_Labs implements MnemonicType_Labs { } abstract class MnemonicType_Labs implements MnemonicType { - const factory MnemonicType_Labs(final int field0) = _$MnemonicType_Labs; + const factory MnemonicType_Labs(final int field0) = _$MnemonicType_LabsImpl; int get field0; @JsonKey(ignore: true) - _$$MnemonicType_LabsCopyWith<_$MnemonicType_Labs> get copyWith => + _$$MnemonicType_LabsImplCopyWith<_$MnemonicType_LabsImpl> get copyWith => throw _privateConstructorUsedError; } diff --git a/packages/nekoton_bridge/lib/src/bridge_generated.io.dart b/packages/nekoton_bridge/lib/src/bridge_generated.io.dart index 5bbd1c35..e9562c45 100644 --- a/packages/nekoton_bridge/lib/src/bridge_generated.io.dart +++ b/packages/nekoton_bridge/lib/src/bridge_generated.io.dart @@ -1874,6 +1874,35 @@ class NekotonBridgeWire implements FlutterRustBridgeWireBase { late final _wire_parse_full_account_boc = _wire_parse_full_account_bocPtr .asFunction)>(); + void wire_compute_storage_fee( + int port_, + ffi.Pointer config, + ffi.Pointer account, + int utime, + bool is_masterchain, + ) { + return _wire_compute_storage_fee( + port_, + config, + account, + utime, + is_masterchain, + ); + } + + late final _wire_compute_storage_feePtr = _lookup< + ffi.NativeFunction< + ffi.Void Function( + ffi.Int64, + ffi.Pointer, + ffi.Pointer, + ffi.Uint32, + ffi.Bool)>>('wire_compute_storage_fee'); + late final _wire_compute_storage_fee = + _wire_compute_storage_feePtr.asFunction< + void Function(int, ffi.Pointer, + ffi.Pointer, int, bool)>(); + void wire_test_logger_info( int port_, ffi.Pointer string, @@ -2479,8 +2508,7 @@ class NekotonBridgeWire implements FlutterRustBridgeWireBase { late final _wire_get_accounts_by_code_hash__method__GqlTransportImplPtr = _lookup< - ffi - .NativeFunction< + ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, @@ -2766,8 +2794,7 @@ class NekotonBridgeWire implements FlutterRustBridgeWireBase { late final _wire_get_full_contract_state__method__ProtoTransportImplPtr = _lookup< - ffi - .NativeFunction< + ffi.NativeFunction< ffi.Void Function( ffi.Int64, ffi.Pointer, @@ -5265,8 +5292,7 @@ class NekotonBridgeWire implements FlutterRustBridgeWireBase { late final _wire_get_custodians__static_method__TonWalletDartWrapperPtr = _lookup< - ffi - .NativeFunction< + ffi.NativeFunction< ffi.Void Function(ffi.Int64, wire_ArcTransportBoxTrait, ffi.Pointer)>>( 'wire_get_custodians__static_method__TonWalletDartWrapper'); diff --git a/packages/nekoton_bridge/lib/src/bridge_generated.web.dart b/packages/nekoton_bridge/lib/src/bridge_generated.web.dart index 79c53622..308a0ce0 100644 --- a/packages/nekoton_bridge/lib/src/bridge_generated.web.dart +++ b/packages/nekoton_bridge/lib/src/bridge_generated.web.dart @@ -680,6 +680,9 @@ class NekotonBridgeWasmModule implements WasmModule { external dynamic /* void */ wire_parse_full_account_boc( NativePortType port_, String account); + external dynamic /* void */ wire_compute_storage_fee(NativePortType port_, + String config, String account, int utime, bool is_masterchain); + external dynamic /* void */ wire_test_logger_info( NativePortType port_, String string); @@ -1560,6 +1563,11 @@ class NekotonBridgeWire void wire_parse_full_account_boc(NativePortType port_, String account) => wasmModule.wire_parse_full_account_boc(port_, account); + void wire_compute_storage_fee(NativePortType port_, String config, + String account, int utime, bool is_masterchain) => + wasmModule.wire_compute_storage_fee( + port_, config, account, utime, is_masterchain); + void wire_test_logger_info(NativePortType port_, String string) => wasmModule.wire_test_logger_info(port_, string); diff --git a/packages/nekoton_bridge/native/src/nekoton_wrapper/helpers/abi_api.rs b/packages/nekoton_bridge/native/src/nekoton_wrapper/helpers/abi_api.rs index 83a4581b..a40d425f 100644 --- a/packages/nekoton_bridge/native/src/nekoton_wrapper/helpers/abi_api.rs +++ b/packages/nekoton_bridge/native/src/nekoton_wrapper/helpers/abi_api.rs @@ -4,7 +4,7 @@ use crate::clock; use crate::nekoton_wrapper::crypto::crypto_api::UnsignedMessageImpl; use crate::nekoton_wrapper::crypto::models::UnsignedMessageBox; use crate::nekoton_wrapper::helpers::models::{ - DecodedEvent, DecodedInput, DecodedOutput, DecodedTransaction, ExecutionOutput, + DecodedEvent, DecodedInput, DecodedOutput, DecodedTransaction, ExecutionOutput, StorageFeeInfo, }; use crate::nekoton_wrapper::helpers::{ make_boc, make_boc_with_hash, make_full_contract_state, parse_account_stuff, parse_cell, @@ -911,20 +911,7 @@ pub fn compute_storage_fee( is_masterchain: bool, ) -> anyhow::Result { use nekoton_abi::num_traits::*; - use serde::{Deserialize, Serialize}; - #[derive(Serialize, Deserialize)] - pub struct StorageFeeInfo { - #[serde(rename = "storageFee")] - storage_fee: String, - #[serde(rename = "storageFeeDebt")] - storage_fee_debt: Option, - #[serde(rename = "accountStatus")] - account_status: String, - #[serde(rename = "freezeDueLimit")] - freeze_due_limit: String, - #[serde(rename = "deleteDueLimit")] - delete_due_limit: String, - } + // use serde::{Deserialize, Serialize}; let account = parse_account_stuff(account)?; let config = ton_executor::BlockchainConfig::with_config( diff --git a/packages/nekoton_bridge/native/src/nekoton_wrapper/helpers/models.rs b/packages/nekoton_bridge/native/src/nekoton_wrapper/helpers/models.rs index 98643148..61383fd5 100644 --- a/packages/nekoton_bridge/native/src/nekoton_wrapper/helpers/models.rs +++ b/packages/nekoton_bridge/native/src/nekoton_wrapper/helpers/models.rs @@ -45,3 +45,17 @@ pub struct DecodedTransaction { pub input: serde_json::Value, pub output: serde_json::Value, } + +#[derive(Serialize, Deserialize)] +pub struct StorageFeeInfo { + #[serde(rename = "storageFee")] + pub storage_fee: String, + #[serde(rename = "storageFeeDebt")] + pub storage_fee_debt: Option, + #[serde(rename = "accountStatus")] + pub account_status: String, + #[serde(rename = "freezeDueLimit")] + pub freeze_due_limit: String, + #[serde(rename = "deleteDueLimit")] + pub delete_due_limit: String, +}