OfferRemovedEffectResponse.fromJson constructor

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

Creates an offer removed effect from Horizon API JSON response.

Implementation

factory OfferRemovedEffectResponse.fromJson(Map<String, dynamic> json) =>
    OfferRemovedEffectResponse(
        json['id'],
        json['type_i'],
        json['type'],
        json['created_at'],
        json['paging_token'],
        json['account'],
        EffectResponseLinks.fromJson(json['_links']),
      )
      ..accountMuxed = json['account_muxed']
      ..accountMuxedId = json['account_muxed_id'];