StellarToml class

Parses the stellar toml data from a given string or from a given domain. See Stellar Toml Supported Version: 2.5.0

Constructors

StellarToml(String toml)

Properties

currencies List<Currency>?
getter/setter pair
documentation Documentation?
getter/setter pair
generalInformation GeneralInformation
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pointsOfContact List<PointOfContact>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
validators List<Validator>?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
safeguardTomlContent(String input) String
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, {Client? httpClient}) Future<StellarToml>