LiquidityPoolRevokedEffectResponse.fromJson constructor

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

Implementation

factory LiquidityPoolRevokedEffectResponse.fromJson(
        Map<String, dynamic> json) =>
    LiquidityPoolRevokedEffectResponse(
        json['id'],
        json['type_i'],
        json['type'],
        json['created_at'],
        json['paging_token'],
        json['account'],
        EffectResponseLinks.fromJson(json['_links']),
        liquidityPool:
            LiquidityPoolEffectResponse.fromJson(json['liquidity_pool']),
        reservesRevoked: List<LiquidityPoolClaimableAssetAmount>.from(
            json['reserves_revoked']
                .map((e) => LiquidityPoolClaimableAssetAmount.fromJson(e))),
        sharesRevoked: json['shares_revoked'])
      ..accountMuxed = json['account_muxed']
      ..accountMuxedId = json['account_muxed_id'];