import 'package:flutter_libepiccash/epic_cash.dart' as lib_epiccash; /// /// Wrapped up calls to flutter_libepiccash. /// /// Should all be static calls (no state stored in this class) /// abstract class LibEpiccash { static bool validateSendAddress({required String address}) { final String validate = lib_epiccash.validateSendAddress(address); if (int.parse(validate) == 1) { // Check if address contains a domain if (address.contains("@")) { return true; } return false; } else { return false; } } }