fromMap static method
Gets a possible ServerTrustChallenge instance from a Map value.
Implementation
static ServerTrustChallenge? fromMap(Map<String, dynamic>? map) {
if (map == null) {
return null;
}
final instance = ServerTrustChallenge(
protectionSpace: URLProtectionSpace.fromMap(
map['protectionSpace']?.cast<String, dynamic>())!,
);
return instance;
}