showReportDialog function
- dynamic context,
- dynamic pin
Implementation
void showReportDialog(BuildContext context, ActerPin pin) {
openReportContentDialog(
context,
title: L10n.of(context).reportThisPin,
description: L10n.of(context).reportThisContent,
eventId: pin.eventIdStr(),
roomId: pin.roomIdStr(),
senderId: pin.sender().toString(),
isSpace: true,
);
}