SetCandidatesParameters constructor

SetCandidatesParameters({
  1. required int contextId,
  2. required List<SetCandidatesParametersCandidates> candidates,
})

Implementation

SetCandidatesParameters({
  /// ID of the context that owns the candidate window.
  required int contextId,

  /// List of candidates to show in the candidate window
  required List<SetCandidatesParametersCandidates> candidates,
}) : _wrapped = $js.SetCandidatesParameters(
        contextID: contextId,
        candidates: candidates.toJSArray((e) => e.toJS),
      );