parseDynamicExec function
Parses the dynamic/operation/execute response.
Implementation
DynamicExecResult parseDynamicExec(Map<String, Object?> body) =>
DynamicExecResult(
transRef: asString(body['transRef']),
recentOpId: asString(body['recentOpId']),
recentOpType: asString(body['recentOpType']),
authid: asString(body['authid']),
confirmationType: asString(asRecord(body['confirmReq'])['type']),
status: asString(asRecord(body['operationStatus'])['type']),
fee: asNumber(body['fee'])?.toDouble(),
currency: asString(body['currency']),
details: parseDynamicDetails(body['details']),
raw: body,
);