Topic constructor

Topic({
  1. required String $id,
  2. required String $createdAt,
  3. required String $updatedAt,
  4. required String name,
  5. required int emailTotal,
  6. required int smsTotal,
  7. required int pushTotal,
  8. required List subscribe,
})

Implementation

Topic({
  required this.$id,
  required this.$createdAt,
  required this.$updatedAt,
  required this.name,
  required this.emailTotal,
  required this.smsTotal,
  required this.pushTotal,
  required this.subscribe,
});