SourceLocation class

Where in the developer's code the offending widget was created.

Constructors

SourceLocation({required String file, required int line, required int column, String? widget})
const
SourceLocation.fromJson(Map<String, Object?> json)
factory

Properties

column → int
final
file → String
Path relative to the project root, e.g. lib/screens/login.dart.
final
hashCode → int
The hash code for this object.
no setterinherited
line → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
widget → String?
Widget type created at this location, e.g. IconButton.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited