ParseResult<I, O> constructor

ParseResult<I, O>({
  1. String errorMessage = '',
  2. List<ErrorMessage> errors = const [],
  3. required int failPos,
  4. required I input,
  5. required bool ok,
  6. required int pos,
  7. required O? result,
})

Implementation

ParseResult({
  this.errorMessage = '',
  this.errors = const [],
  required this.failPos,
  required this.input,
  required this.ok,
  required this.pos,
  required this.result,
});