toJson method
Implementation
Map<String, dynamic> toJson() => {
"Your friend buys a shoe ": yourFriendBuysAShoe == null
? []
: List<dynamic>.from(yourFriendBuysAShoe!.map((x) => x.toJson())),
"Friend buys a course ": friendBuysACourse == null
? []
: List<dynamic>.from(friendBuysACourse!.map((x) => x.toJson())),
};