continuation property

String? get continuation

The continuation token of this response (headerXContinuation): the route has more work to do, and should be called again with it (as the continuation parameter). null when done.

Followed by the APICronScheduler calls of an APICronJob.

Implementation

String? get continuation {
  var token = getHeader(headerXContinuation)?.trim();
  return token == null || token.isEmpty ? null : token;
}
set continuation (String? token)

Implementation

set continuation(String? token) {
  var headerLC = headerXContinuation.toLowerCase();
  headers.removeWhere((k, _) => k.toLowerCase() == headerLC);
  token = token?.trim();
  if (token != null && token.isNotEmpty) {
    headers[headerXContinuation] = token;
  }
}