ShouldThrow constructor

const ShouldThrow(
  1. String errorMessage, {
  2. String? todo,
  3. Object? element = true,
  4. Iterable<String>? configurations,
  5. List<String>? expectedLogItems,
})

Implementation

const ShouldThrow(
  this.errorMessage, {
  this.todo,
  Object? element = true,
  Iterable<String>? configurations,
  List<String>? expectedLogItems,
})  : element = element ?? true,
      super._(configurations, expectedLogItems);