DeprecationReportBody class
The interface of the Reporting API represents the body of a deprecation report. A deprecation report is generated when a deprecated feature (for example a deprecated API method) is used on a document being observed by a ReportingObserver. In addition to the support of this API, receiving useful deprecation warnings relies on browser vendors adding these warnings for deprecated features.
ReportBody
DeprecationReportBody
- Implemented types
- Available extensions
- Annotations
-
- @experimental
- @JS()
- @staticInterop
Constructors
- DeprecationReportBody()
-
factory
Properties
- anticipatedRemoval → dynamic
-
Available on DeprecationReportBody, provided by the PropsDeprecationReportBody extension
no setter - columnNumber → int?
-
Available on DeprecationReportBody, provided by the PropsDeprecationReportBody extension
no setter - hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
Available on DeprecationReportBody, provided by the PropsDeprecationReportBody extension
no setter - lineNumber → int?
-
Available on DeprecationReportBody, provided by the PropsDeprecationReportBody extension
no setter - message → String
-
Available on DeprecationReportBody, provided by the PropsDeprecationReportBody extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sourceFile → String?
-
Available on DeprecationReportBody, provided by the PropsDeprecationReportBody extension
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJSON(
) → dynamic -
Available on DeprecationReportBody, provided by the PropsDeprecationReportBody extension
-
toJSON(
) → dynamic -
Available on ReportBody, provided by the PropsReportBody extension
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited