toJson method
Returns the data fields of IOSNotificationOptions in JSON format.
Implementation
Map<String, dynamic> toJson() {
return {
'showNotification': showNotification,
'playSound': playSound,
};
}
Returns the data fields of IOSNotificationOptions in JSON format.
Map<String, dynamic> toJson() {
return {
'showNotification': showNotification,
'playSound': playSound,
};
}