toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"serviceUrlTA": serviceUrlTA,
"serviceUrlPA": serviceUrlPA,
"pfxCertUrl": pfxCertUrl,
"pfxPassPhrase": pfxPassPhrase,
"pfxCert": _dataToBase64(pfxCert)
}.clearNulls();