toJson method
Implementation
Map<String, dynamic> toJson() => <String, dynamic>{
"hostIp": hostIp,
"hostPort": hostPort,
"ssl": ssl,
"readTimeout": readTimeoutSeconds,
"connectTimeout": connectTimeoutSeconds,
if (sslPublicKey != null) "sslPublicKey": sslPublicKey,
if (sslPrivateKey != null) "sslPrivateKey": sslPrivateKey,
if (sslPrivateKeyPassword != null) "sslPrivateKeyPassword": sslPrivateKeyPassword,
if (apn != null) "apn": apn,
if (tms != null) "tms": tms!.toJson(),
};