RepetitiveStackFrameFilter class
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.
no setterinherited
- numFrames → int
-
The number of frames in this pattern.
no setter
- replacement → String
-
The string to replace the frames with.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited