TradeEffectResponse.fromJson(- Map<String, dynamic> json
)
Implementation
factory TradeEffectResponse.fromJson(Map<String, dynamic> json) => TradeEffectResponse(
json['seller'] == null ? null : json['seller'],
json['seller_muxed'] == null ? null : json['seller_muxed'],
json['seller_muxed_id'] == null ? null : json['seller_muxed_id'],
json['offer_id'],
json['sold_amount'],
json['sold_asset_type'],
json['sold_asset_code'],
json['sold_asset_issuer'],
json['bought_amount'],
json['bought_asset_type'],
json['bought_asset_code'],
json['bought_asset_issuer'])
..id = json['id']
..account = json['account'] == null ? null : json['account']
..accountMuxed = json['account_muxed'] == null ? null : json['account_muxed']
..accountMuxedId = json['account_muxed_id'] == null ? null : json['account_muxed_id']
..type = json['type']
..createdAt = json['created_at']
..pagingToken = json['paging_token']
..links = json['_links'] == null ? null : EffectResponseLinks.fromJson(json['_links']);