onContinuationResponse method

void onContinuationResponse(
  1. ImapResponse imapResponse
)

Implementation

void onContinuationResponse(ImapResponse imapResponse) async {
  final cmd = _currentCommandTask?.command;
  if (cmd != null) {
    final response = cmd.getContinuationResponse(imapResponse);
    if (response != null) {
      await writeText(response);
      return;
    }
  }
  if (!_isInIdleMode) {
    log('continuation not handled: [$imapResponse]',
        initial: ClientBase.initialApp);
  }
}