GherkinElement constructor
const
GherkinElement({
- required GherkinKeyword keyword,
- required String title,
- required SourceLocation source,
- List<
GherkinTag> tags = const [], - List<
GherkinElement> children = const [], - String? backgroundDescription,
- 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,
});