ParticleBase class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getChainId(
) → Future< int> -
getChainInfo(
) → Future< ChainInfo> - Get chain info
-
getLanguage(
) → Future< Language> - Get language
-
init(
ChainInfo chainInfo, Env env) → dynamic - Init particle-base SDK
-
setAppearance(
Appearance appearance) → dynamic - Set user inerface style
-
setChainInfo(
ChainInfo chainInfo) → Future< bool> - Set chain info, update chain info to SDK.
-
setCustomUIConfigJsonString(
String jsonString) → dynamic - Set customize UI config json string, only support iOS
-
setFiatCoin(
FiatCoin fiatCoin) → dynamic - set fiat coin
-
setLanguage(
Language language) → dynamic - Set language, default value is Language.en.
-
setSecurityAccountConfig(
SecurityAccountConfig config) → dynamic - Set security account config
-
setThemeColor(
String hexColor) → dynamic - Set theme color
-
setUnsupportCountries(
List< String> isoCodeList) → dynamic - set unsupport countries list, used with phone login UI