toJson method
Converts the CustomerConfiguration object to a JSON-compatible map.
Returns a Map<String, dynamic>
containing all the configuration properties.
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
'cardName': cardName,
'customerName': customerName,
'logoId': logoId,
};
}