SmsProjection constructor

SmsProjection({
  1. required String id,
  2. required String body,
  3. required String userId,
  4. required DateTime createdAt,
  5. required String phoneNumber,
  6. required String fromNumber,
  7. required bool read,
})

Returns a new SmsProjection instance.

Implementation

SmsProjection({
  required this.id,
  required this.body,
  required this.userId,
  required this.createdAt,
  required this.phoneNumber,
  required this.fromNumber,
  required this.read,
});