LiquidityPoolCreatedEffectResponse.fromJson constructor
LiquidityPoolCreatedEffectResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory LiquidityPoolCreatedEffectResponse.fromJson(
Map<String, dynamic> json) =>
LiquidityPoolCreatedEffectResponse(
liquidityPool: json['liquidity_pool'] == null
? throw Exception("liquidity_pool is null in horizon response")
: LiquidityPoolEffectResponse.fromJson(json['liquidity_pool']))
..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']);