ExceptionPathSegment class

An ExceptionPathSegment represents a segment in a path that is used to match leafs or nodes in a tree of exceptions. If a segment consists of more than one name, it matches the names provided if negate is false or missing, or it matches anything except the names provided if negate is true.

Constructors

ExceptionPathSegment({required List<String> names, bool? negate})
ExceptionPathSegment.fromMap(Map<String, Object?> obj)

Properties

hashCode int
The hash code for this object.
no setterinherited
names List<String>
Depending on the value of negate the names that should match or not match.
final
negate bool?
If false or missing this segment matches the names provided, otherwise it matches anything except the names provided.
final
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, Object?>
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

canParse(Object? obj) bool
fromJson(Map<String, Object?> obj) ExceptionPathSegment