StackTraceElement class Null safety

A single stack element (frame) where an error occurred.

Constructors

StackTraceElement({Position? position, String? routine, String? step})
StackTraceElement.fromJson(Map _json)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
position Position?
The source position information of the stacktrace element.
read / write
routine String?
The routine where the error occurred.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
step String?
The step the error occurred at.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited