toJson method
Implementation
Map<String, dynamic> toJson() {
final spekeKeyProvider = this.spekeKeyProvider;
final constantInitializationVector = this.constantInitializationVector;
final encryptionMethod = this.encryptionMethod;
return {
'spekeKeyProvider': spekeKeyProvider,
if (constantInitializationVector != null)
'constantInitializationVector': constantInitializationVector,
if (encryptionMethod != null)
'encryptionMethod': encryptionMethod.toValue(),
};
}