send method
Sends an AppRequest, returning the decoded WalletResponse.
Implementation
@override
Future<Map<String, Object?>> send(Map<String, Object?> request) async {
sentRequests.add(request);
final failure = _takeFailure();
if (failure != null) throw failure;
final handler = onSend;
if (handler != null) return handler(request);
return {'result': 'te6ccg', 'id': request['id']};
}