SmsDto constructor

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

Returns a new SmsDto instance.

Implementation

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