RepetitiveStackFrameFilter constructor Null safety

const RepetitiveStackFrameFilter(
  1. {required List<PartialStackFrame> frames,
  2. required String replacement}
)

Creates a new RepetitiveStackFrameFilter. All parameters are required and must not be null.

Implementation

const RepetitiveStackFrameFilter({
  required this.frames,
  required this.replacement,
}) : assert(frames != null),
     assert(replacement != null);