Message constructor
Message({
- String? id,
- Author? author,
- Map<
String, dynamic> ? status, - String? channelMessageId,
- String? message,
- List? readBy,
- bool? forwarded,
- bool? isChild,
- dynamic parentId,
- bool? isDeleted,
- String? messageType,
- int? direction,
- String? recipient,
- String? channel,
- String? extension,
- DateTime? createdAt,
- String? interactionId,
- List<
Attachment?> attachments = const [], - DateTime? updatedAt,
- int? v,
- ExtraPayload? extraPayload,
- String? uniqueId,
- bool isDelivered = false,
Implementation
Message(
{this.id,
this.author,
this.status,
this.channelMessageId,
this.message,
this.readBy,
this.forwarded,
this.isChild,
this.parentId,
this.isDeleted,
this.messageType,
this.direction,
this.recipient,
this.channel,
this.extension,
this.createdAt,
this.interactionId,
this.attachments = const [],
this.updatedAt,
this.v,
this.extraPayload,
this.uniqueId,
this.isDelivered = false});