toJson method
Converts the object to a JSON representation.
Implementation
@override
Map<String, dynamic> toJson() {
return {
"serialization_config": serializationConfig.toJson(),
"recipients": recipients.map((e) => e.toJson()).toList()
};
}