build runner update mocks

This commit is contained in:
julian 2023-01-25 16:16:20 -06:00
parent 700084f708
commit 8cd34fc228
32 changed files with 2803 additions and 2312 deletions

File diff suppressed because it is too large Load diff

View file

@ -363,6 +363,11 @@ class MockManager extends _i1.Mock implements _i11.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -324,6 +324,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -322,6 +322,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -631,6 +631,11 @@ class MockManager extends _i1.Mock implements _i12.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -418,6 +418,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -418,6 +418,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -418,6 +418,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -193,6 +193,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -416,6 +416,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -631,6 +631,11 @@ class MockManager extends _i1.Mock implements _i12.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -472,6 +472,11 @@ class MockManager extends _i1.Mock implements _i12.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -193,6 +193,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -193,6 +193,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -408,6 +408,11 @@ class MockManager extends _i1.Mock implements _i11.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -408,6 +408,11 @@ class MockManager extends _i1.Mock implements _i11.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -193,6 +193,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -193,6 +193,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -416,6 +416,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -673,6 +673,11 @@ class MockManager extends _i1.Mock implements _i15.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -416,6 +416,11 @@ class MockManager extends _i1.Mock implements _i9.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -195,6 +195,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -194,6 +194,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -193,6 +193,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -235,6 +235,11 @@ class MockManager extends _i1.Mock implements _i8.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -195,6 +195,11 @@ class MockManager extends _i1.Mock implements _i5.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

File diff suppressed because it is too large Load diff

File diff suppressed because it is too large Load diff

View file

@ -538,6 +538,11 @@ class MockManager extends _i1.Mock implements _i6.Manager {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
bool get hasPaynymSupport => (super.noSuchMethod(
Invocation.getter(#hasPaynymSupport),
returnValue: false,
) as bool);
@override
bool get hasListeners => (super.noSuchMethod( bool get hasListeners => (super.noSuchMethod(
Invocation.getter(#hasListeners), Invocation.getter(#hasListeners),
returnValue: false, returnValue: false,

View file

@ -3,8 +3,8 @@
// Do not manually edit this file. // Do not manually edit this file.
// ignore_for_file: no_leading_underscores_for_library_prefixes // ignore_for_file: no_leading_underscores_for_library_prefixes
import 'dart:async' as _i15; import 'dart:async' as _i16;
import 'dart:ui' as _i17; import 'dart:ui' as _i18;
import 'package:flutter/foundation.dart' as _i4; import 'package:flutter/foundation.dart' as _i4;
import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5; import 'package:flutter_riverpod/flutter_riverpod.dart' as _i5;
@ -13,18 +13,20 @@ import 'package:stackwallet/db/main_db.dart' as _i12;
import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i10; import 'package:stackwallet/electrumx_rpc/cached_electrumx.dart' as _i10;
import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i9; import 'package:stackwallet/electrumx_rpc/electrumx.dart' as _i9;
import 'package:stackwallet/models/balance.dart' as _i11; import 'package:stackwallet/models/balance.dart' as _i11;
import 'package:stackwallet/models/isar/models/isar_models.dart' as _i19; import 'package:stackwallet/models/isar/models/isar_models.dart' as _i20;
import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i8; import 'package:stackwallet/models/paymint/fee_object_model.dart' as _i8;
import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart' as _i18; import 'package:stackwallet/services/coins/bitcoin/bitcoin_wallet.dart' as _i19;
import 'package:stackwallet/services/coins/manager.dart' as _i6; import 'package:stackwallet/services/coins/manager.dart' as _i6;
import 'package:stackwallet/services/locale_service.dart' as _i20; import 'package:stackwallet/services/locale_service.dart' as _i22;
import 'package:stackwallet/services/node_service.dart' as _i3; import 'package:stackwallet/services/node_service.dart' as _i3;
import 'package:stackwallet/services/transaction_notification_tracker.dart' import 'package:stackwallet/services/transaction_notification_tracker.dart'
as _i7; as _i7;
import 'package:stackwallet/services/wallets.dart' as _i13; import 'package:stackwallet/services/wallets.dart' as _i14;
import 'package:stackwallet/services/wallets_service.dart' as _i2; import 'package:stackwallet/services/wallets_service.dart' as _i2;
import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i14; import 'package:stackwallet/utilities/enums/coin_enum.dart' as _i15;
import 'package:stackwallet/utilities/prefs.dart' as _i16; import 'package:stackwallet/utilities/enums/derive_path_type_enum.dart' as _i21;
import 'package:stackwallet/utilities/prefs.dart' as _i17;
import 'package:tuple/tuple.dart' as _i13;
// ignore_for_file: type=lint // ignore_for_file: type=lint
// ignore_for_file: avoid_redundant_argument_values // ignore_for_file: avoid_redundant_argument_values
@ -151,10 +153,21 @@ class _FakeElectrumXNode_10 extends _i1.SmartFake implements _i9.ElectrumXNode {
); );
} }
class _FakeTuple4_11<T1, T2, T3, T4> extends _i1.SmartFake
implements _i13.Tuple4<T1, T2, T3, T4> {
_FakeTuple4_11(
Object parent,
Invocation parentInvocation,
) : super(
parent,
parentInvocation,
);
}
/// A class which mocks [Wallets]. /// A class which mocks [Wallets].
/// ///
/// See the documentation for Mockito's code generation for more information. /// See the documentation for Mockito's code generation for more information.
class MockWallets extends _i1.Mock implements _i13.Wallets { class MockWallets extends _i1.Mock implements _i14.Wallets {
MockWallets() { MockWallets() {
_i1.throwOnMissingStub(this); _i1.throwOnMissingStub(this);
} }
@ -221,7 +234,7 @@ class MockWallets extends _i1.Mock implements _i13.Wallets {
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override @override
List<String> getWalletIdsFor({required _i14.Coin? coin}) => List<String> getWalletIdsFor({required _i15.Coin? coin}) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getWalletIdsFor, #getWalletIdsFor,
@ -231,18 +244,18 @@ class MockWallets extends _i1.Mock implements _i13.Wallets {
returnValue: <String>[], returnValue: <String>[],
) as List<String>); ) as List<String>);
@override @override
Map<_i14.Coin, List<_i5.ChangeNotifierProvider<_i6.Manager>>> Map<_i15.Coin, List<_i5.ChangeNotifierProvider<_i6.Manager>>>
getManagerProvidersByCoin() => (super.noSuchMethod( getManagerProvidersByCoin() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#getManagerProvidersByCoin, #getManagerProvidersByCoin,
[], [],
), ),
returnValue: <_i14.Coin, returnValue: <_i15.Coin,
List<_i5.ChangeNotifierProvider<_i6.Manager>>>{}, List<_i5.ChangeNotifierProvider<_i6.Manager>>>{},
) as Map<_i14.Coin, List<_i5.ChangeNotifierProvider<_i6.Manager>>>); ) as Map<_i15.Coin, List<_i5.ChangeNotifierProvider<_i6.Manager>>>);
@override @override
List<_i5.ChangeNotifierProvider<_i6.Manager>> getManagerProvidersForCoin( List<_i5.ChangeNotifierProvider<_i6.Manager>> getManagerProvidersForCoin(
_i14.Coin? coin) => _i15.Coin? coin) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getManagerProvidersForCoin, #getManagerProvidersForCoin,
@ -306,17 +319,17 @@ class MockWallets extends _i1.Mock implements _i13.Wallets {
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override @override
_i15.Future<void> load(_i16.Prefs? prefs) => (super.noSuchMethod( _i16.Future<void> load(_i17.Prefs? prefs) => (super.noSuchMethod(
Invocation.method( Invocation.method(
#load, #load,
[prefs], [prefs],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<void> loadAfterStackRestore( _i16.Future<void> loadAfterStackRestore(
_i16.Prefs? prefs, _i17.Prefs? prefs,
List<_i6.Manager>? managers, List<_i6.Manager>? managers,
) => ) =>
(super.noSuchMethod( (super.noSuchMethod(
@ -327,11 +340,11 @@ class MockWallets extends _i1.Mock implements _i13.Wallets {
managers, managers,
], ],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
void addListener(_i17.VoidCallback? listener) => super.noSuchMethod( void addListener(_i18.VoidCallback? listener) => super.noSuchMethod(
Invocation.method( Invocation.method(
#addListener, #addListener,
[listener], [listener],
@ -339,7 +352,7 @@ class MockWallets extends _i1.Mock implements _i13.Wallets {
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override @override
void removeListener(_i17.VoidCallback? listener) => super.noSuchMethod( void removeListener(_i18.VoidCallback? listener) => super.noSuchMethod(
Invocation.method( Invocation.method(
#removeListener, #removeListener,
[listener], [listener],
@ -359,13 +372,13 @@ class MockWallets extends _i1.Mock implements _i13.Wallets {
/// A class which mocks [BitcoinWallet]. /// A class which mocks [BitcoinWallet].
/// ///
/// See the documentation for Mockito's code generation for more information. /// See the documentation for Mockito's code generation for more information.
class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet { class MockBitcoinWallet extends _i1.Mock implements _i19.BitcoinWallet {
MockBitcoinWallet() { MockBitcoinWallet() {
_i1.throwOnMissingStub(this); _i1.throwOnMissingStub(this);
} }
@override @override
set timer(_i15.Timer? _timer) => super.noSuchMethod( set timer(_i16.Timer? _timer) => super.noSuchMethod(
Invocation.setter( Invocation.setter(
#timer, #timer,
_timer, _timer,
@ -442,59 +455,59 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
returnValue: false, returnValue: false,
) as bool); ) as bool);
@override @override
_i14.Coin get coin => (super.noSuchMethod( _i15.Coin get coin => (super.noSuchMethod(
Invocation.getter(#coin), Invocation.getter(#coin),
returnValue: _i14.Coin.bitcoin, returnValue: _i15.Coin.bitcoin,
) as _i14.Coin); ) as _i15.Coin);
@override @override
_i15.Future<List<_i19.UTXO>> get utxos => (super.noSuchMethod( _i16.Future<List<_i20.UTXO>> get utxos => (super.noSuchMethod(
Invocation.getter(#utxos), Invocation.getter(#utxos),
returnValue: _i15.Future<List<_i19.UTXO>>.value(<_i19.UTXO>[]), returnValue: _i16.Future<List<_i20.UTXO>>.value(<_i20.UTXO>[]),
) as _i15.Future<List<_i19.UTXO>>); ) as _i16.Future<List<_i20.UTXO>>);
@override @override
_i15.Future<List<_i19.Transaction>> get transactions => (super.noSuchMethod( _i16.Future<List<_i20.Transaction>> get transactions => (super.noSuchMethod(
Invocation.getter(#transactions), Invocation.getter(#transactions),
returnValue: returnValue:
_i15.Future<List<_i19.Transaction>>.value(<_i19.Transaction>[]), _i16.Future<List<_i20.Transaction>>.value(<_i20.Transaction>[]),
) as _i15.Future<List<_i19.Transaction>>); ) as _i16.Future<List<_i20.Transaction>>);
@override @override
_i15.Future<String> get currentReceivingAddress => (super.noSuchMethod( _i16.Future<String> get currentReceivingAddress => (super.noSuchMethod(
Invocation.getter(#currentReceivingAddress), Invocation.getter(#currentReceivingAddress),
returnValue: _i15.Future<String>.value(''), returnValue: _i16.Future<String>.value(''),
) as _i15.Future<String>); ) as _i16.Future<String>);
@override @override
_i15.Future<String> get currentChangeAddress => (super.noSuchMethod( _i16.Future<String> get currentChangeAddress => (super.noSuchMethod(
Invocation.getter(#currentChangeAddress), Invocation.getter(#currentChangeAddress),
returnValue: _i15.Future<String>.value(''), returnValue: _i16.Future<String>.value(''),
) as _i15.Future<String>); ) as _i16.Future<String>);
@override @override
bool get hasCalledExit => (super.noSuchMethod( bool get hasCalledExit => (super.noSuchMethod(
Invocation.getter(#hasCalledExit), Invocation.getter(#hasCalledExit),
returnValue: false, returnValue: false,
) as bool); ) as bool);
@override @override
_i15.Future<_i8.FeeObject> get fees => (super.noSuchMethod( _i16.Future<_i8.FeeObject> get fees => (super.noSuchMethod(
Invocation.getter(#fees), Invocation.getter(#fees),
returnValue: _i15.Future<_i8.FeeObject>.value(_FakeFeeObject_5( returnValue: _i16.Future<_i8.FeeObject>.value(_FakeFeeObject_5(
this, this,
Invocation.getter(#fees), Invocation.getter(#fees),
)), )),
) as _i15.Future<_i8.FeeObject>); ) as _i16.Future<_i8.FeeObject>);
@override @override
_i15.Future<int> get maxFee => (super.noSuchMethod( _i16.Future<int> get maxFee => (super.noSuchMethod(
Invocation.getter(#maxFee), Invocation.getter(#maxFee),
returnValue: _i15.Future<int>.value(0), returnValue: _i16.Future<int>.value(0),
) as _i15.Future<int>); ) as _i16.Future<int>);
@override @override
_i15.Future<List<String>> get mnemonic => (super.noSuchMethod( _i16.Future<List<String>> get mnemonic => (super.noSuchMethod(
Invocation.getter(#mnemonic), Invocation.getter(#mnemonic),
returnValue: _i15.Future<List<String>>.value(<String>[]), returnValue: _i16.Future<List<String>>.value(<String>[]),
) as _i15.Future<List<String>>); ) as _i16.Future<List<String>>);
@override @override
_i15.Future<int> get chainHeight => (super.noSuchMethod( _i16.Future<int> get chainHeight => (super.noSuchMethod(
Invocation.getter(#chainHeight), Invocation.getter(#chainHeight),
returnValue: _i15.Future<int>.value(0), returnValue: _i16.Future<int>.value(0),
) as _i15.Future<int>); ) as _i16.Future<int>);
@override @override
int get storedChainHeight => (super.noSuchMethod( int get storedChainHeight => (super.noSuchMethod(
Invocation.getter(#storedChainHeight), Invocation.getter(#storedChainHeight),
@ -583,26 +596,26 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
), ),
) as _i12.MainDB); ) as _i12.MainDB);
@override @override
_i15.Future<void> exit() => (super.noSuchMethod( _i16.Future<void> exit() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#exit, #exit,
[], [],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i18.DerivePathType addressType({required String? address}) => _i21.DerivePathType addressType({required String? address}) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#addressType, #addressType,
[], [],
{#address: address}, {#address: address},
), ),
returnValue: _i18.DerivePathType.bip44, returnValue: _i21.DerivePathType.bip44,
) as _i18.DerivePathType); ) as _i21.DerivePathType);
@override @override
_i15.Future<void> recoverFromMnemonic({ _i16.Future<void> recoverFromMnemonic({
required String? mnemonic, required String? mnemonic,
required int? maxUnusedAddressGap, required int? maxUnusedAddressGap,
required int? maxNumberOfIndexesToCheck, required int? maxNumberOfIndexesToCheck,
@ -619,47 +632,47 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
#height: height, #height: height,
}, },
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<void> getTransactionCacheEarly(List<String>? allAddresses) => _i16.Future<void> getTransactionCacheEarly(List<String>? allAddresses) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getTransactionCacheEarly, #getTransactionCacheEarly,
[allAddresses], [allAddresses],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<bool> refreshIfThereIsNewData() => (super.noSuchMethod( _i16.Future<bool> refreshIfThereIsNewData() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#refreshIfThereIsNewData, #refreshIfThereIsNewData,
[], [],
), ),
returnValue: _i15.Future<bool>.value(false), returnValue: _i16.Future<bool>.value(false),
) as _i15.Future<bool>); ) as _i16.Future<bool>);
@override @override
_i15.Future<void> getAllTxsToWatch() => (super.noSuchMethod( _i16.Future<void> getAllTxsToWatch() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#getAllTxsToWatch, #getAllTxsToWatch,
[], [],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<void> refresh() => (super.noSuchMethod( _i16.Future<void> refresh() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#refresh, #refresh,
[], [],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<Map<String, dynamic>> prepareSend({ _i16.Future<Map<String, dynamic>> prepareSend({
required String? address, required String? address,
required int? satoshiAmount, required int? satoshiAmount,
Map<String, dynamic>? args, Map<String, dynamic>? args,
@ -675,26 +688,26 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
}, },
), ),
returnValue: returnValue:
_i15.Future<Map<String, dynamic>>.value(<String, dynamic>{}), _i16.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i15.Future<Map<String, dynamic>>); ) as _i16.Future<Map<String, dynamic>>);
@override @override
_i15.Future<String> confirmSend({required Map<String, dynamic>? txData}) => _i16.Future<String> confirmSend({required Map<String, dynamic>? txData}) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#confirmSend, #confirmSend,
[], [],
{#txData: txData}, {#txData: txData},
), ),
returnValue: _i15.Future<String>.value(''), returnValue: _i16.Future<String>.value(''),
) as _i15.Future<String>); ) as _i16.Future<String>);
@override @override
_i15.Future<bool> testNetworkConnection() => (super.noSuchMethod( _i16.Future<bool> testNetworkConnection() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#testNetworkConnection, #testNetworkConnection,
[], [],
), ),
returnValue: _i15.Future<bool>.value(false), returnValue: _i16.Future<bool>.value(false),
) as _i15.Future<bool>); ) as _i16.Future<bool>);
@override @override
void startNetworkAlivePinging() => super.noSuchMethod( void startNetworkAlivePinging() => super.noSuchMethod(
Invocation.method( Invocation.method(
@ -712,33 +725,33 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override @override
_i15.Future<void> initializeNew() => (super.noSuchMethod( _i16.Future<void> initializeNew() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#initializeNew, #initializeNew,
[], [],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<void> initializeExisting() => (super.noSuchMethod( _i16.Future<void> initializeExisting() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#initializeExisting, #initializeExisting,
[], [],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<void> updateSentCachedTxData(Map<String, dynamic>? txData) => _i16.Future<void> updateSentCachedTxData(Map<String, dynamic>? txData) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#updateSentCachedTxData, #updateSentCachedTxData,
[txData], [txData],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
bool validateAddress(String? address) => (super.noSuchMethod( bool validateAddress(String? address) => (super.noSuchMethod(
Invocation.method( Invocation.method(
@ -748,35 +761,35 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
returnValue: false, returnValue: false,
) as bool); ) as bool);
@override @override
_i15.Future<void> updateNode(bool? shouldRefresh) => (super.noSuchMethod( _i16.Future<void> updateNode(bool? shouldRefresh) => (super.noSuchMethod(
Invocation.method( Invocation.method(
#updateNode, #updateNode,
[shouldRefresh], [shouldRefresh],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<_i9.ElectrumXNode> getCurrentNode() => (super.noSuchMethod( _i16.Future<_i9.ElectrumXNode> getCurrentNode() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#getCurrentNode, #getCurrentNode,
[], [],
), ),
returnValue: _i15.Future<_i9.ElectrumXNode>.value(_FakeElectrumXNode_10( returnValue: _i16.Future<_i9.ElectrumXNode>.value(_FakeElectrumXNode_10(
this, this,
Invocation.method( Invocation.method(
#getCurrentNode, #getCurrentNode,
[], [],
), ),
)), )),
) as _i15.Future<_i9.ElectrumXNode>); ) as _i16.Future<_i9.ElectrumXNode>);
@override @override
_i15.Future<void> addDerivation({ _i16.Future<void> addDerivation({
required int? chain, required int? chain,
required String? address, required String? address,
required String? pubKey, required String? pubKey,
required String? wif, required String? wif,
required _i18.DerivePathType? derivePathType, required _i21.DerivePathType? derivePathType,
}) => }) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
@ -790,13 +803,13 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
#derivePathType: derivePathType, #derivePathType: derivePathType,
}, },
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<void> addDerivations({ _i16.Future<void> addDerivations({
required int? chain, required int? chain,
required _i18.DerivePathType? derivePathType, required _i21.DerivePathType? derivePathType,
required Map<String, dynamic>? derivationsToAdd, required Map<String, dynamic>? derivationsToAdd,
}) => }) =>
(super.noSuchMethod( (super.noSuchMethod(
@ -809,50 +822,50 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
#derivationsToAdd: derivationsToAdd, #derivationsToAdd: derivationsToAdd,
}, },
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<List<Map<String, dynamic>>> fastFetch( _i16.Future<List<Map<String, dynamic>>> fastFetch(
List<String>? allTxHashes) => List<String>? allTxHashes) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#fastFetch, #fastFetch,
[allTxHashes], [allTxHashes],
), ),
returnValue: _i15.Future<List<Map<String, dynamic>>>.value( returnValue: _i16.Future<List<Map<String, dynamic>>>.value(
<Map<String, dynamic>>[]), <Map<String, dynamic>>[]),
) as _i15.Future<List<Map<String, dynamic>>>); ) as _i16.Future<List<Map<String, dynamic>>>);
@override @override
_i15.Future<int> getTxCount({required String? address}) => _i16.Future<int> getTxCount({required String? address}) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#getTxCount, #getTxCount,
[], [],
{#address: address}, {#address: address},
), ),
returnValue: _i15.Future<int>.value(0), returnValue: _i16.Future<int>.value(0),
) as _i15.Future<int>); ) as _i16.Future<int>);
@override @override
_i15.Future<void> checkCurrentReceivingAddressesForTransactions() => _i16.Future<void> checkCurrentReceivingAddressesForTransactions() =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#checkCurrentReceivingAddressesForTransactions, #checkCurrentReceivingAddressesForTransactions,
[], [],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<void> checkCurrentChangeAddressesForTransactions() => _i16.Future<void> checkCurrentChangeAddressesForTransactions() =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#checkCurrentChangeAddressesForTransactions, #checkCurrentChangeAddressesForTransactions,
[], [],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
int estimateTxFee({ int estimateTxFee({
required int? vSize, required int? vSize,
@ -876,7 +889,7 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
String? _recipientAddress, String? _recipientAddress,
bool? isSendAll, { bool? isSendAll, {
int? additionalOutputs = 0, int? additionalOutputs = 0,
List<_i19.UTXO>? utxos, List<_i20.UTXO>? utxos,
}) => }) =>
super.noSuchMethod(Invocation.method( super.noSuchMethod(Invocation.method(
#coinSelection, #coinSelection,
@ -892,19 +905,19 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
}, },
)); ));
@override @override
_i15.Future<Map<String, dynamic>> fetchBuildTxData( _i16.Future<Map<String, dynamic>> fetchBuildTxData(
List<_i19.UTXO>? utxosToUse) => List<_i20.UTXO>? utxosToUse) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#fetchBuildTxData, #fetchBuildTxData,
[utxosToUse], [utxosToUse],
), ),
returnValue: returnValue:
_i15.Future<Map<String, dynamic>>.value(<String, dynamic>{}), _i16.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i15.Future<Map<String, dynamic>>); ) as _i16.Future<Map<String, dynamic>>);
@override @override
_i15.Future<Map<String, dynamic>> buildTransaction({ _i16.Future<Map<String, dynamic>> buildTransaction({
required List<_i19.UTXO>? utxosToUse, required List<_i20.UTXO>? utxosToUse,
required Map<String, dynamic>? utxoSigningData, required Map<String, dynamic>? utxoSigningData,
required List<String>? recipients, required List<String>? recipients,
required List<int>? satoshiAmounts, required List<int>? satoshiAmounts,
@ -921,10 +934,10 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
}, },
), ),
returnValue: returnValue:
_i15.Future<Map<String, dynamic>>.value(<String, dynamic>{}), _i16.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
) as _i15.Future<Map<String, dynamic>>); ) as _i16.Future<Map<String, dynamic>>);
@override @override
_i15.Future<void> fullRescan( _i16.Future<void> fullRescan(
int? maxUnusedAddressGap, int? maxUnusedAddressGap,
int? maxNumberOfIndexesToCheck, int? maxNumberOfIndexesToCheck,
) => ) =>
@ -936,11 +949,11 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
maxNumberOfIndexesToCheck, maxNumberOfIndexesToCheck,
], ],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i15.Future<int> estimateFeeFor( _i16.Future<int> estimateFeeFor(
int? satoshiAmount, int? satoshiAmount,
int? feeRate, int? feeRate,
) => ) =>
@ -952,8 +965,8 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
feeRate, feeRate,
], ],
), ),
returnValue: _i15.Future<int>.value(0), returnValue: _i16.Future<int>.value(0),
) as _i15.Future<int>); ) as _i16.Future<int>);
@override @override
int roughFeeEstimate( int roughFeeEstimate(
int? inputCount, int? inputCount,
@ -972,25 +985,25 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
_i15.Future<int> sweepAllEstimate(int? feeRate) => (super.noSuchMethod( _i16.Future<int> sweepAllEstimate(int? feeRate) => (super.noSuchMethod(
Invocation.method( Invocation.method(
#sweepAllEstimate, #sweepAllEstimate,
[feeRate], [feeRate],
), ),
returnValue: _i15.Future<int>.value(0), returnValue: _i16.Future<int>.value(0),
) as _i15.Future<int>); ) as _i16.Future<int>);
@override @override
_i15.Future<bool> generateNewAddress() => (super.noSuchMethod( _i16.Future<bool> generateNewAddress() => (super.noSuchMethod(
Invocation.method( Invocation.method(
#generateNewAddress, #generateNewAddress,
[], [],
), ),
returnValue: _i15.Future<bool>.value(false), returnValue: _i16.Future<bool>.value(false),
) as _i15.Future<bool>); ) as _i16.Future<bool>);
@override @override
void initCache( void initCache(
String? walletId, String? walletId,
_i14.Coin? coin, _i15.Coin? coin,
) => ) =>
super.noSuchMethod( super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1003,14 +1016,14 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override @override
_i15.Future<void> updateCachedId(String? id) => (super.noSuchMethod( _i16.Future<void> updateCachedId(String? id) => (super.noSuchMethod(
Invocation.method( Invocation.method(
#updateCachedId, #updateCachedId,
[id], [id],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
int getCachedChainHeight() => (super.noSuchMethod( int getCachedChainHeight() => (super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1020,14 +1033,14 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
returnValue: 0, returnValue: 0,
) as int); ) as int);
@override @override
_i15.Future<void> updateCachedChainHeight(int? height) => (super.noSuchMethod( _i16.Future<void> updateCachedChainHeight(int? height) => (super.noSuchMethod(
Invocation.method( Invocation.method(
#updateCachedChainHeight, #updateCachedChainHeight,
[height], [height],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
bool getCachedIsFavorite() => (super.noSuchMethod( bool getCachedIsFavorite() => (super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1037,15 +1050,15 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
returnValue: false, returnValue: false,
) as bool); ) as bool);
@override @override
_i15.Future<void> updateCachedIsFavorite(bool? isFavorite) => _i16.Future<void> updateCachedIsFavorite(bool? isFavorite) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#updateCachedIsFavorite, #updateCachedIsFavorite,
[isFavorite], [isFavorite],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i11.Balance getCachedBalance() => (super.noSuchMethod( _i11.Balance getCachedBalance() => (super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1061,15 +1074,15 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
), ),
) as _i11.Balance); ) as _i11.Balance);
@override @override
_i15.Future<void> updateCachedBalance(_i11.Balance? balance) => _i16.Future<void> updateCachedBalance(_i11.Balance? balance) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#updateCachedBalance, #updateCachedBalance,
[balance], [balance],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
_i11.Balance getCachedBalanceSecondary() => (super.noSuchMethod( _i11.Balance getCachedBalanceSecondary() => (super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1085,15 +1098,15 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
), ),
) as _i11.Balance); ) as _i11.Balance);
@override @override
_i15.Future<void> updateCachedBalanceSecondary(_i11.Balance? balance) => _i16.Future<void> updateCachedBalanceSecondary(_i11.Balance? balance) =>
(super.noSuchMethod( (super.noSuchMethod(
Invocation.method( Invocation.method(
#updateCachedBalanceSecondary, #updateCachedBalanceSecondary,
[balance], [balance],
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
void initWalletDB({_i12.MainDB? mockableOverride}) => super.noSuchMethod( void initWalletDB({_i12.MainDB? mockableOverride}) => super.noSuchMethod(
Invocation.method( Invocation.method(
@ -1103,12 +1116,55 @@ class MockBitcoinWallet extends _i1.Mock implements _i18.BitcoinWallet {
), ),
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override
_i16.Future<
_i13.Tuple4<_i20.Transaction, List<_i20.Output>, List<_i20.Input>,
_i20.Address>> parseTransaction(
Map<String, dynamic>? txData,
dynamic electrumxClient,
List<_i20.Address>? myAddresses,
_i15.Coin? coin,
int? minConfirms,
String? walletId,
) =>
(super.noSuchMethod(
Invocation.method(
#parseTransaction,
[
txData,
electrumxClient,
myAddresses,
coin,
minConfirms,
walletId,
],
),
returnValue: _i16.Future<
_i13.Tuple4<_i20.Transaction, List<_i20.Output>, List<_i20.Input>,
_i20.Address>>.value(_FakeTuple4_11<_i20.Transaction,
List<_i20.Output>, List<_i20.Input>, _i20.Address>(
this,
Invocation.method(
#parseTransaction,
[
txData,
electrumxClient,
myAddresses,
coin,
minConfirms,
walletId,
],
),
)),
) as _i16.Future<
_i13.Tuple4<_i20.Transaction, List<_i20.Output>, List<_i20.Input>,
_i20.Address>>);
} }
/// A class which mocks [LocaleService]. /// A class which mocks [LocaleService].
/// ///
/// See the documentation for Mockito's code generation for more information. /// See the documentation for Mockito's code generation for more information.
class MockLocaleService extends _i1.Mock implements _i20.LocaleService { class MockLocaleService extends _i1.Mock implements _i22.LocaleService {
MockLocaleService() { MockLocaleService() {
_i1.throwOnMissingStub(this); _i1.throwOnMissingStub(this);
} }
@ -1124,17 +1180,17 @@ class MockLocaleService extends _i1.Mock implements _i20.LocaleService {
returnValue: false, returnValue: false,
) as bool); ) as bool);
@override @override
_i15.Future<void> loadLocale({bool? notify = true}) => (super.noSuchMethod( _i16.Future<void> loadLocale({bool? notify = true}) => (super.noSuchMethod(
Invocation.method( Invocation.method(
#loadLocale, #loadLocale,
[], [],
{#notify: notify}, {#notify: notify},
), ),
returnValue: _i15.Future<void>.value(), returnValue: _i16.Future<void>.value(),
returnValueForMissingStub: _i15.Future<void>.value(), returnValueForMissingStub: _i16.Future<void>.value(),
) as _i15.Future<void>); ) as _i16.Future<void>);
@override @override
void addListener(_i17.VoidCallback? listener) => super.noSuchMethod( void addListener(_i18.VoidCallback? listener) => super.noSuchMethod(
Invocation.method( Invocation.method(
#addListener, #addListener,
[listener], [listener],
@ -1142,7 +1198,7 @@ class MockLocaleService extends _i1.Mock implements _i20.LocaleService {
returnValueForMissingStub: null, returnValueForMissingStub: null,
); );
@override @override
void removeListener(_i17.VoidCallback? listener) => super.noSuchMethod( void removeListener(_i18.VoidCallback? listener) => super.noSuchMethod(
Invocation.method( Invocation.method(
#removeListener, #removeListener,
[listener], [listener],