AccountResponseData class
Container for account data entries attached to an account.
Provides access to the data entries (key-value pairs) stored on-chain for an account. Each entry consists of a key (up to 64 bytes) and a base64-encoded value (up to 64 bytes). Accounts can have up to 1000 data entries.
This class provides convenient access methods:
- Use bracket notation to get base64-encoded values
- Use getDecoded() to get raw byte data
- Use keys property to iterate over all data entry keys
- Use length to check the number of data entries
See also:
- AccountResponse for the parent account details
- AccountDataResponse for individual data entry responses
Constructors
-
AccountResponseData(Map<
String, dynamic> _map) - Creates an AccountResponseData container from Horizon API data.
Properties
Methods
-
getDecoded(
String key) → Uint8List -
Gets raw value for a given
key. -
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
-
operator [](
Object key) → String -
Gets base64-encoded value for a given
key.