NotificationRule constructor
NotificationRule({
- NotificationRuleId? id,
- NotificationChannelId? channelId,
- Notification_NotificationCategory? matchCategory,
- bool? allwaysNotify,
- int? everyNTimes,
- int? everyNDays,
Implementation
factory NotificationRule({
$0.NotificationRuleId? id,
$0.NotificationChannelId? channelId,
Notification_NotificationCategory? matchCategory,
$core.bool? allwaysNotify,
$core.int? everyNTimes,
$core.int? everyNDays,
}) {
final result = create();
if (id != null) result.id = id;
if (channelId != null) result.channelId = channelId;
if (matchCategory != null) result.matchCategory = matchCategory;
if (allwaysNotify != null) result.allwaysNotify = allwaysNotify;
if (everyNTimes != null) result.everyNTimes = everyNTimes;
if (everyNDays != null) result.everyNDays = everyNDays;
return result;
}