toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (bandwidthConstrainedOk != null)
    'bandwidthConstrainedOk': bandwidthConstrainedOk!,
  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 (restrictedSatelliteOk != null)
    'restrictedSatelliteOk': restrictedSatelliteOk!,
  if (ttl != null) 'ttl': ttl!,
};