AssetContract.fromJson constructor

AssetContract.fromJson(
  1. Map<String, dynamic> json
)

Implementation

AssetContract.fromJson(Map<String, dynamic> json) {
  address = json['address'];
  assetContractType = json['asset_contract_type'];
  createdDate = json['created_date'];
  name = json['name'];
  nftVersion = json['nft_version'];
  openseaVersion = json['opensea_version'];
  owner = json['owner'];
  schemaName = json['schema_name'];
  symbol = json['symbol'];
  totalSupply = json['total_supply'];
  description = json['description'];
  externalLink = json['external_link'];
  imageUrl = json['image_url'];
  defaultToFiat = json['default_to_fiat'];
  devBuyerFeeBasisPoints = json['dev_buyer_fee_basis_points'];
  devSellerFeeBasisPoints = json['dev_seller_fee_basis_points'];
  onlyProxiedTransfers = json['only_proxied_transfers'];
  openseaBuyerFeeBasisPoints = json['opensea_buyer_fee_basis_points'];
  openseaSellerFeeBasisPoints = json['opensea_seller_fee_basis_points'];
  buyerFeeBasisPoints = json['buyer_fee_basis_points'];
  sellerFeeBasisPoints = json['seller_fee_basis_points'];
  payoutAddress = json['payout_address'];
}