ReportTo class
Represents the 'Report-To' header.
The Report-To
header instructs the browser to send reports of violations
of content security policy.
Constructors
- ReportTo.new()
-
Default constructor of ReportTo to be used
in Cors allowed header and expose header parameter.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, thetoString
method will be overridden to output this instance'sprops
.no setterinherited - toJSON ↔ JSON
-
Convert this DModel to JSON.
getter/setter pairinherited
Methods
-
copyWith(
{DModel? model}) → DModel -
Copy variables in this DModel and make a new one out of it.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited