RevokeSponsorshipOperationResponse.fromJson constructor
RevokeSponsorshipOperationResponse.fromJson(- Map<String, dynamic> json
)
Implementation
factory RevokeSponsorshipOperationResponse.fromJson(
Map<String, dynamic> json) =>
new RevokeSponsorshipOperationResponse(
json['begin_sponsor'] == null
? null
: json['begin_sponsor'] as String,
json['claimable_balance_id'] == null
? null
: json['claimable_balance_id'] as String,
json['data_account_id'] == null
? null
: json['data_account_id'] as String,
json['data_name'] == null ? null : json['data_name'] as String,
json['offer_id'] == null ? null : json['offer_id'] as String,
json['trustline_account_id'] == null
? null
: json['trustline_account_id'] as String,
json['trustline_asset'] == null
? null
: json['trustline_asset'] as String,
json['signer_account_id'] == null
? null
: json['signer_account_id'] as String,
json['signer_key'] == null ? null : json['signer_key'] as String)
..id = int.parse(json['id'] as String)
..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'] as String
..pagingToken = json['paging_token'] as String
..createdAt = json['created_at'] as String
..transactionHash = json['transaction_hash'] as String
..transactionSuccessful = json['transaction_successful'] as bool
..type = json['type'] as String
..links = json['_links'] == null
? null
: new OperationResponseLinks.fromJson(
json['_links'] as Map<String, dynamic>);