MBPushMessage constructor
MBPushMessage({})
Initializes a new push message with the data given. @param id The id of the push message. @param title The title of the push message. @param body The body of the push message. @param badge The push notification badge value. @param sound The push notification custom sound. @param launchImage The push notification launch image. @param userInfo Additional data for push notifications. @param sent If the push notification was sent or not by the server.
Implementation
MBPushMessage({
required this.id,
required this.title,
required this.body,
this.badge,
this.sound,
this.launchImage,
this.userInfo,
required this.sent,
});