toJsonString method
Implementation
String toJsonString() {
return jsonEncode({
"notification": notification?.toJson(),
"data": data,
"collapse_key": collapseKey,
});
}
String toJsonString() {
return jsonEncode({
"notification": notification?.toJson(),
"data": data,
"collapse_key": collapseKey,
});
}