getLogCountForSession method

Future<int> getLogCountForSession(
  1. String sessionId
)

Implementation

Future<int> getLogCountForSession(String sessionId) {
  if (sessionId == _currentSessionId) {
    return Future.value(_currentSessionLogs.length);
  }
  return ApiDatabaseService().getLogCountForSession(sessionId);
}