Asset class
- Annotations
-
- @JsonSerializable(fieldRename: FieldRename.kebab)
Constructors
- Asset({required int index, required AssetParameters params, int? createdAtRound, bool? deleted, int? destroyedAtRound})
-
Asset.fromJson(Map<
String, dynamic> json) -
factory
Properties
- createdAtRound → int?
-
Round during which this asset was created.
final
- deleted → bool?
-
Whether or not this asset is currently deleted.
final
- destroyedAtRound → int?
-
Round during which this asset was destroyed.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
The unique asset identifier.
final
- params → AssetParameters
-
The asset parameters
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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