ClientSecurityState.fromJson constructor
ClientSecurityState.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ClientSecurityState.fromJson(Map<String, dynamic> json) {
return ClientSecurityState(
initiatorIsSecureContext:
json['initiatorIsSecureContext'] as bool? ?? false,
initiatorIPAddressSpace: IPAddressSpace.fromJson(
json['initiatorIPAddressSpace'] as String,
),
privateNetworkRequestPolicy: PrivateNetworkRequestPolicy.fromJson(
json['privateNetworkRequestPolicy'] as String,
),
);
}