redactEvent method

Future<String?> redactEvent({
  1. String? reason,
  2. String? txid,
})

Redacts this event. Throws ErrorResponse on error.

Implementation

Future<String?> redactEvent({String? reason, String? txid}) async =>
    await room.redactEvent(eventId, reason: reason, txid: txid);