mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-22 19:39:22 +00:00
add debug log level value to enum
This commit is contained in:
parent
08f01d3141
commit
e5d8dff6cd
10 changed files with 29 additions and 218 deletions
|
@ -15,7 +15,7 @@ void _debugLog(Object? object) {
|
||||||
if (kDebugMode) {
|
if (kDebugMode) {
|
||||||
Logging.instance.log(
|
Logging.instance.log(
|
||||||
object,
|
object,
|
||||||
level: LogLevel.Fatal,
|
level: LogLevel.Debug,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -124,12 +124,14 @@ const _LoglogLevelEnumValueMap = {
|
||||||
r'Warning': r'Warning',
|
r'Warning': r'Warning',
|
||||||
r'Error': r'Error',
|
r'Error': r'Error',
|
||||||
r'Fatal': r'Fatal',
|
r'Fatal': r'Fatal',
|
||||||
|
r'Debug': r'Debug',
|
||||||
};
|
};
|
||||||
const _LoglogLevelValueEnumMap = {
|
const _LoglogLevelValueEnumMap = {
|
||||||
r'Info': LogLevel.Info,
|
r'Info': LogLevel.Info,
|
||||||
r'Warning': LogLevel.Warning,
|
r'Warning': LogLevel.Warning,
|
||||||
r'Error': LogLevel.Error,
|
r'Error': LogLevel.Error,
|
||||||
r'Fatal': LogLevel.Fatal,
|
r'Fatal': LogLevel.Fatal,
|
||||||
|
r'Debug': LogLevel.Debug,
|
||||||
};
|
};
|
||||||
|
|
||||||
Id _logGetId(Log object) {
|
Id _logGetId(Log object) {
|
||||||
|
|
|
@ -14,5 +14,6 @@ enum LogLevel {
|
||||||
Info,
|
Info,
|
||||||
Warning,
|
Warning,
|
||||||
Error,
|
Error,
|
||||||
Fatal;
|
Fatal,
|
||||||
|
Debug;
|
||||||
}
|
}
|
||||||
|
|
|
@ -428,21 +428,21 @@ class MockElectrumXClient extends _i1.Mock implements _i5.ElectrumXClient {
|
||||||
_i7.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i7.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i7.Future<Map<String, dynamic>>);
|
) as _i7.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i7.Future<Set<String>> getSparkUsedCoinsTags({
|
_i7.Future<List<String>> getSparkUnhashedUsedCoinsTags({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
required int? startNumber,
|
required int? startNumber,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#getSparkUsedCoinsTags,
|
#getSparkUnhashedUsedCoinsTags,
|
||||||
[],
|
[],
|
||||||
{
|
{
|
||||||
#requestID: requestID,
|
#requestID: requestID,
|
||||||
#startNumber: startNumber,
|
#startNumber: startNumber,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue: _i7.Future<Set<String>>.value(<String>{}),
|
returnValue: _i7.Future<List<String>>.value(<String>[]),
|
||||||
) as _i7.Future<Set<String>>);
|
) as _i7.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i7.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
_i7.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
|
|
|
@ -78,27 +78,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
_i4.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i4.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i4.Future<Map<String, dynamic>>);
|
) as _i4.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i4.Future<Map<String, dynamic>> getSparkAnonymitySet({
|
|
||||||
required String? groupId,
|
|
||||||
String? blockhash = r'',
|
|
||||||
required _i5.CryptoCurrency? cryptoCurrency,
|
|
||||||
required bool? useOnlyCacheIfNotEmpty,
|
|
||||||
}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkAnonymitySet,
|
|
||||||
[],
|
|
||||||
{
|
|
||||||
#groupId: groupId,
|
|
||||||
#blockhash: blockhash,
|
|
||||||
#cryptoCurrency: cryptoCurrency,
|
|
||||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
|
||||||
},
|
|
||||||
),
|
|
||||||
returnValue:
|
|
||||||
_i4.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
||||||
) as _i4.Future<Map<String, dynamic>>);
|
|
||||||
@override
|
|
||||||
String base64ToHex(String? source) => (super.noSuchMethod(
|
String base64ToHex(String? source) => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#base64ToHex,
|
#base64ToHex,
|
||||||
|
@ -162,17 +141,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
returnValue: _i4.Future<List<String>>.value(<String>[]),
|
returnValue: _i4.Future<List<String>>.value(<String>[]),
|
||||||
) as _i4.Future<List<String>>);
|
) as _i4.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i4.Future<Set<String>> getSparkUsedCoinsTags(
|
|
||||||
{required _i5.CryptoCurrency? cryptoCurrency}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkUsedCoinsTags,
|
|
||||||
[],
|
|
||||||
{#cryptoCurrency: cryptoCurrency},
|
|
||||||
),
|
|
||||||
returnValue: _i4.Future<Set<String>>.value(<String>{}),
|
|
||||||
) as _i4.Future<Set<String>>);
|
|
||||||
@override
|
|
||||||
_i4.Future<void> clearSharedTransactionCache(
|
_i4.Future<void> clearSharedTransactionCache(
|
||||||
{required _i5.CryptoCurrency? cryptoCurrency}) =>
|
{required _i5.CryptoCurrency? cryptoCurrency}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
|
|
|
@ -425,21 +425,21 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags({
|
_i6.Future<List<String>> getSparkUnhashedUsedCoinsTags({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
required int? startNumber,
|
required int? startNumber,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#getSparkUsedCoinsTags,
|
#getSparkUnhashedUsedCoinsTags,
|
||||||
[],
|
[],
|
||||||
{
|
{
|
||||||
#requestID: requestID,
|
#requestID: requestID,
|
||||||
#startNumber: startNumber,
|
#startNumber: startNumber,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<Set<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
|
@ -559,27 +559,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Map<String, dynamic>> getSparkAnonymitySet({
|
|
||||||
required String? groupId,
|
|
||||||
String? blockhash = r'',
|
|
||||||
required _i2.CryptoCurrency? cryptoCurrency,
|
|
||||||
required bool? useOnlyCacheIfNotEmpty,
|
|
||||||
}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkAnonymitySet,
|
|
||||||
[],
|
|
||||||
{
|
|
||||||
#groupId: groupId,
|
|
||||||
#blockhash: blockhash,
|
|
||||||
#cryptoCurrency: cryptoCurrency,
|
|
||||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
|
||||||
},
|
|
||||||
),
|
|
||||||
returnValue:
|
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
|
||||||
@override
|
|
||||||
String base64ToHex(String? source) => (super.noSuchMethod(
|
String base64ToHex(String? source) => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#base64ToHex,
|
#base64ToHex,
|
||||||
|
@ -643,17 +622,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<List<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags(
|
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkUsedCoinsTags,
|
|
||||||
[],
|
|
||||||
{#cryptoCurrency: cryptoCurrency},
|
|
||||||
),
|
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
|
||||||
) as _i6.Future<Set<String>>);
|
|
||||||
@override
|
|
||||||
_i6.Future<void> clearSharedTransactionCache(
|
_i6.Future<void> clearSharedTransactionCache(
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
|
|
|
@ -425,21 +425,21 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags({
|
_i6.Future<List<String>> getSparkUnhashedUsedCoinsTags({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
required int? startNumber,
|
required int? startNumber,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#getSparkUsedCoinsTags,
|
#getSparkUnhashedUsedCoinsTags,
|
||||||
[],
|
[],
|
||||||
{
|
{
|
||||||
#requestID: requestID,
|
#requestID: requestID,
|
||||||
#startNumber: startNumber,
|
#startNumber: startNumber,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<Set<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
|
@ -559,27 +559,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Map<String, dynamic>> getSparkAnonymitySet({
|
|
||||||
required String? groupId,
|
|
||||||
String? blockhash = r'',
|
|
||||||
required _i2.CryptoCurrency? cryptoCurrency,
|
|
||||||
required bool? useOnlyCacheIfNotEmpty,
|
|
||||||
}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkAnonymitySet,
|
|
||||||
[],
|
|
||||||
{
|
|
||||||
#groupId: groupId,
|
|
||||||
#blockhash: blockhash,
|
|
||||||
#cryptoCurrency: cryptoCurrency,
|
|
||||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
|
||||||
},
|
|
||||||
),
|
|
||||||
returnValue:
|
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
|
||||||
@override
|
|
||||||
String base64ToHex(String? source) => (super.noSuchMethod(
|
String base64ToHex(String? source) => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#base64ToHex,
|
#base64ToHex,
|
||||||
|
@ -643,17 +622,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<List<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags(
|
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkUsedCoinsTags,
|
|
||||||
[],
|
|
||||||
{#cryptoCurrency: cryptoCurrency},
|
|
||||||
),
|
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
|
||||||
) as _i6.Future<Set<String>>);
|
|
||||||
@override
|
|
||||||
_i6.Future<void> clearSharedTransactionCache(
|
_i6.Future<void> clearSharedTransactionCache(
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
|
|
|
@ -425,21 +425,21 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags({
|
_i6.Future<List<String>> getSparkUnhashedUsedCoinsTags({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
required int? startNumber,
|
required int? startNumber,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#getSparkUsedCoinsTags,
|
#getSparkUnhashedUsedCoinsTags,
|
||||||
[],
|
[],
|
||||||
{
|
{
|
||||||
#requestID: requestID,
|
#requestID: requestID,
|
||||||
#startNumber: startNumber,
|
#startNumber: startNumber,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<Set<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
|
@ -559,27 +559,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Map<String, dynamic>> getSparkAnonymitySet({
|
|
||||||
required String? groupId,
|
|
||||||
String? blockhash = r'',
|
|
||||||
required _i2.CryptoCurrency? cryptoCurrency,
|
|
||||||
required bool? useOnlyCacheIfNotEmpty,
|
|
||||||
}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkAnonymitySet,
|
|
||||||
[],
|
|
||||||
{
|
|
||||||
#groupId: groupId,
|
|
||||||
#blockhash: blockhash,
|
|
||||||
#cryptoCurrency: cryptoCurrency,
|
|
||||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
|
||||||
},
|
|
||||||
),
|
|
||||||
returnValue:
|
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
|
||||||
@override
|
|
||||||
String base64ToHex(String? source) => (super.noSuchMethod(
|
String base64ToHex(String? source) => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#base64ToHex,
|
#base64ToHex,
|
||||||
|
@ -643,17 +622,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<List<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags(
|
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkUsedCoinsTags,
|
|
||||||
[],
|
|
||||||
{#cryptoCurrency: cryptoCurrency},
|
|
||||||
),
|
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
|
||||||
) as _i6.Future<Set<String>>);
|
|
||||||
@override
|
|
||||||
_i6.Future<void> clearSharedTransactionCache(
|
_i6.Future<void> clearSharedTransactionCache(
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
|
|
|
@ -425,21 +425,21 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags({
|
_i6.Future<List<String>> getSparkUnhashedUsedCoinsTags({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
required int? startNumber,
|
required int? startNumber,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#getSparkUsedCoinsTags,
|
#getSparkUnhashedUsedCoinsTags,
|
||||||
[],
|
[],
|
||||||
{
|
{
|
||||||
#requestID: requestID,
|
#requestID: requestID,
|
||||||
#startNumber: startNumber,
|
#startNumber: startNumber,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<Set<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
|
@ -559,27 +559,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Map<String, dynamic>> getSparkAnonymitySet({
|
|
||||||
required String? groupId,
|
|
||||||
String? blockhash = r'',
|
|
||||||
required _i2.CryptoCurrency? cryptoCurrency,
|
|
||||||
required bool? useOnlyCacheIfNotEmpty,
|
|
||||||
}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkAnonymitySet,
|
|
||||||
[],
|
|
||||||
{
|
|
||||||
#groupId: groupId,
|
|
||||||
#blockhash: blockhash,
|
|
||||||
#cryptoCurrency: cryptoCurrency,
|
|
||||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
|
||||||
},
|
|
||||||
),
|
|
||||||
returnValue:
|
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
|
||||||
@override
|
|
||||||
String base64ToHex(String? source) => (super.noSuchMethod(
|
String base64ToHex(String? source) => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#base64ToHex,
|
#base64ToHex,
|
||||||
|
@ -643,17 +622,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<List<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags(
|
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkUsedCoinsTags,
|
|
||||||
[],
|
|
||||||
{#cryptoCurrency: cryptoCurrency},
|
|
||||||
),
|
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
|
||||||
) as _i6.Future<Set<String>>);
|
|
||||||
@override
|
|
||||||
_i6.Future<void> clearSharedTransactionCache(
|
_i6.Future<void> clearSharedTransactionCache(
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
|
|
|
@ -425,21 +425,21 @@ class MockElectrumXClient extends _i1.Mock implements _i4.ElectrumXClient {
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags({
|
_i6.Future<List<String>> getSparkUnhashedUsedCoinsTags({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
required int? startNumber,
|
required int? startNumber,
|
||||||
}) =>
|
}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#getSparkUsedCoinsTags,
|
#getSparkUnhashedUsedCoinsTags,
|
||||||
[],
|
[],
|
||||||
{
|
{
|
||||||
#requestID: requestID,
|
#requestID: requestID,
|
||||||
#startNumber: startNumber,
|
#startNumber: startNumber,
|
||||||
},
|
},
|
||||||
),
|
),
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<Set<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
_i6.Future<List<Map<String, dynamic>>> getSparkMintMetaData({
|
||||||
String? requestID,
|
String? requestID,
|
||||||
|
@ -559,27 +559,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
) as _i6.Future<Map<String, dynamic>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Map<String, dynamic>> getSparkAnonymitySet({
|
|
||||||
required String? groupId,
|
|
||||||
String? blockhash = r'',
|
|
||||||
required _i2.CryptoCurrency? cryptoCurrency,
|
|
||||||
required bool? useOnlyCacheIfNotEmpty,
|
|
||||||
}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkAnonymitySet,
|
|
||||||
[],
|
|
||||||
{
|
|
||||||
#groupId: groupId,
|
|
||||||
#blockhash: blockhash,
|
|
||||||
#cryptoCurrency: cryptoCurrency,
|
|
||||||
#useOnlyCacheIfNotEmpty: useOnlyCacheIfNotEmpty,
|
|
||||||
},
|
|
||||||
),
|
|
||||||
returnValue:
|
|
||||||
_i6.Future<Map<String, dynamic>>.value(<String, dynamic>{}),
|
|
||||||
) as _i6.Future<Map<String, dynamic>>);
|
|
||||||
@override
|
|
||||||
String base64ToHex(String? source) => (super.noSuchMethod(
|
String base64ToHex(String? source) => (super.noSuchMethod(
|
||||||
Invocation.method(
|
Invocation.method(
|
||||||
#base64ToHex,
|
#base64ToHex,
|
||||||
|
@ -643,17 +622,6 @@ class MockCachedElectrumXClient extends _i1.Mock
|
||||||
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
returnValue: _i6.Future<List<String>>.value(<String>[]),
|
||||||
) as _i6.Future<List<String>>);
|
) as _i6.Future<List<String>>);
|
||||||
@override
|
@override
|
||||||
_i6.Future<Set<String>> getSparkUsedCoinsTags(
|
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
|
||||||
(super.noSuchMethod(
|
|
||||||
Invocation.method(
|
|
||||||
#getSparkUsedCoinsTags,
|
|
||||||
[],
|
|
||||||
{#cryptoCurrency: cryptoCurrency},
|
|
||||||
),
|
|
||||||
returnValue: _i6.Future<Set<String>>.value(<String>{}),
|
|
||||||
) as _i6.Future<Set<String>>);
|
|
||||||
@override
|
|
||||||
_i6.Future<void> clearSharedTransactionCache(
|
_i6.Future<void> clearSharedTransactionCache(
|
||||||
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
{required _i2.CryptoCurrency? cryptoCurrency}) =>
|
||||||
(super.noSuchMethod(
|
(super.noSuchMethod(
|
||||||
|
|
Loading…
Reference in a new issue