getLogsForSession method

Future<List<ApiLogModel>> getLogsForSession(
  1. String sessionId
)

Implementation

Future<List<ApiLogModel>> getLogsForSession(String sessionId) {
  if (sessionId == _currentSessionId) {
    return Future.value(List.from(_currentSessionLogs));
  }
  return ApiDatabaseService().getLogsForSession(sessionId);
}