mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
CAKE-306 | added MoonPay option for BTC buying; applied PreOrderPage to the app; created Wyre and MoonPay buy providers
This commit is contained in:
parent
7e6de105b8
commit
346a034d0a
25 changed files with 903 additions and 51 deletions
12
lib/buy/buy_exception.dart
Normal file
12
lib/buy/buy_exception.dart
Normal file
|
@ -0,0 +1,12 @@
|
|||
import 'package:flutter/foundation.dart';
|
||||
import 'package:cake_wallet/buy/buy_provider_description.dart';
|
||||
|
||||
class BuyException implements Exception {
|
||||
BuyException({@required this.description, @required this.text});
|
||||
|
||||
final BuyProviderDescription description;
|
||||
final String text;
|
||||
|
||||
@override
|
||||
String toString() => '${description.title}: $text';
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue