SkipConfiguration constructor

SkipConfiguration({
  1. required List<Exception> skippableExceptions,
})

Returns the new instance of SkipConfiguration.

Implementation

factory SkipConfiguration({required List<Exception> skippableExceptions}) =>
    _SkipConfiguration(
        //! The "is" modifier, which allows reference up to the parent of the target object,
        //! is preferred for type determination, but the right side of the "is" modifier cannot be
        //! a variable due to the Dart language specification. Therefore, type determination is currently
        //! performed by comparing strings.
        skippableExceptions: skippableExceptions
            .map((exception) => exception.runtimeType.toString())
            .toList());