StellarToml class
Parses the stellar toml data from a given string or from a given domain. See Stellar Toml
Constructors
-
StellarToml(String toml
)
Properties
-
currencies
↔ List<
Currency> -
read / write
- documentation ↔ Documentation
-
read / write
- generalInformation ↔ GeneralInformation
-
read / write
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
-
pointsOfContact
↔ List<
PointOfContact> -
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
-
validators
↔ List<
Validator> -
read / write
Methods
-
noSuchMethod(
Invocation invocation ) → dynamic -
Invoked when a non-existent 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
-
currencyFromUrl(
String toml ) → Future< Currency> - Alternately to specifying a currency in its content, stellar.toml can link out to a separate TOML file for the currency by specifying toml="https://DOMAIN/.well-known/CURRENCY.toml" as the currency's only field. In this case you can use this method to load the currency data from the received link (Currency.toml).
-
fromDomain(
String domain ) → Future< StellarToml>