copyWith method

NotificationMessageCompanion copyWith({
  1. Value<int>? id,
  2. Value<String>? title,
  3. Value<String>? message,
  4. Value<DateTime>? createDateTime,
  5. Value<bool>? read,
  6. Value<String>? type,
})

Implementation

NotificationMessageCompanion copyWith({
  Value<int>? id,
  Value<String>? title,
  Value<String>? message,
  Value<DateTime>? createDateTime,
  Value<bool>? read,
  Value<String>? type,
}) {
  return NotificationMessageCompanion(
    id: id ?? this.id,
    title: title ?? this.title,
    message: message ?? this.message,
    createDateTime: createDateTime ?? this.createDateTime,
    read: read ?? this.read,
    type: type ?? this.type,
  );
}