ClaimableBalanceResponse.fromJson constructor

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

Implementation

factory ClaimableBalanceResponse.fromJson(Map<String, dynamic> json) => ClaimableBalanceResponse(
    json['id'],
    Asset.createFromCanonicalForm(json['asset'])!,
    json['amount'],
    json['sponsor'],
    convertInt(json['last_modified_ledger'])!,
    json['last_modified_time'],
    List<ClaimantResponse>.from(
        json['claimants'].map((e) => ClaimantResponse.fromJson(e))),
    ClaimableBalanceResponseLinks.fromJson(json['_links']));