GherkinElement constructor

const GherkinElement({
  1. required GherkinKeyword keyword,
  2. required String title,
  3. required SourceLocation source,
  4. List<GherkinTag> tags = const [],
  5. List<GherkinElement> children = const [],
  6. String? backgroundDescription,
  7. String? description,
})

Creates a parsed Gherkin element.

Implementation

const GherkinElement({
  required this.keyword,
  required this.title,
  required this.source,
  this.tags = const [],
  this.children = const [],
  this.backgroundDescription,
  this.description,
});