toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (collapseKey != null) 'collapseKey': collapseKey!,
if (data != null) 'data': data!,
if (directBootOk != null) 'directBootOk': directBootOk!,
if (fcmOptions != null) 'fcmOptions': fcmOptions!,
if (notification != null) 'notification': notification!,
if (priority != null) 'priority': priority!,
if (restrictedPackageName != null)
'restrictedPackageName': restrictedPackageName!,
if (ttl != null) 'ttl': ttl!,
};