SecurityOrigin class
An object that identifies the origin of a particular resource.
Constructors
- SecurityOrigin({required String host, required int port, required String protocol})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- host ↔ String
-
The security origin’s host.
getter/setter pair
- port ↔ int
-
The security origin's port.
getter/setter pair
- protocol ↔ String
-
The security origin's protocol.
getter/setter pair
- 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, dynamic> - Converts instance to a map.
-
toMap(
) → Map< String, dynamic> - Converts instance to a map.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromMap(
Map< String, dynamic> ? map) → SecurityOrigin? - Gets a possible SecurityOrigin instance from a Map value.