SetCandidatesParametersCandidates constructor

SetCandidatesParametersCandidates({
  1. required String candidate,
  2. required int id,
  3. int? parentId,
  4. String? label,
  5. String? annotation,
  6. SetCandidatesParametersCandidatesUsage? usage,
})

Implementation

SetCandidatesParametersCandidates({
  /// The candidate
  required String candidate,

  /// The candidate's id
  required int id,

  /// The id to add these candidates under
  int? parentId,

  /// Short string displayed to next to the candidate, often the shortcut key
  /// or index
  String? label,

  /// Additional text describing the candidate
  String? annotation,

  /// The usage or detail description of word.
  SetCandidatesParametersCandidatesUsage? usage,
}) : _wrapped = $js.SetCandidatesParametersCandidates(
        candidate: candidate,
        id: id,
        parentId: parentId,
        label: label,
        annotation: annotation,
        usage: usage?.toJS,
      );