UsageHygieneException class final

Raised when the byte-scan finds forbidden content in a usage artifact.

Implemented types

Constructors

UsageHygieneException({required int offset, required int length})
Creates a UsageHygieneException.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
length → int
Length of the offending substring.
final
offset → int
Byte offset of the offending substring in the artifact.
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
toString() → String
A string representation of this object.
override

Operators

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