GherkinStep constructor

const GherkinStep({
  1. required String keyword,
  2. String inheritedKeyword = '',
  3. required String text,
  4. required SourceLocation source,
  5. String? docString,
  6. String? docStringMediaType,
  7. int docStringIndent = 0,
  8. List<List<String>> table = const [],
})

Creates a parsed step.

Implementation

const GherkinStep({
  required this.keyword,
  this.inheritedKeyword = '',
  required this.text,
  required this.source,
  this.docString,
  this.docStringMediaType,
  this.docStringIndent = 0,
  this.table = const [],
});