RevokeSponsorshipOperationResponse.fromJson constructor
RevokeSponsorshipOperationResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory RevokeSponsorshipOperationResponse.fromJson(Map<String, dynamic> json) =>
RevokeSponsorshipOperationResponse(
json['begin_sponsor'] == null ? null : json['begin_sponsor'],
json['claimable_balance_id'] == null ? null : json['claimable_balance_id'],
json['data_account_id'] == null ? null : json['data_account_id'],
json['data_name'] == null ? null : json['data_name'],
json['offer_id'] == null ? null : json['offer_id'],
json['trustline_account_id'] == null ? null : json['trustline_account_id'],
json['trustline_asset'] == null ? null : json['trustline_asset'],
json['signer_account_id'] == null ? null : json['signer_account_id'],
json['signer_key'] == null ? null : json['signer_key'])
..id = int.tryParse(json['id'])
..sourceAccount = json['source_account'] == null ? null : json['source_account']
..sourceAccountMuxed =
json['source_account_muxed'] == null ? null : json['source_account_muxed']
..sourceAccountMuxedId =
json['source_account_muxed_id'] == null ? null : json['source_account_muxed_id']
..pagingToken = json['paging_token']
..createdAt = json['created_at']
..transactionHash = json['transaction_hash']
..transactionSuccessful = json['transaction_successful']
..type = json['type']
..links = json['_links'] == null ? null : OperationResponseLinks.fromJson(json['_links']);