updated mocks

This commit is contained in:
julian 2023-04-21 07:19:36 -06:00
parent f9aac8ea36
commit e5e17f92b7
6 changed files with 132 additions and 342 deletions

View file

@ -1342,48 +1342,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
)), )),
) as _i23.Future<_i10.ElectrumXNode>); ) as _i23.Future<_i10.ElectrumXNode>);
@override @override
_i23.Future<void> addDerivation({
required int? chain,
required String? address,
required String? pubKey,
required String? wif,
required _i28.DerivePathType? derivePathType,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivation,
[],
{
#chain: chain,
#address: address,
#pubKey: pubKey,
#wif: wif,
#derivePathType: derivePathType,
},
),
returnValue: _i23.Future<void>.value(),
returnValueForMissingStub: _i23.Future<void>.value(),
) as _i23.Future<void>);
@override
_i23.Future<void> addDerivations({
required int? chain,
required _i28.DerivePathType? derivePathType,
required Map<String, dynamic>? derivationsToAdd,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivations,
[],
{
#chain: chain,
#derivePathType: derivePathType,
#derivationsToAdd: derivationsToAdd,
},
),
returnValue: _i23.Future<void>.value(),
returnValueForMissingStub: _i23.Future<void>.value(),
) as _i23.Future<void>);
@override
_i23.Future<List<Map<String, dynamic>>> fastFetch( _i23.Future<List<Map<String, dynamic>>> fastFetch(
List<String>? allTxHashes) => List<String>? allTxHashes) =>
(super.noSuchMethod( (super.noSuchMethod(
@ -1787,14 +1745,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
fetchBuildTxData, fetchBuildTxData,
required _i23.Future<void> Function()? refresh, required _i23.Future<void> Function()? refresh,
required _i23.Future<void> Function()? checkChangeAddressForTransactions, required _i23.Future<void> Function()? checkChangeAddressForTransactions,
required _i23.Future<void> Function({
required String address,
required int chain,
required _i28.DerivePathType derivePathType,
required String pubKey,
required String wif,
})?
addDerivation,
}) => }) =>
super.noSuchMethod( super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1821,7 +1771,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
#refresh: refresh, #refresh: refresh,
#checkChangeAddressForTransactions: #checkChangeAddressForTransactions:
checkChangeAddressForTransactions, checkChangeAddressForTransactions,
#addDerivation: addDerivation,
}, },
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
@ -1920,17 +1869,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
) as _i23.Future<_i18.BIP32>); ) as _i23.Future<_i18.BIP32>);
@override @override
_i23.Future<_i19.PaymentCode> getPaymentCode( _i23.Future<_i19.PaymentCode> getPaymentCode(
_i28.DerivePathType? derivePathType) => _i28.DerivePathType? derivePathType, [
_i18.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i23.Future<_i19.PaymentCode>.value(_FakePaymentCode_17( returnValue: _i23.Future<_i19.PaymentCode>.value(_FakePaymentCode_17(
this, this,
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i23.Future<_i19.PaymentCode>); ) as _i23.Future<_i19.PaymentCode>);
@ -2197,17 +2154,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i27.BitcoinWallet {
) as _i23.Future<_i17.Address>); ) as _i23.Future<_i17.Address>);
@override @override
_i23.Future<_i17.Address> getMyNotificationAddress( _i23.Future<_i17.Address> getMyNotificationAddress(
_i28.DerivePathType? derivePathType) => _i28.DerivePathType? derivePathType, [
_i18.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i23.Future<_i17.Address>.value(_FakeAddress_15( returnValue: _i23.Future<_i17.Address>.value(_FakeAddress_15(
this, this,
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i23.Future<_i17.Address>); ) as _i23.Future<_i17.Address>);

View file

@ -1133,48 +1133,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
)), )),
) as _i23.Future<_i9.ElectrumXNode>); ) as _i23.Future<_i9.ElectrumXNode>);
@override @override
_i23.Future<void> addDerivation({
required int? chain,
required String? address,
required String? pubKey,
required String? wif,
required _i27.DerivePathType? derivePathType,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivation,
[],
{
#chain: chain,
#address: address,
#pubKey: pubKey,
#wif: wif,
#derivePathType: derivePathType,
},
),
returnValue: _i23.Future<void>.value(),
returnValueForMissingStub: _i23.Future<void>.value(),
) as _i23.Future<void>);
@override
_i23.Future<void> addDerivations({
required int? chain,
required _i27.DerivePathType? derivePathType,
required Map<String, dynamic>? derivationsToAdd,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivations,
[],
{
#chain: chain,
#derivePathType: derivePathType,
#derivationsToAdd: derivationsToAdd,
},
),
returnValue: _i23.Future<void>.value(),
returnValueForMissingStub: _i23.Future<void>.value(),
) as _i23.Future<void>);
@override
_i23.Future<List<Map<String, dynamic>>> fastFetch( _i23.Future<List<Map<String, dynamic>>> fastFetch(
List<String>? allTxHashes) => List<String>? allTxHashes) =>
(super.noSuchMethod( (super.noSuchMethod(
@ -1578,14 +1536,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
fetchBuildTxData, fetchBuildTxData,
required _i23.Future<void> Function()? refresh, required _i23.Future<void> Function()? refresh,
required _i23.Future<void> Function()? checkChangeAddressForTransactions, required _i23.Future<void> Function()? checkChangeAddressForTransactions,
required _i23.Future<void> Function({
required String address,
required int chain,
required _i27.DerivePathType derivePathType,
required String pubKey,
required String wif,
})?
addDerivation,
}) => }) =>
super.noSuchMethod( super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1612,7 +1562,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
#refresh: refresh, #refresh: refresh,
#checkChangeAddressForTransactions: #checkChangeAddressForTransactions:
checkChangeAddressForTransactions, checkChangeAddressForTransactions,
#addDerivation: addDerivation,
}, },
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
@ -1711,17 +1660,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
) as _i23.Future<_i17.BIP32>); ) as _i23.Future<_i17.BIP32>);
@override @override
_i23.Future<_i18.PaymentCode> getPaymentCode( _i23.Future<_i18.PaymentCode> getPaymentCode(
_i27.DerivePathType? derivePathType) => _i27.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16( returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
this, this,
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i23.Future<_i18.PaymentCode>); ) as _i23.Future<_i18.PaymentCode>);
@ -1988,17 +1945,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
) as _i23.Future<_i16.Address>); ) as _i23.Future<_i16.Address>);
@override @override
_i23.Future<_i16.Address> getMyNotificationAddress( _i23.Future<_i16.Address> getMyNotificationAddress(
_i27.DerivePathType? derivePathType) => _i27.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14( returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14(
this, this,
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i23.Future<_i16.Address>); ) as _i23.Future<_i16.Address>);

View file

@ -1120,48 +1120,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
)), )),
) as _i22.Future<_i9.ElectrumXNode>); ) as _i22.Future<_i9.ElectrumXNode>);
@override @override
_i22.Future<void> addDerivation({
required int? chain,
required String? address,
required String? pubKey,
required String? wif,
required _i26.DerivePathType? derivePathType,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivation,
[],
{
#chain: chain,
#address: address,
#pubKey: pubKey,
#wif: wif,
#derivePathType: derivePathType,
},
),
returnValue: _i22.Future<void>.value(),
returnValueForMissingStub: _i22.Future<void>.value(),
) as _i22.Future<void>);
@override
_i22.Future<void> addDerivations({
required int? chain,
required _i26.DerivePathType? derivePathType,
required Map<String, dynamic>? derivationsToAdd,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivations,
[],
{
#chain: chain,
#derivePathType: derivePathType,
#derivationsToAdd: derivationsToAdd,
},
),
returnValue: _i22.Future<void>.value(),
returnValueForMissingStub: _i22.Future<void>.value(),
) as _i22.Future<void>);
@override
_i22.Future<List<Map<String, dynamic>>> fastFetch( _i22.Future<List<Map<String, dynamic>>> fastFetch(
List<String>? allTxHashes) => List<String>? allTxHashes) =>
(super.noSuchMethod( (super.noSuchMethod(
@ -1565,14 +1523,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
fetchBuildTxData, fetchBuildTxData,
required _i22.Future<void> Function()? refresh, required _i22.Future<void> Function()? refresh,
required _i22.Future<void> Function()? checkChangeAddressForTransactions, required _i22.Future<void> Function()? checkChangeAddressForTransactions,
required _i22.Future<void> Function({
required String address,
required int chain,
required _i26.DerivePathType derivePathType,
required String pubKey,
required String wif,
})?
addDerivation,
}) => }) =>
super.noSuchMethod( super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1599,7 +1549,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
#refresh: refresh, #refresh: refresh,
#checkChangeAddressForTransactions: #checkChangeAddressForTransactions:
checkChangeAddressForTransactions, checkChangeAddressForTransactions,
#addDerivation: addDerivation,
}, },
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
@ -1698,17 +1647,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
) as _i22.Future<_i17.BIP32>); ) as _i22.Future<_i17.BIP32>);
@override @override
_i22.Future<_i18.PaymentCode> getPaymentCode( _i22.Future<_i18.PaymentCode> getPaymentCode(
_i26.DerivePathType? derivePathType) => _i26.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i22.Future<_i18.PaymentCode>.value(_FakePaymentCode_16( returnValue: _i22.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
this, this,
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i22.Future<_i18.PaymentCode>); ) as _i22.Future<_i18.PaymentCode>);
@ -1975,17 +1932,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i25.BitcoinWallet {
) as _i22.Future<_i16.Address>); ) as _i22.Future<_i16.Address>);
@override @override
_i22.Future<_i16.Address> getMyNotificationAddress( _i22.Future<_i16.Address> getMyNotificationAddress(
_i26.DerivePathType? derivePathType) => _i26.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i22.Future<_i16.Address>.value(_FakeAddress_14( returnValue: _i22.Future<_i16.Address>.value(_FakeAddress_14(
this, this,
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i22.Future<_i16.Address>); ) as _i22.Future<_i16.Address>);

View file

@ -875,48 +875,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
)), )),
) as _i21.Future<_i9.ElectrumXNode>); ) as _i21.Future<_i9.ElectrumXNode>);
@override @override
_i21.Future<void> addDerivation({
required int? chain,
required String? address,
required String? pubKey,
required String? wif,
required _i25.DerivePathType? derivePathType,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivation,
[],
{
#chain: chain,
#address: address,
#pubKey: pubKey,
#wif: wif,
#derivePathType: derivePathType,
},
),
returnValue: _i21.Future<void>.value(),
returnValueForMissingStub: _i21.Future<void>.value(),
) as _i21.Future<void>);
@override
_i21.Future<void> addDerivations({
required int? chain,
required _i25.DerivePathType? derivePathType,
required Map<String, dynamic>? derivationsToAdd,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivations,
[],
{
#chain: chain,
#derivePathType: derivePathType,
#derivationsToAdd: derivationsToAdd,
},
),
returnValue: _i21.Future<void>.value(),
returnValueForMissingStub: _i21.Future<void>.value(),
) as _i21.Future<void>);
@override
_i21.Future<List<Map<String, dynamic>>> fastFetch( _i21.Future<List<Map<String, dynamic>>> fastFetch(
List<String>? allTxHashes) => List<String>? allTxHashes) =>
(super.noSuchMethod( (super.noSuchMethod(
@ -1320,14 +1278,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
fetchBuildTxData, fetchBuildTxData,
required _i21.Future<void> Function()? refresh, required _i21.Future<void> Function()? refresh,
required _i21.Future<void> Function()? checkChangeAddressForTransactions, required _i21.Future<void> Function()? checkChangeAddressForTransactions,
required _i21.Future<void> Function({
required String address,
required int chain,
required _i25.DerivePathType derivePathType,
required String pubKey,
required String wif,
})?
addDerivation,
}) => }) =>
super.noSuchMethod( super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1354,7 +1304,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
#refresh: refresh, #refresh: refresh,
#checkChangeAddressForTransactions: #checkChangeAddressForTransactions:
checkChangeAddressForTransactions, checkChangeAddressForTransactions,
#addDerivation: addDerivation,
}, },
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
@ -1453,17 +1402,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
) as _i21.Future<_i17.BIP32>); ) as _i21.Future<_i17.BIP32>);
@override @override
_i21.Future<_i18.PaymentCode> getPaymentCode( _i21.Future<_i18.PaymentCode> getPaymentCode(
_i25.DerivePathType? derivePathType) => _i25.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i21.Future<_i18.PaymentCode>.value(_FakePaymentCode_16( returnValue: _i21.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
this, this,
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i21.Future<_i18.PaymentCode>); ) as _i21.Future<_i18.PaymentCode>);
@ -1730,17 +1687,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i24.BitcoinWallet {
) as _i21.Future<_i16.Address>); ) as _i21.Future<_i16.Address>);
@override @override
_i21.Future<_i16.Address> getMyNotificationAddress( _i21.Future<_i16.Address> getMyNotificationAddress(
_i25.DerivePathType? derivePathType) => _i25.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i21.Future<_i16.Address>.value(_FakeAddress_14( returnValue: _i21.Future<_i16.Address>.value(_FakeAddress_14(
this, this,
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i21.Future<_i16.Address>); ) as _i21.Future<_i16.Address>);

View file

@ -1132,48 +1132,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
)), )),
) as _i23.Future<_i9.ElectrumXNode>); ) as _i23.Future<_i9.ElectrumXNode>);
@override @override
_i23.Future<void> addDerivation({
required int? chain,
required String? address,
required String? pubKey,
required String? wif,
required _i27.DerivePathType? derivePathType,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivation,
[],
{
#chain: chain,
#address: address,
#pubKey: pubKey,
#wif: wif,
#derivePathType: derivePathType,
},
),
returnValue: _i23.Future<void>.value(),
returnValueForMissingStub: _i23.Future<void>.value(),
) as _i23.Future<void>);
@override
_i23.Future<void> addDerivations({
required int? chain,
required _i27.DerivePathType? derivePathType,
required Map<String, dynamic>? derivationsToAdd,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivations,
[],
{
#chain: chain,
#derivePathType: derivePathType,
#derivationsToAdd: derivationsToAdd,
},
),
returnValue: _i23.Future<void>.value(),
returnValueForMissingStub: _i23.Future<void>.value(),
) as _i23.Future<void>);
@override
_i23.Future<List<Map<String, dynamic>>> fastFetch( _i23.Future<List<Map<String, dynamic>>> fastFetch(
List<String>? allTxHashes) => List<String>? allTxHashes) =>
(super.noSuchMethod( (super.noSuchMethod(
@ -1577,14 +1535,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
fetchBuildTxData, fetchBuildTxData,
required _i23.Future<void> Function()? refresh, required _i23.Future<void> Function()? refresh,
required _i23.Future<void> Function()? checkChangeAddressForTransactions, required _i23.Future<void> Function()? checkChangeAddressForTransactions,
required _i23.Future<void> Function({
required String address,
required int chain,
required _i27.DerivePathType derivePathType,
required String pubKey,
required String wif,
})?
addDerivation,
}) => }) =>
super.noSuchMethod( super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1611,7 +1561,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
#refresh: refresh, #refresh: refresh,
#checkChangeAddressForTransactions: #checkChangeAddressForTransactions:
checkChangeAddressForTransactions, checkChangeAddressForTransactions,
#addDerivation: addDerivation,
}, },
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
@ -1710,17 +1659,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
) as _i23.Future<_i17.BIP32>); ) as _i23.Future<_i17.BIP32>);
@override @override
_i23.Future<_i18.PaymentCode> getPaymentCode( _i23.Future<_i18.PaymentCode> getPaymentCode(
_i27.DerivePathType? derivePathType) => _i27.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16( returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
this, this,
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i23.Future<_i18.PaymentCode>); ) as _i23.Future<_i18.PaymentCode>);
@ -1987,17 +1944,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
) as _i23.Future<_i16.Address>); ) as _i23.Future<_i16.Address>);
@override @override
_i23.Future<_i16.Address> getMyNotificationAddress( _i23.Future<_i16.Address> getMyNotificationAddress(
_i27.DerivePathType? derivePathType) => _i27.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14( returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14(
this, this,
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i23.Future<_i16.Address>); ) as _i23.Future<_i16.Address>);

View file

@ -1132,48 +1132,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
)), )),
) as _i23.Future<_i9.ElectrumXNode>); ) as _i23.Future<_i9.ElectrumXNode>);
@override @override
_i23.Future<void> addDerivation({
required int? chain,
required String? address,
required String? pubKey,
required String? wif,
required _i27.DerivePathType? derivePathType,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivation,
[],
{
#chain: chain,
#address: address,
#pubKey: pubKey,
#wif: wif,
#derivePathType: derivePathType,
},
),
returnValue: _i23.Future<void>.value(),
returnValueForMissingStub: _i23.Future<void>.value(),
) as _i23.Future<void>);
@override
_i23.Future<void> addDerivations({
required int? chain,
required _i27.DerivePathType? derivePathType,
required Map<String, dynamic>? derivationsToAdd,
}) =>
(super.noSuchMethod(
Invocation.method(
#addDerivations,
[],
{
#chain: chain,
#derivePathType: derivePathType,
#derivationsToAdd: derivationsToAdd,
},
),
returnValue: _i23.Future<void>.value(),
returnValueForMissingStub: _i23.Future<void>.value(),
) as _i23.Future<void>);
@override
_i23.Future<List<Map<String, dynamic>>> fastFetch( _i23.Future<List<Map<String, dynamic>>> fastFetch(
List<String>? allTxHashes) => List<String>? allTxHashes) =>
(super.noSuchMethod( (super.noSuchMethod(
@ -1577,14 +1535,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
fetchBuildTxData, fetchBuildTxData,
required _i23.Future<void> Function()? refresh, required _i23.Future<void> Function()? refresh,
required _i23.Future<void> Function()? checkChangeAddressForTransactions, required _i23.Future<void> Function()? checkChangeAddressForTransactions,
required _i23.Future<void> Function({
required String address,
required int chain,
required _i27.DerivePathType derivePathType,
required String pubKey,
required String wif,
})?
addDerivation,
}) => }) =>
super.noSuchMethod( super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1611,7 +1561,6 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
#refresh: refresh, #refresh: refresh,
#checkChangeAddressForTransactions: #checkChangeAddressForTransactions:
checkChangeAddressForTransactions, checkChangeAddressForTransactions,
#addDerivation: addDerivation,
}, },
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
@ -1710,17 +1659,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
) as _i23.Future<_i17.BIP32>); ) as _i23.Future<_i17.BIP32>);
@override @override
_i23.Future<_i18.PaymentCode> getPaymentCode( _i23.Future<_i18.PaymentCode> getPaymentCode(
_i27.DerivePathType? derivePathType) => _i27.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16( returnValue: _i23.Future<_i18.PaymentCode>.value(_FakePaymentCode_16(
this, this,
Invocation.method( Invocation.method(
#getPaymentCode, #getPaymentCode,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i23.Future<_i18.PaymentCode>); ) as _i23.Future<_i18.PaymentCode>);
@ -1987,17 +1944,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i26.BitcoinWallet {
) as _i23.Future<_i16.Address>); ) as _i23.Future<_i16.Address>);
@override @override
_i23.Future<_i16.Address> getMyNotificationAddress( _i23.Future<_i16.Address> getMyNotificationAddress(
_i27.DerivePathType? derivePathType) => _i27.DerivePathType? derivePathType, [
_i17.BIP32? bip32Root,
]) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14( returnValue: _i23.Future<_i16.Address>.value(_FakeAddress_14(
this, this,
Invocation.method( Invocation.method(
#getMyNotificationAddress, #getMyNotificationAddress,
[derivePathType], [
derivePathType,
bip32Root,
],
), ),
)), )),
) as _i23.Future<_i16.Address>); ) as _i23.Future<_i16.Address>);