toJson method

  1. @visibleForTesting
Map<String, dynamic> toJson()

Implementation

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