DnaGetBalanceResponse.fromJson constructor
Implementation
factory DnaGetBalanceResponse.fromJson(Map<String, dynamic> json) =>
DnaGetBalanceResponse(
jsonrpc: json["jsonrpc"],
id: json["id"],
result: json["result"] == null
? null
: DnaGetBalanceResponseResult.fromJson(json["result"]),
error: json["error"] == null
? null
: DnaGetBalanceResponseError.fromJson(json["error"]),
);