IOSWKSecurityOrigin class

An object that identifies the origin of a particular resource.

NOTE: available only on iOS 9.0+.

Use SecurityOrigin instead.

Annotations

Constructors

IOSWKSecurityOrigin({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) IOSWKSecurityOrigin?
Gets a possible IOSWKSecurityOrigin instance from a Map value.