mirror of
https://github.com/cypherstack/stack_wallet.git
synced 2024-12-23 20:09:23 +00:00
move BadEpicHttpAddressException to abstract class
This commit is contained in:
parent
4632659e21
commit
410e0fbb1e
2 changed files with 11 additions and 11 deletions
|
@ -58,17 +58,6 @@ const int MINIMUM_CONFIRMATIONS = 3;
|
||||||
const String GENESIS_HASH_MAINNET = "";
|
const String GENESIS_HASH_MAINNET = "";
|
||||||
const String GENESIS_HASH_TESTNET = "";
|
const String GENESIS_HASH_TESTNET = "";
|
||||||
|
|
||||||
class BadEpicHttpAddressException implements Exception {
|
|
||||||
final String? message;
|
|
||||||
|
|
||||||
BadEpicHttpAddressException({this.message});
|
|
||||||
|
|
||||||
@override
|
|
||||||
String toString() {
|
|
||||||
return "BadEpicHttpAddressException: $message";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
abstract class ListenerManager {
|
abstract class ListenerManager {
|
||||||
static Pointer<Void>? pointer;
|
static Pointer<Void>? pointer;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,6 +6,17 @@ import 'package:flutter_libepiccash/epic_cash.dart' as lib_epiccash;
|
||||||
import 'package:mutex/mutex.dart';
|
import 'package:mutex/mutex.dart';
|
||||||
import 'package:stackwallet/models/isar/models/blockchain_data/epic_transaction.dart';
|
import 'package:stackwallet/models/isar/models/blockchain_data/epic_transaction.dart';
|
||||||
|
|
||||||
|
class BadEpicHttpAddressException implements Exception {
|
||||||
|
final String? message;
|
||||||
|
|
||||||
|
BadEpicHttpAddressException({this.message});
|
||||||
|
|
||||||
|
@override
|
||||||
|
String toString() {
|
||||||
|
return "BadEpicHttpAddressException: $message";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
///
|
///
|
||||||
/// Wrapped up calls to flutter_libepiccash.
|
/// Wrapped up calls to flutter_libepiccash.
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue