MBMessage constructor
MBMessage({
- required int id,
- required String title,
- required String messageDescription,
- required MBMessageType messageType,
- MBInAppMessage? inAppMessage,
- MBPushMessage? pushMessage,
- required DateTime createdAt,
- DateTime? startDate,
- DateTime? endDate,
- required bool automationIsOn,
- required int sendAfterDays,
- required int repeatTimes,
- dynamic triggers,
Initializes a message with the parameters passed.
Implementation
MBMessage({
required this.id,
required this.title,
required this.messageDescription,
required this.messageType,
this.inAppMessage,
this.pushMessage,
required this.createdAt,
this.startDate,
this.endDate,
required this.automationIsOn,
required this.sendAfterDays,
required this.repeatTimes,
this.triggers,
});