storeSessionData method
Updates a session's data.
correlation_id
(optional) transaction id to trace execution through call chain.data
an data to be updated. Return (optional) Future that receives updated session Throws error.
Implementation
@override
Future<SessionV1?> storeSessionData(
String? correlationId, String sessionId, data) {
return persistence.updatePartially(correlationId, sessionId,
AnyValueMap.fromValue({'request_time': DateTime.now(), 'data': data}));
}