NotificationMessage constructor

const NotificationMessage({
  1. required String title,
  2. required String body,
  3. String? email,
  4. String? phone,
  5. String? deviceToken,
  6. Map<String, String> data = const {},
})

Implementation

const NotificationMessage({
  required this.title,
  required this.body,
  this.email,
  this.phone,
  this.deviceToken,
  this.data = const {},
});