PushNotification constructor
PushNotification({
- String? title,
- StringValue? body,
- Any? data,
- Int32Value? badgeCount,
Implementation
factory PushNotification({
$core.String? title,
$0.StringValue? body,
$1.Any? data,
$0.Int32Value? badgeCount,
}) {
final result = create();
if (title != null) result.title = title;
if (body != null) result.body = body;
if (data != null) result.data = data;
if (badgeCount != null) result.badgeCount = badgeCount;
return result;
}