toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"category": category?.toMap(),
"media": media?.toMap(),
"txns": txns?.toMap(),
"address": address?.toMap(),
"wallet": wallet?.toMap(),
"merchant": merchant?.toMap(),
"bankAccount": bankAccount?.toMap(),
"simCard": simCard?.toMap(),
};