MediaNFT class

Available Extensions
Annotations
  • @CopyWith(skipFields: true)
  • @JsonSerializable()

Constructors

MediaNFT({String? contract, int? token})
MediaNFT.fromJson(Map<String, dynamic> json)
factory

Properties

contract String?
ERC-721 compatible contract address
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
token int?
Token ID for the NFT
final

Methods

fromJsonList(List? jsonList) List<MediaNFT>?
inherited
fromJsonMap(Map<String, dynamic>? json) MediaNFT?
fromJsonString(String? json) MediaNFT?
inherited
fromJsonStringList(String? jsonStringList) List<MediaNFT>?
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toJsonMap() Map<String, dynamic>
inherited
toJsonString() String
inherited
toString() String
This is just to suggest children to implement a named constructor to support creating objects fromJson(...) and fromJsonString(...) as easy as T.build().fromJson(...) or T.build().fromJsonString(...)
inherited

Operators

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