toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    "host": host,
    "protocol": protocol,
    "realm": realm,
    "port": port,
    "sslCertificate": sslCertificate?.toMap(),
    "sslError": sslError?.toMap(),
    "iosAuthenticationMethod": iosAuthenticationMethod,
    "iosDistinguishedNames":
        iosDistinguishedNames?.map((e) => e.toMap()).toList(),
    "iosReceivesCredentialSecurely": iosReceivesCredentialSecurely,
    "iosIsProxy": iosIsProxy,
    "iosProxyType": iosProxyType?.toValue()
  };
}