AssetParameters class

Annotations
  • @JsonSerializable(fieldRename: FieldRename.kebab)

Constructors

AssetParameters({required int decimals, required String creator, required int total, String? clawback, bool? defaultFrozen, String? freeze, String? manager, String? name, String? reserve, String? unitName, String? url, String? metadataHash})
AssetParameters.fromJson(Map<String, dynamic> json)
factory

Properties

clawback String?
Address of account used to clawback holdings of this asset.
final
creator String
The address that created this asset.
final
decimals int
The number of digits to use after the decimal point when displaying this asset.
final
defaultFrozen bool?
Whether holdings of this asset are frozen by default.
final
freeze String?
Address of account used to freeze holdings of this asset.
final
hashCode int
The hash code for this object.
no setterinherited
manager String?
Address of account used to manage the keys of this asset and to destroy it.
final
metadataHash String?
A commitment to some unspecified asset metadata. The format of this metadata is up to the application.
final
name String?
Name of this asset, as supplied by the creator.
final
reserve String?
Address of account holding reserve (non-minted) units of this asset.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
total int
The total number of units of this asset.
final
unitName String?
Name of a unit of this asset, as supplied by the creator.
final
url String?
URL where more information about the asset can be retrieved.
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.
override

Operators

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