NewsDto constructor

NewsDto(
  1. {required String id,
  2. String? title,
  3. String? text,
  4. String? imageResource,
  5. DateTime? activatedAt,
  6. List<NewsStoreDto>? stores}
)

Implementation

NewsDto({
  required this.id,
  this.title,
  this.text,
  this.imageResource,
  this.activatedAt,
  this.stores,
});