CreateDefaultNotificationRequest constructor
CreateDefaultNotificationRequest({
- AccountId? accountId,
- StringValue? title,
- StringValue? body,
- StoredImage? image,
- Iterable<
CreateDefaultNotificationRequest_FactoryNotificationChannels> ? channels, - StringValue? emailTemplateId,
Implementation
factory CreateDefaultNotificationRequest({
$0.AccountId? accountId,
$2.StringValue? title,
$2.StringValue? body,
$3.StoredImage? image,
$core
.Iterable<CreateDefaultNotificationRequest_FactoryNotificationChannels>?
channels,
$2.StringValue? emailTemplateId,
}) {
final result = create();
if (accountId != null) result.accountId = accountId;
if (title != null) result.title = title;
if (body != null) result.body = body;
if (image != null) result.image = image;
if (channels != null) result.channels.addAll(channels);
if (emailTemplateId != null) result.emailTemplateId = emailTemplateId;
return result;
}