toJson method Null safety
Implementation
Map<String, dynamic> toJson() {
return {
"heading": _heading,
"box": _box,
"card": _card,
};
}
Map<String, dynamic> toJson() {
return {
"heading": _heading,
"box": _box,
"card": _card,
};
}