RepetitiveStackFrameFilter class Null safety
A StackFilter that filters based on repeating lists of PartialStackFrames.
See also:
- FlutterError.addDefaultStackFilter, a method to register additional stack filters for FlutterError.defaultStackFilter.
- StackFrame, a class that can help with parsing stack frames.
- PartialStackFrame, a class that helps match partial method information to a stack frame.
- Inheritance
-
- Object
- StackFilter
- RepetitiveStackFrameFilter
Constructors
-
RepetitiveStackFrameFilter({required List<
PartialStackFrame> frames, required String replacement}) -
Creates a new RepetitiveStackFrameFilter. All parameters are required and must not be
null.
const
Properties
-
frames
→ List<
PartialStackFrame> -
The shape of this repetitive stack pattern.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- numFrames → int
-
The number of frames in this pattern.
read-only
- replacement → String
-
The string to replace the frames with.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
filter(
List< StackFrame> stackFrames, List<String?> reasons) → void -
Filters the list of StackFrames by updating corresponding indices in
reasons
.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited