move BadEpicHttpAddressException to abstract class

This commit is contained in:
ryleedavis 2023-10-06 14:29:32 -06:00
parent 4632659e21
commit 410e0fbb1e
2 changed files with 11 additions and 11 deletions

View file

@ -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;
} }

View file

@ -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.
/// ///