PushNotificationModel constructor
PushNotificationModel({})
Implementation
factory PushNotificationModel({
// [void Function(PushNotificationModelBuilder) updates]
required String title,
String? body,
// required String type,
required DateTime? createdAt,
Map<String, dynamic>? rawMeta,
PushNotificationMetadata? meta,
String? collapseKey,
}) =>
_$PushNotificationModel((b) {
b
..collapseKey = collapseKey
..title = title
..body = body
// ..type = type
..createdAt = createdAt
..rawMeta = rawMeta
..meta = meta;
});