CodeAction constructor

const CodeAction({
  1. required String title,
  2. required CodeActionKind kind,
  3. Diagnostic? diagnostic,
  4. bool isPreferred = false,
  5. List<TextEdit>? edits,
  6. CodeCommand? command,
})

Implementation

const CodeAction({
  required this.title,
  required this.kind,
  this.diagnostic,
  this.isPreferred = false,
  this.edits,
  this.command,
});