PartialStackFrame class Null safety
Partial information from a stack frame for stack filtering purposes.
See also:
- RepetitiveStackFrameFilter, which uses this class to compare against StackFrames.
- Annotations
Constructors
- PartialStackFrame({required Pattern package, required String className, required String method})
-
Creates a new PartialStackFrame instance. All arguments are required and
must not be null.
const
Properties
- className → String
-
The class name for the method.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- method → String
-
The method name for this frame line.
final
- package → Pattern
-
The package to match, e.g.
package:flutter/src/foundation/assertions.dart
, ordart:ui/window.dart
.final - runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
matches(
StackFrame stackFrame) → bool - Tests whether the StackFrame matches the information in this PartialStackFrame.
-
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
Constants
- asynchronousSuspension → const PartialStackFrame
-
An
<asynchronous suspension>
line in a stack trace.PartialStackFrame(package: '', className: '', method: 'asynchronous suspension')