ActionModel constructor

ActionModel({
  1. String? action,
  2. String? message = "",
  3. String? token = "",
  4. bool value = true,
  5. TranscriptionActionModel? liveCaptionsData,
  6. String? consent,
  7. List<ConsentParticipant>? participants,
  8. Map<String, dynamic>? user,
  9. int? timeStamp,
  10. int? timestamp,
  11. String? dispatchId,
  12. String? id,
  13. String? mode,
  14. String? messageId,
  15. Reaction? reaction,
  16. bool? removeReaction = false,
  17. String? requestBy,
  18. String? requestByName,
  19. bool? isScreenShareAllowed,
})

Implementation

ActionModel({
  this.action,
  this.message = "",
  this.token = "",
  this.value = true,
  this.liveCaptionsData,
  this.consent,
  this.participants,
  this.user,
  this.timeStamp,
  this.timestamp,
  this.dispatchId,
  this.id,
  this.mode,
  this.messageId,
  this.reaction,
  this.removeReaction = false,
  this.requestBy,
  this.requestByName,
  this.isScreenShareAllowed,
  // ✅ ADD NEW FIELD
});