InvitationMessage constructor

InvitationMessage({
  1. required String id,
  2. required MessageType type,
  3. String? fromId,
  4. String? fromName,
  5. String? fromAvatar,
  6. String? text,
  7. int? sendTime,
})

Implementation

InvitationMessage(
    {required String id,
    required MessageType type,
    String? fromId,
    String? fromName,
    this.fromAvatar,
    this.text,
    int? sendTime})
    : super(
          id: id,
          type: type,
          fromId: fromId,
          fromName: fromName,
          sendTime: sendTime);