ActionModel constructor

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

Implementation

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