toJson method
Implementation
@visibleForTesting
Map<String, dynamic> toJson() => {
"binaryData": _dataToBase64(binaryData),
"resourceType": resourceType.value,
"privateKey": _dataToBase64(privateKey)
}.clearNulls();
@visibleForTesting
Map<String, dynamic> toJson() => {
"binaryData": _dataToBase64(binaryData),
"resourceType": resourceType.value,
"privateKey": _dataToBase64(privateKey)
}.clearNulls();