BuyCryptoConfig class

Buy crypto config.

walletAddress is a wallet address to receive the purchased crypto.

cryptoCoin is coin symbol you want to bug, for example "USDT", "ETH", "SOL".

fiatCoin is fiat symbol you pay, for example "USD", "GBP", "HKD".

fiatAmt is how much you want to pay.

network choose a chain network to receive crypto.

fixFiatCoin if fix fiat coin, default is false.

fixFiatAmt if fix fiat amount, default is false.

fixCryptoCoin if fix crypto coin, default is false.

theme optional, Theme, dark or light.

language optional, Language

Constructors

BuyCryptoConfig({String? walletAddress, String? cryptoCoin, String? fiatCoin, int? fiatAmt, OpenBuyNetwork? network})
BuyCryptoConfig.fromJson(Map<String, dynamic> json)

Properties

cryptoCoin String?
getter/setter pair
fiatAmt int?
getter/setter pair
fiatCoin String?
getter/setter pair
fixCryptoCoin bool
getter/setter pair
fixFiatAmt bool
getter/setter pair
fixFiatCoin bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
language ↔ Language?
getter/setter pair
network OpenBuyNetwork?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
theme Theme?
getter/setter pair
walletAddress String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited