PostEventBodyModel constructor

PostEventBodyModel({
  1. required String text,
  2. String? replyTo,
  3. String? rootHash,
  4. List<NetworkMediaModel> attachments = const [],
})

Implementation

PostEventBodyModel({
  required this.text,
  this.replyTo,
  this.rootHash,
  this.attachments = const [],
}) : super(type: EventType.post);