Profile class

Object representing a user profile that exists on a Pylons blockchain.

Note that the SDK-provided profile type does not directly mirror any type that exists on chain. Multiple queries must be made to compose one of these objects. This is not normally relevant to client applications, but may matter if you're trying to do anything too low-level.

Constructors

Profile({required String address, required String username, required List<Balance> coins, required bool stripeExists, required List<String> supportedCoins, required List<Item> items})
Profile.fromJson(Map<String, dynamic> json)
factory
Profile.initial()
factory

Properties

address → String
final
coins → List<Balance>
final
hashCode → int
The hash code for this object.
no setterinherited
items → List<Item>
final
props → List<Object?>
The list of properties that will be used to determine whether two instances are equal.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
stringify → bool?
If set to true, the toString method will be overridden to output this instance's props.
no setterinherited
stripeExists → bool
final
supportedCoins → List<String>
final
username → String
final

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.

Operators

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