toJson method

Map<String, dynamic> toJson ()

Implementation

Map<String, dynamic> toJson() => <String, dynamic>{
      'id': id,
      'source_account': null,
      'paging_token': pagingToken,
      'created_at': createdAt,
      'transaction_hash': transactionHash,
      'type': type,
      '_links': links,
      'offer_id': offerId,
      'amount': amount,
      'price': price,
      'buying_asset_type': buyingAssetType,
      'buying_asset_code': buyingAssetCode,
      'buying_asset_issuer': buyingAssetIssuer,
      'selling_asset_type': sellingAssetType,
      'selling_asset_code': sellingAssetCode,
      'selling_asset_issuer': sellingAssetIssuer
    };