Token class

Annotations
  • @freezed

Constructors

Token({String? address, String? genesis, String? name, String? id, int? supply, String? type, int? decimals, String? symbol, @Default.new({}) Map<String, dynamic> properties, @Default.new([]) List<Map<String, dynamic>> collection, @Default.new([]) List<int>? aeip, @Default.new([]) List<Ownership>? ownerships})
const
factory
Token.fromJson(Map<String, dynamic> json)
factory

Properties

address → String?
no setterinherited
aeip → List<int>?
no setterinherited
collection → List<Map<String, dynamic>>
no setterinherited
copyWith → $TokenCopyWith<Token>
Create a copy of Token with the given fields replaced by the non-null parameter values.
no setterinherited
decimals → int?
no setterinherited
genesis → String?
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
id → String?
no setterinherited
name → String?
no setterinherited
ownerships → List<Ownership>?
no setterinherited
properties → Map<String, dynamic>
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supply → int?
no setterinherited
symbol → String?
no setterinherited
type → String?
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serializes this Token to a JSON map.
inherited
toJsonForTxDataContent() → Map<String, dynamic>
tokenToJsonForTxDataContent() → String
toString() → String
A string representation of this object.
inherited

Operators

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