SourceLocation class
Indicates a location in the source code of the service for which errors are reported.
functionName
must be provided by the application when reporting an error,
unless the error report contains a message
with a supported exception
stack trace. All fields are optional for the later case.
Constructors
- SourceLocation({String? filePath, String? functionName, int? lineNumber})
- SourceLocation.fromJson(Map json_)
Properties
- filePath ↔ String?
-
The source code filename, which can include a truncated relative path, or
a full path from a production machine.
getter/setter pair
- functionName ↔ String?
-
Human-readable name of a function or method.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- lineNumber ↔ int?
-
1-based.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent 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