fromMap static method

ServerTrustChallenge? fromMap(
  1. Map<String, dynamic>? map
)
override

Implementation

static ServerTrustChallenge? fromMap(Map<String, dynamic>? map) {
  if (map == null) {
    return null;
  }
  return ServerTrustChallenge(
    protectionSpace: URLProtectionSpace.fromMap(
        map["protectionSpace"].cast<String, dynamic>())!,
  );
}